Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 22 of 22) sorted by relevance

/development/vndk/tools/header-checker/src/utils/
Dsource_path_utils.cpp34 static bool HasHeaderExtension(llvm::StringRef file_name) { in HasHeaderExtension() argument
36 [file_name](const std::string &e) { in HasHeaderExtension()
37 return file_name.endswith(e); in HasHeaderExtension()
157 llvm::StringRef file_name(llvm::sys::path::filename(file_path)); in CollectExportedHeaderSet() local
158 if (file_name.empty() || file_name.startswith(".")) { in CollectExportedHeaderSet()
163 if (!file_name.contains(".")) { in CollectExportedHeaderSet()
167 } else if (!HasHeaderExtension(file_name)) { in CollectExportedHeaderSet()
/development/scripts/
Dstack_core.py242 for file_name, start, end in offset_list:
244 if file_name in tmp_files:
245 return file_name, tmp_files[file_name]
246 tmp_file = self.ExtractLibFromApk(apk_full_path, file_name)
248 tmp_files[file_name] = tmp_file
249 return file_name, tmp_file
276 file_name = None
282 if not file_name and offset >= start and offset < end:
283 file_name = cur_name
289 if not file_name and offset >= start and offset < end:
[all …]
Dadd3prf.py296 def found_line(file_name, line): argument
298 with open(file_name, "r") as input_file:
Dcargo2rulesmk.py783 file_name = path.split("/")[-1]
784 out_files.add(file_name)
785 shutil.copy(path, "out/" + file_name)
/development/gsi/repack_super_image/
Drepack_super_image.py59 for file_name in file_names:
60 file_path = os.path.join(root_dir, file_name)
145 for file_name in os.listdir(unpack_dir):
146 if file_name.endswith(IMG_FILE_EXT):
147 part = file_name[:-len(IMG_FILE_EXT)]
148 unpacked_part_imgs[part] = os.path.join(unpack_dir, file_name)
/development/vndk/snapshot/
Dutils.py149 for file_name in sorted(files):
150 if file_name in names:
151 abspath = os.path.abspath(os.path.join(root, file_name))
Dupdate.py135 def add_version_suffix(file_name): argument
136 logging.info('Rename {} to have version suffix'.format(file_name))
138 os.path.join(utils.CONFIG_DIR_PATH_PATTERN, file_name))
142 def create_empty_file_if_not_exist(file_name): argument
145 path = os.path.join(dir, file_name)
/development/tools/otagui/
Dweb_server.py132 file_name = os.path.join('target', self.path[6:])
134 with open(file_name, 'wb') as output_file:
153 target_lib.new_build(self.path[6:], file_name)
157 file_name).encode('utf-8')
Dtest_ota_interface.py137 Mock(file_name='build.zip', build_version=''),
138 Mock(file_name='source.zip', build_version='')
167 Mock(file_name='build.zip', build_version=''),
168 Mock(file_name='source.zip', build_version='')
Dota_interface.py90 detail_info['target_name'] = target_info.file_name
95 detail_info['incremental_name'] = incremental_info.file_name
Dtarget_lib.py20 file_name: str
/development/tools/external_crates/crate_health/src/
Dcrate_type.rs111 if let Some(dirname) = self.path.rel().file_name().and_then(|x| x.to_str()) { in staging_dir_name()
130 self.path().rel().file_name()?.to_str()? in aosp_url()
229 if entry.file_name() == "Android.bp.patch" in apply_patches()
230 || entry.file_name() == "Android.bp.diff" in apply_patches()
231 || entry.file_name() == "rules.mk.diff" in apply_patches()
Dcrate_collection.rs46 if entry.file_name() == "Cargo.toml" { in add_from()
Dlib.rs75 if e?.file_name() == ".repo" { in default_repo_root()
Dmigration.rs47 .file_name() in copy_customizations()
/development/tools/otagui/src/components/
DFileSelect.vue14 :key="option.file_name"
18 {{ option.file_name }}
DBuildLibrary.vue11 :key="targetDetail.file_name"
14 <h3> Build File Name: {{ targetDetail.file_name }} </h3>
DBuildTable.vue34 field: "file_name",
/development/python-packages/gdbrunner/gdbrunner/
D__init__.py282 file_name = "gdbclient-binary-{}".format(os.getppid())
283 remote_temp_path = "/data/local/tmp/{}".format(file_name)
284 local_path = os.path.join(tempfile.gettempdir(), file_name)
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DMainActivityFragment.java109 TextView fileNameView = (TextView) itemView.findViewById(R.id.file_name); in onResume()
DAddFileActivity.java144 EditText fileNameEditText = (EditText) findViewById(R.id.file_name); in onCreateFileButtonClick()
/development/tools/cargo_embargo/src/
Dmain.rs351 let dir_name = path.parent()?.parent()?.file_name()?.to_str()?; in run_embargo()
620 let dest = out_dir.join(f.file_name().unwrap()); in write_build_files()
697 .map(|f| f.file_name().unwrap().to_str().unwrap().to_string()) in generate_android_bp()
755 out_files.iter().map(|f| f.file_name().unwrap().to_str().unwrap().to_string()).collect() in generate_rules_mk()