/external/chromium-trace/catapult/third_party/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) 137 if resource.absolute_path.endswith('.js'): 161 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 | 21 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 …]
|
D | module.py | 132 return self.resource.absolute_path 245 dependent_filenames.append(self.resource.absolute_path) 248 dependent_filenames.append(raw_script.resource.absolute_path) 262 return self.resource.absolute_path
|
D | html_module.py | 23 return os.path.dirname(self.resource.absolute_path) 46 os.path.relpath(self.resource.absolute_path)) 88 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/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
D | file_handle.py | 12 def __init__(self, temp_file=None, absolute_path=None): argument 25 assert (absolute_path is None) != (temp_file is None) 27 self._absolute_path = absolute_path
|
/external/autotest/scheduler/ |
D | drone_manager.py | 249 drone.call('initialize', self.absolute_path('')) 732 abs_working_directory = self.absolute_path(working_directory) 735 log_file = self.absolute_path(log_file) 772 path = os.path.join(self.absolute_path(execution_tag), pidfile_name) 842 def absolute_path(self, path, on_results_repository=False): member in BaseDroneManager 857 full_source = self.absolute_path(source_path) 858 full_destination = self.absolute_path( 891 drone.queue_call('write_to_file', self.absolute_path(file_path), 924 full_path = self.absolute_path(
|
D | site_drone_manager.py | 74 drone.call('initialize', self.absolute_path(''))
|
D | postjob_task.py | 38 self._drone_manager.absolute_path(self._working_directory()))
|
D | monitor_db.py | 1172 _drone_manager.absolute_path(control_path)],
|
D | monitor_db_functional_test.py | 286 def absolute_path(self, path): member in MockDroneManager
|
/external/chromium-trace/catapult/third_party/typ/typ/fakes/ |
D | host_fake.py | 82 absolute_path = self.abspath(*comps) 83 if absolute_path not in sys.path: 84 sys.path.append(absolute_path)
|
/external/chromium-trace/catapult/third_party/typ/typ/ |
D | host.py | 58 absolute_path = self.abspath(*comps) 59 if absolute_path not in sys.path: 60 sys.path.append(absolute_path)
|