/third_party/libunwind/libunwind/src/ |
H A D | os-linux.c | 42 char *full_path; in tdep_get_elf_image() local 62 full_path = mi.path; in tdep_get_elf_image() 72 full_path = (char*) malloc (strlen (root) + strlen (mi.path) + 1); in tdep_get_elf_image() 73 if (!full_path) in tdep_get_elf_image() 74 full_path = mi.path; in tdep_get_elf_image() 77 strcpy (full_path, root); in tdep_get_elf_image() 78 strcat (full_path, mi.path); in tdep_get_elf_image() 84 strncpy(path, full_path, pathlen); in tdep_get_elf_image() 86 rc = elf_map_image (ei, full_path); in tdep_get_elf_image() 88 if (full_path in tdep_get_elf_image() [all...] |
/third_party/python/Lib/unittest/ |
H A D | loader.py | 327 full_path = os.path.abspath(module.__file__) 329 if os.path.basename(full_path).lower().startswith('__init__.py'): 330 return os.path.dirname(os.path.dirname(full_path)) 335 return os.path.dirname(full_path) 353 def _match_path(self, path, full_path, pattern): 376 full_path = os.path.join(start_dir, path) 377 tests, should_recurse = self._find_test_path(full_path, pattern) 382 name = self._get_name_from_path(full_path) 385 yield from self._find_tests(full_path, pattern) 389 def _find_test_path(self, full_path, patter [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | colormanager.c | 291 char full_path[1024]; in _get_ppd_icc_fallback() local 329 snprintf(full_path, sizeof(full_path), in _get_ppd_icc_fallback() 332 strncpy(full_path, attr->value, sizeof(full_path) - 1); in _get_ppd_icc_fallback() 334 full_path[1023] = '\0'; in _get_ppd_icc_fallback() 338 if (access(full_path, 0)) { in _get_ppd_icc_fallback() 340 full_path); in _get_ppd_icc_fallback() 346 icc_profile = strdup(full_path); in _get_ppd_icc_fallback()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | database.c | 38 char *machine_id = NULL, *filename_prefix, *full_path; in pa_database_open() local 91 full_path = pa_sprintf_malloc("%s" PA_PATH_SEP "%s%s", path, filename_prefix, filename_suffix); in pa_database_open() 93 f = pa_database_open_internal(full_path, for_write); in pa_database_open() 96 pa_log_info("Successfully opened '%s' database file '%s'.", fn, full_path); in pa_database_open() 98 pa_log("Failed to open '%s' database file '%s': %s", fn, full_path, pa_cstrerror(errno)); in pa_database_open() 100 pa_xfree(full_path); in pa_database_open()
|
/third_party/f2fs-tools/fsck/ |
H A D | sload.c | 149 ret = lstat(de->full_path, &stat); in set_inode_metadata() 180 ret = readlink(de->full_path, de->link, F2FS_BLKSIZE - 1); in set_inode_metadata() 203 static int build_directory(struct f2fs_sb_info *sbi, const char *full_path, in build_directory() argument 212 entries = scandir(full_path, &namelist, filter_dot, (void *)alphasort); in build_directory() 214 ERR_MSG("No entries in %s\n", full_path); in build_directory() 232 ret = asprintf(&dentries[i].full_path, "%s/%s", in build_directory() 233 full_path, namelist[i]->d_name); in build_directory() 256 dentries[i].full_path); in build_directory() 286 free(dentries[i].full_path); in build_directory() 292 free(dentries[i].full_path); in build_directory() 300 build_directory(struct f2fs_sb_info *sbi, const char *full_path, const char *dir_path, const char *target_out_dir, nid_t dir_ino) build_directory() argument [all...] |
H A D | segment.c | 590 fd = open(de->full_path, O_RDONLY); in f2fs_build_file() 592 MSG(0, "Skip: Fail to open %s\n", de->full_path); in f2fs_build_file() 624 c.compress.filter_ops->filter(de->full_path)) { in f2fs_build_file() 678 de->full_path); in f2fs_build_file() 720 de->full_path, de->path, in f2fs_build_file()
|
/third_party/node/deps/v8/tools/v8windbg/ |
H A D | copy-prereqs.py | 28 full_path = os.path.join(win_sdk_dir, 'Debuggers', target_cpu, debug_file) 29 if not os.path.exists(full_path): 33 vs_toolchain._CopyRuntimeImpl(target_path, full_path, verbose=False)
|
/third_party/skia/third_party/externals/angle2/tools/ |
H A D | angle_tools.py | 22 full_path = os.path.join(env_path, filename) 23 if os.path.isfile(full_path): 24 return full_path
|
/third_party/python/Tools/peg_generator/scripts/ |
H A D | test_pypi_packages.py | 52 full_path = os.path.join("data", "pypi", name) 53 if os.path.isdir(full_path) and name in package_name: 54 return full_path
|
/third_party/gn/src/base/files/ |
H A D | file_util_win.cc | 363 bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) { in CreateDirectoryAndGetError() argument 365 DWORD fileattr = ::GetFileAttributes(ToWCharT(&full_path.value())); in CreateDirectoryAndGetError() 370 DLOG(WARNING) << "CreateDirectory(" << UTF16ToUTF8(full_path.value()) in CreateDirectoryAndGetError() 383 FilePath parent_path(full_path.DirName()); in CreateDirectoryAndGetError() 384 if (parent_path.value() == full_path.value()) { in CreateDirectoryAndGetError() 398 if (!::CreateDirectory(ToWCharT(&full_path.value()), NULL)) { in CreateDirectoryAndGetError() 400 if (error_code == ERROR_ALREADY_EXISTS && DirectoryExists(full_path)) { in CreateDirectoryAndGetError() 410 << UTF16ToUTF8(full_path.value()) << ", last error is " in CreateDirectoryAndGetError()
|
H A D | file_enumerator_posix.cc | 138 const FilePath full_path = root_path_.Append(info.filename_); in Next() local 139 GetStat(full_path, file_type_ & SHOW_SYM_LINKS, &info.stat_); in Next() 144 pending_paths_.push(full_path); in Next()
|
H A D | file_util_posix.cc | 163 char full_path[PATH_MAX]; in MakeAbsoluteFilePath() local 164 if (realpath(input.value().c_str(), full_path) == nullptr) in MakeAbsoluteFilePath() 166 return FilePath(full_path); in MakeAbsoluteFilePath() 445 bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) { in CreateDirectoryAndGetError() argument 449 FilePath last_path = full_path; in CreateDirectoryAndGetError() 450 subpaths.push_back(full_path); in CreateDirectoryAndGetError() 451 for (FilePath path = full_path.DirName(); path.value() != last_path.value(); in CreateDirectoryAndGetError()
|
H A D | file_util.h | 208 bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error); 211 bool CreateDirectory(const FilePath& full_path);
|
H A D | file_util.cc | 188 bool CreateDirectory(const FilePath& full_path) { in CreateDirectory() argument 189 return CreateDirectoryAndGetError(full_path, nullptr); in CreateDirectory()
|
/third_party/node/deps/v8/third_party/test262-harness/src/ |
H A D | test262.py | 231 def __init__(self, suite, name, full_path, strict_mode): 234 self.full_path = full_path 236 f = open(self.full_path) 481 full_path = path.join(root, f) 482 if full_path.startswith(self.test_root): 483 rel_path = full_path[len(self.test_root)+1:] 485 logging.warning("Unexpected path %s", full_path) 486 rel_path = full_path 488 basename = path.basename(full_path)[ [all...] |
/third_party/node/deps/v8/tools/sanitizers/ |
H A D | sancov_formatter_test.py | 217 full_path = os.path.join(output_dir, file_name) 218 self.assertTrue(os.path.exists(full_path)) 219 with open(full_path) as f:
|
/third_party/alsa-utils/topology/ |
H A D | pre-processor.c | 492 char *full_path; in pre_process_include_conf() local 523 full_path = tplg_snprintf("%s/%s", tplg_pp->inc_path, filename); in pre_process_include_conf() 525 full_path = tplg_snprintf("%s", filename); in pre_process_include_conf() 527 ret = snd_input_stdio_open(&in, full_path, "r"); in pre_process_include_conf() 529 fprintf(stderr, "Unable to open included conf file %s\n", full_path); in pre_process_include_conf() 530 free(full_path); in pre_process_include_conf() 533 free(full_path); in pre_process_include_conf()
|
/third_party/python/Lib/email/ |
H A D | contentmanager.py | 46 full_path = '.'.join((modname, qname)) if modname else qname 48 full_path_for_error = full_path 49 if full_path in self.set_handlers: 50 return self.set_handlers[full_path]
|
/third_party/cups-filters/filter/ |
H A D | gstoraster.c | 512 char full_path[1024]; 554 snprintf(full_path, sizeof(full_path), 557 strncpy(full_path, attr->value, sizeof(full_path)); 560 if (access(full_path, 0)) { 562 full_path); 568 icc_profile = strdup(full_path);
|
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
H A D | symlink01.c | 502 char full_path[PATH_MAX + 1 + 1]; /* Add one for '\0' and another to exceed the PATH_MAX limit, see creat_path_max() */ variable 789 * This routine populates full_path with a pathname whose length exceeds 814 strcpy(full_path, cwd); in creat_path_max() 816 strcat(full_path, path1); in creat_path_max() 818 size = strlen(full_path); in creat_path_max() 820 strcat(full_path, "/"); in creat_path_max() 822 strcat(full_path, "Z"); in creat_path_max() 828 * This routine checks that full_path's length exceeds the PATH_MAX 837 if (strlen(full_path) == (PATH_MAX + 1)) in ck_path_max() 842 "full_path characte in ck_path_max() [all...] |
/third_party/curl/tests/ |
H A D | smbserver.py | 231 fid, full_path = self.get_server_path(requested_file) 234 fid, full_path = self.get_test_path(requested_file) 236 self.tmpfiles.append(full_path) 259 os.path.dirname(full_path), os.path.basename(full_path),
|
/third_party/python/Lib/unittest/test/ |
H A D | test_discovery.py | 384 full_path = os.path.abspath(os.path.normpath('/foo')) 388 self.assertEqual(loader._top_level_dir, full_path) 389 self.assertIn(full_path, sys.path) 723 full_path = os.path.abspath('foo') 735 if full_path in sys.path: 736 sys.path.remove(full_path) 752 return full_path 755 full_path = self.setup_module_clash() 766 self.assertEqual(sys.path[0], full_path) 769 full_path [all...] |
/third_party/gn/infra/ |
H A D | recipes.py | 130 full_path = os.path.join(path, basename) 131 if _is_executable(full_path):
|
/third_party/skia/infra/bots/ |
H A D | recipes.py | 130 full_path = os.path.join(path, basename) 131 if _is_executable(full_path):
|
/third_party/python/Lib/importlib/ |
H A D | _bootstrap_external.py | 1630 full_path = _path_join(base_path, init_filename) 1631 if _path_isfile(full_path): 1632 return self._get_spec(loader_class, fullname, full_path, [base_path], target) 1640 full_path = _path_join(self.path, tail_module + suffix) 1643 _bootstrap._verbose_message('trying {}', full_path, verbosity=2) 1645 if _path_isfile(full_path): 1646 return self._get_spec(loader_class, fullname, full_path,
|