/foundation/arkui/ace_engine/build/tools/ |
H A D | build_js.py | 34 if os.path.exists(interface_target_path): 39 if os.path.exists(third_party_target_path): 50 if os.path.exists(js2bundle_target_path): 59 if not os.path.exists(js2bundle_node_modules_target_path): 63 if os.path.exists(target_i18n_path): 66 if os.path.exists(source_i18n_path): 70 if os.path.exists(target_common_path): 73 if os.path.exists(source_common_path): 89 if os.path.exists(target_build_dest_path):
|
/test/testfwk/developer_test/local_coverage/ |
H A D | coverage_tools.py | 41 if os.path.exists(all_system_info_path): 52 if os.path.exists(system_info_path): 57 print("%s not exists.", all_system_info_path) 66 if os.path.exists(code_path): 74 if os.path.exists(gcda_dir_path): 78 if os.path.exists(remove_out): 81 if os.path.exists(remove_thrd): 94 if not os.path.exists(tmp_cov_path): 96 if not os.path.exists(os.path.join(tmp_cov_path, "ex.txt")): 124 if os.path.exists(testfwk_json_pat [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dexcr/ |
H A D | dexcr.c | 23 volatile bool exists; in dexcr_exists() local 37 exists = false; in dexcr_exists() 39 exists = true; in dexcr_exists() 43 return exists; in dexcr_exists()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | uverbs_uapi.c | 37 size_t alloc_size, bool *exists) in uapi_add_get_elm() 43 *exists = false; in uapi_add_get_elm() 53 *exists = true; in uapi_add_get_elm() 65 bool exists; in uapi_create_write() local 73 &exists); in uapi_create_write() 77 if (WARN_ON(exists && (def->write.is_ex != method_elm->is_ex))) in uapi_create_write() 108 bool exists; in uapi_merge_method() local 114 &exists); in uapi_merge_method() 117 if (exists) { in uapi_merge_method() 177 bool exists; in uapi_merge_obj_tree() local 36 uapi_add_get_elm(struct uverbs_api *uapi, u32 key, size_t alloc_size, bool *exists) uapi_add_get_elm() argument 231 bool exists; uapi_disable_elm() local 280 bool exists; uapi_merge_def() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | uverbs_uapi.c | 37 size_t alloc_size, bool *exists) in uapi_add_get_elm() 43 *exists = false; in uapi_add_get_elm() 53 *exists = true; in uapi_add_get_elm() 65 bool exists; in uapi_create_write() local 73 &exists); in uapi_create_write() 77 if (WARN_ON(exists && (def->write.is_ex != method_elm->is_ex))) in uapi_create_write() 105 bool exists; in uapi_merge_method() local 111 &exists); in uapi_merge_method() 114 if (exists) { in uapi_merge_method() 174 bool exists; in uapi_merge_obj_tree() local 36 uapi_add_get_elm(struct uverbs_api *uapi, u32 key, size_t alloc_size, bool *exists) uapi_add_get_elm() argument 228 bool exists; uapi_disable_elm() local 277 bool exists; uapi_merge_def() local [all...] |
/test/testfwk/developer_test/libs/fuzzlib/tools/ |
H A D | colored.py | 69 if not os.path.exists(Colored.LOG_DIR): 73 if not os.path.exists(project_log_dir): 77 if not os.path.exists(current_project_log_dir): 82 if not os.path.exists(Colored.LOG_DIR): 86 if not os.path.exists(project_log_dir): 90 if not os.path.exists(current_project_log_dir):
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/ |
H A D | btm_snoop.c | 192 bool exists = false; in BtmIsFileExists() local 195 exists = true; in BtmIsFileExists() 198 return exists; in BtmIsFileExists() 204 bool exists = BtmIsFileExists(HCI_LOG_PATH); in BtmPrepareSnoopFile() local 205 if (exists) { in BtmPrepareSnoopFile() 219 bool exists = BtmIsFileExists(g_outputPath); in BtmPrepareSnoopFile() local 220 if (exists) { in BtmPrepareSnoopFile()
|
/test/xts/tools/build/ |
H A D | utils.py | 74 if not os.path.exists(input_file): 84 if not os.path.exists(file_dir): 111 if to_dir and not os.path.exists(_output): 113 if not to_dir and not os.path.exists(_parent_output): 170 if not os.path.exists(module_list_file): 225 if not os.path.exists(gradle_output_dir): 228 if not os.path.exists(out_put_dir):
|
/kernel/linux/linux-5.10/drivers/input/joystick/ |
H A D | cobra.c | 36 unsigned char exists; member 103 if ((r = cobra_read_packet(gameport, data)) != cobra->exists) { in cobra_poll() 109 if (cobra->exists & r & (1 << i)) { in cobra_poll() 159 cobra->exists = cobra_read_packet(gameport, data); in cobra_connect() 162 if ((cobra->exists >> i) & data[i] & 1) { in cobra_connect() 165 cobra->exists &= ~(1 << i); in cobra_connect() 168 if (!cobra->exists) { in cobra_connect() 177 if (~(cobra->exists >> i) & 1) in cobra_connect() 231 if ((cobra->exists >> i) & 1) in cobra_disconnect()
|
/kernel/linux/linux-6.6/drivers/input/joystick/ |
H A D | cobra.c | 33 unsigned char exists; member 100 if ((r = cobra_read_packet(gameport, data)) != cobra->exists) { in cobra_poll() 106 if (cobra->exists & r & (1 << i)) { in cobra_poll() 156 cobra->exists = cobra_read_packet(gameport, data); in cobra_connect() 159 if ((cobra->exists >> i) & data[i] & 1) { in cobra_connect() 162 cobra->exists &= ~(1 << i); in cobra_connect() 165 if (!cobra->exists) { in cobra_connect() 174 if (~(cobra->exists >> i) & 1) in cobra_connect() 228 if ((cobra->exists >> i) & 1) in cobra_disconnect()
|
/test/testfwk/developer_test/libs/fuzzlib/ |
H A D | fuzzer_helper.py | 99 if not os.path.exists(project_yaml_path): 130 print(color_logger.red('%s already exists.' % project_dir_path), 136 if os.path.exists(file_path): 142 if os.path.exists(file_path): 148 if os.path.exists(file_path): 153 if os.path.exists(file_path): 159 if not os.path.exists(corpus_dir): 161 if os.path.exists(os.path.join(corpus_dir, 'init')): 201 if not os.path.exists(os.path.dirname(subsystem_src_flag_file_path)): 203 if os.path.exists(subsystem_src_flag_file_pat [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
H A D | rxe_sysfs.c | 35 struct rxe_dev *exists; in rxe_param_set_add() local 60 exists = rxe_get_dev_from_net(ndev); in rxe_param_set_add() 61 if (exists) { in rxe_param_set_add() 62 ib_device_put(&exists->ib_dev); in rxe_param_set_add()
|
/test/testfwk/developer_test/src/core/build/ |
H A D | build_testcases.py | 62 if not os.path.exists(target_dir): 87 if os.path.exists(toolchain_filepath): 110 if os.path.exists(xts_testcase_out_dir): 232 if os.path.exists(package_out_dir): 239 if os.path.exists(phone_out_dir): 252 if os.path.exists(curr_productform_outdir): 271 if os.path.exists(phone_out_dir): 284 if os.path.exists(curr_productform_outdir): 299 if os.path.exists(BUILD_FILEPATH): 325 if os.path.exists(BUILD_FILEPAT [all...] |
H A D | select_targets.py | 39 if os.path.exists(filepath): 71 if os.path.exists(default_part_path): 80 if os.path.exists(product_part_path): 135 if os.path.exists(check_path): 191 if os.path.exists(module_path):
|
/test/testfwk/developer_test/local_coverage/code_coverage/ |
H A D | multiprocess_code_coverage.py | 81 if os.path.exists(subsystem_config_filepath): 110 if os.path.exists(subsystem_rootpath_item): 169 if os.path.exists(gcno_path): 172 print(f"{gcno_path} not exists!") 185 if not os.path.exists(single_info_path): 190 if not os.path.exists(src_dir): 191 print(f"Sours path {src_dir} not exists!") 214 if not os.path.exists(trace_file): 215 print(f"Error: trace file {trace_file} not exists!") 224 if os.path.exists(filenam [all...] |
/test/xts/tools/lite/build/ |
H A D | utils.py | 104 if not os.path.exists(input_file): 114 if not os.path.exists(file_dir): 141 if to_dir and not os.path.exists(_output): 143 if not to_dir and not os.path.exists(_parent_output): 163 if os.path.isfile(source_file) and os.path.exists(source_file): 168 if not os.path.exists(new_output): 212 if not os.path.exists(module_list_file): 236 if os.path.exists(product_json): 310 if os.path.exists(module_info_list_file): 324 if not os.path.exists(out_di [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_ife.c | 297 int len, bool atomic, bool exists) in __add_metainfo() 316 if (exists) in __add_metainfo() 319 if (exists) in __add_metainfo() 327 bool exists) in add_metainfo_and_get_ops() 333 ret = __add_metainfo(ops, ife, metaid, NULL, 0, true, exists); in add_metainfo_and_get_ops() 340 int len, bool exists) in add_metainfo() 347 ret = __add_metainfo(ops, ife, metaid, metaval, len, false, exists); in add_metainfo() 354 static int use_all_metadata(struct tcf_ife_info *ife, bool exists) in use_all_metadata() argument 362 rc = add_metainfo_and_get_ops(o, ife, o->metaid, exists); in use_all_metadata() 459 bool exists, boo in populate_metalist() 295 __add_metainfo(const struct tcf_meta_ops *ops, struct tcf_ife_info *ife, u32 metaid, void *metaval, int len, bool atomic, bool exists) __add_metainfo() argument 325 add_metainfo_and_get_ops(const struct tcf_meta_ops *ops, struct tcf_ife_info *ife, u32 metaid, bool exists) add_metainfo_and_get_ops() argument 339 add_metainfo(struct tcf_ife_info *ife, u32 metaid, void *metaval, int len, bool exists) add_metainfo() argument 458 populate_metalist(struct tcf_ife_info *ife, struct nlattr **tb, bool exists, bool rtnl_held) populate_metalist() argument 496 bool exists = false; tcf_ife_init() local [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_ife.c | 297 int len, bool atomic, bool exists) in __add_metainfo() 316 if (exists) in __add_metainfo() 319 if (exists) in __add_metainfo() 327 bool exists) in add_metainfo_and_get_ops() 333 ret = __add_metainfo(ops, ife, metaid, NULL, 0, true, exists); in add_metainfo_and_get_ops() 340 int len, bool exists) in add_metainfo() 347 ret = __add_metainfo(ops, ife, metaid, metaval, len, false, exists); in add_metainfo() 354 static int use_all_metadata(struct tcf_ife_info *ife, bool exists) in use_all_metadata() argument 362 rc = add_metainfo_and_get_ops(o, ife, o->metaid, exists); in use_all_metadata() 459 bool exists, boo in populate_metalist() 295 __add_metainfo(const struct tcf_meta_ops *ops, struct tcf_ife_info *ife, u32 metaid, void *metaval, int len, bool atomic, bool exists) __add_metainfo() argument 325 add_metainfo_and_get_ops(const struct tcf_meta_ops *ops, struct tcf_ife_info *ife, u32 metaid, bool exists) add_metainfo_and_get_ops() argument 339 add_metainfo(struct tcf_ife_info *ife, u32 metaid, void *metaval, int len, bool exists) add_metainfo() argument 458 populate_metalist(struct tcf_ife_info *ife, struct nlattr **tb, bool exists, bool rtnl_held) populate_metalist() argument 496 bool exists = false; tcf_ife_init() local [all...] |
/test/testfwk/developer_test/local_coverage/restore_comment/ |
H A D | build_before_generate.py | 55 if not os.path.exists(path) or "test" in path: 60 if os.path.exists(f"{source_dir}_bk{suffix_name}"): 93 if os.path.exists(file_path): 103 if os.path.exists(system_info_path): 113 if os.path.exists(part_path): 118 print("%s not exists.", system_info_path)
|
H A D | after_lcov_branch.py | 49 if not os.path.exists(path): 55 if os.path.exists(f"{source_dir}_bk{suffix_name}"): 72 if os.path.exists(part_name_path): 79 if os.path.exists(file_path):
|
/test/testfwk/developer_test/local_coverage/resident_service/ |
H A D | init_gcov.py | 46 if not os.path.exists(recv_restores_path): 49 if not os.path.exists(recv_restores_name): 55 if os.path.exists(cfg_file_path): 68 if os.path.exists(cfg_file_path): 73 print("init.cfg file not exists") 98 if os.path.exists(cfg_file_path): 109 if os.path.exists(cfg_file_path): 116 print("faultloggerd.cfg file not exists.") 167 if os.path.exists(new_json): 196 if os.path.exists(new_jso [all...] |
/test/testfwk/developer_test/src/core/config/ |
H A D | config_manager.py | 49 if os.path.exists(self.filepath):
73 if os.path.exists(self.filepath):
109 if os.path.exists(self.filepath):
137 if not os.path.exists(self.filepath):
146 if os.path.exists(self.filepath):
192 if os.path.exists(self.filepath):
207 if os.path.exists(self.filepath):
228 if os.path.exists(self.filepath):
258 if os.path.exists(self.filepath):
298 if os.path.exists(sel [all...] |
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | encrypt.py | 43 if not os.path.exists(Variables.report_vars.pub_key_file): 49 if os.path.exists(pub_key_path): 54 if os.path.exists(pub_key_path): 109 if os.path.exists(pri_key_path): 113 if not os.path.exists(pri_key_file): 165 if not os.path.exists(src_file): 166 LOG.error("File '%s' not exists!" % src_file)
|
/test/testfwk/developer_test/libs/benchmark/report/ |
H A D | generate_report.py | 106 if not os.path.exists(src_path): 107 print("%s not exists" % src_path) 110 if os.path.exists(dest_path): 247 if not os.path.exists(os.path.dirname(tmpl_file_path)): 249 ("Warning: %s not exists" % tmpl_file_path)) 253 if not os.path.exists(os.path.dirname(out_report_file_path)): 256 if os.path.exists(tmpl_file_path): 273 if os.path.exists(os.path.abspath(out_report_file_path)): 306 if not os.path.exists(os.path.dirname(report_tmpl_file_path)): 308 ("Warning: %s not exists" [all...] |
/test/testfwk/developer_test/src/core/testcase/ |
H A D | testcase_manager.py | 104 if os.path.exists(json_file_path):
147 if os.path.exists(json_file_path):
160 if os.path.exists(json_file_path):
185 if os.path.exists(test_case_path):
211 if os.path.exists(test_case_out_path):
300 if os.path.exists(external_deps_path):
333 if not os.path.exists(xts_test_case_path):
|