HomeSort by relevance Sort by last modified time
    Searched refs:absolute_path (Results 1 - 25 of 25) sorted by null

  /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/third_party/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)
137 if resource.absolute_path.endswith('.js'):
161 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 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
style_sheet_unittest.py 34 r0.absolute_path)
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)
  /external/chromium-trace/catapult/telemetry/telemetry/internal/util/
file_handle.py 12 def __init__(self, temp_file=None, absolute_path=None):
20 absolute_path: A path; should not be passed if tempfile is and vice-versa.
24 # Exactly one of absolute_path or temp_file must be specified.
25 assert (absolute_path is None) != (temp_file is None)
27 self._absolute_path = absolute_path
  /external/autotest/scheduler/
site_drone_manager.py 74 drone.call('initialize', self.absolute_path(''))
drone_manager.py 153 directory, except for those returns by absolute_path().
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 class:BaseDroneManager
    [all...]
postjob_task.py 38 self._drone_manager.absolute_path(self._working_directory()))
monitor_db.py     [all...]
monitor_db_functional_test.py 286 def absolute_path(self, path): member in class:MockDroneManager
    [all...]
  /system/connectivity/shill/cellular/
mobile_operator_info.h 90 void AddDatabasePath(const base::FilePath& absolute_path);
mobile_operator_info.cc 59 void MobileOperatorInfo::AddDatabasePath(const FilePath& absolute_path) {
60 SLOG(this, 3) << GetLogPrefix(__func__) << "(" << absolute_path.value()
62 impl_->AddDatabasePath(absolute_path);
mobile_operator_info_impl.h 51 void AddDatabasePath(const base::FilePath& absolute_path);
mobile_operator_info_impl.cc 96 void MobileOperatorInfoImpl::AddDatabasePath(const FilePath& absolute_path) {
97 database_paths_.push_back(absolute_path);
  /external/chromium-trace/catapult/third_party/typ/typ/fakes/
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/
host.py 58 absolute_path = self.abspath(*comps)
59 if absolute_path not in sys.path:
60 sys.path.append(absolute_path)
  /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 644 UniqueCPtr<char> absolute_path(realpath(elf_filename.c_str(), nullptr));
645 if (absolute_path == nullptr) {
660 dlopen_handle_ = android_dlopen_ext(absolute_path.get(), RTLD_NOW, &extinfo);
665 dlopen_handle_ = dlopen(absolute_path.get(), RTLD_NOW);
    [all...]

Completed in 4216 milliseconds