Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 25 of 42) sorted by relevance

12

/freebsd-12.1/contrib/netbsd-tests/fs/vfs/
H A Dt_rwtoro.c50 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 Dsave_cfg49 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 Dopen_to_operation.c1071 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 Dsanitizer_coverage_libcdep_new.cc48 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 Dsanitizer_suppressions.cc34 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 Dgtest_list_output_unittest.py103 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 Dgoogletest-filepath-test.cc535 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 DSBDeclaration.cpp142 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 DSBLineEntry.cpp179 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 Dfile_buckets.c50 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 DDYLDRendezvous.cpp454 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 DDYLDRendezvous.h241 void UpdateBaseAddrIfNecessary(SOEntry &entry, std::string const &file_path);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/ObjCPlusPlus/
H A DObjCPlusPlusLanguage.cpp19 bool ObjCPlusPlusLanguage::IsSourceFile(llvm::StringRef file_path) const { in IsSourceFile()
22 if (file_path.endswith_lower(suffix)) in IsSourceFile()
H A DObjCPlusPlusLanguage.h31 bool IsSourceFile(llvm::StringRef file_path) const override;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DLanguage.cpp80 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 DLanguage.h154 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 Drev_file.c64 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 Dfs.c403 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 Dfs.c435 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 Drev_file.c125 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 Dpump.py836 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 DCPlusPlusLanguage.h92 bool IsSourceFile(llvm::StringRef file_path) const override;
H A DCPlusPlusLanguage.cpp1079 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 DObjCLanguage.h123 bool IsSourceFile(llvm::StringRef file_path) const override;
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DModuleList.h508 const char *file_path, uint32_t line, bool check_inlines,

12