| /freebsd-12.1/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); in open_file_ro() 97 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); in open_file_ro() 99 RL(file_fd = rump_sys_open(file_path, O_RDONLY)); in open_file_ro() 106 snprintf(file_path, sizeof(file_path), "%s/file", prefix); in open_file_ro_unlink() 107 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); in open_file_ro_unlink() 109 RL(file_fd = rump_sys_open(file_path, O_RDONLY)); in open_file_ro_unlink() 110 RL(rump_sys_unlink(file_path)); in open_file_ro_unlink() 117 snprintf(file_path, sizeof(file_path), "%s/file", prefix); in open_file_rw() 118 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); in open_file_rw()
|
| /freebsd-12.1/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-12.1/tools/regression/security/open_to_operation/ |
| H A D | open_to_operation.c | 1071 char dir_path[PATH_MAX], file_path[PATH_MAX]; in main() local 1090 strlcpy(file_path, "/tmp/open-file.XXXXXXXXXXX", sizeof(file_path)); in main() 1091 fd = mkstemp(file_path); in main() 1098 if (chmod(file_path, PERM_FILE) < 0) { in main() 1099 warn("chmod %s", file_path); in main() 1100 (void)unlink(file_path); in main() 1110 check_dup2("check_dup2_file", file_path, file_modes, in main() 1131 check_flock("check_flock_file", file_path, file_modes, in main() 1200 file_path, file_modes, file_modes_count); in main() 1227 file_path, file_modes, file_modes_count); in main() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_coverage_libcdep_new.cc | 48 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument 50 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage() 51 fd_t fd = OpenFile(file_path); in WriteModuleCoverage() 55 Printf("SanitizerCoverage: %s: %zd PCs written\n", file_path, len); in WriteModuleCoverage() 61 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local 84 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage() 97 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage() 101 InternalFree(file_path); in SanitizerDumpCoverage()
|
| H A D | sanitizer_suppressions.cc | 34 static bool GetPathAssumingFileIsRelativeToExec(const char *file_path, in GetPathAssumingFileIsRelativeToExec() argument 43 internal_strncat(new_file_path, file_path, in GetPathAssumingFileIsRelativeToExec()
|
| /freebsd-12.1/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_, in TEST_F() local 537 EXPECT_EQ(unique_file0_.string(), file_path.string()); in TEST_F() 538 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file not there in TEST_F() 541 EXPECT_FALSE(file_path.FileOrDirectoryExists()); // file still not there in TEST_F() 542 CreateTextFile(file_path.c_str()); in TEST_F() 543 EXPECT_TRUE(file_path.FileOrDirectoryExists()); in TEST_F()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/API/ |
| H A D | SBDeclaration.cpp | 142 char file_path[PATH_MAX * 2]; in GetDescription() local 143 m_opaque_ap->GetFile().GetPath(file_path, sizeof(file_path)); in GetDescription() 144 strm.Printf("%s:%u", file_path, GetLine()); in GetDescription()
|
| H A D | SBLineEntry.cpp | 179 char file_path[PATH_MAX * 2]; in GetDescription() local 180 m_opaque_ap->file.GetPath(file_path, sizeof(file_path)); in GetDescription() 181 strm.Printf("%s:%u", file_path, GetLine()); in GetDescription()
|
| /freebsd-12.1/contrib/serf/buckets/ |
| H A D | file_buckets.c | 50 const char *file_path; in serf_bucket_file_create() local 59 apr_file_name_get(&file_path, file); in serf_bucket_file_create() 60 apr_stat(&finfo, file_path, APR_FINFO_SIZE, in serf_bucket_file_create()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| H A D | DYLDRendezvous.cpp | 454 static bool isLoadBiasIncorrect(Target &target, const std::string &file_path) { in isLoadBiasIncorrect() argument 460 (file_path == "/system/bin/linker" || in isLoadBiasIncorrect() 461 file_path == "/system/bin/linker64"); in isLoadBiasIncorrect() 465 std::string const &file_path) { in UpdateBaseAddrIfNecessary() argument 468 if (isLoadBiasIncorrect(m_process->GetTarget(), file_path)) { in UpdateBaseAddrIfNecessary() 515 std::string file_path = ReadStringFromMemory(entry.path_addr); in ReadSOEntryFromMemory() local 516 entry.file_spec.SetFile(file_path, FileSpec::Style::native); in ReadSOEntryFromMemory() 518 UpdateBaseAddrIfNecessary(entry, file_path); in ReadSOEntryFromMemory()
|
| H A D | DYLDRendezvous.h | 241 void UpdateBaseAddrIfNecessary(SOEntry &entry, std::string const &file_path);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/ObjCPlusPlus/ |
| H A D | ObjCPlusPlusLanguage.cpp | 19 bool ObjCPlusPlusLanguage::IsSourceFile(llvm::StringRef file_path) const { in IsSourceFile() 22 if (file_path.endswith_lower(suffix)) in IsSourceFile()
|
| H A D | ObjCPlusPlusLanguage.h | 31 bool IsSourceFile(llvm::StringRef file_path) const override;
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Target/ |
| H A D | Language.cpp | 80 Language *Language::FindPlugin(llvm::StringRef file_path) { in FindPlugin() argument 82 ForEach([&result, file_path](Language *language) { in FindPlugin() 83 if (language->IsSourceFile(file_path)) { in FindPlugin() 93 llvm::StringRef file_path) { in FindPlugin() argument 98 result = FindPlugin(file_path); in FindPlugin()
|
| /freebsd-12.1/contrib/llvm/tools/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-12.1/contrib/subversion/subversion/libsvn_fs_fs/ |
| H A D | rev_file.c | 64 const char *file_path; member 80 err = svn_io_set_file_read_only(ro_baton->file_path, TRUE, ro_baton->pool); in set_read_only() 111 baton->file_path = apr_pstrdup(result_pool, path); in auto_make_writable()
|
| H A D | fs.c | 403 const char *file_path; in fs_open_for_recovery() local 414 file_path = svn_fs_fs__path_current(fs, subpool); in fs_open_for_recovery() 418 SVN_ERR(svn_io_remove_file2(file_path, TRUE, subpool)); in fs_open_for_recovery() 419 SVN_ERR(svn_io_file_create_empty(file_path, subpool)); in fs_open_for_recovery()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_fs_x/ |
| H A D | fs.c | 435 const char *file_path; in x_open_for_recovery() local 446 file_path = svn_fs_x__path_current(fs, subpool); in x_open_for_recovery() 450 SVN_ERR(svn_io_remove_file2(file_path, TRUE, subpool)); in x_open_for_recovery() 451 SVN_ERR(svn_io_file_create_empty(file_path, subpool)); in x_open_for_recovery()
|
| H A D | rev_file.c | 125 const char *file_path; member 141 err = svn_io_set_file_read_only(ro_baton->file_path, TRUE, ro_baton->pool); in set_read_only() 172 baton->file_path = apr_pstrdup(result_pool, path); in auto_make_writable()
|
| /freebsd-12.1/contrib/googletest/googletest/scripts/ |
| H A D | pump.py | 836 file_path = argv[-1] 837 output_str = ConvertFromPumpSource(file(file_path, 'r').read()) 838 if file_path.endswith('.pump'): 839 output_file_path = file_path[:-5] 848 (os.path.basename(__file__), os.path.basename(file_path)))
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CPlusPlusLanguage.h | 92 bool IsSourceFile(llvm::StringRef file_path) const override;
|
| H A D | CPlusPlusLanguage.cpp | 1079 bool CPlusPlusLanguage::IsSourceFile(llvm::StringRef file_path) const { in IsSourceFile() 1083 if (file_path.endswith_lower(suffix)) in IsSourceFile() 1089 return file_path.contains("/usr/include/c++/"); in IsSourceFile()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/ObjC/ |
| H A D | ObjCLanguage.h | 123 bool IsSourceFile(llvm::StringRef file_path) const override;
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/ |
| H A D | ModuleList.h | 508 const char *file_path, uint32_t line, bool check_inlines,
|