Home
last modified time | relevance | path

Searched refs:key3 (Results 1 - 19 of 19) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dsha256.c115 FILLP_UINT32 key3; in FillpSha256Compile() local
131 key3 = index & FILLP_SHA_FIVETEEN_PAR; in FillpSha256Compile()
132 buf[key3] += FILLP_G_1(buf[key0]) + buf[key1] + FILLP_G_0(buf[key2]); in FillpSha256Compile()
134 key3 = index; in FillpSha256Compile()
138 hash[key0] += buf[key3]; in FillpSha256Compile()
147 key3 = ((FILLP_UINT32)(FILLP_SHA_SIX_PAR - index)) & FILLP_HASH_ARRAY_SZ_MOD; in FillpSha256Compile()
148 hash[key0] += FILLP_CH(hash[key1], hash[key2], hash[key3]); in FillpSha256Compile()
157 key3 = ((FILLP_UINT32)(FILLP_SHA_TWO_PAR - index)) & FILLP_HASH_ARRAY_SZ_MOD; in FillpSha256Compile()
158 hash[key0] += FILLP_MAJ(hash[key1], hash[key2], hash[key3]); in FillpSha256Compile()
/foundation/arkui/ace_engine/test/unittest/base/
H A Dnode_object_test.cpp114 const char* key3 = "key-temp"; in HWTEST_F() local
115 nodeObject->Put(key3, 11); in HWTEST_F()
116 uint32_t ret3 = nodeObject->GetUInt(key3, defaultVal); in HWTEST_F()
H A Djson_util_test.cpp666 const char* key3 = "aaa"; in HWTEST_F() local
667 bool ret3 = jsonValue->Replace(key3, value2); in HWTEST_F()
669 bool putRet = jsonValue->Put(key3, value2); in HWTEST_F()
671 bool ret4 = jsonValue->Replace(key3, value2); in HWTEST_F()
699 const char* key3 = "aaa"; in HWTEST_F() local
700 bool ret3 = jsonValue->Replace(key3, value); in HWTEST_F()
702 bool putRet = jsonValue->Put(key3, value); in HWTEST_F()
706 bool ret4 = jsonValue->Replace(key3, value); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_p2p_complex_sync_test.cpp703 Key key3 = {'3'}; in HWTEST_F() local
705 ASSERT_TRUE(g_kvDelegatePtr->Put(key3, value3) == OK); in HWTEST_F()
706 ASSERT_TRUE(g_kvDelegatePtr->Delete(key3) == OK); in HWTEST_F()
745 DistributedDBToolsUnitTest::CalcHash(key3, hashKey); in HWTEST_F()
784 Key key3 = {'3'}; in HWTEST_F() local
786 g_deviceC->PutData(key3, value3, 0, 1); in HWTEST_F()
817 EXPECT_TRUE(g_kvDelegatePtr->Get(key3, value5) != OK); in HWTEST_F()
1442 Key key3 = {'3'}; in HWTEST_F() local
1450 EXPECT_EQ(g_kvDelegatePtr->Put(key3, value), OK); in HWTEST_F()
1484 EXPECT_EQ(g_deviceB->PutData(key3, valu in HWTEST_F()
1516 Key key3 = {'3'}; HWTEST_F() local
1648 Key key3 = {'4'}; HWTEST_F() local
1703 Key key3 = {'4'}; HWTEST_F() local
1760 Key key3 = {'3'}; HWTEST_F() local
[all...]
H A Ddistributeddb_single_ver_p2p_permission_sync_test.cpp329 Key key3 = {'3'}; in HWTEST_F() local
331 g_deviceC->PutData(key3, value3, 0, 0); in HWTEST_F()
354 EXPECT_TRUE(g_kvDelegatePtr->Get(key3, value4) == NOT_FOUND); in HWTEST_F()
359 g_deviceB->GetData(key3, item1); in HWTEST_F()
H A Ddistributeddb_single_ver_p2p_simple_sync_test.cpp567 Key key3 = {'3'}; in HWTEST_F() local
569 g_deviceC->PutData(key3, value3, 0, 0); in HWTEST_F()
592 g_kvDelegatePtr->Get(key3, value4); in HWTEST_F()
599 g_deviceB->GetData(key3, item1); in HWTEST_F()
H A Ddistributeddb_single_ver_p2p_query_sync_test.cpp363 Key key3 = {'3'}; in HWTEST_F() local
365 g_deviceB->PutData(key3, value3, 20, 0); in HWTEST_F()
396 g_kvDelegatePtr->Get(key3, tmpValue); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/oh_adapter/
H A Ddocumentdb_json_common_test.cpp558 string document = R"({"_id" : "001", "key1" : {"key2" : {"key3" : {"key4" : 123, "k42" : "v42"}, "k32" : "v32"}, in HWTEST_F()
560 string document2 = R"({"_id" : "002", "key1" : {"key2" : {"key3" : {"key4" : 123, "k42" : "v42"}, "k32" : "v32"}}, in HWTEST_F()
562 const char *filter = R"({"key1" : {"key2" : {"key3" : {"key4" : 123, "k42" : "v42"}, "k32" : "v32"}}})"; in HWTEST_F()
563 const char *filter2 = R"({"key1" : {"k22" : "v22", "key2" : {"key3" : {"key4" : 123, "k42" : "v42"}, in HWTEST_F()
580 string document = R"({"_id" : "001", "key1" : {"key2" : {"key3" : {"key4" : 123, "k42" : "v42"}, "k32" : "v32"}, in HWTEST_F()
581 "k22" : "v22"}, "k12" : "v12", "key2" : {"key3" : {"key4" : 123, "k42" : "v42"}, "k32" : "v32"}})"; in HWTEST_F()
582 string document2 = R"({"_id" : "002", "key1" : {"key2" : {"key3" : {"key4" : 123}, "k32" : "v32"}, "k22" : "v22"}, in HWTEST_F()
584 const char *filter = R"({"key2" : {"key3" : {"key4" : 123, "k42" : "v42"}, "k32" : "v32"}})"; in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_rd_single_ver_natural_store_testcase.cpp99 Key key3 = key1; in SyncDatabaseOperate006() local
100 key3.pop_back(); in SyncDatabaseOperate006()
109 EXPECT_EQ(connection->Put(option, key3, value3), E_OK); in SyncDatabaseOperate006()
H A Ddistributeddb_storage_single_ver_natural_store_testcase.cpp526 * @tc.steps:step3. Insert a (key3, value3) and delete the data of the (key1, value1). in PutSyncData003()
542 * @tc.steps:step4. Set Ioption to the synchronization data and obtain the data of key1, key2, and key3. in PutSyncData003()
544 * The value of OK,value is value2, the value of Get key3 is OK, in PutSyncData003()
880 Key key3 = key1; in SyncDatabaseOperate006() local
881 key3.pop_back(); in SyncDatabaseOperate006()
890 EXPECT_EQ(connection->Put(option, key3, value3), E_OK); in SyncDatabaseOperate006()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dlocal_subscribe_store_test.cpp325 Key key3 = "Id3"; in HWTEST_F() local
327 status = kvStore->Put(key3, value3); // insert or update key-value in HWTEST_F()
360 Key key3 = "Id3"; in HWTEST_F() local
362 status = kvStore->Put(key3, value3); // insert or update key-value in HWTEST_F()
395 Key key3 = "Id1"; in HWTEST_F() local
397 status = kvStore->Put(key3, value3); // insert or update key-value in HWTEST_F()
881 Key key3 = "Id3"; in HWTEST_F() local
883 status = kvStore->Put(key3, value3); // insert or update key-value in HWTEST_F()
927 Key key3 = "Id3"; in HWTEST_F() local
929 status = kvStore->Put(key3, value in HWTEST_F()
973 Key key3 = "Id1"; HWTEST_F() local
1011 Key key3 = "Id1"; HWTEST_F() local
[all...]
H A Dlocal_subscribe_device_store_test.cpp312 Key key3 = "Id3"; in HWTEST_F() local
314 status = kvStore_->Put(key3, value3); // insert or update key-value in HWTEST_F()
347 Key key3 = "Id3"; in HWTEST_F() local
349 status = kvStore_->Put(key3, value3); // insert or update key-value in HWTEST_F()
382 Key key3 = "Id1"; in HWTEST_F() local
384 status = kvStore_->Put(key3, value3); // insert or update key-value in HWTEST_F()
869 Key key3 = "Id3"; in HWTEST_F() local
871 status = kvStore_->Put(key3, value3); // insert or update key-value in HWTEST_F()
915 Key key3 = "Id3"; in HWTEST_F() local
917 status = kvStore_->Put(key3, value in HWTEST_F()
961 Key key3 = "Id1"; HWTEST_F() local
999 Key key3 = "Id1"; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/syntax/
H A Drepeat_node_cache_syntax_test.cpp357 std::optional<std::string> key3 = caches.GetKey4Index(3, true); in HWTEST_F() local
358 EXPECT_EQ(key3, "Key3"); in HWTEST_F()
1092 std::optional<std::string> key3 = caches.GetKey4Index(3, true); in HWTEST_F() local
1093 EXPECT_EQ(key3, "Key3"); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_manager_test.cpp627 std::string key3 = "com.example.myapplicationsessionIdsourcetarget_1234567890_p_propertyName"; in HWTEST_F() local
628 res = manager->SplitEntryKey(key3); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_crud_test.cpp1413 DistributedDB::Key key1, key2, key3, key4, key5, key6, key7, key8; in GenerateDataForBatch() local
1416 key3 = {'a', 'b', 'c'}; in GenerateDataForBatch()
1423 key1, key2, key3, in GenerateDataForBatch()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Djpeg_decoder_ex_test.cpp1363 const std::string key3 ="ImageLength"; in HWTEST_F() local
1364 jpegDecoder->JpegDecoder::getExifTagFromKey(key3); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_text_typography_test.cpp1357 const char* key3 = "方体"; in HWTEST_F() local
1359 OH_Drawing_TextStyleAddFontFeature(txtStyle, key3, value3); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_kv_test.cpp1471 Key key3 = {'k', '3'}; in HWTEST_F() local
1473 kvDelegatePtrS1_->Put(key3, value3); in HWTEST_F()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_test.cpp1421 std::string key3(80, 'a'); in HWTEST_F()
1425 ASSERT_EQ(key3, scensession->GetRatioPreferenceKey()); in HWTEST_F()

Completed in 50 milliseconds