Home
last modified time | relevance | path

Searched refs:words (Results 1 – 25 of 114) sorted by relevance

12345

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dquery_helper.cpp55 if (words.empty()) { in StringToDbQuery()
63 std::string keyword = words.at(pointer); in StringToDbQuery()
89 std::string keyword = words.at(pointer); in Handle()
93 return HandleIn(words, pointer, end, dbQuery); in Handle()
95 return HandleNotIn(words, pointer, end, dbQuery); in Handle()
97 return HandleLike(words, pointer, end, dbQuery); in Handle()
101 return HandleAnd(words, pointer, end, dbQuery); in Handle()
103 return HandleOr(words, pointer, end, dbQuery); in Handle()
111 return HandleLimit(words, pointer, end, dbQuery); in Handle()
113 return HandleExtra(words, pointer, end, dbQuery); in Handle()
[all …]
H A Dquery_helper.h34 …static bool Handle(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
35 …static bool HandleExtra(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQ…
36 …static bool HandleEqualTo(const std::vector<std::string> &words, int &pointer, int end, DBQuery &d…
41 const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
43 …static bool HandleIsNull(const std::vector<std::string> &words, int &pointer, int end, DBQuery &db…
45 …static bool HandleIn(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuer…
46 …static bool HandleNotIn(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQ…
47 …static bool HandleLike(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQu…
49 …static bool HandleAnd(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQue…
50 …static bool HandleOr(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuer…
[all …]
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/purgeable_mem_manager/
H A Dpurgeable_mem_utils.cpp63 std::vector<std::string> words; in GetPurgeableHeapInfo() local
70 activeKB = stoi(words[1]); in GetPurgeableHeapInfo()
72 inactiveKB = stoi(words[1]); in GetPurgeableHeapInfo()
74 pinedKB = stoi(words[1]); in GetPurgeableHeapInfo()
108 std::vector<std::string> words; in GetProcPurgeableHeapInfo() local
115 purgSumKB = stoi(words[1]); in GetProcPurgeableHeapInfo()
117 purgPinKB = stoi(words[1]); in GetProcPurgeableHeapInfo()
189 std::vector<std::string> words; in GetashmIdToInfoMap() local
191 if (words.size() != ASHM_PARAM_SIZE_ONE_LINE || words[ASHM_REF_COUNT_INDEX] != "0" || in GetashmIdToInfoMap()
204words[ASHM_PROCESS_NAME_INDEX].c_str(), words[ASHM_ADJ_INDEX].c_str(), words[ASHM_SIZE_INDEX].c_st… in GetashmIdToInfoMap()
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_service_test.cpp436 EXPECT_FALSE(queryHelper->Handle(words, pointer, end, dbQuery));
451 words = {"INTEGER", "LONG", "DOUBLE", "STRING"};
452 EXPECT_FALSE(queryHelper->Handle(words, pointer, end, dbQuery));
491 EXPECT_TRUE(queryHelper->HandleLike(words, pointer, ends, dbQuery));
492 EXPECT_FALSE(queryHelper->HandleLike(words, pointer, end, dbQuery));
528 EXPECT_FALSE(queryHelper->HandleIn(words, pointer, ends, dbQuery));
529 EXPECT_FALSE(queryHelper->HandleIn(words, pointer, end, dbQuery));
608 std::vector<std::string> words = {"1", "2", "3", "4", "5", "^END"}; variable
616 result = queryHelper->GetIntegerList(words, elementPointer, end);
625 result1 = queryHelper->GetLongList(words, elementPointer, end);
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/html/
H A Dhtml_to_span.cpp352 std::vector<std::string> words; in InitDecoration() local
354 words.push_back(word); in InitDecoration()
449 words.emplace_back(word); in InitTextShadow()
451 if (words.size() > FOUR_PARAM || words.size() < TWO_PARAM) { in InitTextShadow()
454 shadows.emplace_back(words); in InitTextShadow()
548 words.push_back(word); in SetPaddingOption()
551 size_t size = words.size(); in SetPaddingOption()
594 words.push_back(word); in SetMarginOption()
597 size_t size = words.size(); in SetMarginOption()
640 words.push_back(word); in SetBorderOption()
[all …]
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/
H A Dsehap_contexts_trie.cpp24 std::vector<std::string> words; in SplitString() local
35 words.emplace_back(element); in SplitString()
40 words.emplace_back(paraName.substr(index)); in SplitString()
42 return words; in SplitString()
58 std::vector<std::string> words = SplitString(paraName); in Insert() local
59 for (const std::string& word : words) { in Insert()
86 std::vector<std::string> words = SplitString(paraName); in Search() local
89 for (size_t i = 0; i < words.size(); i++) { in Search()
90 const std::string& word = words[i]; in Search()
96 if ((root->prefixInfo.isEnd) && (i != words.size() - 1)) { in Search()
[all …]
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_napi_ext.cpp292 ASSERT_EQ(words[0], wordsOut[0]);
293 ASSERT_EQ(words[1], wordsOut[1]);
294 ASSERT_EQ(words[2], wordsOut[2]);
295 ASSERT_EQ(words[3], wordsOut[3]);
303 uint64_t words[] = { 12ULL, 34ULL, 56ULL, 78ULL, 90ULL }; variable
313 ASSERT_EQ(words[i], wordsOut[i]);
331 ASSERT_EQ(words[0], wordsOut[0]);
332 ASSERT_EQ(words[1], wordsOut[1]);
333 ASSERT_EQ(words[2], wordsOut[2]);
334 ASSERT_EQ(words[3], wordsOut[3]);
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/benchmarks/benchmark_dcl/
H A Ddrawing_playback.cpp292 std::vector<std::string> words; in GetDirectionAndStep() local
296 words.emplace_back(word); in GetDirectionAndStep()
299 if (words.size() != twoParam) { in GetDirectionAndStep()
303 if (std::strcmp(words[0].c_str(), "l") == 0 || std::strcmp(words[0].c_str(), "L") == 0) { in GetDirectionAndStep()
305 } else if (std::strcmp(words[0].c_str(), "m") == 0 || std::strcmp(words[0].c_str(), "M") == 0) { in GetDirectionAndStep()
313 for (size_t i = 0; i < words[1].size(); ++i) { in GetDirectionAndStep()
314 if (words[1][i] == '.' && dotPostion == -1) { in GetDirectionAndStep()
316 } else if (words[1][i] >= '0' && words[1][i] <= '9') { in GetDirectionAndStep()
323 opItemStep_ = std::stod(words[1]); in GetDirectionAndStep()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/
H A Dparse_vmallocinfo.cpp39 vector<string> words; in CaclVmalloclValue() local
41 words.push_back(word); in CaclVmalloclValue()
44 value = strtoull(words.at(1).c_str(), nullptr, base); in CaclVmalloclValue()
/ohos5.0/foundation/arkui/napi/sample/native_module_systemtest/
H A Djs_test_bigint_napi.cpp108 uint64_t words[10] = { 0 }; in BigIntWords() local
110 NAPI_CALL(env, napi_get_value_bigint_words(env, args[0], &sign_bit, &word_count, words)); in BigIntWords()
114 NAPI_CALL(env, napi_create_bigint_words(env, sign_bit, word_count, words, &output)); in BigIntWords()
125 uint64_t words[10] = { 0 }; in CreateTooBigBigInt() local
127 NAPI_CALL(env, napi_create_bigint_words(env, sign_bit, word_count, words, &output)); in CreateTooBigBigInt()
H A Dtest_napi.cpp1671 EXPECT_EQ(wordsOut[i], words[i]);
1705 EXPECT_EQ(wordsOut[i], words[i]);
1795 EXPECT_EQ(wordsOut[i], words[i]);
1829 EXPECT_EQ(wordsOut[i], words[i]);
1863 EXPECT_EQ(wordsOut[i], words[i]);
1897 EXPECT_EQ(wordsOut[i], words[i]);
1956 EXPECT_EQ(wordsOut[i], words[i]);
1990 EXPECT_EQ(wordsOut[i], words[i]);
2094 EXPECT_EQ(wordsOut[i], words[i]);
2128 EXPECT_EQ(wordsOut[i], words[i]);
[all …]
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-jsvm-about-bigint.md24 | OH_JSVM_GetValueBigintWords | 将单个BigInt值转换为一个符号位、一个64位的小端数组和该数组的长度。 signBit和words参数可以都设置为NULL,这种…
48 uint64_t* words{nullptr};
52 words = (uint64_t*)malloc(wordCount*sizeof(uint64_t));
53 if (words == nullptr) {
58 status = OH_JSVM_GetValueBigintWords(env, args[0], &signBit, &wordCount, words);
59 free(words);
60 words = nullptr;
108 uint64_t words[] = {12ULL, 34ULL, 56ULL};
110 JSVM_Status status = OH_JSVM_CreateBigintWords(env, signBit, wordCount, words, &returnValue);
H A Duse-napi-about-bigint.md117 uint64_t words[] = {12ULL, 34ULL, 56ULL};
119 napi_status status = napi_create_bigint_words(env, signBit, wordCount, words, &returnValue);
266 uint64_t words = 0;
271 status = napi_get_value_bigint_words(env, args[0], &signBit, &wordCount, &words);
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dget_hardware_info.cpp79 vector<string> words; in GetValue() local
81 words.push_back(word); in GetValue()
83 if (words.size() >= WORD_SIZE) { in GetValue()
84 string tempWord = words.at(3); in GetValue()
/ohos5.0/docs/en/application-dev/napi/
H A Duse-jsvm-about-bigint.md24 …it little-endian array, and the length of the array. If **signBit** and **words** are set to **NUL…
49 uint64_t* words{nullptr};
53 words = (uint64_t*)malloc(wordCount*sizeof(uint64_t));
54 if (words == nullptr) {
59 status = OH_JSVM_GetValueBigintWords(env, args[0], &signBit, &wordCount, words);
60 free(words);
61 words = nullptr;
109 uint64_t words[] = {12ULL, 34ULL, 56ULL};
111 JSVM_Status status = OH_JSVM_CreateBigintWords(env, signBit, wordCount, words, &returnValue);
H A Duse-napi-about-bigint.md117 uint64_t words[] = {12ULL, 34ULL, 56ULL};
119 napi_status status = napi_create_bigint_words(env, signBit, wordCount, words, &returnValue);
266 uint64_t words = 0;
271 status = napi_get_value_bigint_words(env, args[0], &signBit, &wordCount, &words);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_rdb_js_utils.cpp109 std::vector<uint64_t> words(count, 0); in Convert2Value() local
110 status = napi_get_value_bigint_words(env, jsValue, &sign, &count, words.data()); in Convert2Value()
114 value = BigInteger(sign, std::move(words)); in Convert2Value()
/ohos5.0/foundation/distributeddatamgr/preferences/interfaces/inner_api/include/
H A Dpreferences_value.h40 BigInt(const std::vector<uint64_t> &words, int sign) : words_(std::move(words)), sign_(sign) in BigInt()
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_test.cpp925 std::vector<uint64_t> words = { 1, 2, 3 }; variable
926 BigInt bigint1(words, 0);
927 BigInt bigint2(words, 1);
954 std::vector<uint64_t> words = {}; variable
955 BigInt bigint1(words, 0);
1056 std::vector<uint64_t> words = { 1, 2, 3 }; variable
1057 BigInt bigint(words, 0);
/ohos5.0/docs/en/application-dev/internationalization/
H A Dpseudo-i18n-testing-translation.md8 …ppropriate position. For example, Russian or Norwegian words are usually longer than English words
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-custom-basic-usage.md159 …nnot start with a dollar sign ($) or underscore (\_). Do not use reserved words (**for**, **if**, …
160 …annot start with a dollar sign ($) or underscore (_). Do not use reserved words (**for**, **if**, …
161 …ached. The name cannot start with a dollar sign ($) or underscore (\_). Do not use reserved words.|
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_cert_utils.cpp992 static CfResult ConvertBlobToWords(const CfBlob &blob, uint64_t *&words, uint32_t &wordsCount) in ConvertBlobToWords() argument
1007 words = reinterpret_cast<uint64_t *>(convertData); in ConvertBlobToWords()
1019 uint64_t *words = nullptr; in ConvertBlobToBigIntWords() local
1021 CfResult ret = ConvertBlobToWords(blob, words, wordsCount); in ConvertBlobToBigIntWords()
1029 napi_create_bigint_words(env, 0, wordsCount, words, &result); in ConvertBlobToBigIntWords()
1030 CfFree(words); in ConvertBlobToBigIntWords()
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.31/
H A Dchangelogs-window.md11 … You do not need to call APIs to display or hide the status bar. In other words, the APIs **setWin…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-custom-basic-usage.md26 …annot start with a dollar sign ($) or underscore (_). Do not use reserved words (**for**, **if**, …
27 …annot start with a dollar sign ($) or underscore (_). Do not use reserved words (**for**, **if**, …
/ohos5.0/base/startup/hvb/libhvb/src/crypto/
H A Dhvb_rsa_verify.c46 #define dword2byte(words) ((words) * WORD_BYTE_SIZE) argument

12345