Home
last modified time | relevance | path

Searched refs:key1 (Results 1 – 25 of 143) sorted by relevance

123456

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_rd_single_ver_natural_store_testcase.cpp95 Key key1; in SyncDatabaseOperate006() local
97 Key key2 = key1; in SyncDatabaseOperate006()
99 Key key3 = key1; in SyncDatabaseOperate006()
107 EXPECT_EQ(connection->Put(option, key1, value1), E_OK); in SyncDatabaseOperate006()
151 Key key1; in DataBaseCommonPutOperate() local
158 DistributedDBToolsUnitTest::GetRandomKeyValue(key1); in DataBaseCommonPutOperate()
244 Key key1; in DataBaseCommonDeleteOperate() local
248 DistributedDBToolsUnitTest::GetRandomKeyValue(key1); in DataBaseCommonDeleteOperate()
249 EXPECT_EQ(connection->Delete(option, key1), E_OK); in DataBaseCommonDeleteOperate()
272 EXPECT_EQ(connection->Delete(option, key1), E_OK); in DataBaseCommonDeleteOperate()
[all …]
H A Ddistributeddb_storage_single_ver_natural_store_testcase.cpp59 Key key1; in GetSyncData001() local
147 Key key1; in GetSyncData003() local
314 Key key1; in PutSyncData001() local
329 item1.key = key1; in PutSyncData001()
409 Key key1; in PutSyncData002() local
616 Key key1; in GetCurrentMaxTimestamp001() local
876 Key key1; in SyncDatabaseOperate006() local
1567 Key key1; in TestMetaDataPutAndGet() local
1672 Key key1; in DataBaseCommonPutOperate() local
1767 Key key1; in DataBaseCommonDeleteOperate() local
[all …]
H A Ddistributeddb_storage_transaction_record_test.cpp467 Key key1, key2; variable
480 EXPECT_EQ(g_transaction->Put(key1, value1), E_OK);
711 Key key1; variable
720 EXPECT_EQ(g_transaction->Put(key1, value1), E_OK);
732 EXPECT_EQ(g_transaction->Put(key1, value2), E_OK);
975 Key key1, key2; variable
978 key2 = key1;
985 EXPECT_EQ(g_transaction->Put(key1, value1), E_OK);
1004 Entry entry1 = {key1, value1Changed};
1019 Key key1, key2; variable
[all …]
/ohos5.0/base/startup/init/test/moduletest/
H A Dsyspara_moduleTest.cpp166 char key1[] = "test1.param.version"; variable
184 int ret = SetParameter(key1, value);
232 string key1 = "test.param.set.bool"; variable
233 ret = system::SetParameter(key1, "1");
236 ret = system::SetParameter(key1, "y");
248 ret = system::SetParameter(key1, "0");
274 string key1 = "const.param.test"; variable
335 char key1[] = "test2.param.wait"; variable
338 ret = WaitParameter(key1, value1, 5);
367 char key1[] = "test.param.int1"; variable
[all …]
/ohos5.0/base/startup/init/test/unittest/syspara/
H A Dsyspara_unittest.cpp116 char key1[] = "test.ro.sys.version"; variable
118 int ret = SetParameter(key1, value1);
153 char key1[] = "rw.product.not.exist"; variable
193 char key1[] = "test.rw.sys.version"; variable
195 int ret = SetParameter(key1, value1);
197 ret = SystemWriteParam(key1, value1);
238 int ret = SetParameter(key1, value1);
240 ret = SystemWriteParam(key1, value1);
244 ret = WaitParameter(key1, "*", 10);
255 int ret = SetParameter(key1, value1);
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_hisysevent_adapter_impl.h30 …const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1) …
32 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
35 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
39 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
43 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
48 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
53 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t val…
57 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t val…
62 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t val…
75 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
[all …]
H A Dark_hisysevent_adapter_impl.cpp28 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
39 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
53 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
69 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
87 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
109 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
132 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
147 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
172 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
209 std::string s_key1 = ArkWebStringStructToClass(key1); in Write()
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_hisysevent_adapter.h30 …const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1) …
33 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
37 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
41 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
46 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
51 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
57 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int…
62 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int…
68 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int…
82 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dsha256.c113 FILLP_UINT32 key1; in FillpSha256Compile() local
132 buf[key3] += FILLP_G_1(buf[key0]) + buf[key1] + FILLP_G_0(buf[key2]); in FillpSha256Compile()
140 key1 = index + jdex; in FillpSha256Compile()
141 hash[key0] += g_k256[key1]; in FillpSha256Compile()
143 key1 = ((FILLP_UINT32)(FILLP_SHA_FOUR_PAR - index)) & FILLP_HASH_ARRAY_SZ_MOD; in FillpSha256Compile()
144 hash[key0] += FILLP_S_1(hash[key1]); in FillpSha256Compile()
148 hash[key0] += FILLP_CH(hash[key1], hash[key2], hash[key3]); in FillpSha256Compile()
151 hash[key1] += hash[key0]; in FillpSha256Compile()
153 key1 = ((FILLP_UINT32)(0 - index)) & FILLP_HASH_ARRAY_SZ_MOD; in FillpSha256Compile()
154 hash[key0] += FILLP_S_0(hash[key1]); in FillpSha256Compile()
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-syntax-hml.md28 <text>{{key1}} {{key2}}</text> <!-- 输出:Hello World-->
29 <text>key1 {{key1}}</text> <!-- 输出:key1 Hello-->
42 "key1": "Hello",
55 > - 支持变量跟变量:{{key1}}{{key2}}等
56 > - 支持常量跟变量: "my name is {{name}}, i am from {{city}}." "key1 {{key1}}"
62 > - {{flag? key1:key2}}(flag为boolean变量,key1和key2可以是变量,也可以是常量)
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_dlp_test.cpp187 Key key1 = {'k', '1'}; variable
189 delegatePtr1->Put(key1, value1);
195 EXPECT_EQ(delegatePtr1->Get(key1, value), OK);
244 Key key1 = {'k', '1'}; variable
246 delegatePtr1->Put(key1, value1);
249 EXPECT_EQ(delegatePtr1->Get(key1, value), OK);
253 delegatePtr1->Put(key1, value2);
254 EXPECT_EQ(delegatePtr1->Get(key1, value), OK);
257 EXPECT_EQ(delegatePtr1->Delete(key1), OK);
297 Key key1 = {'k', '1'}; variable
[all …]
H A Ddistributeddb_single_ver_p2p_simple_sync_test.cpp421 Key key1 = {'1'}; variable
435 g_deviceB->PutData(key1, value3,
483 Key key1 = {'1'}; variable
552 Key key1 = {'1'}; variable
596 g_deviceB->GetData(key1, item1);
627 Key key1 = {'1'}; variable
704 Key key1 = {'1'}; variable
854 Key key1; variable
1603 Key key1 = {'1'}; variable
1633 Key key1 = {'1'}; variable
[all …]
H A Ddistributeddb_single_ver_p2p_complex_sync_test.cpp695 Key key1 = {'1'}; variable
772 Key key1 = {'1'}; variable
918 Key key1 = {'1'}; variable
1379 Key key1 = {'1'}; variable
1446 Key key1 = {'1'}; variable
1520 Key key1 = {'1'}; variable
1593 Key key1 = {'1'}; variable
1662 Key key1 = {'1'}; variable
1721 Key key1 = {'2'}; variable
1776 Key key1 = {'2'}; variable
[all …]
H A Ddistributeddb_single_ver_multi_sub_user_test.cpp483 Key key1 = {'k', '1'}; variable
485 delegatePtr1->Put(key1, value1);
491 EXPECT_EQ(delegatePtr1->Get(key1, value), OK);
593 Key key1 = {'k', '1'}; variable
595 delegatePtr1->Put(key1, value1);
598 EXPECT_EQ(delegatePtr1->Get(key1, value), OK);
602 delegatePtr1->Put(key1, value2);
603 EXPECT_EQ(delegatePtr1->Get(key1, value), OK);
606 EXPECT_EQ(delegatePtr1->Delete(key1), OK);
723 Key key1 = {'k', '1'}; variable
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/abilityautostartupdatamanagerb_fuzzer/
H A Dabilityautostartupdatamanagerb_fuzzer.cpp89 DistributedKv::Key key1(jsonKey1); in AbilityAutoStartupDataManagerFuzztest1() local
92 dataMgr->ConvertAutoStartupInfoFromKeyAndValue(key1, value1); in AbilityAutoStartupDataManagerFuzztest1()
103 nlohmann::json jsonObject = nlohmann::json::parse(key1.ToString(), nullptr, false); in AbilityAutoStartupDataManagerFuzztest1()
112 dataMgr->IsEqual(key1, info); in AbilityAutoStartupDataManagerFuzztest1()
116 dataMgr->IsEqual(key1, "token"); in AbilityAutoStartupDataManagerFuzztest1()
117 dataMgr->IsEqual(key1, "NaN"); in AbilityAutoStartupDataManagerFuzztest1()
120 dataMgr->IsEqual(key1, 100); // 100 means userid in AbilityAutoStartupDataManagerFuzztest1()
121 dataMgr->IsEqual(key1, int32Param); in AbilityAutoStartupDataManagerFuzztest1()
/ohos5.0/foundation/communication/netmanager_base/test/netsysbpfstats/unittest/netsys_bpf_stats_test/
H A Dnetsys_bpf_stats_test.cpp251 app_uid_if_stats_key key1 = {0}; variable
252 key1.ifIndex = TEST_UID_IF1;
253 key1.uId = TEST_UID1;
310 app_uid_if_stats_key key1 = {0}; variable
311 key1.ifIndex = TEST_UID_IF1;
312 key1.uId = TEST_UID1;
330 app_uid_if_stats_key key1 = {0}; variable
331 key1.ifIndex = TEST_UID_IF1;
332 key1.uId = TEST_UID1;
358 key1.ifIndex = TEST_UID_IF1;
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Ddata_share_subscriber_managers_test.cpp127 DataShare::Key key1(DATA_SHARE_URI_TEST, TEST_SUB_ID, BUNDLE_NAME_TEST);
130 EXPECT_FALSE(key1 < key2);
131 EXPECT_TRUE(key2 < key1);
226 …DataShare::PublishedDataKey key1(DATA_SHARE_URI_TEST, "ohos.subscribermanagertest.demo", TEST_SUB_… variable
229 EXPECT_FALSE(key1 < key2);
230 EXPECT_TRUE(key2 < key1);
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Ddefault_client.c112 int SAMGR_CompareSAName(const SaName *key1, const SaName *key2) in SAMGR_CompareSAName() argument
114 if (key1 == key2) { in SAMGR_CompareSAName()
118 if (key1->service != key2->service) { in SAMGR_CompareSAName()
119 int ret = strcmp(key1->service, key2->service); in SAMGR_CompareSAName()
125 if (key1->feature == key2->feature) { in SAMGR_CompareSAName()
129 if (key1->feature == NULL) { in SAMGR_CompareSAName()
137 return strcmp(key1->feature, key2->feature); in SAMGR_CompareSAName()
H A Ddefault_client_rpc.c106 int SAMGR_CompareSAName(const SaName *key1, const SaName *key2) in SAMGR_CompareSAName() argument
108 if (key1 == key2) { in SAMGR_CompareSAName()
112 if (key1->service != key2->service) { in SAMGR_CompareSAName()
113 int ret = strcmp(key1->service, key2->service); in SAMGR_CompareSAName()
119 if (key1->feature == key2->feature) { in SAMGR_CompareSAName()
123 if (key1->feature == NULL) { in SAMGR_CompareSAName()
131 return strcmp(key1->feature, key2->feature); in SAMGR_CompareSAName()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-syntax-hml.md28 <text>{{key1}} {{key2}}</text> <!-- Display Hello World-->
29 <text>key1 {{key1}}</text> <!-- Display key1 Hello-->
42 "key1": "Hello",
55 > - A variable can be followed by another variable, for example, **{{key1}}{{key2}}**.
56 …owed by a constant, for example, **"my name is {{name}}, i am from {{city}}." "key1 {{key1}}"**.
62 > - {{flag? key1: key2}} (**flag** is a Boolean variable. **key1** and **key2** can be variabl…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_nb_delegate_schema_put_test.cpp337 Key key1; variable
340 DistributedDBToolsUnitTest::GetRandomKeyValue(key1);
341 EXPECT_EQ(g_kvStore->Put(key1, value), OK);
368 EXPECT_EQ(g_kvStore->Delete(key1), OK);
434 Key key1; variable
437 DistributedDBToolsUnitTest::GetRandomKeyValue(key1);
438 EXPECT_EQ(g_kvStore->Put(key1, value), OK);
H A Ddistributeddb_interfaces_log_test.cpp76 string key1 = "NEW."; variable
82 string value = manager.CalcPrimaryKeyHash(key1, tableInfo, key4);
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/
H A Dstage_pkg_context_info.cpp59 std::string key1 = item1->GetKey(); in AliasMap() local
60 sonMap.push_back(key1); in AliasMap()
61 if ("dependencyAlias" == key1) { in AliasMap()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/schemadelegate_fuzzer/
H A Dschemadelegate_fuzzer.cpp65 Key key1 = fuzz.GetSequence(fuzz.GetInt()); in SchemaFuzzCURD() local
67 keys.push_back(key1); in SchemaFuzzCURD()
69 entries.emplace_back(Entry {key1, val1}); in SchemaFuzzCURD()
/ohos5.0/foundation/communication/netmanager_ext/interfaces/innerkits/vpnextension/include/
H A Djs_vpn_extension_context.h47 bool operator()(const ConnectionKey &key1, const ConnectionKey &key2) const in operator()
49 if (key1.id < key2.id) { in operator()

123456