Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dresource_loader.py52 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 …]
Dresource.py14 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')
Dstyle_sheet.py21 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)
Dhtml_module_unittest.py25 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 …]
Dmodule.py138 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
Dhtml_module.py23 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)
Dhtml_generation_controller.py25 module_dirname = os.path.dirname(self.current_module.resource.absolute_path)
Dstyle_sheet_unittest.py34 r0.absolute_path)
/external/e2fsprogs/contrib/android/
De2fsdroid.c50 static char *absolute_path(const char *file) in absolute_path() function
224 fs_config_file = absolute_path(optarg); in main()
236 seopt_file[nr_opt].value = absolute_path(token); in main()
243 product_out = absolute_path(optarg); in main()
250 basefs_out = absolute_path(optarg); in main()
253 basefs_in = absolute_path(optarg); in main()
256 block_list = absolute_path(optarg); in main()
259 src_dir = absolute_path(optarg); in main()
/external/libabigail/tools/
Dabisym.cc42 bool absolute_path; member
50 absolute_path(true) in options()
103 opts.absolute_path = false; in parse_command_line()
140 if (opts.absolute_path) in main()
/external/igt-gpu-tools/runner/
Dsettings.c373 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()
Dsettings.h108 char *absolute_path(char *path);
Drunner_tests.c276 path = absolute_path(paths[i]);
/external/oss-fuzz/infra/
Dbuild_specified_commit.py74 absolute_path = line[len(_GIT_DIR_MARKER):].strip()
75 if not os.path.isabs(absolute_path):
82 relative_path = os.path.relpath(absolute_path, base_dir)
84 absolute_path, relative_path)
/external/openscreen/tools/
Dlicenses.py94 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/angle/third_party/zlib/google/
Dzip.cc60 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/zlib/google/
Dzip.cc60 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/tensorflow/tensorflow/python/keras/preprocessing/
Ddataset_utils.py159 absolute_path = os.path.join(root, fname)
161 dirname, os.path.relpath(absolute_path, directory))
/external/pdfium/testing/tools/
Dsafetynet_image.py176 def _GetRelativePath(self, absolute_path): argument
177 return os.path.relpath(absolute_path, start=self.output_path)
/external/f2fs-tools/fsck/
Dmain.c42 static char *absolute_path(const char *file) in absolute_path() function
667 c.fs_config_file = absolute_path(optarg); in f2fs_parse_options()
679 c.from_dir = absolute_path(optarg); in f2fs_parse_options()
682 c.target_out_dir = absolute_path(optarg); in f2fs_parse_options()
696 absolute_path(token); in f2fs_parse_options()
/external/libabigail/tests/
Dtest-symtab.cc43 const std::string& absolute_path = test_data_dir + path; in read_corpus() local
48 create_read_context(absolute_path, debug_info_root_paths, env.get(), in read_corpus()
/external/grpc-grpc/doc/
Dnaming.md37 - `unix:path` or `unix://absolute_path` -- Unix domain sockets (Unix systems only)
/external/icu/icu4c/source/python/icutools/databuilder/
D__main__.py183 for part in error.absolute_path
/external/rust/crates/bindgen/src/
Dlib.rs637 let absolute_path = env::current_dir() in header_contents() localVariable
644 .push((absolute_path, contents.into())); in header_contents()
/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem_test.cc143 StringPiece GetRelativePath(StringPiece absolute_path) { in GetRelativePath() argument
144 return tensorflow::str_util::StripPrefix(absolute_path, root_dir_); in GetRelativePath()