/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);
|
/build/make/tools/releasetools/ |
test_utils.py | 43 full_path = os.path.realpath(os.path.join(current_dir, *path)) 45 os.path.join(full_path, 'framework', 'signapk.jar')) 47 return 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...] |
/external/tensorflow/tensorflow/tools/common/ |
public_api.py | 125 full_path = '.'.join([self._root_name, path]) if path else self._root_name 129 if self._is_private(full_path, name): 136 if self._do_not_descend(full_path, name):
|
/tools/test/connectivity/acts/framework/tests/ |
acts_import_unit_test.py | 81 full_path = os.path.join(root, f) 82 if any(full_path.endswith(e) for e in BLACKLIST): 87 if PY_FILE_REGEX.match(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...] |
/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/f2fs-tools/fsck/ |
sload.c | 129 ret = lstat(de->full_path, &stat); 151 ret = readlink(de->full_path, de->link, F2FS_BLKSIZE - 1); 169 static int build_directory(struct f2fs_sb_info *sbi, const char *full_path, 178 entries = scandir(full_path, &namelist, filter_dot, (void *)alphasort); 180 ERR_MSG("No entries in %s\n", full_path); 199 ret = asprintf(&dentries[i].full_path, "%s/%s", 200 full_path, namelist[i]->d_name); 221 dentries[i].full_path); 246 free(dentries[i].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);
|
/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/python/cpython3/Lib/unittest/ |
loader.py | 346 full_path = os.path.abspath(module.__file__) 348 if os.path.basename(full_path).lower().startswith('__init__.py'): 349 return os.path.dirname(os.path.dirname(full_path)) 354 return os.path.dirname(full_path) 372 def _match_path(self, path, full_path, pattern): 396 full_path = os.path.join(start_dir, path) 398 full_path, pattern, namespace) 403 name = self._get_name_from_path(full_path) 406 yield from self._find_tests(full_path, pattern, namespace) 410 def _find_test_path(self, full_path, pattern, namespace=False) [all...] |
/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: 81 full_path = os.path.join(self.output_dir, filename) 82 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)
|
/external/tensorflow/tensorflow/tools/docs/ |
py_guide_parser.py | 27 """Returns a list of filename (full_path, base) pairs for guide files.""" 45 def process(self, full_path): 46 """Read and process the file at `full_path`.""" 47 md_string = open(full_path).read()
|
/art/compiler/debug/ |
elf_debug_line_writer.h | 186 std::string full_path(file_name); 202 full_path = package_name + "/" + file_name; 206 auto it2 = files_map.find(full_path); 209 files_map.emplace(full_path, file_index);
|