Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 2467) sorted by relevance

12345678910>>...99

/ohos5.0/commonlibrary/ets_utils/js_util_module/util/
H A Djs_types.cpp25 bool flag = false; in IsAnyArrayBuffer() local
30 flag = true; in IsAnyArrayBuffer()
36 flag = true; in IsAnyArrayBuffer()
46 bool flag = false; in IsArrayBufferView() local
90 bool flag = false; in IsArgumentsObject() local
102 bool flag = false; in IsArrayBuffer() local
112 bool flag = false; in IsAsyncFunction() local
124 bool flag = false; in IsBigInt64Array() local
133 bool flag = false; in IsBigUint64Array() local
165 flag = true; in IsBoxedPrimitive()
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/mock/parcel_abnormal/src/
H A Dmock_message_parcel.cpp36 g_bgTaskFwkAbnormalWriteRemoteObjectFlag = flag; in BgTaskFwkAbnormalSetWriteRemoteObjectFlag()
41 g_bgTaskFwkAbnormalReadRemoteObjectFlag = flag; in BgTaskFwkAbnormalSetWriteReadRemoteObjectFlag()
46 g_bgTaskFwkAbnormalWriteInterfaceTokenFlag = flag; in BgTaskFwkAbnormalSetWriteInterfaceTokenFlag()
51 g_bgTaskFwkAbnormalReadInterfaceTokenFlag = flag; in BgTaskFwkAbnormalSetReadInterfaceTokenFlag()
56 g_bgTaskFwkAbnormalWriteString16Flag = flag; in BgTaskFwkAbnormalSetWriteString16Flag()
61 g_bgTaskFwkAbnormalReadInt32WithParamFlag = flag; in BgTaskFwkAbnormalSetWriteReadInt32WithParamFlag()
66 g_bgTaskFwkAbnormalWriteInt32WithParamFlag = flag; in BgTaskFwkAbnormalSetWriteInt32WithParamFlag()
71 g_bgTaskFwkAbnormalWriteParcelableFlag = flag; in BgTaskFwkAbnormalSetWriteParcelableFlag()
76 g_bgTaskFwkAbnormalWriteStringFlag = flag; in BgTaskFwkAbnormalSetWriteStringFlag()
81 g_bgTaskFwkAbnormalWriteUint32Flag = flag; in BgTaskFwkAbnormalSetWriteUint32Flag()
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_preference_impl.cpp50 void ArkWebPreferenceImpl::PutCacheMode(int flag) in PutCacheMode() argument
60 void ArkWebPreferenceImpl::PutBlockNetwork(bool flag) in PutBlockNetwork() argument
62 nweb_preference_->PutBlockNetwork(flag); in PutBlockNetwork()
102 nweb_preference_->PutPinchSmoothMode(flag); in PutPinchSmoothMode()
112 nweb_preference_->PutDatabaseAllowed(flag); in PutDatabaseAllowed()
122 nweb_preference_->PutMultiWindowAccess(flag); in PutMultiWindowAccess()
132 nweb_preference_->PutJavaScriptEnabled(flag); in PutJavaScriptEnabled()
152 nweb_preference_->PutDomStorageEnabled(flag); in PutDomStorageEnabled()
172 nweb_preference_->PutGeolocationAllowed(flag); in PutGeoLocationAllowed()
182 nweb_preference_->PutWebDebuggingAccess(flag); in PutWebDebuggingAccess()
[all …]
H A Dark_web_preference_impl.h67 void PutCacheMode(int flag) override;
83 void PutBlockNetwork(bool flag) override;
132 void PutPinchSmoothMode(bool flag) override;
147 void PutDatabaseAllowed(bool flag) override;
159 void PutMultiWindowAccess(bool flag) override;
172 void PutJavaScriptEnabled(bool flag) override;
200 void PutDomStorageEnabled(bool flag) override;
232 void PutGeoLocationAllowed(bool flag) override;
244 void PutWebDebuggingAccess(bool flag) override;
258 void PutEnableContentAccess(bool flag) override;
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/test/mock/
H A Dmock_message_parcel.cpp62 g_setWriteBoolErrorFlag = flag; in SetWriteBoolErrorFlag()
67 g_setWriteInt32ErrorFlag = flag; in SetWriteInt32ErrorFlag()
72 g_setWriteInt64ErrorFlag = flag; in SetWriteInt64ErrorFlag()
77 g_setWriteUint32ErrorFlag = flag; in SetWriteUint32ErrorFlag()
82 g_setWriteFloatErrorFlag = flag; in SetWriteFloatErrorFlag()
87 g_setWriteString16ErrorFlag = flag; in SetWriteString16ErrorFlag()
92 g_setWriteParcelableErrorFlag = flag; in SetWriteParcelableErrorFlag()
102 g_setReadUint32ErrorFlag = flag; in SetReadUint32ErrorFlag()
107 g_setReadInt32ErrorFlag = flag; in SetReadInt32ErrorFlag()
112 g_setReadInt64ErrorFlag = flag; in SetReadInt64ErrorFlag()
[all …]
H A Dmock_message_parcel.h22 static void SetWriteBoolErrorFlag(bool flag);
23 static void SetWriteInt32ErrorFlag(bool flag);
24 static void SetWriteInt64ErrorFlag(bool flag);
25 static void SetWriteUint32ErrorFlag(bool flag);
26 static void SetWriteFloatErrorFlag(bool flag);
27 static void SetWriteString16ErrorFlag(bool flag);
28 static void SetWriteParcelableErrorFlag(bool flag);
30 static void SetReadUint32ErrorFlag(bool flag);
31 static void SetReadInt32ErrorFlag(bool flag);
32 static void SetReadInt64ErrorFlag(bool flag);
[all …]
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-apx-bitwise.md17 | Setting a flag bit| - **LOS_BitmapSet**: sets a flag bit of a PSW to **1**.<br>- **LOS_BitmapClr*…
29 1. Set a flag bit to **1**.
33 3. Set a flag bit to **0**.
47 UINT32 flag = 0x10101010;
51 PRINTK("The flag is 0x%8x\n", flag);
54 LOS_BitmapSet(&flag, pos);
55 PRINTK("LOS_BitmapSet:\t pos : %d, the flag is 0x%0+8x\n", pos, flag);
60 LOS_BitmapClr(&flag, pos);
61 PRINTK("LOS_BitmapClr:\t pos : %d, the flag is 0x%0+8x\n", pos, flag);
63 pos = LOS_LowBitGet(flag);
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_preference_wrapper.cpp68 void ArkWebPreferenceWrapper::PutBlockNetwork(bool flag) in PutBlockNetwork() argument
70 ark_web_preference_->PutBlockNetwork(flag); in PutBlockNetwork()
110 ark_web_preference_->PutPinchSmoothMode(flag); in PutPinchSmoothMode()
120 ark_web_preference_->PutDatabaseAllowed(flag); in PutDatabaseAllowed()
130 ark_web_preference_->PutMultiWindowAccess(flag); in PutMultiWindowAccess()
140 ark_web_preference_->PutJavaScriptEnabled(flag); in PutJavaScriptEnabled()
160 ark_web_preference_->PutDomStorageEnabled(flag); in PutDomStorageEnabled()
180 ark_web_preference_->PutGeoLocationAllowed(flag); in PutGeolocationAllowed()
190 ark_web_preference_->PutWebDebuggingAccess(flag); in PutWebDebuggingAccess()
200 ark_web_preference_->PutEnableContentAccess(flag); in PutEnableContentAccess()
[all …]
H A Dark_web_preference_wrapper.h85 void PutBlockNetwork(bool flag) override;
134 void PutPinchSmoothMode(bool flag) override;
149 void PutDatabaseAllowed(bool flag) override;
161 void PutMultiWindowAccess(bool flag) override;
174 void PutJavaScriptEnabled(bool flag) override;
202 void PutDomStorageEnabled(bool flag) override;
234 void PutGeolocationAllowed(bool flag) override;
246 void PutWebDebuggingAccess(bool flag) override;
260 void PutEnableContentAccess(bool flag) override;
274 void PutEnableRawFileAccess(bool flag) override;
[all …]
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-apx-bitwise.md47 UINT32 flag = 0x10101010;
51 PRINTK("The flag is 0x%8x\n", flag);
54 LOS_BitmapSet(&flag, pos);
55 PRINTK("LOS_BitmapSet:\t pos : %d, the flag is 0x%0+8x\n", pos, flag);
57 pos = LOS_HighBitGet(flag);
58 PRINTK("LOS_HighBitGet:\t The highest one bit is %d, the flag is 0x%0+8x\n", pos, flag);
60 LOS_BitmapClr(&flag, pos);
61 PRINTK("LOS_BitmapClr:\t pos : %d, the flag is 0x%0+8x\n", pos, flag);
63 pos = LOS_LowBitGet(flag);
64 PRINTK("LOS_LowBitGet:\t The lowest one bit is %d, the flag is 0x%0+8x\n\n", pos, flag);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dsync_state_machine.cpp288 if (flag != SyncDirectionFlag::SEND && flag != SyncDirectionFlag::RECEIVE) { in StartFeedDogForSync()
297 watchDogController_[flag].refCount++; in StartFeedDogForSync()
316 [this, flag](TimerId timerId) { in StartFeedDogForSync()
319 DoFeedDogForSync(flag); in StartFeedDogForSync()
347 if (flag != SyncDirectionFlag::SEND && flag != SyncDirectionFlag::RECEIVE) { in StopFeedDogForSync()
352 StopFeedDogForSyncNoLock(flag); in StopFeedDogForSync()
357 if (flag != SyncDirectionFlag::SEND && flag != SyncDirectionFlag::RECEIVE) { in StopFeedDogForSyncNoLock()
368 watchDogController_[flag].refCount = 0; in StopFeedDogForSyncNoLock()
383 StopFeedDogForSyncNoLock(flag); in DecRefCountOfFeedDogTimer()
419 …if (watchDogController_[flag].feedDogCnt >= watchDogController_[flag].feedDogUpperLimit) { // LCOV… in DoFeedDogForSync()
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_preference.h68 virtual void PutCacheMode(int flag) = 0;
86 virtual void PutBlockNetwork(bool flag) = 0;
143 virtual void PutPinchSmoothMode(bool flag) = 0;
160 virtual void PutDatabaseAllowed(bool flag) = 0;
174 virtual void PutMultiWindowAccess(bool flag) = 0;
189 virtual void PutJavaScriptEnabled(bool flag) = 0;
221 virtual void PutDomStorageEnabled(bool flag) = 0;
257 virtual void PutGeoLocationAllowed(bool flag) = 0;
271 virtual void PutWebDebuggingAccess(bool flag) = 0;
287 virtual void PutEnableContentAccess(bool flag) = 0;
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/user/test/
H A Dmulti_user_manager_service_test.cpp58 uint32_t flag = 3; variable
82 uint32_t flag = 3; variable
106 uint32_t flag = 3; variable
130 uint32_t flag = 3; variable
155 uint32_t flag = 3; variable
179 uint32_t flag = 3; variable
202 uint32_t flag = 3; variable
226 uint32_t flag = 3; variable
274 uint32_t flag = 3; variable
298 uint32_t flag = 3; variable
[all …]
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_preference.h38 virtual void PutEnableContentAccess(bool flag) = 0;
44 virtual void PutEnableRawFileAccess(bool flag) = 0;
80 virtual void PutDatabaseAllowed(bool flag) = 0;
109 virtual void PutDomStorageEnabled(bool flag) = 0;
141 virtual void PutJavaScriptEnabled(bool flag) = 0;
146 virtual void PutImageLoadingAllowed(bool flag) = 0;
216 virtual void PutGeolocationAllowed(bool flag) = 0;
238 virtual void PutBlockNetwork(bool flag) = 0;
259 virtual void PutPinchSmoothMode(bool flag) = 0;
264 virtual void PutMultiWindowAccess(bool flag) = 0;
[all …]
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dproperty-animation.md29 * 默认状态为按钮放开状态(flag为false)。
88 this.flag = true
93 this.flag = false
390 //状态变量flag,用于监听按钮按下状态
395 // 通过点击事件,反转flag的值
397 this.flag = !this.flag
409 // 当flag为true时,width为15%;当flag为false时,width为95%
422 // 状态变量flag,用于监听按钮按下状态
462 // 当flag为true时,width为15%;当flag为false时,width为95%;
489 // 通过点击事件,反转flag的值
[all …]
H A Dcollapse-and-expand.md28 flag?: boolean;
115 @Provide("flag") flag: boolean = false
121 this.flag = !this.flag;
130 @Consume("flag") flag: boolean;
152 if (!this.flag && this.props.type === 'DOWN' || this.flag && this.props.type === 'UP') {
177 flag?: boolean;
185 @Provide("flag") flag: boolean = false
191 this.flag = !this.flag;
250 @Consume("flag") flag: boolean
289 @Consume("flag") flag: boolean;
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/mock/include/
H A Dmock_message_parcel_helper.h22 static void BgTaskFwkAbnormalSetWriteRemoteObjectFlag(bool flag);
23 static void BgTaskFwkAbnormalSetWriteReadRemoteObjectFlag(bool flag);
24 static void BgTaskFwkAbnormalSetWriteInterfaceTokenFlag(bool flag);
25 static void BgTaskFwkAbnormalSetReadInterfaceTokenFlag(bool flag);
26 static void BgTaskFwkAbnormalSetWriteString16Flag(bool flag);
27 static void BgTaskFwkAbnormalSetWriteReadInt32WithParamFlag(bool flag);
28 static void BgTaskFwkAbnormalSetWriteInt32WithParamFlag(bool flag);
29 static void BgTaskFwkAbnormalSetWriteParcelableFlag(bool flag);
30 static void BgTaskFwkAbnormalSetWriteStringFlag(bool flag);
31 static void BgTaskFwkAbnormalSetWriteUint32Flag(bool flag);
[all …]
/ohos5.0/foundation/communication/nfc/interfaces/inner_api/tags/
H A Diso15693_tag.cpp48 int Iso15693Tag::ReadSingleBlock(uint32_t flag, uint32_t blockIndex, std::string &hexRespData) in ReadSingleBlock() argument
54 if (flag >= ISO15693_MAX_FLAG_COUNT || (blockIndex >= ISO15693_MAX_BLOCK_INDEX)) { in ReadSingleBlock()
60 char command[TagInfo::SEND_COMMAND_HEAD_LEN_2] = {char(flag & 0xFF), CMD_READ_SINGLE_BLOCK}; in ReadSingleBlock()
72 if (flag >= ISO15693_MAX_FLAG_COUNT || (blockIndex >= ISO15693_MAX_BLOCK_INDEX)) { in WriteSingleBlock()
86 int Iso15693Tag::LockSingleBlock(uint32_t flag, uint32_t blockIndex) in LockSingleBlock() argument
92 if (flag >= ISO15693_MAX_FLAG_COUNT || (blockIndex >= ISO15693_MAX_BLOCK_INDEX)) { in LockSingleBlock()
98 char command[TagInfo::SEND_COMMAND_HEAD_LEN_2] = {char(flag & 0xFF), CMD_LOCK_SINGLE_BLOCK}; in LockSingleBlock()
108 if (flag >= ISO15693_MAX_FLAG_COUNT || (blockIndex >= ISO15693_MAX_BLOCK_INDEX) || in ReadMultipleBlock()
112 "blockNum=%{public}d err", flag, blockIndex, blockNum); in ReadMultipleBlock()
123 int Iso15693Tag::WriteMultipleBlock(uint32_t flag, uint32_t blockIndex, uint32_t blockNum, in WriteMultipleBlock() argument
[all …]
/ohos5.0/build/hb/util/post_gn/
H A Dcheck_compilation_parameters.py27 for flag in line.split():
28 if flag.startswith('-Wno-') and flag not in whitelist:
29 cflags_list.append(flag)
30 elif flag in cflags_check_list:
31 cflags_list.append(flag)
37 for flag in line.split():
38 if flag in ldflags_check_list and flag not in whitelist:
39 ldflags_list.append(flag)
44 flag = list()
49 flag = parse_cflags(line, cflags_check_list, whitelist)
[all …]
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
H A Dclone_app_permission_test.cpp167 uint32_t flag; in AllocHapTokenId() local
248 uint32_t flag; variable
262 EXPECT_EQ(flag, 0);
266 EXPECT_EQ(flag, 0);
325 uint32_t flag; variable
327 EXPECT_EQ(flag, 0);
421 uint32_t flag; variable
496 uint32_t flag; variable
582 uint32_t flag; variable
657 uint32_t flag; variable
[all …]
H A Dshare_permission_with_sandbox_test.cpp291 uint32_t flag; variable
335 uint32_t flag; variable
337 EXPECT_EQ(flag, PERMISSION_USER_FIXED);
339 EXPECT_EQ(flag, PERMISSION_USER_FIXED);
346 EXPECT_EQ(flag, PERMISSION_USER_FIXED);
348 EXPECT_EQ(flag, PERMISSION_USER_FIXED);
574 uint32_t flag; variable
609 uint32_t flag; variable
618 EXPECT_EQ(flag, PERMISSION_USER_SET);
620 EXPECT_EQ(flag, PERMISSION_USER_SET);
[all …]
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
H A Dxcollie_interface_test.cpp92 bool flag = false; variable
94 flag = true; in __anon448c2aec0102()
107 ASSERT_EQ(flag, false);
110 flag = false;
119 ASSERT_EQ(flag, true);
145 bool flag = false; variable
147 flag = true; in __anon448c2aec0302()
156 ASSERT_EQ(flag, true);
174 bool flag = false; variable
176 flag = true; in __anon448c2aec0402()
[all …]
/ohos5.0/base/sensors/miscdevice/test/unittest/light/
H A Dlight_agent_test.cpp171 if (!flag) {
172 ASSERT_FALSE(flag);
195 if (!flag) {
196 ASSERT_FALSE(flag);
218 if (!flag) {
219 ASSERT_FALSE(flag);
241 if (!flag) {
242 ASSERT_FALSE(flag);
264 if (!flag) {
287 if (!flag) {
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/autotest/src/
H A Dcompare_tools.cpp81 bool flag = true; in CompareByBit() local
86 flag = false; in CompareByBit()
91 flag = false; in CompareByBit()
104 return flag; in CompareByBit()
110 bool flag = true; in CompareByBitmap() local
154 return flag; in CompareByBitmap()
218 if (flag) { in CompareFile()
237 return flag; in CompareFile()
246 bool flag = false; in SaveByBit() local
266 return flag; in SaveByBit()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/uri_permission_manager_test/
H A Duri_permission_manager_test.cpp114 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
131 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
149 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
167 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
232 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
264 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
283 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
302 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
321 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
340 uint32_t flag = Want::FLAG_AUTH_READ_URI_PERMISSION; variable
[all …]

12345678910>>...99