/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_value_parcel.cpp | 87 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 D | distributeddb_cloud_meta_data_test.cpp | 233 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 D | networkshare_configuration.cpp | 265 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 D | text_field_algorithm_test.cpp | 412 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 D | text_field_pattern_testfour.cpp | 302 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 D | napi_parser_utils.cpp | 315 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 D | text_clock_test_ng.cpp | 590 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 D | js_card_parser.cpp | 567 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 D | relational_store_sqlite_ext.cpp | 611 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()
|