/system/tools/aidl/ |
io_delegate_unittest.cpp | 29 string absolute_path; local 30 EXPECT_FALSE(IoDelegate::GetAbsolutePath("", &absolute_path)); 31 EXPECT_TRUE(absolute_path.empty()); 35 string absolute_path; local 36 EXPECT_TRUE(IoDelegate::GetAbsolutePath("foo", &absolute_path)); 37 ASSERT_FALSE(absolute_path.empty()); 38 // Should find our desired file at the end of |absolute_path| 40 EXPECT_TRUE(absolute_path.rfind("/foo") == absolute_path.length() - 4); 42 EXPECT_EQ(absolute_path[0], '/') [all...] |
io_delegate.cpp | 44 bool IoDelegate::GetAbsolutePath(const string& path, string* absolute_path) { 53 *absolute_path = buf; 65 *absolute_path = path; 76 *absolute_path = buf; 77 *absolute_path += OS_PATH_SEPARATOR; 78 *absolute_path += path; 154 string absolute_path; local 155 if (!GetAbsolutePath(path, &absolute_path)) { 159 auto directories = Split(absolute_path, string{1u, OS_PATH_SEPARATOR});
|
io_delegate.h | 37 // Stores an absolute version of |path| to |*absolute_path|, 39 // Returns false and does not set |*absolute_path| on error. 41 std::string* absolute_path);
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
resource.py | 14 def __init__(self, toplevel_dir, absolute_path, binary=False): 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')
|
resource_loader.py | 52 def FindResourceGivenAbsolutePath(self, absolute_path, binary=False): 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...] |
style_sheet.py | 21 def absolute_path(self): member in class: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)
|
html_generation_controller.py | 25 module_dirname = os.path.dirname(self.current_module.resource.absolute_path)
|
html_module_unittest.py | 21 def __init__(self, toplevel_dir, absolute_path, fake_contents): 27 super(ResourceWithFakeContents, self).__init__(toplevel_dir, absolute_path) 46 def FindResourceGivenAbsolutePath(self, absolute_path): 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...] |
module.py | 133 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
|
style_sheet_unittest.py | 34 r0.absolute_path)
|
html_module.py | 23 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)
|
/external/e2fsprogs/contrib/android/ |
e2fsdroid.c | 40 static char *absolute_path(const char *file) function 83 fs_config_file = absolute_path(optarg); 95 seopt_file[nr_opt].value = absolute_path(token); 102 product_out = absolute_path(optarg); 108 basefs_out = absolute_path(optarg); 111 basefs_in = absolute_path(optarg); 114 block_list = absolute_path(optarg); 117 src_dir = absolute_path(optarg);
|
/external/autotest/scheduler/ |
luciferlib.py | 246 def absolute_path(self, path): member in class:_DroneManager 251 return self._manager.absolute_path(path) 270 return manager.absolute_path(_working_directory(job))
|
drone_manager.py | 160 directory, except for those returns by absolute_path(). 266 drone.call('initialize', self.absolute_path('')) 763 abs_working_directory = self.absolute_path(working_directory) 766 log_file = self.absolute_path(log_file) 803 path = os.path.join(self.absolute_path(execution_tag), pidfile_name) 873 def absolute_path(self, path, on_results_repository=False): member in class:DroneManager [all...] |
postjob_task.py | 43 self._drone_manager.absolute_path(self._working_directory()))
|
monitor_db.py | [all...] |
monitor_db_functional_test.py | 275 def absolute_path(self, path): member in class:MockDroneManager [all...] |
/external/syslinux/utils/ |
mkdiskimage.in | 26 sub absolute_path($) { 246 if ( !symlink(absolute_path($file), $imglink) );
|
/external/f2fs-tools/fsck/ |
main.c | 31 static char *absolute_path(const char *file) function 424 c.fs_config_file = absolute_path(optarg); 436 c.from_dir = absolute_path(optarg); 439 c.target_out_dir = absolute_path(optarg); 453 absolute_path(token);
|
/external/tensorflow/tensorflow/contrib/ffmpeg/default/ |
ffmpeg_lib.cc | 94 char absolute_path[PATH_MAX + 1]; local 95 if (::realpath(binary_path.c_str(), absolute_path) == nullptr) { 99 int result = ::stat(absolute_path, &statinfo);
|
/external/syslinux/bios/utils/ |
mkdiskimage | 26 sub absolute_path($) { subroutine 246 if ( !symlink(absolute_path($file), $imglink) );
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/ |
ApplicationPackageNameRefactoring.java | 381 String absolute_path = AndroidManifest.combinePackageAndClassName( local 386 addQuotes(absolute_path));
|
/art/runtime/ |
oat_file.cc | [all...] |
/external/v8/src/ |
d8.cc | 674 std::string absolute_path = local 676 auto module_it = d->specifier_to_module_map.find(absolute_path); 718 std::string absolute_path = NormalizePath(ToSTLString(name), dir_name); local 719 if (!d->specifier_to_module_map.count(absolute_path)) { 720 if (FetchModuleTree(context, absolute_path).IsEmpty()) { 736 std::string absolute_path = NormalizePath(file_name, GetWorkingDirectory()); local 739 if (!FetchModuleTree(realm, absolute_path).ToLocal(&root_module)) { [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/ |
image.py | [all...] |