/third_party/libunwind/libunwind/src/ |
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 && full_path != mi.path) in tdep_get_elf_image() [all …]
|
/third_party/python/Lib/unittest/ |
D | loader.py | 354 full_path = os.path.abspath(module.__file__) 356 if os.path.basename(full_path).lower().startswith('__init__.py'): 357 return os.path.dirname(os.path.dirname(full_path)) 362 return os.path.dirname(full_path) 380 def _match_path(self, path, full_path, pattern): argument 404 full_path = os.path.join(start_dir, path) 406 full_path, pattern, namespace) 411 name = self._get_name_from_path(full_path) 414 yield from self._find_tests(full_path, pattern, namespace) 418 def _find_test_path(self, full_path, pattern, namespace=False): argument [all …]
|
/third_party/cups-filters/cupsfilters/ |
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/ |
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/littlefs/tests/ |
D | test_relocations.toml | 193 char full_path[256]; 195 sprintf(&full_path[2*d], "/%c", alpha[TEST_PRNG(&prng) % FILES]); 200 int res = lfs_stat(&lfs, full_path, &info); 205 strcpy(path, full_path); 213 strcpy(path, full_path); 221 assert(strcmp(info.name, &full_path[2*(DEPTH-1)+1]) == 0); 227 strcpy(path, full_path); 233 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT; 262 char full_path[256]; 264 sprintf(&full_path[2*d], "/%c", alpha[TEST_PRNG(&prng) % FILES]); [all …]
|
D | test_orphans.toml | 228 char full_path[256]; 230 sprintf(&full_path[2*d], "/%c", alpha[TEST_PRNG(&prng) % FILES]); 235 int res = lfs_stat(&lfs, full_path, &info); 240 strcpy(path, full_path); 248 strcpy(path, full_path); 256 assert(strcmp(info.name, &full_path[2*(DEPTH-1)+1]) == 0); 262 strcpy(path, full_path); 268 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
|
/third_party/f2fs-tools/fsck/ |
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() [all …]
|
/third_party/node/deps/v8/tools/v8windbg/ |
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/ |
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/node/deps/v8/third_party/test262-harness/src/ |
D | test262.py | 231 def __init__(self, suite, name, full_path, strict_mode): argument 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)[:-3] 494 strict_case = TestCase(self, name, full_path, True) [all …]
|
/third_party/alsa-utils/topology/ |
D | pre-processor.c | 375 char *full_path; in pre_process_include_conf() local 398 full_path = tplg_snprintf("%s/%s", inc_path, filename); in pre_process_include_conf() 400 full_path = tplg_snprintf("%s", filename); in pre_process_include_conf() 402 ret = snd_input_stdio_open(&in, full_path, "r"); in pre_process_include_conf() 404 fprintf(stderr, "Unable to open included conf file %s\n", full_path); in pre_process_include_conf() 405 free(full_path); in pre_process_include_conf() 408 free(full_path); in pre_process_include_conf()
|
/third_party/python/Tools/peg_generator/scripts/ |
D | test_pypi_packages.py | 51 full_path = os.path.join("data", "pypi", name) 52 if os.path.isdir(full_path) and name in package_name: 53 return full_path
|
/third_party/gn/src/base/files/ |
D | file_util_win.cc | 319 bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) { in CreateDirectoryAndGetError() argument 321 DWORD fileattr = ::GetFileAttributes(ToWCharT(&full_path.value())); in CreateDirectoryAndGetError() 326 DLOG(WARNING) << "CreateDirectory(" << UTF16ToUTF8(full_path.value()) in CreateDirectoryAndGetError() 340 FilePath parent_path(full_path.DirName()); in CreateDirectoryAndGetError() 341 if (parent_path.value() == full_path.value()) { in CreateDirectoryAndGetError() 355 if (!::CreateDirectory(ToWCharT(&full_path.value()), NULL)) { in CreateDirectoryAndGetError() 357 if (error_code == ERROR_ALREADY_EXISTS && DirectoryExists(full_path)) { in CreateDirectoryAndGetError() 367 << UTF16ToUTF8(full_path.value()) << ", last error is " in CreateDirectoryAndGetError()
|
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()
|
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() 430 bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) { in CreateDirectoryAndGetError() argument 434 FilePath last_path = full_path; in CreateDirectoryAndGetError() 435 subpaths.push_back(full_path); in CreateDirectoryAndGetError() 436 for (FilePath path = full_path.DirName(); path.value() != last_path.value(); in CreateDirectoryAndGetError()
|
D | file_util.h | 195 bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error); 198 bool CreateDirectory(const FilePath& full_path);
|
/third_party/node/deps/v8/tools/sanitizers/ |
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/jerryscript/tests/ |
D | test262-es6.patch | 7 basename = path.basename(full_path)[:-3] 15 strict_case = TestCase(self, name, full_path, True)
|
/third_party/curl/tests/ |
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/importlib/ |
D | resources.py | 56 full_path = os.path.join(package_path, resource) 58 return open(full_path, mode='rb') 67 data = loader.get_data(full_path)
|
/third_party/python/Lib/email/ |
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/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink01.c | 502 char full_path[PATH_MAX + 1 + 1]; /* Add one for '\0' and another to exceed the PATH_MAX limit, see… variable 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() 837 if (strlen(full_path) == (PATH_MAX + 1)) in ck_path_max() 1310 TEST(symlink(tc_ptr->fn_arg[0], full_path)); in do_ENAMETOOLONG() 1313 if (see_if_a_symlink(full_path) == -1) { in do_ENAMETOOLONG() 1331 ret = readlink(full_path, scratch, strlen(full_path)); in do_ENAMETOOLONG()
|
/third_party/cups-filters/filter/ |
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/python/Lib/unittest/test/ |
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 = self.setup_module_clash()
|
/third_party/gn/src/gn/ |
D | command_args.cc | 368 base::FilePath full_path = in EditArgsFile() local 370 if (!base::PathExists(full_path)) { in EditArgsFile() 380 base::ReadFileToString(full_path, &argfile_default_contents); in EditArgsFile()
|