Home
last modified time | relevance | path

Searched refs:strVec (Results 1 - 9 of 9) sorted by relevance

/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_value_parcel.cpp87 std::vector<std::string> strVec = std::get<std::vector<std::string>>(value.value_); in CalSize() local
89 for (size_t i = 0; i < strVec.size(); i++) { in CalSize()
91 strArrBlobLen += strVec[i].size(); in CalSize()
225 std::vector<std::string> strVec = std::get<std::vector<std::string>>(value.value_); in MarshallingStringArrayValue() local
236 size_t vecNum = strVec.size(); in MarshallingStringArrayValue()
246 size_t strLen = strVec[i].size(); in MarshallingStringArrayValue()
256 errCode = memcpy_s(startAddr, strLen, strVec[i].c_str(), strLen); in MarshallingStringArrayValue()
517 std::vector<std::string> strVec; in UnmarshallingStringArrayValue() local
518 strVec.resize(vecNum); in UnmarshallingStringArrayValue()
529 strVec[ in UnmarshallingStringArrayValue()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_meta_data_test.cpp233 std::vector<std::string> strVec = {}; in HWTEST_F() local
234 EXPECT_EQ(proxyObj.GetCloudGid(query, true, true, strVec), -E_INVALID_DB); in HWTEST_F()
235 EXPECT_EQ(proxyObj.CheckSchema(strVec), -E_INVALID_DB); in HWTEST_F()
237 EXPECT_EQ(proxyObj.GetPrimaryColNamesWithAssetsFields(TABLE_NAME_1, strVec, assetFields), -E_INVALID_DB); in HWTEST_F()
260 EXPECT_EQ(proxyObj.CleanCloudData(ClearMode::DEFAULT, strVec, localSchema, assets), -E_INVALID_DB); in HWTEST_F()
349 std::vector<std::string> strVec = {}; in HWTEST_F() local
352 EXPECT_EQ(obj.CleanCloudData(ClearMode::DEFAULT, strVec, localSchema, assets), -E_INVALID_DB); in HWTEST_F()
/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Dnetworkshare_configuration.cpp265 std::vector<std::string> strVec = ReadConfigFile(); in LoadConfigData() local
266 if (strVec.size() == 0) { in LoadConfigData()
270 for_each(strVec.begin(), strVec.end(), [this](std::string &line) { in LoadConfigData()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_algorithm_test.cpp412 std::vector<std::string> strVec = { "0", "1", "2" }; in HWTEST_F() local
416 textInputLayoutAlgorithm->CreateParagraph(textStyle, strVec, "content", true, paragraphData); in HWTEST_F()
432 std::vector<std::string> strVec = { "0", "1", "2" }; in HWTEST_F() local
436 textInputLayoutAlgorithm->CreateParagraph(textStyle, strVec, "content", false, paragraphData); in HWTEST_F()
453 std::vector<std::string> strVec = {"0", "1", "2"}; in HWTEST_F() local
458 textInputLayoutAlgorithm->CreateParagraph(textStyle, strVec, "content", false, paragraphData); in HWTEST_F()
H A Dtext_field_pattern_testfour.cpp302 std::vector<std::string> strVec = { "0", "1", "2" }; in HWTEST_F() local
306 textInputLayoutAlgorithm->CreateParagraph(textStyle, strVec, "content", true, paragraphData); in HWTEST_F()
/foundation/communication/bluetooth/frameworks/js/napi/src/parser/
H A Dnapi_parser_utils.cpp315 std::vector<std::string> strVec {}; in NapiParseStringArray()
321 strVec.push_back(param); in NapiParseStringArray()
323 outStrVec = std::move(strVec); in NapiParseStringArray()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_clock/
H A Dtext_clock_test_ng.cpp590 std::vector<std::string> strVec = { "1900", "0", "1", "0", "0", "0", "0", "", "0", "", "", "", "", "" }; in HWTEST_F() local
593 EXPECT_EQ(str, strVec); in HWTEST_F()
597 EXPECT_EQ(str, strVec); in HWTEST_F()
601 EXPECT_EQ(str, strVec); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.cpp567 std::vector<std::string> strVec( in GetVecFromArrStr()
569 return strVec; in GetVecFromArrStr()
1069 auto strVec = GetVecFromArrStr(value); in ReplaceParam() local
1070 for (auto iter = strVec.begin(); iter != strVec.end(); ++iter) { in ReplaceParam()
1075 value = GetArrStrFromVec(strVec); in ReplaceParam()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_sqlite_ext.cpp611 std::vector<uint8_t> strVec; in GetHashString() local
612 strVec.assign(str.begin(), str.end()); in GetHashString()
614 int errCode = CalcValueHash(strVec, hashVec); in GetHashString()

Completed in 24 milliseconds