Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/
HDt_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-11-stable/tools/tools/nanobsd/Files/root/
HDsave_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-11-stable/tools/regression/security/open_to_operation/
HDopen_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()
1107 check_dup("check_dup_file", file_path, file_modes, file_modes_count); in main()
1110 check_dup2("check_dup2_file", file_path, file_modes, in main()
1117 check_fchflags("check_fchflags_file", file_path, file_modes, in main()
1122 check_fchmod("check_fchmod_file", file_path, PERM_FILE, file_modes, in main()
[all …]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_suppressions.cpp34 static bool GetPathAssumingFileIsRelativeToExec(const char *file_path, in GetPathAssumingFileIsRelativeToExec() argument
43 internal_strncat(new_file_path, file_path, in GetPathAssumingFileIsRelativeToExec()
50 static const char *FindFile(const char *file_path, in FindFile() argument
55 if (!FileExists(file_path) && !IsAbsolutePath(file_path) && in FindFile()
56 GetPathAssumingFileIsRelativeToExec(file_path, new_file_path, in FindFile()
60 return file_path; in FindFile()
63 static const char *FindFile(const char *file_path, char *, uptr) { in FindFile() argument
64 return file_path; in FindFile()
HDsanitizer_coverage_libcdep_new.cpp47 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
49 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
50 fd_t fd = OpenFile(file_path); in WriteModuleCoverage()
54 Printf("SanitizerCoverage: %s: %zd PCs written\n", file_path, len); in WriteModuleCoverage()
60 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
83 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
96 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
100 InternalFree(file_path); in SanitizerDumpCoverage()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
HDLocateSymbolFileMacOSX.cpp566 char file_path[PATH_MAX]; in DownloadObjectAndSymbolFile() local
567 file_path[0] = '\0'; in DownloadObjectAndSymbolFile()
573 file_spec_ptr->GetPath(file_path, sizeof(file_path)); in DownloadObjectAndSymbolFile()
579 else if (file_path[0] != '\0') in DownloadObjectAndSymbolFile()
581 g_dsym_for_uuid_exe_path, file_path); in DownloadObjectAndSymbolFile()
592 else if (file_path[0] != '\0') in DownloadObjectAndSymbolFile()
594 g_dsym_for_uuid_exe_path, file_path); in DownloadObjectAndSymbolFile()
653 else if (file_path[0] != '\0') in DownloadObjectAndSymbolFile()
655 g_dsym_for_uuid_exe_path, file_path); in DownloadObjectAndSymbolFile()
/freebsd-11-stable/contrib/serf/buckets/
HDfile_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-11-stable/contrib/llvm-project/lldb/source/API/
HDSBDeclaration.cpp166 char file_path[PATH_MAX * 2]; in GetDescription() local
167 m_opaque_up->GetFile().GetPath(file_path, sizeof(file_path)); in GetDescription()
168 strm.Printf("%s:%u", file_path, GetLine()); in GetDescription()
HDSBLineEntry.cpp179 char file_path[PATH_MAX * 2]; in GetDescription() local
180 m_opaque_up->file.GetPath(file_path, sizeof(file_path)); in GetDescription()
181 strm.Printf("%s:%u", file_path, GetLine()); in GetDescription()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
HDDYLDRendezvous.cpp490 static bool isLoadBiasIncorrect(Target &target, const std::string &file_path) { in isLoadBiasIncorrect() argument
496 (file_path == "/system/bin/linker" || in isLoadBiasIncorrect()
497 file_path == "/system/bin/linker64"); in isLoadBiasIncorrect()
501 std::string const &file_path) { in UpdateBaseAddrIfNecessary() argument
504 if (isLoadBiasIncorrect(m_process->GetTarget(), file_path)) { in UpdateBaseAddrIfNecessary()
548 std::string file_path = ReadStringFromMemory(entry.path_addr); in ReadSOEntryFromMemory() local
549 entry.file_spec.SetFile(file_path, FileSpec::Style::native); in ReadSOEntryFromMemory()
551 UpdateBaseAddrIfNecessary(entry, file_path); in ReadSOEntryFromMemory()
HDDYLDRendezvous.h244 void UpdateBaseAddrIfNecessary(SOEntry &entry, std::string const &file_path);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjCPlusPlus/
HDObjCPlusPlusLanguage.cpp18 bool ObjCPlusPlusLanguage::IsSourceFile(llvm::StringRef file_path) const { in IsSourceFile()
21 if (file_path.endswith_lower(suffix)) in IsSourceFile()
HDObjCPlusPlusLanguage.h30 bool IsSourceFile(llvm::StringRef file_path) const override;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/
HDLanguage.cpp79 Language *Language::FindPlugin(llvm::StringRef file_path) { in FindPlugin() argument
81 ForEach([&result, file_path](Language *language) { in FindPlugin()
82 if (language->IsSourceFile(file_path)) { in FindPlugin()
92 llvm::StringRef file_path) { in FindPlugin() argument
97 result = FindPlugin(file_path); in FindPlugin()
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Target/
HDLanguage.h154 static Language *FindPlugin(llvm::StringRef file_path);
157 llvm::StringRef file_path);
166 virtual bool IsSourceFile(llvm::StringRef file_path) const = 0;
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_fs/
HDrev_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()
HDfs.c482 const char *file_path; in fs_open_for_recovery() local
493 file_path = svn_fs_fs__path_current(fs, subpool); in fs_open_for_recovery()
497 SVN_ERR(svn_io_remove_file2(file_path, TRUE, subpool)); in fs_open_for_recovery()
498 SVN_ERR(svn_io_file_create_empty(file_path, subpool)); in fs_open_for_recovery()
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_x/
HDfs.c436 const char *file_path; in x_open_for_recovery() local
447 file_path = svn_fs_x__path_current(fs, subpool); in x_open_for_recovery()
451 SVN_ERR(svn_io_remove_file2(file_path, TRUE, subpool)); in x_open_for_recovery()
452 SVN_ERR(svn_io_file_create_empty(file_path, subpool)); in x_open_for_recovery()
HDrev_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()
HDrevprops.c897 const char *file_path; in read_pack_revprop() local
906 file_path = get_revprop_pack_filepath(result, &result->entry, in read_pack_revprop()
910 file_path, in read_pack_revprop()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
HDCPlusPlusLanguage.h91 bool IsSourceFile(llvm::StringRef file_path) const override;
HDCPlusPlusLanguage.cpp1121 bool CPlusPlusLanguage::IsSourceFile(llvm::StringRef file_path) const { in IsSourceFile()
1125 if (file_path.endswith_lower(suffix)) in IsSourceFile()
1131 return file_path.contains("/usr/include/c++/"); in IsSourceFile()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
HDObjCLanguage.h122 bool IsSourceFile(llvm::StringRef file_path) const override;
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/
HDModuleList.h414 const char *file_path, uint32_t line, bool check_inlines,
/freebsd-11-stable/contrib/subversion/subversion/svn/
HDconflict-callbacks.c344 const char *file_path; in edit_prop_conflict() local
348 SVN_ERR(svn_stream_open_unique(&merged_prop, &file_path, NULL, in edit_prop_conflict()
357 SVN_ERR(open_editor(&performed_edit, file_path, editor_cmd, in edit_prop_conflict()
363 SVN_ERR(svn_stringbuf_from_file2(&buf, file_path, scratch_pool)); in edit_prop_conflict()

12