/test/xts/hats/hdf/camera/cameraHdi/pipeline_core/ |
D | pipeline_core_test.cpp | 61 RetCode re = RC_OK; variable 64 re = core->Init(); 65 EXPECT_TRUE(re == RC_OK); 66 re = core->GetHostStreamMgr()->CreateHostStream({ 70 EXPECT_TRUE(re == RC_OK); 73 re = s->Init(g_cameraId); 74 EXPECT_TRUE(re == RC_OK); 75 re = s->CreatePipeline(0); 76 EXPECT_TRUE(re == RC_OK); 81 RetCode re = RC_OK; variable [all …]
|
D | stream_pipeline_dispatcher_test.cpp | 75 RetCode re = d->Update(pipeline); variable 76 EXPECT_TRUE(re == RC_OK); 99 RetCode re = d->Update(pipeline); variable 100 EXPECT_TRUE(re == RC_OK); 123 RetCode re = d->Update(pipeline); variable 124 EXPECT_TRUE(re == RC_OK);
|
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/ets/test/ |
D | RdbNdkStorePredicatesTest.ets | 36 let re = testNapi.PredicatesTearDownTestCase(); 37 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 38 re = testNapi.PredicatesSetUpTestCase(); 39 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 40 expect(re == 0).assertTrue(); 56 let re = testNapi.SUB_DDM_RDB_Predicates_0100(); 57 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 58 expect(re == 0).assertTrue(); 68 let re = testNapi.SUB_DDM_RDB_Predicates_0200(); 69 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); [all …]
|
D | RdbNdkStoreTest.ets | 36 let re = testNapi.RdbstoreTearDownTestCase(); 37 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 38 re = testNapi.RdbstoreSetUpTestCase(); 39 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 40 expect(re == 0).assertTrue(); 57 let re = testNapi.SUB_DDM_RDB_0100(); 58 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 59 expect(re == 0).assertTrue(); 69 let re = testNapi.SUB_DDM_RDB_0200(); 70 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); [all …]
|
D | RdbNdkStoreCursorTest.ets | 36 let re = testNapi.CursorTearDownTestCase(); 37 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 38 re = testNapi.CursorSetUpTestCase(); 39 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 40 expect(re == 0).assertTrue(); 56 let re = testNapi.SUB_DDM_RDB_CURSOR_0100(); 57 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 58 expect(re == 0).assertTrue(); 68 let re = testNapi.SUB_DDM_RDB_CURSOR_0200(); 69 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); [all …]
|
D | RdbNdkStoreBackupTest.ets | 35 let re = testNapi.RdbstoreTearDownTestCase(); 36 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 37 re = testNapi.RdbstoreSetUpTestCase(); 38 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 39 expect(re == 0).assertTrue(); 55 let re = testNapi.SUB_DDM_RDB_BackupRestoreTest_0100(); 56 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 57 expect(re == 0).assertTrue(); 68 let re = testNapi.SUB_DDM_RDB_BackupRestoreTest_0300(); 69 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); [all …]
|
D | RdbNdkStoreLevelTest.ets | 44 let re = testNapi.SUB_DDM_RDB_LEVEL_0100(); 45 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 46 expect(re == 0).assertTrue(); 56 let re = testNapi.SUB_DDM_RDB_LEVEL_0200(); 57 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 58 expect(re == 0).assertTrue(); 68 let re = testNapi.SUB_DDM_RDB_LEVEL_0300(); 69 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 70 expect(re == 0).assertTrue(); 80 let re = testNapi.SUB_DDM_RDB_LEVEL_0400(); [all …]
|
D | RdbNdkStoreEncryptTest.ets | 44 let re = testNapi.SUB_DDM_RDB_ENCRYPT_0100(); 45 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 46 expect(re == 0).assertTrue(); 56 let re = testNapi.SUB_DDM_RDB_ENCRYPT_0200(); 57 hilog.info(0x0000, TAG, 'testTag errorCode is : '+ re , 'aa'); 58 expect(re == 0).assertTrue();
|
/test/testfwk/developer_test/libs/fuzzlib/tools/ |
D | run_result.py | 18 import re 65 ansi_escape = re.compile(r''' 75 ''', re.VERBOSE)
|
/test/testfwk/developer_test/src/core/command/ |
D | distribute_utils.py | 22 import re 118 packet_lose = re.findall(r"\d+%", output) 130 isemulator = re.findall(r"read only", output) 136 ipaddress = re.findall(r"\b10\.0\.2\.[0-9]{1,3}\b", output) 139 ipaddress = re.findall(ip_template, output)
|
D | display.py | 184 please re-enter:") 193 please re-enter:")
|
/test/testfwk/developer_test/aw/python/distributed/distribute/ |
D | distribute.py | 21 import re 219 isemulator = re.findall(r"ranchu", output) 225 ipaddress = re.findall(r"\b10\.0\.2\.[0-9]{1,3}\b", output) 228 ipaddress = re.findall(ip_template, output) 241 isemulator = re.findall('readonly', str(output)) 247 ipaddress = re.findall(r"\b10\.0\.2\.[0-9]{1,3}\b", output) 250 ipaddress = re.findall(ip_template, output) 288 dev_nodeid_info = re.findall(r"Uuid = (.*?\r\n)", device_info) 302 dev_nodeid_info = re.findall(r"Uuid = (.*?\r\n)", device_info)
|
/test/xts/acts/kernel_lite/utils/ |
D | mt_utils.cpp | 141 int re; in GetGlobalVariable() local 147 re = *shared; in GetGlobalVariable() 152 return re; in GetGlobalVariable()
|
/test/testfwk/developer_test/localCoverage/keyword_registration/ |
D | keyword_filter.py | 20 import re 166 branch_line_list = re.findall( 186 keyword_line_list = re.findall( 189 keyword_line_list = re.findall( 296 class_name_list = re.findall(r'\((.*?)\)', source_code) 305 function_name_list = re.findall(r' (.*?)\(', source_code) 369 branch_line_list = re.findall(rf"> ([{key}]) </span>", tag_html) 381 condition_str_list = re.split(rf"\|\||&&", source_code) 442 covered_nums = len(re.findall(r"> ([+]) </span>", content)) 443 branch_total = len(re.findall(r"> ([+\-#]) </span>", content)) [all …]
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/ |
D | parser_lite.py | 20 import re 133 if re.match(pattern, line.strip()): 135 elif re.match(r'(\d+) test[s]? from (.*)', message): 220 matcher = re.match(r'(.*) \((\d+) ms\)(.*)', message) 263 fake_marker = re.compile(" +").split(message) 268 matcher = re.match(r'.* Running (\d+) test[s]? from .*', message) 280 matcher = re.match(r'(\d+) test[s]? from (.*)', message) 292 matcher = re.match(r'.*\((\d+) ms total\)', message) 303 matcher = re.match(r'.*\((\d+) ms total\)', message) 399 self.class_result = re.compile('^([a-zA-Z]+.*)\\.$').match(line) [all …]
|
D | parser.py | 20 import re 123 if re.match(pattern, line.strip()): 125 elif re.match(r'(\d+) test[s]? from (.*)', message): 209 matcher = re.match(r'(.*) \((\d+) ms\)', message) 258 fake_marker = re.compile(" +").split(message) 263 matcher = re.match(r'Running (\d+) test[s]? from .*', message) 276 matcher = re.match(r'(\d+) test[s]? from (.*)', message) 291 matcher = re.match(r'.*\((\d+) ms total\)', message) 301 matcher = re.match(r'.*\((\d+) ms total\)', message) 379 class_matcher = re.match('^([a-zA-Z]+.*)\\.$', line) [all …]
|
/test/xts/hats/kernel/posix_interface/interface_gn/utils/ |
D | mt_utils.cpp | 146 int re; in GetGlobalVariable() local 152 re = *shared; in GetGlobalVariable() 157 return re; in GetGlobalVariable()
|
/test/xts/acts/kernel_lite/ipc_posix/shared_memory/ |
D | ShmTest.cpp | 117 int re = shmdt(shared); variable 118 ASSERT_NE(re, -1) << "> shmdt errno = " << errno; 120 re = shmctl(shmid, IPC_RMID, nullptr); 121 ASSERT_NE(re, -1) << "> shmctl errno = " << errno; 311 int re = shmdt(shared); variable 312 EXPECT_NE(re, -1) << "> shmdt : errno = " << errno; 318 re = shmdt(sharedTmp); 319 EXPECT_NE(re, -1) << "> shmdt : errno = " << errno;
|
/test/xts/acts/kernel_lite/process_posix/src/ |
D | PthreadBasicApiTest.cpp | 197 int re; variable 201 re = pthread_key_create(&keys[i], nullptr); 202 if (re == EAGAIN) { 203 LOG("pthread_key_create %d errno = %d", i, re); 206 } else if (re != 0) { 207 LOG("pthread_key_create %d errno = %d", i, re); 219 re = pthread_key_delete(keys[i]); 220 if (re != 0) { 221 LOG("pthread_key_delete %d errno = %d", i, re);
|
/test/xts/acts/security/asset/asset_js/src/main/ets/test/aw/ |
D | AssetAw.ets | 192 let re = await assetQueryAttr(attr); 193 if (typeof re == typeof 1) { 194 return re; 196 let re0 = (re as asset.AssetMap[])[0] as asset.AssetMap; 218 let re = await assetQueryAttr(attr); 219 if (typeof re == typeof 1) { 220 return re; 222 let tmpre: asset.AssetMap = (re as asset.AssetMap[])[0];
|
/test/xts/acts/security/asset/asset_js/src/main/ets/test/ |
D | AssetWriteAndQuery.test.ets | 343 let re = await aw.assetQueryAttr(attr2); 344 expect(aw.ArrayToString((re as asset.AssetMap[])[0].get(asset.Tag.ALIAS) as Uint8Array)) 346 expect(aw.ArrayToString((re as asset.AssetMap[])[1].get(asset.Tag.ALIAS) as Uint8Array)) 348 expect(aw.ArrayToString((re as asset.AssetMap[])[2].get(asset.Tag.ALIAS) as Uint8Array)) 350 expect(aw.ArrayToString((re as asset.AssetMap[])[3].get(asset.Tag.ALIAS) as Uint8Array)) 352 expect(aw.ArrayToString((re as asset.AssetMap[])[4].get(asset.Tag.ALIAS) as Uint8Array)) 358 re = await aw.assetQueryAttr(attr2); 359 expect(aw.ArrayToString((re as asset.AssetMap[])[0].get(asset.Tag.ALIAS) as Uint8Array)) 361 expect(aw.ArrayToString((re as asset.AssetMap[])[1].get(asset.Tag.ALIAS) as Uint8Array)) 363 expect(aw.ArrayToString((re as asset.AssetMap[])[2].get(asset.Tag.ALIAS) as Uint8Array)) [all …]
|
/test/testfwk/developer_test/src/core/driver/ |
D | drivers.py | 21 import re 303 elif re.search(r'Done (\b\d+\b) runs in (\b\d+\b) second', 304 error_message, re.M) is not None: 718 if re.match(pattern_sharp, str_content, flags=re.M): 719 striped_content = re.sub(pattern_sharp, '', str_content, flags=re.M) 720 elif re.findall(pattern_star, str_content, flags=re.S): 721 striped_content = re.sub(pattern_star, '', str_content, flags=re.S) 722 elif re.findall(pattern_xml, str_content, flags=re.S): 723 striped_content = re.sub(pattern_xml, '', str_content, flags=re.S)
|
/test/testfwk/xdevice/docs/ |
D | Device_Auto_Upgrade_Guide.md | 107 import re 110 PATTERN = re.compile(r'\x1B(\[([0-9]{1,2}(;[0-9]{1,2})*)?m)*') 195 if re.search(r"\d+\s+Tests\s+\d+\s+Failures\s+\d+\s+Ignored", data): 226 port_number = re.findall(r'\d+$', self.serial_port)
|
/test/testfwk/developer_test/src/core/testkit/ |
D | kit_lite.py | 20 import re 95 port_number = re.findall(r'\d+$', deploy_serial_port)
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
D | dmlib_lite.py | 20 import re 46 PATTERN = re.compile(r'\x1B(\[([0-9]{1,2}(;[0-9]{1,2})*)?m)*') 232 if re.search(r"\d+\s+Tests\s+\d+\s+Failures\s+\d+\s+"
|