/freebsd-13-stable/tools/tools/nanobsd/Files/root/ |
H A D | save_cfg | 49 file_path=`echo "$filename" | sed 's/\/[^/]*$//'` 50 if [ $file_path != $filename ] 52 if [ ! -d /etc/$file_path ] 56 echo "Error: Path /etc/$file_path is not directory." 74 if [ $file_path != $filename ] 76 mkdir -vp /cfg/$file_path 82 if [ $file_path != $filename ] 84 mkdir -vp /cfg/.ignore/$file_path
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/ |
H A D | mmapwrite.c | 59 char *file_path = filename; local 64 fd = open(file_path, O_RDWR | O_CREAT, 0777); 66 err(1, "failed to open %s", file_path); 92 char *file_path = filename; local 95 ret = access(file_path, F_OK); 99 fd = open(file_path, O_RDWR | O_CREAT, 0777); 112 fd = open(file_path, O_RDWR, 0777);
|
/freebsd-13-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_rwtoro.c | 50 static char file_path[MAXPATHLEN]; variable 96 snprintf(file_path, sizeof(file_path), "%s/file", prefix); 97 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); 99 RL(file_fd = rump_sys_open(file_path, O_RDONLY)); 106 snprintf(file_path, sizeof(file_path), "%s/file", prefix); 107 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); 109 RL(file_fd = rump_sys_open(file_path, O_RDONLY)); 110 RL(rump_sys_unlink(file_path)); [all...] |
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/ |
H A D | zfs_ids_to_path_001_pos.ksh | 51 typeset file_path="$3" 54 typeset file_id=$(ls -i /$mntpnt/$file_path | sed 's/ .*//') 56 [[ "$output" == "$mntpnt/$file_path" ]] || \ 59 [[ "$output" == "$ds_path:/$file_path" ]] || \ 63 [[ "$output" == "$ds_path:/$file_path" ]] || \ 66 [[ "$output" == "$ds_path:/$file_path" ]] || \
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjCPlusPlus/ |
H A D | ObjCPlusPlusLanguage.cpp | 19 bool ObjCPlusPlusLanguage::IsSourceFile(llvm::StringRef file_path) const { 22 if (file_path.endswith_lower(suffix))
|
H A D | ObjCPlusPlusLanguage.h | 30 bool IsSourceFile(llvm::StringRef file_path) const override;
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_suppressions.cpp | 34 static bool GetPathAssumingFileIsRelativeToExec(const char *file_path, argument 43 internal_strncat(new_file_path, file_path, 50 static const char *FindFile(const char *file_path, argument 55 if (!FileExists(file_path) && !IsAbsolutePath(file_path) && 56 GetPathAssumingFileIsRelativeToExec(file_path, new_file_path, 60 return file_path; 63 static const char *FindFile(const char *file_path, char *, uptr) { argument 64 return file_path;
|
H A D | sanitizer_coverage_libcdep_new.cpp | 47 static void WriteModuleCoverage(char* file_path, const char* module_name, argument 49 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); 50 fd_t fd = OpenFile(file_path); 54 Printf("SanitizerCoverage: %s: %zd PCs written\n", file_path, len); 60 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); local 83 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], 96 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], 100 InternalFree(file_path);
|
/freebsd-13-stable/contrib/googletest/googletest/test/ |
H A D | gtest_list_output_unittest.py | 103 file_path = os.path.join(gtest_test_utils.GetTempDir(), 110 '%s=%s:%s' % (GTEST_OUTPUT_FLAG, out_format, file_path), 119 with open(file_path) as f:
|
H A D | googletest-filepath-test.cc | 535 FilePath file_path(FilePath::GenerateUniqueFileName(testdata_path_, 537 EXPECT_EQ(unique_file0_.string(), file_path.string()); 538 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file not there 541 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file still not there 542 CreateTextFile(file_path.c_str()); 543 EXPECT_TRUE(file_path.FileOrDirectoryExists());
|
/freebsd-13-stable/tools/regression/security/open_to_operation/ |
H A D | open_to_operation.c | 1071 char dir_path[PATH_MAX], file_path[PATH_MAX]; local 1090 strlcpy(file_path, "/tmp/open-file.XXXXXXXXXXX", sizeof(file_path)); 1091 fd = mkstemp(file_path); 1098 if (chmod(file_path, PERM_FILE) < 0) { 1099 warn("chmod %s", file_path); 1100 (void)unlink(file_path); 1107 check_dup("check_dup_file", file_path, file_modes, file_modes_count); 1110 check_dup2("check_dup2_file", file_path, file_modes, 1117 check_fchflags("check_fchflags_file", file_path, file_mode [all...] |
/freebsd-13-stable/contrib/serf/buckets/ |
H A D | file_buckets.c | 50 const char *file_path; local 59 apr_file_name_get(&file_path, file); 60 apr_stat(&finfo, file_path, APR_FINFO_SIZE,
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libshare/os/linux/ |
H A D | smb.c | 80 char file_path[PATH_MAX], line[512], *token, *key, *value; local 99 snprintf(file_path, sizeof (file_path), 102 if (stat(file_path, &eStat) == -1) { 110 if ((share_file_fp = fopen(file_path, "re")) == NULL) {
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/API/ |
H A D | SBDeclaration.cpp | 166 char file_path[PATH_MAX * 2]; local 167 m_opaque_up->GetFile().GetPath(file_path, sizeof(file_path)); 168 strm.Printf("%s:%u", file_path, GetLine());
|
H A D | SBLineEntry.cpp | 179 char file_path[PATH_MAX * 2]; local 180 m_opaque_up->file.GetPath(file_path, sizeof(file_path)); 181 strm.Printf("%s:%u", file_path, GetLine());
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Symbol/ |
H A D | LocateSymbolFileMacOSX.cpp | 552 char file_path[PATH_MAX]; local 553 file_path[0] = '\0'; 559 file_spec_ptr->GetPath(file_path, sizeof(file_path)); 565 else if (file_path[0] != '\0') 567 g_dsym_for_uuid_exe_path, file_path); 578 else if (file_path[0] != '\0') 580 g_dsym_for_uuid_exe_path, file_path); 639 else if (file_path[0] != '\0') 641 g_dsym_for_uuid_exe_path, file_path); [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Target/ |
H A D | Language.cpp | 78 Language *Language::FindPlugin(llvm::StringRef file_path) { argument 80 ForEach([&result, file_path](Language *language) { 81 if (language->IsSourceFile(file_path)) { 91 llvm::StringRef file_path) { 96 result = FindPlugin(file_path); 90 FindPlugin(LanguageType language, llvm::StringRef file_path) argument
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
H A D | DYLDRendezvous.cpp | 490 static bool isLoadBiasIncorrect(Target &target, const std::string &file_path) { argument 496 (file_path == "/system/bin/linker" || 497 file_path == "/system/bin/linker64"); 501 std::string const &file_path) { 504 if (isLoadBiasIncorrect(m_process->GetTarget(), file_path)) { 548 std::string file_path = ReadStringFromMemory(entry.path_addr); 549 entry.file_spec.SetFile(file_path, FileSpec::Style::native); 551 UpdateBaseAddrIfNecessary(entry, file_path); 500 UpdateBaseAddrIfNecessary(SOEntry &entry, std::string const &file_path) argument
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | CPlusPlusLanguage.h | 91 bool IsSourceFile(llvm::StringRef file_path) const override;
|
/freebsd-13-stable/contrib/subversion/subversion/libsvn_fs_fs/ |
H A D | rev_file.c | 64 const char *file_path; member in struct:set_read_only_baton_t 80 err = svn_io_set_file_read_only(ro_baton->file_path, TRUE, ro_baton->pool); 111 baton->file_path = apr_pstrdup(result_pool, path);
|
H A D | fs.c | 488 const char *file_path; 499 file_path = svn_fs_fs__path_current(fs, subpool); 503 SVN_ERR(svn_io_remove_file2(file_path, TRUE, subpool)); 504 SVN_ERR(svn_io_file_create_empty(file_path, subpool)); 482 const char *file_path; local
|
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | Language.h | 154 static Language *FindPlugin(llvm::StringRef file_path); 157 llvm::StringRef file_path); 166 virtual bool IsSourceFile(llvm::StringRef file_path) const = 0;
|
/freebsd-13-stable/contrib/subversion/subversion/libsvn_fs_x/ |
H A D | fs.c | 442 const char *file_path; 453 file_path = svn_fs_x__path_current(fs, subpool); 457 SVN_ERR(svn_io_remove_file2(file_path, TRUE, subpool)); 458 SVN_ERR(svn_io_file_create_empty(file_path, subpool)); 436 const char *file_path; local
|
H A D | rev_file.c | 125 const char *file_path; member in struct:set_read_only_baton_t 141 err = svn_io_set_file_read_only(ro_baton->file_path, TRUE, ro_baton->pool); 172 baton->file_path = apr_pstrdup(result_pool, path);
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
H A D | ObjCLanguage.h | 122 bool IsSourceFile(llvm::StringRef file_path) const override;
|