/freebsd/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() 117 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); in main() local 118 if (filepath != nullptr && *filepath != '\0') { in main() 119 if (PrematureExitTest::FileExists(filepath)) { in main() 122 filepath); in main()
|
H A D | googletest-filepath-test.cc | 65 FilePath filepath(path); in _rmdir() local 67 String::AnsiToUtf16(filepath.RemoveTrailingPathSeparator().c_str()); in _rmdir()
|
/freebsd/stand/efi/boot1/ |
H A D | ufs_module.c | 138 load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize) in load() argument 148 DPRINTF("UFS Loading '%s' from %S\n", filepath, text); in load() 157 if ((ino = lookup(filepath)) == 0) { in load() 158 DPRINTF("Failed to lookup '%s' (file not found?)\n", filepath); in load() 163 printf("Failed to read size of '%s' ino: %d\n", filepath, ino); in load() 170 size, filepath); in load() 176 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 154 DPRINTF("load: '%s' spa: '%s', devpath: %S\n", filepath, in load() 208 if ((err = zfs_lookup(&zmount, filepath, &dn)) != 0) { in load() 211 filepath, spa->spa_name, err); in load() 214 printf("Failed to lookup '%s' on pool '%s' (%d)\n", filepath, in load() 220 printf("Failed to stat '%s' on pool '%s' (%d)\n", filepath, in load() 228 (intmax_t)st.st_size, spa->spa_name, filepath); in load()
|
H A D | boot_module.h | 87 EFI_STATUS (*load)(const char *filepath, dev_info_t *devinfo,
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mmap_sync.c | 72 char filepath[512]; in main() local 73 filepath[0] = '\0'; in main() 74 char *file = &filepath[0]; in main()
|
H A D | libzfs_input_check.c | 796 char filepath[] = "/tmp/ioc_test_file_XXXXXX"; in zfs_ioc_input_tests() local 824 tmpfd = mkstemp(filepath); in zfs_ioc_input_tests() 827 filepath, strerror(errno)); in zfs_ioc_input_tests() 901 (void) unlink(filepath); in zfs_ioc_input_tests()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common.cpp | 87 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() argument 89 if (!filepath) return nullptr; in StripPathPrefix() 90 if (!strip_path_prefix) return filepath; in StripPathPrefix() 91 const char *res = filepath; in StripPathPrefix() 92 if (const char *pos = internal_strstr(filepath, strip_path_prefix)) in StripPathPrefix()
|
H A D | sanitizer_win.cpp | 489 const char *filepath; member 513 module_infos[i].filepath = modules[i].full_name(); in DumpProcessMap() 524 mi.filepath[0] ? mi.filepath : "[no name]"); in DumpProcessMap() 525 } else if (mi.filepath[0]) { in DumpProcessMap() 526 Printf("\t??\?-??? %s\n", mi.filepath); in DumpProcessMap()
|
H A D | sanitizer_common.h | 272 const char *StripPathPrefix(const char *filepath,
|
/freebsd/contrib/opencsd/decoder/source/ |
H A D | ocsd_dcd_tree.cpp | 256 …mAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const std::string &filepath) in addBinFileMemAcc() argument 261 if(filepath.length() == 0) in addBinFileMemAcc() 265 ocsd_err_t err = TrcMemAccFactory::CreateFileAccessor(&p_accessor,filepath,address); in addBinFileMemAcc() 285 …on_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath) in addBinFileRegionMemAcc() argument 290 if((region_array == 0) || (num_regions == 0) || (filepath.length() == 0)) in addBinFileRegionMemAcc() 297 …ocsd_err_t err = TrcMemAccFactory::CreateFileAccessor(&p_accessor,filepath,region_array[curr_regio… in addBinFileRegionMemAcc() 326 …on_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath) in updateBinFileRegionMemAcc() argument 331 if ((region_array == 0) || (num_regions == 0) || (filepath.length() == 0)) in updateBinFileRegionMemAcc() 334 TrcMemAccessorFile *pAcc = TrcMemAccessorFile::getExistingFileAccessor(filepath); in updateBinFileRegionMemAcc()
|
/freebsd/contrib/opencsd/decoder/include/common/ |
H A D | ocsd_dcd_tree.h | 323 …Acc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const std::string &filepath); 338 …n_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath); 354 …n_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath);
|
/freebsd/libexec/rbootd/ |
H A D | rmpproto.c | 280 char *filename, filepath[RMPBOOTDATA+1]; in SendBootRepl() local 311 dst1 = filepath; in SendBootRepl() 325 filename = strrchr(filepath,'/'); in SendBootRepl() 326 filename = filename? filename + 1: filepath; in SendBootRepl()
|
/freebsd/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/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/sys/contrib/dev/athk/ath12k/ |
H A D | core.c | 243 char *filename, filepath[100]; in ath12k_core_fetch_board_data_api_n() local 264 filepath, sizeof(filepath)); in ath12k_core_fetch_board_data_api_n() 270 filepath, len); in ath12k_core_fetch_board_data_api_n() 285 filepath, len); in ath12k_core_fetch_board_data_api_n() 339 boardname, filepath); in ath12k_core_fetch_board_data_api_n()
|
/freebsd/contrib/opencsd/decoder/include/opencsd/c_api/ |
H A D | opencsd_c_api.h | 265 …t handle, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const char *filepath); 284 …*region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const char *filepath);
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | core.c | 1197 char *filename, filepath[100]; in ath11k_core_fetch_board_data_api_n() local 1218 filepath, sizeof(filepath)); in ath11k_core_fetch_board_data_api_n() 1224 filepath, len); in ath11k_core_fetch_board_data_api_n() 1239 filepath, len); in ath11k_core_fetch_board_data_api_n() 1295 boardname, filepath); in ath11k_core_fetch_board_data_api_n() 1326 char *filename, filepath[100]; in ath11k_core_fetch_bdf() local 1363 filepath, sizeof(filepath)); in ath11k_core_fetch_bdf() 1365 boardname, filepath); in ath11k_core_fetch_bdf() 1368 fallback_boardname, filepath); in ath11k_core_fetch_bdf()
|
/freebsd/contrib/opencsd/decoder/source/c_api/ |
H A D | ocsd_c_api.cpp | 383 …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 389 err = pDT->addBinFileMemAcc(address,mem_space,filepath); in ocsd_dt_add_binfile_mem_acc() 393 …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 399 err = pDT->addBinFileRegionMemAcc(region_array,num_regions,mem_space,filepath); in ocsd_dt_add_binfile_region_mem_acc()
|
/freebsd/lib/googletest/tests/gtest_main/ |
H A D | Makefile | 6 GTESTS+= googletest-filepath-test
|
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/ |
H A D | zutil_device_path_os.c | 174 zfs_read_sysfs_file(char *filepath) in zfs_read_sysfs_file() argument 179 FILE *fp = fopen(filepath, "r"); in zfs_read_sysfs_file()
|
/freebsd/lib/googletest/gtest/ |
H A D | Makefile | 30 INTERNAL_INCS+= gtest/internal/gtest-filepath.h
|
/freebsd/tests/sys/cddl/zfs/include/ |
H A D | libtest.kshlib | 3305 typeset filepath=$2 3315 eval `$STAT -s "$filepath"` 3389 typeset filepath=$2 3392 dva=$(file_dva $dataset $filepath) 3393 [ $? -ne 0 ] && log_fail "ERROR: Can't find file $filepath on $dataset" 3401 log_note "Corrupting ${dataset}'s $filepath on $vdev at DVA $dva with ashift $ashift"
|
/freebsd/usr.sbin/gssd/ |
H A D | gssd.c | 1112 is_a_valid_tgt_cache(const char *filepath, uid_t uid, int *retrating, in is_a_valid_tgt_cache() argument 1138 retval = krb5_cc_resolve(context, filepath, &ccache); in is_a_valid_tgt_cache()
|
/freebsd/contrib/googletest/googletest/ |
H A D | CMakeLists.txt | 202 cxx_test(googletest-filepath-test gtest_main)
|