Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgtest_premature_exit_test.cc49 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 Dgoogletest-filepath-test.cc65 FilePath filepath(path); in _rmdir() local
67 filepath.RemoveTrailingPathSeparator().c_str()); in _rmdir()
/freebsd-12.1/stand/efi/boot1/
H A Dufs_module.c140 load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize) in load() argument
151 DPRINTF("Loading '%s' from %S\n", filepath, text); in load()
160 if ((ino = lookup(filepath)) == 0) { in load()
161 DPRINTF("Failed to lookup '%s' (file not found?)\n", filepath); in load()
166 printf("Failed to read size of '%s' ino: %d\n", filepath, ino); in load()
173 size, filepath, EFI_ERROR_CODE(status)); in load()
179 printf("Failed to read '%s' (%zd != %zu)\n", filepath, read, in load()
H A Dzfs_module.c141 load(const char *filepath, dev_info_t *devinfo, void **bufp, size_t *bufsize) in load() argument
156 DPRINTF("load: '%s' spa: '%s', devpath: %S\n", filepath, in load()
171 if ((err = zfs_lookup(&zfsmount, filepath, &dn)) != 0) { in load()
174 filepath, spa->spa_name, err); in load()
177 printf("Failed to lookup '%s' on pool '%s' (%d)\n", filepath, in load()
183 printf("Failed to stat '%s' on pool '%s' (%d)\n", filepath, in load()
191 "(%lu)\n", (intmax_t)st.st_size, spa->spa_name, filepath, EFI_ERROR_CODE(status)); in load()
H A Dboot_module.h89 EFI_STATUS (*load)(const char *filepath, dev_info_t *devinfo,
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.cc61 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() argument
63 if (!filepath) return nullptr; in StripPathPrefix()
64 if (!strip_path_prefix) return filepath; in StripPathPrefix()
65 const char *res = filepath; in StripPathPrefix()
66 if (const char *pos = internal_strstr(filepath, strip_path_prefix)) in StripPathPrefix()
H A Dsanitizer_win.cc413 const char *filepath; member
437 module_infos[i].filepath = modules[i].full_name(); in DumpProcessMap()
448 mi.filepath[0] ? mi.filepath : "[no name]"); in DumpProcessMap()
449 } else if (mi.filepath[0]) { in DumpProcessMap()
450 Printf("\t??\?-??? %s\n", mi.filepath); in DumpProcessMap()
/freebsd-12.1/contrib/opencsd/decoder/source/
H A Docsd_dcd_tree.cpp247 …mAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const std::string &filepath) in addBinFileMemAcc() argument
252 if(filepath.length() == 0) in addBinFileMemAcc()
256 ocsd_err_t err = TrcMemAccFactory::CreateFileAccessor(&p_accessor,filepath,address); in addBinFileMemAcc()
276 …on_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::string &filepath) in addBinFileRegionMemAcc() argument
281 if((region_array == 0) || (num_regions == 0) || (filepath.length() == 0)) in addBinFileRegionMemAcc()
288 …ocsd_err_t err = TrcMemAccFactory::CreateFileAccessor(&p_accessor,filepath,region_array[curr_regio… in addBinFileRegionMemAcc()
/freebsd-12.1/stand/powerpc/kboot/
H A Dmain.c218 const char *devpath, *filepath; in kboot_getdev() local
224 filepath = strchr(devspec, ':') + 1; in kboot_getdev()
227 filepath = devspec; in kboot_getdev()
237 if (path != NULL && filepath != NULL) in kboot_getdev()
238 *path = filepath; in kboot_getdev()
/freebsd-12.1/libexec/rbootd/
H A Drmpproto.c290 char *filename, filepath[RMPBOOTDATA+1]; in SendBootRepl() local
321 dst1 = filepath; in SendBootRepl()
335 filename = (filename = strrchr(filepath,'/'))? ++filename: filepath; in SendBootRepl()
/freebsd-12.1/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_lineno.c36 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-12.1/contrib/atf/atf-sh/
H A Datf-sh.cpp50 const atf::fs::path filepath(filename); in fix_plain_name() local
51 if (filepath.branch_path().str() == ".") in fix_plain_name()
/freebsd-12.1/contrib/opencsd/decoder/include/common/
H A Docsd_dcd_tree.h299 …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);
/freebsd-12.1/contrib/opencsd/decoder/include/opencsd/c_api/
H A Dopencsd_c_api.h239 …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-12.1/contrib/opencsd/decoder/source/c_api/
H A Docsd_c_api.cpp367 …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-12.1/lib/googletest/gtest_main/tests/
H A DMakefile8 GTESTS+= googletest-filepath-test
/freebsd-12.1/sys/contrib/zstd/tests/
H A Dtest-zstd-versions.py125 def sha1_of_file(filepath): argument
126 with open(filepath, 'rb') as f:
/freebsd-12.1/contrib/apr/
H A Dapr.mak70 -@erase "$(INTDIR)\filepath.obj"
176 "$(INTDIR)\filepath.obj" \
284 -@erase "$(INTDIR)\filepath.obj"
390 "$(INTDIR)\filepath.obj" \
498 -@erase "$(INTDIR)\filepath.obj"
604 "$(INTDIR)\filepath.obj" \
712 -@erase "$(INTDIR)\filepath.obj"
818 "$(INTDIR)\filepath.obj" \
926 -@erase "$(INTDIR)\filepath.obj"
1032 "$(INTDIR)\filepath.obj" \
[all …]
H A Dlibapr.mak69 -@erase "$(INTDIR)\filepath.obj"
184 "$(INTDIR)\filepath.obj" \
305 -@erase "$(INTDIR)\filepath.obj"
420 "$(INTDIR)\filepath.obj" \
541 -@erase "$(INTDIR)\filepath.obj"
656 "$(INTDIR)\filepath.obj" \
777 -@erase "$(INTDIR)\filepath.obj"
892 "$(INTDIR)\filepath.obj" \
1013 -@erase "$(INTDIR)\filepath.obj"
1128 "$(INTDIR)\filepath.obj" \
[all …]
/freebsd-12.1/lib/googletest/gtest/
H A DMakefile30 INTERNAL_INCS+= gtest/internal/gtest-filepath.h
/freebsd-12.1/contrib/apr/include/
H A Dapr_file_info.h337 const char **filepath,
/freebsd-12.1/usr.bin/svn/lib/libapr/
H A DMakefile11 epoll.c errorcodes.c fileacc.c filedup.c filepath.c \
/freebsd-12.1/tests/sys/cddl/zfs/include/
H A Dlibtest.kshlib3313 typeset filepath=$2
3323 eval `$STAT -s "$filepath"`
3397 typeset filepath=$2
3400 dva=$(file_dva $dataset $filepath)
3401 [ $? -ne 0 ] && log_fail "ERROR: Can't find file $filepath on $dataset"
3409 log_note "Corrupting ${dataset}'s $filepath on $vdev at DVA $dva with ashift $ashift"
/freebsd-12.1/contrib/googletest/googletest/
H A DMakefile.am24 src/gtest-filepath.cc \
203 include/gtest/internal/gtest-filepath.h \
/freebsd-12.1/contrib/googletest/googletest/xcode/gtest.xcodeproj/
H A Dproject.pbxproj51 …600CF7658 /* gtest-filepath.h in Copy Headers Internal */ = {isa = PBXBuildFile; fileRef = 404883E…
194 404884A10E2F7BE600CF7658 /* gtest-filepath.h in Copy Headers Internal */,
236 …00CF7658 /* gtest-filepath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = s…
404 404883E30E2F799B00CF7658 /* gtest-filepath.h */,

12