/commonlibrary/ets_utils/js_util_module/util/ |
D | js_types.cpp | 25 bool flag = false; in IsAnyArrayBuffer() local 30 flag = true; in IsAnyArrayBuffer() 31 napi_get_boolean(env, flag, &rst); in IsAnyArrayBuffer() 36 flag = true; in IsAnyArrayBuffer() 38 napi_get_boolean(env, flag, &rst); in IsAnyArrayBuffer() 46 bool flag = false; in IsArrayBufferView() local 49 napi_get_boolean(env, flag, &rst); in IsArrayBufferView() 76 flag = true; in IsArrayBufferView() 79 flag = false; in IsArrayBufferView() 83 napi_get_boolean(env, flag, &rst); in IsArrayBufferView() [all …]
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/ |
D | wake_list.rs | 33 flag: AtomicUsize, field 47 flag: AtomicUsize::new(0), in new() 85 if self.flag.load(Ordering::SeqCst) & NOTIFIABLE != 0 { in notify() 97 while self.flag.fetch_or(LOCKED, Ordering::Acquire) & LOCKED != 0 { in lock() 142 let mut flag = 0; in drop() localVariable 146 flag |= NOTIFIABLE; in drop() 148 self.waker_set.flag.store(flag, Ordering::SeqCst); in drop() 186 assert_eq!(wakelist.flag.load(Ordering::SeqCst), 0); in ut_wakelist_new_01()
|
D | mutex.rs | 250 let flag = Arc::new(AtomicBool::new(true)); in ut_mutex_try_lock_02() localVariable 251 let flag_clone = flag.clone(); in ut_mutex_try_lock_02() 267 flag.store(false, Ordering::SeqCst); in ut_mutex_try_lock_02()
|
/commonlibrary/ets_utils/js_sys_module/process/ |
D | js_process.cpp | 165 bool flag = false; in Kill() local 168 flag = true; in Kill() 171 NAPI_CALL(env, napi_get_boolean(env, flag, &result)); in Kill() 254 bool flag = false; in Off() local 272 flag = true; in Off() 275 NAPI_CALL(env, napi_get_boolean(env, flag, &convertResult)); in Off() 290 bool flag = true; in IsIsolatedProcess() local 295 NAPI_CALL(env, napi_get_boolean(env, flag, &result)); in IsIsolatedProcess() 298 flag = false; in IsIsolatedProcess() 299 NAPI_CALL(env, napi_get_boolean(env, flag, &result)); in IsIsolatedProcess() [all …]
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
D | task_cancel.rs | 68 flag: usize, field 76 if this.flag < 1000000 { in poll() 77 this.flag += 1; in poll()
|
D | join_set.rs | 46 flag: bool, field 54 if !this.flag { in poll() 55 this.flag = true; in poll()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/ |
D | async_pool.rs | 681 let flag = Arc::new(Mutex::new(0)); in ut_executor_mng_info_cancel() localVariable 684 let (flag_clone, tx) = (flag.clone(), tx); in ut_executor_mng_info_cancel() 697 assert_eq!(*flag.lock().unwrap(), 1); in ut_executor_mng_info_cancel() 710 let flag = Arc::new(Mutex::new(0)); in ut_executor_mng_info_wake_up_all() localVariable 713 let (flag_clone, tx) = (flag.clone(), tx); in ut_executor_mng_info_wake_up_all() 728 assert_eq!(*flag.lock().unwrap(), 1); in ut_executor_mng_info_wake_up_all() 742 let flag = Arc::new(Mutex::new(0)); in ut_executor_mng_info_wake_up_rand_one() localVariable 745 let (flag_clone, tx) = (flag.clone(), tx); in ut_executor_mng_info_wake_up_rand_one() 760 assert_eq!(*flag.lock().unwrap(), 1); in ut_executor_mng_info_wake_up_rand_one() 775 let flag = Arc::new(Mutex::new(0)); in ut_executor_mng_info_wake_up_if_one_task_left() localVariable [all …]
|
/commonlibrary/ets_utils/js_util_module/container/hashset/ |
D | js_hashset.ts | 20 let flag: boolean = false; variable 26 flag = true; 28 if (flag || fastHashSet === undefined) {
|
/commonlibrary/ets_utils/js_api_module/convertxml/ |
D | js_convertxml.cpp | 233 …void ConvertXml::SetPrevInfo(napi_env env, const napi_value &recvElement, int flag, int32_t &index… in SetPrevInfo() argument 235 if (!prevObj_.empty() && !flag) { in SetPrevInfo() 243 … void ConvertXml::GetXMLInfo(napi_env env, xmlNodePtr curNode, const napi_value &object, int flag) in GetXMLInfo() argument 275 SetPrevInfo(env, recvElement, flag, index1); in GetXMLInfo() 592 size_t flag = 0; in Replace() local 597 size_t strLen = begCdata - flag; in Replace() 598 temp = str.substr(flag, strLen); in Replace() 604 str.replace(flag, strLen, temp); in Replace() 605 flag = endCdata - count + 3; // 3 : length of "]]>" in Replace() 607 temp = str.substr(flag); in Replace() [all …]
|
D | js_convertxml.h | 115 void GetXMLInfo(napi_env env, xmlNodePtr curNode, const napi_value &object, int flag = 0); 123 … void SetPrevInfo(napi_env env, const napi_value &recvElement, int flag, int32_t &index1) const;
|
/commonlibrary/ets_utils/js_api_module/convertxml/test/ |
D | test_convertxml.cpp | 513 bool flag = false; variable 514 CxmlTest::SetXmlElementType(env, curNode1, elementsObject, flag); 515 flag = false; 517 CxmlTest::SetXmlElementType(env, curNode1, elementsObject, flag); 519 ASSERT_TRUE(flag); 531 bool flag = true; variable 534 ASSERT_TRUE(flag); 545 bool flag = true; variable 547 ASSERT_TRUE(flag); 558 bool flag = true; variable [all …]
|
/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/ |
D | nativeapi_deviceinfo.cpp | 30 uint8_t argsNum, AsyncWorkHandler ExecuteFunc, bool flag = false) in ExecuteAsyncWork() argument 42 params->flag = flag; in ExecuteAsyncWork()
|
/commonlibrary/ets_utils/js_util_module/container/queue/ |
D | js_queue.ts | 19 let flag: boolean = false; variable 25 flag = true; 28 if (flag || fastQueue === undefined) {
|
/commonlibrary/ets_utils/js_util_module/container/stack/ |
D | js_stack.ts | 19 let flag: boolean = false; variable 25 flag = true; 28 if (flag || fastStack === undefined) {
|
/commonlibrary/ets_utils/js_util_module/container/hashmap/ |
D | js_hashmap.ts | 20 let flag: boolean = false; variable 26 flag = true; 28 if (flag || fastHashMap === undefined) {
|
/commonlibrary/ets_utils/js_util_module/container/deque/ |
D | js_deque.ts | 19 let flag: boolean = false; variable 25 flag = true; 28 if (flag || fastDeque === undefined) {
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/ |
D | http2.rs | 182 let mut flag = FrameFlags::new(UNUSED_FLAG); in build_data_frame() localVariable 183 flag.set_end_stream(true); in build_data_frame() 186 flag, in build_data_frame() 204 let mut flag = FrameFlags::new(UNUSED_FLAG); in build_headers_frame() localVariable 205 flag.set_end_headers(true); in build_headers_frame() 207 flag.set_end_stream(true); in build_headers_frame() 211 flag, in build_headers_frame()
|
/commonlibrary/ets_utils/js_util_module/container/plainarray/ |
D | js_plainarray.ts | 20 let flag: boolean = false; variable 26 flag = true; 28 if (flag || fastPlainArray === undefined) {
|
/commonlibrary/ets_utils/js_util_module/container/lightweightset/ |
D | js_lightweightset.ts | 20 let flag: boolean = false; variable 26 flag = true; 28 if (flag || fastLightWeightSet === undefined) {
|
/commonlibrary/ets_utils/js_util_module/container/treeset/ |
D | js_treeset.ts | 20 let flag: boolean = false; variable 26 flag = true; 28 if (flag || fastTreeSet === undefined) {
|
/commonlibrary/utils_lite/js/builtin/common/include/ |
D | nativeapi_common.h | 26 bool flag = false; member
|
/commonlibrary/ets_utils/js_util_module/container/treemap/ |
D | js_treemap.ts | 20 let flag: boolean = false; variable 26 flag = true; 28 if (flag || fastTreeMap === undefined) {
|
/commonlibrary/ets_utils/js_util_module/util/src/ |
D | util_js.ts | 163 let flag: boolean = false; 165 flag = true; 168 if (!flag) { 268 let flag: boolean = false; 270 flag = true; 273 if (!flag) { 791 let flag: boolean = false; 793 flag = true; 800 return flag; 803 return flag; [all …]
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
D | http_body.rs | 230 let (size, flag) = self.merge_chunks(&mut buf[read..read + size])?; in data() 233 if flag { in data() 254 let (size, flag) = self.merge_chunks(&mut buf[read..read + filled])?; in data() 256 if flag { in data()
|
/commonlibrary/ets_utils/js_util_module/container/lightweightmap/ |
D | js_lightweightmap.ts | 20 let flag: boolean = false; variable 26 flag = true; 28 if (flag || fastLightWeightMap === undefined) {
|