Home
last modified time | relevance | path

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

12

/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()
139 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);
/external/llvm-project/lldb/source/Utility/
DFileSpec.cpp310 llvm::Optional<FileSpec::Style> FileSpec::GuessPathStyle(llvm::StringRef absolute_path) { in GuessPathStyle() argument
311 if (absolute_path.startswith("/")) in GuessPathStyle()
313 if (absolute_path.startswith(R"(\\)")) in GuessPathStyle()
315 if (absolute_path.size() > 3 && llvm::isAlpha(absolute_path[0]) && in GuessPathStyle()
316 absolute_path.substr(1, 2) == R"(:\)") in GuessPathStyle()
/external/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/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/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DCompileUnitIndex.cpp222 llvm::SmallString<64> absolute_path = working_dir.String; in GetMainSourceFile() local
223 llvm::sys::path::append(absolute_path, file_name.String); in GetMainSourceFile()
224 return absolute_path; in GetMainSourceFile()
/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.cc59 const base::FilePath absolute_path = src_dir_.Append(path); in Open() local
60 if (base::DirectoryExists(absolute_path)) { in Open()
64 files->emplace_back(absolute_path, in Open()
/external/tensorflow/tensorflow/python/keras/preprocessing/
Ddataset_utils.py162 absolute_path = os.path.join(root, fname)
164 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
658 c.fs_config_file = absolute_path(optarg); in f2fs_parse_options()
670 c.from_dir = absolute_path(optarg); in f2fs_parse_options()
673 c.target_out_dir = absolute_path(optarg); in f2fs_parse_options()
687 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/llvm-project/lldb/include/lldb/Utility/
DFileSpec.h198 static llvm::Optional<Style> GuessPathStyle(llvm::StringRef absolute_path);
DReproducerProvider.h377 FileSpec absolute_path = in Create() local
379 file = absolute_path.GetPath(); in Create()
/external/grpc-grpc/doc/
Dnaming.md37 - `unix:path` or `unix://absolute_path` -- Unix domain sockets (Unix systems only)

12