/external/dtc/tests/ |
path_offset_aliases.c | 31 static void check_alias(void *fdt, const char *full_path, const char *alias_path) 35 offset = fdt_path_offset(fdt, full_path); 40 full_path, offset, alias_path, offset_a);
|
/external/fio/oslib/ |
linux-dev-lookup.c | 23 char full_path[256]; local 28 sprintf(full_path, "%s/%s", path, dir->d_name); 29 if (lstat(full_path, &st) == -1) { 35 found = blktrace_lookup_device(redirect, full_path, 38 strcpy(path, full_path); 58 strcpy(path, full_path);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
loader.py | 209 full_path = os.path.abspath(module.__file__)
211 if os.path.basename(full_path).lower().startswith('__init__.py'):
212 return os.path.dirname(os.path.dirname(full_path))
217 return os.path.dirname(full_path)
233 def _match_path(self, path, full_path, pattern):
242 full_path = os.path.join(start_dir, path)
243 if os.path.isfile(full_path):
247 if not self._match_path(path, full_path, pattern):
250 name = self._get_name_from_path(full_path)
256 mod_file = os.path.abspath(getattr(module, '__file__', full_path))
[all...] |
/external/python/cpython2/Lib/unittest/ |
loader.py | 211 full_path = os.path.abspath(module.__file__) 213 if os.path.basename(full_path).lower().startswith('__init__.py'): 214 return os.path.dirname(os.path.dirname(full_path)) 219 return os.path.dirname(full_path) 235 def _match_path(self, path, full_path, pattern): 244 full_path = os.path.join(start_dir, path) 245 if os.path.isfile(full_path): 249 if not self._match_path(path, full_path, pattern): 252 name = self._get_name_from_path(full_path) 258 mod_file = os.path.abspath(getattr(module, '__file__', full_path)) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/unittest/ |
loader.py | 209 full_path = os.path.abspath(module.__file__) 211 if os.path.basename(full_path).lower().startswith('__init__.py'): 212 return os.path.dirname(os.path.dirname(full_path)) 217 return os.path.dirname(full_path) 233 def _match_path(self, path, full_path, pattern): 242 full_path = os.path.join(start_dir, path) 243 if os.path.isfile(full_path): 247 if not self._match_path(path, full_path, pattern): 250 name = self._get_name_from_path(full_path) 256 mod_file = os.path.abspath(getattr(module, '__file__', full_path)) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/unittest/ |
loader.py | 209 full_path = os.path.abspath(module.__file__) 211 if os.path.basename(full_path).lower().startswith('__init__.py'): 212 return os.path.dirname(os.path.dirname(full_path)) 217 return os.path.dirname(full_path) 233 def _match_path(self, path, full_path, pattern): 242 full_path = os.path.join(start_dir, path) 243 if os.path.isfile(full_path): 247 if not self._match_path(path, full_path, pattern): 250 name = self._get_name_from_path(full_path) 256 mod_file = os.path.abspath(getattr(module, '__file__', full_path)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
loader.py | 209 full_path = os.path.abspath(module.__file__) 211 if os.path.basename(full_path).lower().startswith('__init__.py'): 212 return os.path.dirname(os.path.dirname(full_path)) 217 return os.path.dirname(full_path) 233 def _match_path(self, path, full_path, pattern): 242 full_path = os.path.join(start_dir, path) 243 if os.path.isfile(full_path): 247 if not self._match_path(path, full_path, pattern): 250 name = self._get_name_from_path(full_path) 256 mod_file = os.path.abspath(getattr(module, '__file__', full_path)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
loader.py | 209 full_path = os.path.abspath(module.__file__) 211 if os.path.basename(full_path).lower().startswith('__init__.py'): 212 return os.path.dirname(os.path.dirname(full_path)) 217 return os.path.dirname(full_path) 233 def _match_path(self, path, full_path, pattern): 242 full_path = os.path.join(start_dir, path) 243 if os.path.isfile(full_path): 247 if not self._match_path(path, full_path, pattern): 250 name = self._get_name_from_path(full_path) 256 mod_file = os.path.abspath(getattr(module, '__file__', full_path)) [all...] |
/tools/test/connectivity/acts/framework/tests/ |
acts_import_unit_test.py | 76 full_path = os.path.join(root, f) 77 if any(full_path.endswith(e) for e in BLACKLIST): 82 if PY_FILE_REGEX.match(full_path):
|
/external/f2fs-tools/fsck/ |
sload.c | 67 static int build_directory(struct f2fs_sb_info *sbi, const char *full_path, 77 entries = scandir(full_path, &namelist, filter_dot, (void *)alphasort); 79 ERR_MSG("No entries in %s\n", full_path); 98 ret = asprintf(&dentries[i].full_path, "%s/%s", 99 full_path, namelist[i]->d_name); 103 ret = lstat(dentries[i].full_path, &stat); 141 ret = readlink(dentries[i].full_path, 163 dentries[i].full_path); 197 free(dentries[i].full_path);
|
/external/jsoncpp/devtools/ |
antglob.py | 114 def apply_filter( full_path, filter_rexs ): 115 """Return True if at least one of the filter regular expression match full_path.""" 117 if rex.match( full_path ): 126 full_path = os.path.join( dir_path, entry ) 127 ## print 'Testing:', full_path, 128 is_dir = os.path.isdir( full_path ) 131 child_dirs.append( full_path ) 132 included = apply_filter( full_path, include_filter ) 133 rejected = apply_filter( full_path, exclude_filter ) 137 link = os.path.islink( full_path ) [all...] |
/external/libchrome/base/test/ |
test_file_util.h | 50 bool HasInternetZoneIdentifier(const FilePath& full_path);
|
/development/testrunner/test_defs/ |
native_test.py | 85 full_path = os.path.join(os.sep, "data", "nativetest", f) 89 "(cd /sdcard;%s)" % full_path, 100 adb.SendShellCommand("rm %s" % full_path) 184 full_path = os.path.join(android_build.GetHostBin(), binary) 185 return run_command.RunHostCommand(full_path, valgrind=valgrind)
|
/hardware/invensense/6515/libsensors_iio/ |
MPLSupport.cpp | 285 char full_path[MAX_SYSFS_NAME_LEN]; local 306 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name); 307 LOGV_IF(0,"HAL DEBUG: reading %s", full_path); 308 fd = open(full_path, O_RDONLY); 316 LOGI("HAL DEBUG:sysfs:cat %s = %ld", full_path, data); 318 LOGV_IF(0,"HAL DEBUG: error reading %s", full_path); 321 LOGV_IF(0,"HAL DEBUG: error opening %s", full_path);
|
/hardware/invensense/65xx/libsensors_iio/ |
MPLSupport.cpp | 282 char full_path[MAX_SYSFS_NAME_LEN]; local 303 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name); 304 LOGV_IF(0,"HAL DEBUG: reading %s", full_path); 305 fd = open(full_path, O_RDONLY); 313 LOGI("HAL DEBUG:sysfs:cat %s = %ld", full_path, data); 315 LOGV_IF(0,"HAL DEBUG: error reading %s", full_path); 318 LOGV_IF(0,"HAL DEBUG: error opening %s", full_path);
|
/external/v8/tools/sanitizers/ |
sancov_formatter_test.py | 216 full_path = os.path.join(output_dir, file_name) 217 self.assertTrue(os.path.exists(full_path)) 218 with open(full_path) as f:
|
/external/libchrome/base/files/ |
file_enumerator_posix.cc | 96 FilePath full_path = root_path_.Append(i->filename_); local 97 if (ShouldSkip(full_path)) 101 fnmatch(pattern_.c_str(), full_path.value().c_str(), FNM_NOESCAPE)) 105 pending_paths_.push(full_path);
|
/system/extras/ext4_utils/ |
contents.h | 24 char *full_path; member in struct:dentry
|
/hardware/intel/common/utils/ituxd/jni/ |
thermalJNI.cpp | 90 char full_path[SIZE]; local 94 snprintf(full_path, SIZE, "%s%d/type", base_path, count); 100 if (readFromFile(full_path, buf, SIZE, false) < 0) break; 115 char full_path[SIZE]; local 119 snprintf(full_path, SIZE, "%s%d/type", base_path, count); 120 if (readFromFile(full_path, buf, SIZE, false) < 0) break;
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
generator.py | 27 def WriteFile(contents, full_path): 29 full_dir = os.path.dirname(full_path) 33 with open(full_path, "w+") as f: 77 full_path = os.path.join(self.output_dir, filename) 78 WriteFile(contents, full_path)
|
/external/autotest/server/hosts/ |
teststation_host.py | 154 full_path = readlink_result.stdout.splitlines()[0] 157 unzip_dest = unzip_dest or os.path.dirname(full_path) 160 return full_path
|
/external/autotest/client/cros/cellular/wardmodem/ |
modem_configuration.py | 175 full_path = os.path.join(dir_name, CONF_DIR_NAME, conf_file) 177 execfile(full_path, conf)
|
/art/compiler/debug/ |
elf_debug_line_writer.h | 183 std::string full_path(file_name); 199 full_path = package_name + "/" + file_name; 203 auto it2 = files_map.find(full_path); 206 files_map.emplace(full_path, file_index);
|
/frameworks/base/tools/aapt2/flatten/ |
Archive.cpp | 61 std::string full_path = dir_; variable 62 file::AppendPath(&full_path, path); 63 file::mkdirs(file::GetStem(full_path).to_string()); 65 file_ = {::android::base::utf8::fopen(full_path.c_str(), "wb"), fclose};
|
/external/python/cpython2/Lib/unittest/test/ |
test_discovery.py | 150 full_path = os.path.abspath(os.path.normpath('/foo')) 154 self.assertEqual(loader._top_level_dir, full_path) 155 self.assertIn(full_path, sys.path) 322 full_path = os.path.abspath('foo') 332 if full_path in sys.path: 333 sys.path.remove(full_path) 345 return full_path 348 full_path = self.setup_module_clash() 359 self.assertEqual(sys.path[0], full_path) 362 full_path = self.setup_module_clash( [all...] |