Home
last modified time | relevance | path

Searched refs:absolute_path (Results 1 – 20 of 20) 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
223 fs_config_file = absolute_path(optarg); in main()
235 seopt_file[nr_opt].value = absolute_path(token); in main()
242 product_out = absolute_path(optarg); in main()
249 basefs_out = absolute_path(optarg); in main()
252 basefs_in = absolute_path(optarg); in main()
255 block_list = absolute_path(optarg); in main()
258 src_dir = absolute_path(optarg); 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/zlib/google/
Dzip_writer.cc173 const base::FilePath& absolute_path = absolute_paths[i]; in FlushEntriesIfNeeded() local
184 file_accessor_->GetLastModifiedTime(absolute_path); in FlushEntriesIfNeeded()
190 DCHECK(file_accessor_->DirectoryExists(absolute_path)); in FlushEntriesIfNeeded()
/external/v8/third_party/zlib/google/
Dzip_writer.cc174 const base::FilePath& absolute_path = absolute_paths[i]; in FlushEntriesIfNeeded() local
185 file_accessor_->GetLastModifiedTime(absolute_path); in FlushEntriesIfNeeded()
191 DCHECK(file_accessor_->DirectoryExists(absolute_path)); in FlushEntriesIfNeeded()
/external/f2fs-tools/fsck/
Dmain.c38 static char *absolute_path(const char *file) in absolute_path() function
542 c.fs_config_file = absolute_path(optarg); in f2fs_parse_options()
554 c.from_dir = absolute_path(optarg); in f2fs_parse_options()
557 c.target_out_dir = absolute_path(optarg); in f2fs_parse_options()
571 absolute_path(token); in f2fs_parse_options()
/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/v8/src/d8/
Dd8.cc753 std::string absolute_path; in NormalizePath() local
755 absolute_path = path; in NormalizePath()
757 absolute_path = dir_name + '/' + path; in NormalizePath()
759 std::replace(absolute_path.begin(), absolute_path.end(), '\\', '/'); in NormalizePath()
761 std::istringstream segment_stream(absolute_path); in NormalizePath()
829 std::string absolute_path = NormalizePath(ToSTLString(isolate, specifier), in ResolveModuleCallback() local
831 auto module_it = d->specifier_to_module_map.find(absolute_path); in ResolveModuleCallback()
886 std::string absolute_path = in FetchModuleTree() local
888 if (d->specifier_to_module_map.count(absolute_path)) continue; in FetchModuleTree()
889 if (FetchModuleTree(module, context, absolute_path).IsEmpty()) { in FetchModuleTree()
[all …]
/external/icu/icu4c/source/python/icutools/databuilder/
D__main__.py183 for part in error.absolute_path
/external/grpc-grpc/doc/
Dnaming.md37 - `unix:path` or `unix://absolute_path` -- Unix domain sockets (Unix systems only)
/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem_test.cc124 StringPiece GetRelativePath(StringPiece absolute_path) { in GetRelativePath() argument
125 return tensorflow::str_util::StripPrefix(absolute_path, root_dir_); in GetRelativePath()