/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | resource_loader.py | 52 def FindResourceGivenAbsolutePath(self, absolute_path, binary=False): argument 56 if absolute_path.startswith(source_path): 64 return resource_module.Resource(longest_candidate, absolute_path, binary) 68 absolute_path = None 70 absolute_path = os.path.join(script_path, relative_path) 71 if os.path.exists(absolute_path): 72 return resource_module.Resource(script_path, absolute_path, binary) 94 return _read_file(resource.absolute_path) 138 if resource.absolute_path.endswith('.js'): 162 if resource.absolute_path in self.loaded_raw_scripts: [all …]
|
D | resource.py | 14 def __init__(self, toplevel_dir, absolute_path, binary=False): argument 16 self.absolute_path = absolute_path 23 return os.path.relpath(self.absolute_path, self.toplevel_dir) 49 if not os.path.exists(self.absolute_path): 50 raise Exception('%s not found.' % self.absolute_path) 52 f = open(self.absolute_path, mode='rb') 54 f = codecs.open(self.absolute_path, mode='r', encoding='utf-8')
|
D | style_sheet.py | 21 def absolute_path(self): member in Image 22 return self.resource.absolute_path 43 dependent_filenames.append(i.resource.absolute_path) 56 ext = os.path.splitext(image.absolute_path)[1] 67 dependent_filenames.append(i.resource.absolute_path) 104 return self.resource.absolute_path 121 dependent_filenames.append(self.resource.absolute_path) 136 module_dirname = os.path.dirname(self.resource.absolute_path)
|
D | html_module_unittest.py | 25 def __init__(self, toplevel_dir, absolute_path, fake_contents): argument 31 super(ResourceWithFakeContents, self).__init__(toplevel_dir, absolute_path) 50 def FindResourceGivenAbsolutePath(self, absolute_path): argument 53 if absolute_path.startswith(source_path): 63 longest_candidate, absolute_path, 64 self._file_contents.get(absolute_path, None)) 67 absolute_path = None 69 absolute_path = os.path.join(script_path, relative_path) 70 if absolute_path in self._file_contents: 71 return ResourceWithFakeContents(script_path, absolute_path, [all …]
|
D | module.py | 138 return self.resource.absolute_path 243 dependent_filenames.append(self.resource.absolute_path) 246 dependent_filenames.append(raw_script.resource.absolute_path) 260 return self.resource.absolute_path
|
D | html_module.py | 23 return os.path.dirname(self.resource.absolute_path) 48 os.path.relpath(self.resource.absolute_path)) 86 module_dirname = os.path.dirname(self.resource.absolute_path)
|
D | html_generation_controller.py | 25 module_dirname = os.path.dirname(self.current_module.resource.absolute_path)
|
D | style_sheet_unittest.py | 34 r0.absolute_path)
|
/external/cronet/tot/build/toolchain/apple/ |
D | compile_xcassets.py | 43 absolute_path = line.split(':')[0] 44 relative_path = relative_paths.get(absolute_path, absolute_path) 45 if absolute_path == relative_path: 47 return relative_path + line[len(absolute_path):] 251 absolute_path = os.path.abspath(relative_path) 252 relative_paths[absolute_path] = relative_path 253 command.append(absolute_path)
|
/external/cronet/stable/build/toolchain/apple/ |
D | compile_xcassets.py | 43 absolute_path = line.split(':')[0] 44 relative_path = relative_paths.get(absolute_path, absolute_path) 45 if absolute_path == relative_path: 47 return relative_path + line[len(absolute_path):] 251 absolute_path = os.path.abspath(relative_path) 252 relative_paths[absolute_path] = relative_path 253 command.append(absolute_path)
|
/external/angle/build/toolchain/apple/ |
D | compile_xcassets.py | 45 absolute_path = line.split(':')[0] 46 relative_path = relative_paths.get(absolute_path, absolute_path) 47 if absolute_path == relative_path: 49 return relative_path + line[len(absolute_path):] 270 absolute_path = os.path.abspath(relative_path) 271 relative_paths[absolute_path] = relative_path 272 command.append(absolute_path)
|
/external/e2fsprogs/contrib/android/ |
D | e2fsdroid.c | 55 static char *absolute_path(const char *file) in absolute_path() function 229 fs_config_file = absolute_path(optarg); in main() 241 seopt_file[nr_opt].value = absolute_path(token); in main() 248 product_out = absolute_path(optarg); in main() 255 basefs_out = absolute_path(optarg); in main() 258 basefs_in = absolute_path(optarg); in main() 261 block_list = absolute_path(optarg); in main() 264 src_dir = absolute_path(optarg); in main()
|
/external/python/watchdog/src/watchdog/observers/ |
D | kqueue.py | 115 def absolute_path(path: bytes | str) -> bytes | str: function 186 path = absolute_path(path) 197 path = absolute_path(path) 213 path = absolute_path(path) 226 path = absolute_path(path) 292 self._path = absolute_path(path) 569 dest_path = absolute_path(dest_path)
|
/external/igt-gpu-tools/runner/ |
D | settings.c | 373 settings->test_list = absolute_path(optarg); in parse_options() 403 absolute_path(optarg))) in parse_options() 424 settings->test_root = absolute_path(argv[optind]); in parse_options() 436 settings->test_root = absolute_path(argv[optind]); in parse_options() 440 settings->results_path = absolute_path(argv[optind]); in parse_options() 459 settings->test_root = absolute_path(env_test_root); in parse_options() 531 char *absolute_path(char *path) in absolute_path() function 542 ret = absolute_path(dir); in absolute_path()
|
D | settings.h | 108 char *absolute_path(char *path);
|
/external/cronet/tot/third_party/llvm-libc/src/cmake/modules/ |
D | LLVMLibCHeaderRules.cmake | 26 set(absolute_path ${CMAKE_CURRENT_SOURCE_DIR}/${dest_leaf_filename}) variable 27 file(RELATIVE_PATH relative_path ${LIBC_INCLUDE_SOURCE_DIR} ${absolute_path}) 97 set(absolute_path ${CMAKE_CURRENT_SOURCE_DIR}/${ADD_GEN_HDR_GEN_HDR}) variable 98 file(RELATIVE_PATH relative_path ${LIBC_INCLUDE_SOURCE_DIR} ${absolute_path})
|
/external/cronet/stable/third_party/llvm-libc/src/cmake/modules/ |
D | LLVMLibCHeaderRules.cmake | 26 set(absolute_path ${CMAKE_CURRENT_SOURCE_DIR}/${dest_leaf_filename}) variable 27 file(RELATIVE_PATH relative_path ${LIBC_INCLUDE_SOURCE_DIR} ${absolute_path}) 97 set(absolute_path ${CMAKE_CURRENT_SOURCE_DIR}/${ADD_GEN_HDR_GEN_HDR}) variable 98 file(RELATIVE_PATH relative_path ${LIBC_INCLUDE_SOURCE_DIR} ${absolute_path})
|
/external/rust/android-crates-io/crates/protobuf-parse/src/pure/convert/ |
D | type_resolver.rs | 155 absolute_path: &ProtobufAbsPath, in find_message_or_enum_by_abs_name() 158 if let Some(relative) = absolute_path.remove_prefix(&file.package) { in find_message_or_enum_by_abs_name() 165 return Err(TypeResolverError::NotFoundByAbsPath(absolute_path.clone()).into()); in find_message_or_enum_by_abs_name()
|
/external/openscreen/tools/ |
D | licenses.py | 94 absolute_path = os.path.join(root, filename[1:]) 96 absolute_path = os.path.join(root, path, filename) 97 if os.path.exists(absolute_path): 98 return absolute_path
|
/external/zlib/google/ |
D | zip.cc | 60 const base::FilePath absolute_path = src_dir_.Append(path); in Open() local 61 if (base::DirectoryExists(absolute_path)) { in Open() 66 absolute_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in Open()
|
/external/pdfium/testing/tools/ |
D | safetynet_image.py | 175 def _GetRelativePath(self, absolute_path): argument 176 return os.path.relpath(absolute_path, start=self.output_path)
|
/external/f2fs-tools/fsck/ |
D | main.c | 47 static char *absolute_path(const char *file) in absolute_path() function 499 dump_opt.base_path = absolute_path(optarg); in f2fs_parse_options() 739 c.fs_config_file = absolute_path(optarg); in f2fs_parse_options() 751 c.from_dir = absolute_path(optarg); in f2fs_parse_options() 754 c.target_out_dir = absolute_path(optarg); in f2fs_parse_options() 768 absolute_path(token); in f2fs_parse_options()
|
/external/cronet/stable/net/base/ |
D | directory_lister.h | 35 base::FilePath absolute_path; member
|
/external/cronet/tot/net/base/ |
D | directory_lister.h | 35 base::FilePath absolute_path; member
|
/external/cronet/stable/testing/merge_scripts/code_coverage/ |
D | convert_to_istanbul_test.py | 302 def list_files(self, absolute_path): argument 304 for root, _, files in os.walk(absolute_path):
|