Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 31) sorted by relevance

12

/commonlibrary/c_utils/base/include/
Dsafe_map.h51 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/
Dnativeapi_kv.cpp30 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
Dnativeapi_kv_impl.c100 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/
Dutils_safe_map_test.cpp285 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/
Dslots.rs85 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/
Djson_js.ts99 for (const key in value) { constant
101 const temp = value[key]; constant
/commonlibrary/c_utils/base/test/benchmarktest/safe_map_benchmark_test/
Dsafe_map_benchmark_test.cpp475 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/
Dutils.cpp27 napi_value key; in InitGlobal() local
/commonlibrary/ets_utils/js_concurrent_module/common/helper/
Dconcurrent_helper.cpp32 std::string key; in ParseLine() local
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
Dpool.rs81 let key = PoolKey::new( in ut_pool_get() localVariable
Dalt_svc.rs110 let key = PoolKey::new(scheme.clone(), authority.clone()); in set_alt_svcs() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
Dpool.rs40 let key = PoolKey::new( in connect_to() localVariable
/commonlibrary/ets_utils/js_api_module/url/test/
Dtest_napi.cpp3061 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/
Dtest_convertxml.cpp764 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/
Djs_struct.ts96 key: K; property in Pair
/commonlibrary/rust/ylong_http/ylong_http_client/tests/common/
Dmod.rs65 let key = key_path.clone(); localVariable
/commonlibrary/rust/ylong_http/ylong_http/src/h1/response/
Ddecoder.rs463 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/
Djs_xml.cpp508 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/
Dtest_napi.cpp922 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/
Dstream.rs318 let key = vec![0u8; buf_size as usize]; in verify_pinned_pubkey() localVariable
/commonlibrary/ets_utils/js_api_module/uri/
Djs_uri.cpp428 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/
Dx509.rs351 let key = x509.get_cert().unwrap(); in ut_cmp_certs() localVariable
/commonlibrary/ets_utils/js_api_module/url/src/
Djs_url.ts475 const key = keys[i]; constant
/commonlibrary/ets_utils/js_api_module/buffer/
Dnative_module_buffer.cpp669 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/
Dpool.rs72 let key = PoolKey::new( in connect_to() localVariable

12