Home
last modified time | relevance | path

Searched refs:absolute_path (Results 1 – 19 of 19) 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.py21 def __init__(self, toplevel_dir, absolute_path, fake_contents): argument
27 super(ResourceWithFakeContents, self).__init__(toplevel_dir, absolute_path)
46 def FindResourceGivenAbsolutePath(self, absolute_path): argument
49 if absolute_path.startswith(source_path):
59 longest_candidate, absolute_path,
60 self._file_contents.get(absolute_path, None))
63 absolute_path = None
65 absolute_path = os.path.join(script_path, relative_path)
66 if absolute_path in self._file_contents:
67 return ResourceWithFakeContents(script_path, absolute_path,
[all …]
Dmodule.py133 return self.resource.absolute_path
238 dependent_filenames.append(self.resource.absolute_path)
241 dependent_filenames.append(raw_script.resource.absolute_path)
255 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/autotest/scheduler/
Ddrone_manager.py266 drone.call('initialize', self.absolute_path(''))
750 abs_working_directory = self.absolute_path(working_directory)
753 log_file = self.absolute_path(log_file)
784 path = os.path.join(self.absolute_path(execution_tag), pidfile_name)
854 def absolute_path(self, path, on_results_repository=False): member in DroneManager
869 full_source = self.absolute_path(source_path)
870 full_destination = self.absolute_path(
934 drone.queue_call('write_to_file', self.absolute_path(file_path),
967 full_path = self.absolute_path(
Dluciferlib.py244 def absolute_path(self, path): member in _DroneManager
249 return self._manager.absolute_path(path)
294 return manager.absolute_path(_working_directory(job))
Dpostjob_task.py43 self._drone_manager.absolute_path(self._working_directory()))
Dmonitor_db.py1335 _drone_manager.absolute_path(control_path)],
Dmonitor_db_functional_test.py275 def absolute_path(self, path): member in MockDroneManager
/external/autotest/client/site_tests/security_SELinux/
Dsecurity_SELinux.py242 absolute_path = os.path.join('/', relative_path)
243 live_label = _get_file_label(absolute_path)
245 "context for Host's %s" % absolute_path)
/external/f2fs-tools/fsck/
Dmain.c33 static char *absolute_path(const char *file) in absolute_path() function
484 c.fs_config_file = absolute_path(optarg); in f2fs_parse_options()
496 c.from_dir = absolute_path(optarg); in f2fs_parse_options()
499 c.target_out_dir = absolute_path(optarg); in f2fs_parse_options()
513 absolute_path(token); in f2fs_parse_options()
/external/tensorflow/tensorflow/contrib/ffmpeg/default/
Dffmpeg_lib.cc94 char absolute_path[PATH_MAX + 1]; in IsBinaryInstalled() local
95 if (::realpath(binary_path.c_str(), absolute_path) == nullptr) { in IsBinaryInstalled()
99 int result = ::stat(absolute_path, &statinfo); in IsBinaryInstalled()
/external/grpc-grpc/doc/
Dnaming.md37 - `unix:path` or `unix://absolute_path` -- Unix domain sockets (Unix systems only)
/external/v8/src/
Dd8.cc732 std::string absolute_path = NormalizePath(ToSTLString(isolate, specifier), in ResolveModuleCallback() local
734 auto module_it = d->specifier_to_module_map.find(absolute_path); in ResolveModuleCallback()
774 std::string absolute_path = in FetchModuleTree() local
776 if (!d->specifier_to_module_map.count(absolute_path)) { in FetchModuleTree()
777 if (FetchModuleTree(context, absolute_path).IsEmpty()) { in FetchModuleTree()
863 std::string absolute_path = NormalizePath(file_name, dir_name); in DoHostImportModuleDynamically() local
870 auto module_it = d->specifier_to_module_map.find(absolute_path); in DoHostImportModuleDynamically()
873 } else if (!FetchModuleTree(realm, absolute_path).ToLocal(&root_module)) { in DoHostImportModuleDynamically()
905 std::string absolute_path = NormalizePath(file_name, GetWorkingDirectory()); in ExecuteModule() local
913 if (!FetchModuleTree(realm, absolute_path).ToLocal(&root_module)) { in ExecuteModule()