| /freebsd-13.1/contrib/googletest/googletest/test/ |
| H A D | gtest_premature_exit_test.cc | 49 static bool FileExists(const char* filepath) { in FileExists() argument 51 return Stat(filepath, &stat) == 0; in FileExists() 115 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); in main() local 116 if (filepath != NULL && *filepath != '\0') { in main() 117 if (PrematureExitTest::FileExists(filepath)) { in main() 120 filepath); in main()
|
| H A D | googletest-filepath-test.cc | 65 FilePath filepath(path); in _rmdir() local 67 filepath.RemoveTrailingPathSeparator().c_str()); in _rmdir()
|
| /freebsd-13.1/stand/efi/boot1/ |
| H A D | ufs_module.c | 140 load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize) in load() argument 150 DPRINTF("UFS Loading '%s' from %S\n", filepath, text); in load() 159 if ((ino = lookup(filepath)) == 0) { in load() 160 DPRINTF("Failed to lookup '%s' (file not found?)\n", filepath); in load() 165 printf("Failed to read size of '%s' ino: %d\n", filepath, ino); in load() 172 size, filepath); in load() 178 printf("Failed to read '%s' (%zd != %zu)\n", filepath, read, in load()
|
| H A D | zfs_module.c | 139 load(const char *filepath, dev_info_t *devinfo, void **bufp, size_t *bufsize) in load() argument 153 DPRINTF("load: '%s' spa: '%s', devpath: %S\n", filepath, in load() 168 if ((err = zfs_lookup(&zmount, filepath, &dn)) != 0) { in load() 171 filepath, spa->spa_name, err); in load() 174 printf("Failed to lookup '%s' on pool '%s' (%d)\n", filepath, in load() 180 printf("Failed to stat '%s' on pool '%s' (%d)\n", filepath, in load() 188 (intmax_t)st.st_size, spa->spa_name, filepath); in load()
|
| H A D | boot_module.h | 89 EFI_STATUS (*load)(const char *filepath, dev_info_t *devinfo,
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common.cpp | 59 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() argument 61 if (!filepath) return nullptr; in StripPathPrefix() 62 if (!strip_path_prefix) return filepath; in StripPathPrefix() 63 const char *res = filepath; in StripPathPrefix() 64 if (const char *pos = internal_strstr(filepath, strip_path_prefix)) in StripPathPrefix()
|
| H A D | sanitizer_win.cpp | 462 const char *filepath; member 486 module_infos[i].filepath = modules[i].full_name(); in DumpProcessMap() 497 mi.filepath[0] ? mi.filepath : "[no name]"); in DumpProcessMap() 498 } else if (mi.filepath[0]) { in DumpProcessMap() 499 Printf("\t??\?-??? %s\n", mi.filepath); in DumpProcessMap()
|
| /freebsd-13.1/contrib/opencsd/decoder/source/ |
| H A D | ocsd_dcd_tree.cpp | 249 …mAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const std::string &filepath) in addBinFileMemAcc() argument 254 if(filepath.length() == 0) in addBinFileMemAcc() 258 ocsd_err_t err = TrcMemAccFactory::CreateFileAccessor(&p_accessor,filepath,address); in addBinFileMemAcc() 278 …on_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath) in addBinFileRegionMemAcc() argument 283 if((region_array == 0) || (num_regions == 0) || (filepath.length() == 0)) in addBinFileRegionMemAcc() 290 …ocsd_err_t err = TrcMemAccFactory::CreateFileAccessor(&p_accessor,filepath,region_array[curr_regio… in addBinFileRegionMemAcc() 319 …on_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath) in updateBinFileRegionMemAcc() argument 324 if ((region_array == 0) || (num_regions == 0) || (filepath.length() == 0)) in updateBinFileRegionMemAcc() 327 TrcMemAccessorFile *pAcc = TrcMemAccessorFile::getExistingFileAccessor(filepath); in updateBinFileRegionMemAcc()
|
| /freebsd-13.1/contrib/opencsd/decoder/include/common/ |
| H A D | ocsd_dcd_tree.h | 299 …Acc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const std::string &filepath); 314 …n_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath); 330 …n_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath);
|
| /freebsd-13.1/stand/powerpc/kboot/ |
| H A D | main.c | 216 const char *devpath, *filepath; in kboot_getdev() local 222 filepath = strchr(devspec, ':') + 1; in kboot_getdev() 225 filepath = devspec; in kboot_getdev() 235 if (path != NULL && filepath != NULL) in kboot_getdev() 236 *path = filepath; in kboot_getdev()
|
| /freebsd-13.1/libexec/rbootd/ |
| H A D | rmpproto.c | 290 char *filename, filepath[RMPBOOTDATA+1]; in SendBootRepl() local 321 dst1 = filepath; in SendBootRepl() 335 filename = strrchr(filepath,'/'); in SendBootRepl() 336 filename = filename? filename + 1: filepath; in SendBootRepl()
|
| /freebsd-13.1/contrib/elftoolchain/libdwarf/ |
| H A D | libdwarf_lineno.c | 36 FILE *filepath; in _dwarf_lineno_add_file() local 60 filepath = open_memstream(&lf->lf_fullpath, &slen); in _dwarf_lineno_add_file() 61 if (filepath == NULL) { in _dwarf_lineno_add_file() 77 fprintf(filepath, "%s/", compdir); in _dwarf_lineno_add_file() 79 fprintf(filepath, "%s/", incdir); in _dwarf_lineno_add_file() 80 fprintf(filepath, "%s", lf->lf_fname); in _dwarf_lineno_add_file() 81 if (fclose(filepath) != 0) { in _dwarf_lineno_add_file()
|
| /freebsd-13.1/contrib/atf/atf-sh/ |
| H A D | atf-sh.cpp | 50 const atf::fs::path filepath(filename); in fix_plain_name() local 51 if (filepath.branch_path().str() == ".") in fix_plain_name()
|
| /freebsd-13.1/contrib/opencsd/decoder/include/opencsd/c_api/ |
| H A D | opencsd_c_api.h | 239 …t handle, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const char *filepath); 258 …*region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const char *filepath);
|
| /freebsd-13.1/contrib/opencsd/decoder/source/c_api/ |
| H A D | ocsd_c_api.cpp | 367 …e_t handle, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const char *filepath) in ocsd_dt_add_binfile_mem_acc() argument 373 err = pDT->addBinFileMemAcc(address,mem_space,filepath); in ocsd_dt_add_binfile_mem_acc() 377 …t *region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const char *filepath) in ocsd_dt_add_binfile_region_mem_acc() argument 383 err = pDT->addBinFileRegionMemAcc(region_array,num_regions,mem_space,filepath); in ocsd_dt_add_binfile_region_mem_acc()
|
| /freebsd-13.1/lib/googletest/tests/gtest_main/ |
| H A D | Makefile | 8 GTESTS+= googletest-filepath-test
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_device_path_os.c | 166 zfs_read_sysfs_file(char *filepath) in zfs_read_sysfs_file() argument 171 FILE *fp = fopen(filepath, "r"); in zfs_read_sysfs_file()
|
| /freebsd-13.1/lib/googletest/gtest/ |
| H A D | Makefile | 30 INTERNAL_INCS+= gtest/internal/gtest-filepath.h
|
| /freebsd-13.1/contrib/apr/ |
| H A D | apr.mak | 74 -@erase "$(INTDIR)\filepath.obj" 147 "$(INTDIR)\filepath.obj" \ 260 -@erase "$(INTDIR)\filepath.obj" 333 "$(INTDIR)\filepath.obj" \ 446 -@erase "$(INTDIR)\filepath.obj" 519 "$(INTDIR)\filepath.obj" \ 632 -@erase "$(INTDIR)\filepath.obj" 706 "$(INTDIR)\filepath.obj" \ 881 SOURCE=.\file_io\win32\filepath.c 883 "$(INTDIR)\filepath.obj" : $(SOURCE) "$(INTDIR)"
|
| H A D | libapr.mak | 70 -@erase "$(INTDIR)\filepath.obj" 188 "$(INTDIR)\filepath.obj" \ 314 -@erase "$(INTDIR)\filepath.obj" 432 "$(INTDIR)\filepath.obj" \ 558 -@erase "$(INTDIR)\filepath.obj" 676 "$(INTDIR)\filepath.obj" \ 802 -@erase "$(INTDIR)\filepath.obj" 920 "$(INTDIR)\filepath.obj" \ 1079 SOURCE=.\file_io\win32\filepath.c 1081 "$(INTDIR)\filepath.obj" : $(SOURCE) "$(INTDIR)" ".\include\apr.h"
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/libzfs_input_check/ |
| H A D | libzfs_input_check.c | 778 char filepath[] = "/tmp/ioc_test_file_XXXXXX"; in zfs_ioc_input_tests() local 806 tmpfd = mkstemp(filepath); in zfs_ioc_input_tests() 809 filepath, strerror(errno)); in zfs_ioc_input_tests() 881 (void) unlink(filepath); in zfs_ioc_input_tests()
|
| /freebsd-13.1/contrib/apr/include/ |
| H A D | apr_file_info.h | 337 const char **filepath,
|
| /freebsd-13.1/usr.bin/svn/lib/libapr/ |
| H A D | Makefile | 33 filepath.c \
|
| /freebsd-13.1/tests/sys/cddl/zfs/include/ |
| H A D | libtest.kshlib | 3310 typeset filepath=$2 3320 eval `$STAT -s "$filepath"` 3394 typeset filepath=$2 3397 dva=$(file_dva $dataset $filepath) 3398 [ $? -ne 0 ] && log_fail "ERROR: Can't find file $filepath on $dataset" 3406 log_note "Corrupting ${dataset}'s $filepath on $vdev at DVA $dva with ashift $ashift"
|
| /freebsd-13.1/contrib/googletest/googletest/ |
| H A D | Makefile.am | 24 src/gtest-filepath.cc \ 203 include/gtest/internal/gtest-filepath.h \
|