/commonlibrary/ets_utils/js_util_module/util/ |
H A 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, in IsArrayBufferView() 90 bool flag = false; IsArgumentsObject() local 102 bool flag = false; IsArrayBuffer() local 112 bool flag = false; IsAsyncFunction() local 124 bool flag = false; IsBigInt64Array() local 133 bool flag = false; IsBigUint64Array() local 144 bool flag = false; IsBooleanObject() local 155 bool flag = false; IsBoxedPrimitive() local 174 bool flag = false; IsDataView() local 183 bool flag = false; IsDate() local 193 bool flag = false; IsExternal() local 221 bool flag = false; IsFloat32Array() local 235 bool flag = false; IsFloat64Array() local 251 bool flag = false; IsGeneratorFunction() local 262 bool flag = false; IsGeneratorObject() local 272 bool flag = false; IsInt8Array() local 293 bool flag = false; IsInt16Array() local 307 bool flag = false; IsInt32Array() local 321 bool flag = false; IsMap() local 330 bool flag = false; IsMapIterator() local 339 bool flag = false; IsModuleNamespaceObject() local 348 bool flag = false; IsNativeError() local 357 bool flag = false; IsNumberObject() local 370 bool flag = false; IsPromise() local 379 bool flag = false; IsProxy() local 388 bool flag = false; IsRegExp() local 397 bool flag = false; IsSet() local 406 bool flag = false; IsSetIterator() local 415 bool flag = false; IsSharedArrayBuffer() local 424 bool flag = false; IsStringObject() local 437 bool flag = false; IsSymbolObject() local 450 bool flag = false; IsTypedArray() local 459 bool flag = false; IsUint8Array() local 473 bool flag = false; IsUint8ClampedArray() local 487 bool flag = false; IsUint16Array() local 501 bool flag = false; IsUint32Array() local 515 bool flag = false; IsWeakMap() local 524 bool flag = false; IsWeakSet() local [all...] |
H A D | js_base64.cpp | 132 bool flag = false;
in EncodeAchieve() local 134 flag = true;
in EncodeAchieve() 136 const char *searchArray = flag ? BASEURL : BASE;
in EncodeAchieve() 349 bool flag = false;
in Finds() local 351 flag = true;
in Finds() 353 int tableLen = flag ? TRAGET_SIXTYFIVE - 1 : TRAGET_SIXTYFIVE;
in Finds() 354 const char *searchArray = flag ? BASEURL : BASE;
in Finds() 458 bool flag = false;
in EncodeAchieves() local 460 flag = true;
in EncodeAchieves() 462 const char *searchArray = flag in EncodeAchieves() 625 bool flag = false; Finds() local [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/ |
H A D | wake_list.rs | 33 flag: AtomicUsize, 47 flag: AtomicUsize::new(0), in new() 85 if self.flag.load(Ordering::SeqCst) & NOTIFIABLE != 0 { in notify() 96 // This condition will be false only if the flag is LOCKED. in lock() 97 while self.flag.fetch_or(LOCKED, Ordering::Acquire) & LOCKED != 0 { in lock() 142 let mut flag = 0; in drop() variables 144 // means to add NOTIFIABLE state to the flag. in drop() 146 flag |= NOTIFIABLE; in drop() 148 self.waker_set.flag.store(flag, Orderin in drop() [all...] |
H A D | mutex.rs | 251 let flag = Arc::new(AtomicBool::new(true)); in ut_mutex_try_lock_02() 252 let flag_clone = flag.clone(); in ut_mutex_try_lock_02() 268 flag.store(false, Ordering::SeqCst); in ut_mutex_try_lock_02()
|
H A D | rwlock.rs | 351 flag: bool, in ut_rwlock_new_01() 355 let lock = RwLock::new(Test { flag: true, num: 1 }); in ut_rwlock_new_01() 356 assert!(lock.read().await.flag); in ut_rwlock_new_01()
|
/commonlibrary/ets_utils/js_sys_module/process/ |
H A D | js_process.cpp | 169 bool flag = false;
in Kill() local 172 flag = true;
in Kill() 175 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in Kill() 259 bool flag = false;
in Off() local 278 flag = true;
in Off() 281 NAPI_CALL(env, napi_get_boolean(env, flag, &convertResult));
in Off() 296 bool flag = true;
in IsIsolatedProcess() local 301 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in IsIsolatedProcess() 304 flag = false;
in IsIsolatedProcess() 305 NAPI_CALL(env, napi_get_boolean(env, flag, in IsIsolatedProcess() 313 bool flag = true; IsAppUid() local 330 bool flag = true; Is64Bit() local 469 bool flag = true; IsAppUid() local 590 bool flag = false; Kill() local [all...] |
H A D | native_module_process.cpp | 360 bool flag = true;
in On() local 370 flag = false;
in On() 371 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in On() 378 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in On()
|
/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/ |
H A D | nativeapi_deviceinfo.cpp | 30 uint8_t argsNum, AsyncWorkHandler ExecuteFunc, bool flag = false)
in ExecuteAsyncWork() 42 params->flag = flag;
in ExecuteAsyncWork()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/ |
H A D | http2.rs | 54 let (flag, payload) = build_headers_payload(part, false) 58 flag, 119 // end_stream flag? flag has a Body in frame_2_response() 144 let mut flag = FrameFlags::new(UNUSED_FLAG); variables 145 flag.set_end_headers(true); 147 flag.set_end_stream(true); 149 Ok((flag, Payload::Headers(headers_payload))) 424 let (flag, _) = build_headers_payload(request.part().clone(), false).unwrap(); in ut_http2_build_headers_payload() 425 assert_eq!(flag in ut_http2_build_headers_payload() [all...] |
/commonlibrary/ets_utils/js_api_module/convertxml/test/ |
H A D | test_convertxml.cpp | 704 bool flag = false; in HWTEST_F() local 705 CxmlTest::SetXmlElementType(env, curNode1, elementsObject, flag); in HWTEST_F() 706 flag = false; in HWTEST_F() 708 CxmlTest::SetXmlElementType(env, curNode1, elementsObject, flag); in HWTEST_F() 710 ASSERT_TRUE(flag); in HWTEST_F() 722 bool flag = true; in HWTEST_F() local 725 ASSERT_TRUE(flag); in HWTEST_F() 736 bool flag = true; in HWTEST_F() local 738 ASSERT_TRUE(flag); in HWTEST_F() 749 bool flag in HWTEST_F() local 806 bool flag = true; HWTEST_F() local 827 bool flag = true; HWTEST_F() local [all...] |
/commonlibrary/utils_lite/js/builtin/common/include/ |
H A D | nativeapi_common.h | 26 bool flag = false;
member
|
/commonlibrary/ets_utils/js_api_module/uri/ |
H A D | native_module_uri.cpp | 87 bool flag = muri->Equals(*other);
in Equals() local 88 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in Equals() 99 bool flag = muri->IsAbsolute();
in IsAbsolute() local 100 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in IsAbsolute() 137 bool flag = muri->IsRelative();
in IsRelative() local 138 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in IsRelative() 149 bool flag = muri->IsOpaque();
in IsOpaque() local 150 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in IsOpaque() 161 bool flag = muri->IsHierarchical();
in IsHierarchical() local 162 NAPI_CALL(env, napi_get_boolean(env, flag, in IsHierarchical() [all...] |
H A D | js_uri.h | 176 bool CheckCharacter(std::string data, std::bitset<MAX_BIT_SIZE> rule, bool flag) const;
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
H A D | http_body.rs | 221 let (size, flag) = self.merge_chunks(&mut buf[read..read + size])?; in data() 224 if flag { in data() 245 let (size, flag) = self.merge_chunks(&mut buf[read..read + filled])?; in data() 247 if flag { in data()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | join_set.rs | 46 flag: bool, 54 if !this.flag { 55 this.flag = true;
|
H A D | task_cancel.rs | 68 flag: usize, 76 if this.flag < 1000000 { 77 this.flag += 1;
|
/commonlibrary/ets_utils/js_api_module/convertxml/ |
H A D | js_convertxml.h | 130 void GetXMLInfo(napi_env env, xmlNodePtr curNode, const napi_value &object, int flag = 0,
139 void SetPrevInfo(napi_env env, const napi_value &recvElement, int flag, int32_t &index1) const;
|
H A D | js_convertxml.cpp | 233 void ConvertXml::SetPrevInfo(napi_env env, const napi_value &recvElement, int flag, int32_t &index1) const
in SetPrevInfo() argument 235 if (!prevObj_.empty() && !flag) {
in SetPrevInfo() 244 int flag, const std::string parentName)
in GetXMLInfo() 270 SetPrevInfo(env, recvElement, flag, index);
in GetXMLInfo() 243 GetXMLInfo(napi_env env, xmlNodePtr curNode, const napi_value &object, int flag, const std::string parentName) GetXMLInfo() argument
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/ |
H A D | streams.rs | 126 pub(crate) flag: FrameFlags, 482 let flag = FrameFlags::new(0); in poll_sized_data() 486 flag, in poll_sized_data() 491 let mut flag = FrameFlags::new(1); in poll_sized_data() variables 492 flag.set_end_stream(true); in poll_sized_data() 495 flag, in poll_sized_data()
|
/commonlibrary/utils_lite/js/builtin/kvstorekit/src/ |
H A D | nativeapi_kv.cpp | 101 uint8_t argsNum, AsyncWorkHandler ExecuteFunc, bool flag)
in ExecuteAsyncWork() 113 params->flag = flag;
in ExecuteAsyncWork() 100 ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum, AsyncWorkHandler ExecuteFunc, bool flag) ExecuteAsyncWork() argument
|
/commonlibrary/utils_lite/js/builtin/filekit/src/ |
H A D | nativeapi_fs.cpp | 71 uint8_t argsNum, AsyncWorkHandler ExecuteFunc, bool flag = false)
in ExecuteAsyncWork() 83 params->flag = flag;
in ExecuteAsyncWork() 121 if (params->flag) {
in ExecuteCopyFile() 152 if (params->flag) {
in ExecuteDeleteAccess() 221 if (params->flag) {
in ExecuteGetFileList() 382 if (params->flag) {
in ExecuteDirFunc()
|
/commonlibrary/ets_utils/js_api_module/url/ |
H A D | js_url.cpp | 1425 bool flag = false;
in GetOnOrOff() local 1426 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in GetOnOrOff() 1428 bool flag = true;
in GetOnOrOff() local 1429 NAPI_CALL(env, napi_get_boolean(env, flag, &result));
in GetOnOrOff() 1815 size_t flag = 0;
in GetAll() local 1823 NAPI_CALL(env, napi_set_element(env, result, flag, napiStr));
in GetAll() 1824 flag++;
in GetAll() 1921 bool flag = false;
in IsHas() local 1926 flag = true;
in IsHas() 1927 napi_get_boolean(env, flag, in IsHas() 1962 bool flag = false; Set() local [all...] |
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
H A D | bio.rs | 233 ($io: expr, $flag: expr, $bio: expr, $state: expr) => { 237 BIO_set_flags($bio, BIO_FLAGS_SHOULD_RETRY | $flag)
|
/commonlibrary/ets_utils/js_api_module/buffer/ |
H A D | converter.cpp | 455 bool flag = FindIndexInner(target, source, tarlen, i, j); in FindIndex() local 456 if (!flag) { in FindIndex()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/ |
H A D | raw.rs | 338 unsafe fn schedule<T, S>(ptr: NonNull<Header>, flag: bool) in schedule() 344 if flag { in schedule() 398 unsafe fn ffrt_schedule<T, S>(ptr: NonNull<Header>, flag: bool) in ffrt_schedule() 404 if flag { in ffrt_schedule()
|