Home
last modified time | relevance | path

Searched refs:first (Results 1 – 21 of 21) sorted by relevance

/commonlibrary/c_utils/base/test/unittest/common/
Dutils_rwlock_test.cpp75 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1)));
85 first.join();
104 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1)));
113 first.join();
/commonlibrary/memory_utils/libmeminfo/src/
Dmeminfo.cpp123 if (memtrack->GetDevMem(pid, memTrackerType.first, records) != HDF_SUCCESS) { in GetGraphicsMemory()
133 if (memTrackerType.first == MEMORY_TRACKER_TYPE_GL) { in GetGraphicsMemory()
136 } else if (memTrackerType.first == MEMORY_TRACKER_TYPE_GRAPH) { in GetGraphicsMemory()
/commonlibrary/c_utils/base/src/
Dthread_ex.cpp182 bool first = true; in ThreadStart() local
186 if (first) { in ThreadStart()
187 first = false; in ThreadStart()
Dstring_ex.cpp230 bool IsSameTextStr(const string& first, const string& second) in IsSameTextStr() argument
232 return UpperStr(first) == UpperStr(second); in IsSameTextStr()
Dtimer.cpp167 reactor_->CancelTimer(itor.first); in DoUnregister()
Dio_event_reactor.cpp265 int fd = events[idx].first; in HandleAll()
/commonlibrary/ets_utils/js_sys_module/process/
Djs_process.cpp269 while (iter.first != iter.second) { in Off()
270 NAPI_CALL(env, napi_delete_reference(env, iter.first->second)); in Off()
271 iter.first = eventMap.erase(iter.first); in Off()
478 NAPI_CALL(env, napi_get_reference_value(env, iter->first, &prom)); in AddHandle()
482 NAPI_CALL(env, napi_delete_reference(env, iter->first)); in AddHandle()
503 while (iter.first != iter.second) { in UnHandleRejection()
505 NAPI_CALL(env, napi_get_reference_value(env, iter.first->second, &cb)); in UnHandleRejection()
508 iter.first++; in UnHandleRejection()
539 NAPI_CALL(env, napi_get_reference_value(env, iter->first, &promise)); in CheckUnhandleRejections()
545 NAPI_CALL(env, napi_delete_reference(env, iter->first)); in CheckUnhandleRejections()
/commonlibrary/c_utils/base/include/
Dsafe_map.h119 map_.erase(ret.first); in EnsureInsert()
208 callback(it -> first, it -> second); in Iterate()
Dstring_ex.h215 bool IsSameTextStr(const std::string& first, const std::string& second);
/commonlibrary/c_utils/docs/en/
Dc_utils_timer.md33 1. Timer should be set up first and then shutdown. Avoid delegating them to different threads since…
35 …MER_ERR_INVALID_VALUE`. If a reset operation is required, shut Timer down first and then set it up.
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/
Dmod.rs160 while let [first, rest @ ..] = bytes { in trim_ascii_start()
161 if first.is_ascii_whitespace() { in trim_ascii_start()
/commonlibrary/c_utils/docs/zh-cn/
Dc-utils-guide-string.md22 | bool | **IsSameTextStr**(const std::string& first, const std::string& second)<br>判断两个输入字符串内容是否相同(…
/commonlibrary/ets_utils/js_concurrent_module/taskpool/
Dworker.cpp255 if (executeIdAndPriority.first == 0) { in PerformTask()
261 TaskInfo* taskInfo = TaskManager::GetInstance().GetTaskInfo(executeIdAndPriority.first); in PerformTask()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/
Dlinked_list.rs99 if let Some(first) = head.next { in push_front()
100 L::node(first).as_mut().prev = node; in push_front()
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/
Ddecoder.rs606 …($octets: literal, $({ $pat: ident $(, $kind: ident)? => $first: expr $(, $second: expr)?} $(,)?)*… in ut_repr_decoder()
610 inner_test_case!(decoder, $pat $(, $kind)? => $first $(, $second)?); in ut_repr_decoder()
/commonlibrary/ets_utils/
DREADME.en.md105 …ct. If key-value pairs matching the specified key exist, the value of the first occurrence of the …
112 | get(name: string): string | Obtains the value of the first key-value pair with the specified key …
132 …ializer** object. The **XmlSerializer** object passes two parameters. The first parameter is the m…
143 …lParser** object. The **XmlPullParser** object passes two parameters. The first parameter is the m…
144 …, value: ParseInfo) => boolean }. For **tokenValueCallbackFunction**, the first input parameter in…
187 query: ['first', 'second']
190 // Prints [ 'first,second' ]
199 ['query', 'first'],
203 // Prints 'user = abc & query = first&query = second'
639 …o an error-first callback, which means that **(err, value) => ...** is used as the last parameter …
[all …]
DREADME.md353 query: ['first', 'second']
356 // Prints [ 'first,second' ]
365 ['query', 'first'],
369 // Prints 'user = abc & query = first&query = second'
5089 const workerInstance = new worker.Worker("workers/worker.js", {name:"first worker"});
5094 const workerInstance = new worker.Worker("../workers/worker.js", {name:"first worker"});
/commonlibrary/ets_utils/js_concurrent_module/taskpool/test/
Dtest_taskpool.cpp114 ASSERT_TRUE(result.first == 0);
354 ASSERT_TRUE(result.first == 0);
/commonlibrary/ets_utils/js_api_module/buffer/src/
Djs_buffer.ts1119 const first = this[offset]; constant
1507 const first = this[offset]; constant
1509 return first * Math.pow(twoBytes, eightBytes) + last;
/commonlibrary/ets_utils/js_api_module/buffer/test/
Dtest_napi.cpp874 std::string type = item->first;
/commonlibrary/ets_utils/js_api_module/url/
Djs_url.cpp319 if (i.first == urlinfo.scheme && i.second == it) { in AnalysisPort()
1659 HandleIllegalChar(winput, result[0].first); in ToUSVString()