Home
last modified time | relevance | path

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

12345

/test/xts/acts/commonlibrary/ets_utils/atomics_lib_standard/entry/src/main/ets/test/
DAtomics.test.js43 var flag = false
54 flag = true;
64 flag = true;
68 flag = true;
73 flag = true;
76 flag = true;
79 flag = true;
83 while(!flag) {
86 flag = false;
88 while(!flag) {
[all …]
/test/xts/acts/hiviewdfx/bytracetest/src/main/js/test/
Dbytrace_test.js39 let flag = false;
54 expect(flag).assertFalse();
56 flag = true;
59 expect(flag).assertTrue();
62 flag = false;
66 expect(flag).assertFalse();
68 flag = true;
71 expect(flag).assertTrue();
74 flag = false;
78 expect(flag).assertFalse();
[all …]
/test/xts/acts/commonlibrary/ets_utils/process_lib_standard/src/main/js/test/
DProcess.test.js27 var flag = true
29 expect(flag).assertEqual(true)
41 var flag = true
43 expect(flag).assertEqual(true)
57 var flag = true
59 expect(flag).assertEqual(true)
73 var flag = true
75 expect(flag).assertEqual(true)
89 var flag = true
91 expect(flag).assertEqual(true)
[all …]
/test/xts/acts/hiviewdfx/hitracemetertest/src/main/js/test/
Dhitracemeter_test.js39 let flag = false;
54 expect(flag).assertFalse();
56 flag = true;
59 expect(flag).assertTrue();
62 flag = false;
66 expect(flag).assertFalse();
68 flag = true;
71 expect(flag).assertTrue();
74 flag = false;
78 expect(flag).assertFalse();
[all …]
/test/xts/acts/storage/storagefileiojstest/src/main/js/test/module_fileio/class_watcher/
DcreateWatcher.test.js38 let flag = 0;
41 flag = 1;
47 expect(flag == 1).assertTrue();
72 let flag = 0;
74 flag = 1;
81 expect(flag == 1).assertTrue();
105 let flag = 0;
108 flag = 1;
113 expect(flag == 1).assertTrue();
138 let flag = 0;
[all …]
/test/xts/acts/commonlibrary/ets_utils/worker_lib_standard/entry/src/main/ets/test/
DWorkerTest.test.js170 let flag = false
178 flag = true
182 while (!flag) {
206 let flag = false
214 flag = true
218 while (!flag) {
242 let flag = false
250 flag = true
254 while (!flag) {
277 let flag = false
[all …]
/test/xts/acts/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/
Dcurves.ets25 @State flag: boolean = true
41 if (this.flag) {
48 this.flag = !this.flag
63 if (this.flag) {
70 this.flag = !this.flag
85 if (this.flag) {
92 this.flag = !this.flag
107 if (this.flag) {
114 this.flag = !this.flag
129 if (this.flag) {
[all …]
/test/xts/acts/commonlibrary/ets_utils/threadWorker_lib_standard/entry/src/main/ets/workers/
Dnewworker_012.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dnewworker_014.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dnewworker_010.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dnewworker_013.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dnewworker_011.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dnewworker_009.js20 var flag = false; variable
29 flag = true;
34 if (flag) {
39 flag = false;
/test/xts/acts/commonlibrary/ets_utils/worker_lib_standard/entry/src/main/ets/workers/
Dworker_010.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dworker_014.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dworker_012.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dworker_013.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dworker_011.js21 var flag = false; variable
30 flag = true;
34 flag = true;
39 if (flag) {
44 flag = false;
Dworker_009.js20 var flag = false; variable
29 flag = true;
34 if (flag) {
39 flag = false;
/test/xts/acts/commonlibrary/ets_utils/threadWorker_lib_standard/entry/src/main/ets/test/
DThreadWorker.test.js140 let flag = 0
143 flag += 1
148 while (flag != 8) {
258 let flag = false
266 flag = true
270 while (!flag) {
293 let flag = false
301 flag = true
305 while (!flag) {
328 let flag = false
[all …]
/test/xts/acts/kernel_lite/time_posix/src/
DSleepTest.cpp76 int flag = TIMER_ABSTIME; variable
77 LOG("check invlid flag: %d...", flag);
78 rt = clock_nanosleep(CLOCK_REALTIME, flag, &req, &rem);
80 flag = GetRandom(100) + 1;
81 LOG("check invlid flag: %d...", flag);
82 rt = clock_nanosleep(CLOCK_REALTIME, flag, &req, &rem);
84 flag = -GetRandom(100) - 1;
85 LOG("check invlid flag: %d...", flag);
86 rt = clock_nanosleep(CLOCK_REALTIME, flag, &req, &rem);
/test/xts/acts/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/
DKvStoreResultSetJsunit.test.js240 var flag = resultSet.moveToLast();
241 expect(flag).assertTrue();
743 var flag = resultSet.isFirst();
744 console.info("testKvStoreResultSetIsFirst001 isFirst " + flag);
745 expect(!flag).assertTrue();
760 var flag = resultSet.isFirst();
761 console.info("testKvStoreResultSetIsFirst002 isFirst " + flag);
762 expect(!flag).assertTrue();
764 flag = resultSet.isFirst();
765 console.info("testKvStoreResultSetIsFirst002 isFirst " + flag);
[all …]
/test/xts/acts/ability/ability_runtime/workercontextcover/workercontexttest/entry/src/main/ets/test/
DWorkerTransmitTest.test.ets44 let flag = false
54 flag = true
59 flag = true
65 flag = true
69 while (!flag) {
96 let flag = false
106 flag = true
111 flag = true
117 flag = true
121 while (!flag) {
[all …]
/test/xts/device_attest/services/oem_adapter/src/
Ddevice_attest_oem_adapter.c72 static void SetTokenFlag(unsigned char flag[], uint32_t value) in SetTokenFlag() argument
75 flag[i] = (value >> (BITS_PER_BYTE * (TOKEN_FLAG_SIZE - 1 - i))) & 0xFF; in SetTokenFlag()
119 unsigned char flag[TOKEN_FLAG_SIZE] = {0}; in OEMWriteToken() local
121 … (memcpy_s(tokenWithFlagA + len, TOKEN_WITH_FLAG_SIZE - len, flag, TOKEN_FLAG_SIZE) != 0)) { in OEMWriteToken()
131 unsigned char flag[TOKEN_FLAG_SIZE] = {0}; in OEMWriteToken() local
132 SetTokenFlag(flag, (uint32_t)(flagA + 1)); in OEMWriteToken()
134 … (memcpy_s(tokenWithFlagB + len, TOKEN_WITH_FLAG_SIZE - len, flag, TOKEN_FLAG_SIZE) != 0)) { in OEMWriteToken()
144 unsigned char flag[TOKEN_FLAG_SIZE] = {0}; in OEMWriteToken() local
145 SetTokenFlag(flag, (uint32_t)(flagB + 1)); in OEMWriteToken()
147 … (memcpy_s(tokenWithFlagA + len, TOKEN_WITH_FLAG_SIZE - len, flag, TOKEN_FLAG_SIZE) != 0)) { in OEMWriteToken()
[all …]
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/
DKvStoreResultSetKVJsTest.js239 var flag = resultSet.moveToLast();
240 expect(flag).assertTrue();
737 var flag = resultSet.isFirst();
738 console.info("SUB_DDM_DKV_KVSTORERESULTSET_ISFIRST_0100 isFirst " + flag);
739 expect(!flag).assertTrue();
755 var flag = resultSet.isFirst();
756 console.info("SUB_DDM_DKV_KVSTORERESULTSET_ISFIRST_0200 isFirst " + flag);
757 expect(!flag).assertTrue();
759 flag = resultSet.isFirst();
760 console.info("SUB_DDM_DKV_KVSTORERESULTSET_ISFIRST_0200 isFirst " + flag);
[all …]

12345