| /commonlibrary/c_utils/base/include/ |
| D | safe_map.h | 51 V ReadVal(const K& key) in ReadVal() 58 void ChangeValueByLambda(const K& key, LambdaCallback callback) in ChangeValueByLambda() 101 bool Insert(const K& key, const V& value) in Insert() 116 void EnsureInsert(const K& key, const V& value) in EnsureInsert() 137 bool Find(const K& key, V& value) in Find() 160 bool FindOldAndSetNew(const K& key, V& oldValue, const V& newValue) in FindOldAndSetNew() 182 void Erase(const K& key) in Erase()
|
| /commonlibrary/utils_lite/js/builtin/kvstorekit/src/ |
| D | nativeapi_kv.cpp | 30 bool IsValidKey(const char* key) in IsValidKey() 45 int GetFullPath(const char* dataPath, const char* key) in GetFullPath() 73 int GetValueInner(const char* dataPath, const char* key, char* value) in GetValueInner() 82 int SetValueInner(const char* dataPath, const char* key, const char* value) in SetValueInner() 91 int DeleteValueInner(const char* dataPath, const char* key) in DeleteValueInner() 126 char* key = JSI::GetStringProperty(args, KV_KEY); in ExecuteGet() local 166 char* key = JSI::GetStringProperty(args, KV_KEY); in ExecuteSet() local 212 char* key = JSI::GetStringProperty(args, KV_KEY); in ExecuteDelete() local
|
| D | nativeapi_kv_impl.c | 100 int GetValue(const char* key, char* value) in GetValue() 129 int SetValue(const char* key, const char* value) in SetValue() 153 int DeleteValue(const char* key) in DeleteValue()
|
| /commonlibrary/c_utils/base/test/unittest/common/ |
| D | utils_safe_map_test.cpp | 285 auto lamfuncCheck = [](SafeMap<string, int>& data, const string& key, 286 std::chrono::system_clock::time_point absTime) { in __anon916823360502() 332 auto lamfuncCheckLoop = [](SafeMap<string, int>& data, const string& key, 333 std::chrono::system_clock::time_point absTime) { in __anon916823360702() 420 auto lamfuncCheckLoop = [](SafeMap<string, int>& data, const string& key, 421 const int& newvalue, std::chrono::system_clock::time_point absTime) { in __anon916823360902()
|
| /commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/ |
| D | slots.rs | 85 let key = self.next; in push_back() localVariable 359 let key = slots.push_back(data); in ut_slots_push_back() localVariable 370 let key = slots.push_back(data); in ut_slots_push_back() localVariable 390 let key = slots.push_back(Data::new(data)); in ut_slots_push_back() localVariable 445 let key = slots.push_back(data); in ut_slots_remove() localVariable 476 let key = slots.push_back(data); in ut_slots_huge_data_push_back() localVariable 498 let key = slots.push_back(data); in ut_slots_huge_data_remove() localVariable 566 let key = slots.push_back(data); in ut_slots_huge_data_find() localVariable
|
| /commonlibrary/ets_utils/js_util_module/json/src/ |
| D | json_js.ts | 99 for (const key in value) { constant 101 const temp = value[key]; constant
|
| /commonlibrary/c_utils/base/test/benchmarktest/safe_map_benchmark_test/ |
| D | safe_map_benchmark_test.cpp | 475 auto lamfuncCheck = [](SafeMap<string, int>& data, const string& key, in BENCHMARK_F() 476 std::chrono::time_point<std::chrono::high_resolution_clock> absTime) { in BENCHMARK_F() 484 string key("A"); in BENCHMARK_F() local 526 auto lamfuncCheckLoop = [](SafeMap<string, int>& data, const string& key, in BENCHMARK_F() 527 std::chrono::time_point<std::chrono::high_resolution_clock> absTime) { in BENCHMARK_F() 537 string key("A"); in BENCHMARK_F() local 575 auto lamfuncCheckLoop = [](SafeMap<string, int>& data, const string& key, in BENCHMARK_F() 576 … const int& newvalue, std::chrono::time_point<std::chrono::high_resolution_clock> absTime) { in BENCHMARK_F() 586 string key("A"); in BENCHMARK_F() local
|
| /commonlibrary/ets_utils/js_concurrent_module/utils/ |
| D | utils.cpp | 27 napi_value key; in InitGlobal() local
|
| /commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
| D | concurrent_helper.cpp | 32 std::string key; in ParseLine() local
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
| D | pool.rs | 81 let key = PoolKey::new( in ut_pool_get() localVariable
|
| D | alt_svc.rs | 110 let key = PoolKey::new(scheme.clone(), authority.clone()); in set_alt_svcs() localVariable
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
| D | pool.rs | 40 let key = PoolKey::new( in connect_to() localVariable
|
| /commonlibrary/ets_utils/js_api_module/url/test/ |
| D | test_napi.cpp | 3061 napi_value key = StrToNapiValue(env, "username"); variable 3075 napi_value key = StrToNapiValue(env, "token"); variable 3090 napi_value key = StrToNapiValue(env, "color"); variable 3105 napi_value key = StrToNapiValue(env, "page"); variable 3160 napi_value key = StrToNapiValue(env, "empty"); variable 3178 napi_value key = StrToNapiValue(env, "query"); variable 3221 napi_value key = StrToNapiValue(env, "nonexistent"); variable 3233 napi_value key = StrToNapiValue(env, "lang"); variable 3272 napi_value key = StrToNapiValue(env, "version"); variable 3309 napi_value key = StrToNapiValue(env, "城市"); variable [all …]
|
| /commonlibrary/ets_utils/js_api_module/convertxml/test/ |
| D | test_convertxml.cpp | 764 std::string key = "hello"; variable 772 std::string key = "xmlsss<zyyzyy>ssa"; variable 782 std::string key = " xmlsss<zyyzyy>ssa"; variable 792 std::string key = "xmlsss<!DOCTYPE>ssa"; variable
|
| /commonlibrary/ets_utils/js_util_module/container/struct/ |
| D | js_struct.ts | 96 key: K; property in Pair
|
| /commonlibrary/rust/ylong_http/ylong_http_client/tests/common/ |
| D | mod.rs | 65 let key = key_path.clone(); localVariable
|
| /commonlibrary/rust/ylong_http/ylong_http/src/h1/response/ |
| D | decoder.rs | 463 let key = take(&mut self.rest); in decode_key() localVariable 619 let key = name.to_lowercase(); in header_insert() localVariable
|
| /commonlibrary/ets_utils/js_api_module/xml/ |
| D | js_xml.cpp | 508 napi_value key = nullptr; in ParseTag() local 529 napi_value key = nullptr; in ParseToken() local 573 napi_value key = nullptr; in ParseAttri() local
|
| /commonlibrary/ets_utils/js_api_module/uri/test/ |
| D | test_napi.cpp | 922 napi_value key = StrToNapiValue(env, "aaa"); variable 1221 napi_value key = StrToNapiValue(env, "qqwwee"); variable
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/ |
| D | stream.rs | 318 let key = vec![0u8; buf_size as usize]; in verify_pinned_pubkey() localVariable
|
| /commonlibrary/ets_utils/js_api_module/uri/ |
| D | js_uri.cpp | 428 std::string Uri::AddQueryValue(const std::string key, const std::string value) const in AddQueryValue() argument
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
| D | x509.rs | 351 let key = x509.get_cert().unwrap(); in ut_cmp_certs() localVariable
|
| /commonlibrary/ets_utils/js_api_module/url/src/ |
| D | js_url.ts | 475 const key = keys[i]; constant
|
| /commonlibrary/ets_utils/js_api_module/buffer/ |
| D | native_module_buffer.cpp | 669 size_t key = 0; in GetBufferData() local 1036 size_t key = 0; in Utf8StringToNumbers() local 1136 size_t key = 0; in GetBytes() local
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
| D | pool.rs | 72 let key = PoolKey::new( in connect_to() localVariable
|