Home
last modified time | relevance | path

Searched refs:fspec (Results 1 – 25 of 44) sorted by relevance

12

/openbsd-src/gnu/usr.bin/perl/ext/VMS-Filespec/lib/VMS/
H A DFilespec.pm251 my($fspec,$defaults) = @_;
252 if (!$fspec) { return undef }
255 $fspec =~ s/:$//;
259 while ($fspec !~ m#[:>\]]# && $ENV{$fspec}) { $fspec = $ENV{$fspec} }
261 if ($fspec =~ /:/) {
263 ($dev,$base) = split(/:/,$fspec);
271 $fspec = $dev . $base;
274 ($node,$dev,$dir,$name,$type,$ver) = $fspec =~
289 $fspec = '';
290 $fspec .= $node if $node;
[all …]
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBHostOS.cpp49 FileSpec fspec; in GetLLDBPath() local
52 fspec = HostInfo::GetShlibDir(); in GetLLDBPath()
55 fspec = HostInfo::GetSupportExeDir(); in GetLLDBPath()
58 fspec = HostInfo::GetHeaderDir(); in GetLLDBPath()
62 fspec = ScriptInterpreterPython::GetPythonDir(); in GetLLDBPath()
66 fspec = HostInfo::GetSystemPluginDir(); in GetLLDBPath()
69 fspec = HostInfo::GetUserPluginDir(); in GetLLDBPath()
72 fspec = HostInfo::GetProcessTempDir(); in GetLLDBPath()
75 fspec = HostInfo::GetGlobalTempDir(); in GetLLDBPath()
78 fspec = GetClangResourceDir(); in GetLLDBPath()
[all …]
/openbsd-src/usr.sbin/installboot/
H A Dmacppc_installboot.c128 rslt = asprintf(&args.fspec, in create_filesystem()
138 rslt = snprintf(cmd, sizeof(cmd), newfsfmt, args.fspec); in create_filesystem()
141 free(args.fspec); in create_filesystem()
148 (nowrite ? "would newfs" : "newfsing"), args.fspec); in create_filesystem()
153 free(args.fspec); in create_filesystem()
158 free(args.fspec); in create_filesystem()
180 rslt = asprintf(&args.fspec, in write_filesystem()
196 rslt = snprintf(cmd, sizeof(cmd), fsckfmt, args.fspec); in write_filesystem()
245 free(args.fspec); in write_filesystem()
H A Docteon_installboot.c128 rslt = asprintf(&args.fspec, in create_filesystem()
138 rslt = snprintf(cmd, sizeof(cmd), newfsfmt, args.fspec); in create_filesystem()
141 free(args.fspec); in create_filesystem()
148 (nowrite ? "would newfs" : "newfsing"), args.fspec); in create_filesystem()
153 free(args.fspec); in create_filesystem()
158 free(args.fspec); in create_filesystem()
180 rslt = asprintf(&args.fspec, in write_filesystem()
196 rslt = snprintf(cmd, sizeof(cmd), fsckfmt, args.fspec); in write_filesystem()
245 free(args.fspec); in write_filesystem()
H A Dpowerpc64_installboot.c135 rslt = asprintf(&args.fspec, in create_filesystem()
145 rslt = snprintf(cmd, sizeof(cmd), newfsfmt, args.fspec); in create_filesystem()
148 free(args.fspec); in create_filesystem()
155 (nowrite ? "would newfs" : "newfsing"), args.fspec); in create_filesystem()
160 free(args.fspec); in create_filesystem()
165 free(args.fspec); in create_filesystem()
188 rslt = asprintf(&args.fspec, in write_filesystem()
204 rslt = snprintf(cmd, sizeof(cmd), fsckfmt, args.fspec); in write_filesystem()
280 free(args.fspec); in write_filesystem()
H A Defi_installboot.c157 rslt = asprintf(&args.fspec, in create_filesystem()
167 rslt = snprintf(cmd, sizeof(cmd), newfsfmt, args.fspec); in create_filesystem()
170 free(args.fspec); in create_filesystem()
177 (nowrite ? "would newfs" : "newfsing"), args.fspec); in create_filesystem()
182 free(args.fspec); in create_filesystem()
187 free(args.fspec); in create_filesystem()
213 rslt = asprintf(&args.fspec, in write_filesystem()
229 rslt = snprintf(cmd, sizeof(cmd), fsckfmt, args.fspec); in write_filesystem()
365 free(args.fspec); in write_firmware()
H A Dloongson_installboot.c119 rslt = asprintf(&args.fspec, in write_filesystem()
134 rslt = snprintf(cmd, sizeof(cmd), fsckfmt, args.fspec); in write_filesystem()
148 args.fspec); in write_filesystem()
204 free(args.fspec); in write_filesystem()
H A Di386_installboot.c254 rslt = asprintf(&args.fspec, in create_filesystem()
264 rslt = snprintf(cmd, sizeof(cmd), newfsfmt, args.fspec); in create_filesystem()
267 free(args.fspec); in create_filesystem()
274 (nowrite ? "would newfs" : "newfsing"), args.fspec); in create_filesystem()
279 free(args.fspec); in create_filesystem()
284 free(args.fspec); in create_filesystem()
312 rslt = asprintf(&args.fspec, in write_filesystem()
328 rslt = snprintf(cmd, sizeof(cmd), fsckfmt, args.fspec); in write_filesystem()
471 free(args.fspec); in findopenbsd()
/openbsd-src/sys/ufs/mfs/
H A Dmfs_vfsops.c91 char fspec[MNAMELEN]; in mfs_mount() local
112 if (args && args->fspec == NULL) in mfs_mount()
118 error = copyinstr(args->fspec, fspec, sizeof(fspec), NULL); in mfs_mount()
147 strlcpy(mp->mnt_stat.f_mntfromname, fspec, MNAMELEN); in mfs_mount()
149 strlcpy(mp->mnt_stat.f_mntfromspec, fspec, MNAMELEN); in mfs_mount()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformMacOSX.cpp116 if (FileSpec fspec = HostInfo::GetXcodeContentsDirectory()) { in GetSDKDirectory() local
120 fspec.GetPath().c_str(), version.getMajor(), in GetSDKDirectory()
122 if (FileSystem::Instance().Exists(fspec)) in GetSDKDirectory()
134 FileSpec fspec(*sdk_path_or_err); in GetSDKDirectory() local
135 if (fspec) { in GetSDKDirectory()
136 if (FileSystem::Instance().Exists(fspec)) in GetSDKDirectory()
137 return ConstString(fspec.GetPath()); in GetSDKDirectory()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/PECOFF/
H A DSymbolVendorPECOFF.cpp74 FileSpec fspec = module_sp->GetSymbolFileFileSpec(); in CreateInstance() local
76 if (!fspec) in CreateInstance()
77 fspec = obj_file->GetDebugLink().value_or(FileSpec()); in CreateInstance()
86 module_spec.GetSymbolFileSpec() = fspec; in CreateInstance()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp74 FileSpec fspec = module_sp->GetSymbolFileFileSpec(); in CreateInstance() local
76 if (!fspec) in CreateInstance()
77 fspec = obj_file->GetDebugLink().value_or(FileSpec()); in CreateInstance()
86 module_spec.GetSymbolFileSpec() = fspec; in CreateInstance()
/openbsd-src/gnu/llvm/lldb/bindings/interface/
H A DSBModuleSpec.i42 SetFileSpec (const lldb::SBFileSpec &fspec);
62 SetPlatformFileSpec (const lldb::SBFileSpec &fspec);
68 SetSymbolFileSpec (const lldb::SBFileSpec &fspec);
/openbsd-src/gnu/llvm/lldb/include/lldb/API/
H A DSBModuleSpec.h43 void SetFileSpec(const lldb::SBFileSpec &fspec);
60 void SetPlatformFileSpec(const lldb::SBFileSpec &fspec);
64 void SetSymbolFileSpec(const lldb::SBFileSpec &fspec);
H A DSBFileSpec.h79 SBFileSpec(const lldb_private::FileSpec &fspec);
81 void SetFileSpec(const lldb_private::FileSpec &fspec);
/openbsd-src/gnu/llvm/lldb/source/Host/macosx/objcxx/
H A DHostInfoMacOSX.mm307 FileSpec fspec(developer_dir_env_var);
308 if (FileSystem::Instance().Exists(fspec))
309 g_env_developer_dir = fspec.GetPath();
319 if (FileSpec fspec = HostInfo::GetShlibDir()) {
320 if (FileSystem::Instance().Exists(fspec)) {
322 XcodeSDK::FindXcodeContentsDirectoryInPath(fspec.GetPath());
348 FileSpec fspec(*sdk_path_or_err);
349 if (fspec) {
350 if (FileSystem::Instance().Exists(fspec)) {
352 XcodeSDK::FindXcodeContentsDirectoryInPath(fspec.GetPath());
[all …]
/openbsd-src/sys/sys/
H A Dmount.h76 char *fspec; /* block special device to mount */ member
84 char *fspec; /* name to export for statfs */ member
94 char *fspec; /* block special device to mount */ member
185 char *fspec; /* blocks special holding the fs to mount */ member
205 char *fspec; /* block special device to mount */ member
221 char *fspec; /* Block special device to mount */ member
/openbsd-src/sys/ntfs/
H A Dntfs_vfsops.c124 char fspec[MNAMELEN]; in ntfs_mount() local
140 if (args && args->fspec == NULL) { in ntfs_mount()
159 err = copyinstr(args->fspec, fspec, sizeof(fspec), NULL); in ntfs_mount()
163 if (disk_map(fspec, fname, sizeof(fname), DM_OPENBLCK) == -1) in ntfs_mount()
164 bcopy(fspec, fname, sizeof(fname)); in ntfs_mount()
201 err = set_statfs_info(NULL, UIO_USERSPACE, args->fspec, in ntfs_mount()
224 strlcpy(mp->mnt_stat.f_mntfromspec, fspec, MNAMELEN); in ntfs_mount()
/openbsd-src/sbin/mount_ext2fs/
H A Dmount_ext2fs.c77 args.fspec = argv[0]; /* The name of the device file. */ in main()
104 errx(1, "%s on %s: %s", args.fspec, fs_name, errcause); in main()
/openbsd-src/sbin/mount_ffs/
H A Dmount_ffs.c84 args.fspec = argv[0]; /* The name of the device file. */ in main()
114 errx(1, "%s on %s: %s", args.fspec, fs_name, errcause); in main()
/openbsd-src/sbin/mount_cd9660/
H A Dmount_cd9660.c108 args.fspec = dev; in main()
123 err(1, "%s on %s", args.fspec, dir); in main()
/openbsd-src/sys/msdosfs/
H A Dmsdosfs_vfsops.c108 char fspec[MNAMELEN]; in msdosfs_mount() local
146 if (args && args->fspec == NULL) { in msdosfs_mount()
161 error = copyinstr(args->fspec, fspec, sizeof(fspec), NULL); in msdosfs_mount()
165 if (disk_map(fspec, fname, sizeof(fname), DM_OPENBLCK) == -1) in msdosfs_mount()
166 bcopy(fspec, fname, sizeof(fname)); in msdosfs_mount()
216 strlcpy(mp->mnt_stat.f_mntfromspec, fspec, MNAMELEN); in msdosfs_mount()
/openbsd-src/sys/isofs/cd9660/
H A Dcd9660_vfsops.c135 char fspec[MNAMELEN]; in cd9660_mount() local
147 if (args && args->fspec == NULL) in cd9660_mount()
157 error = copyinstr(args->fspec, fspec, sizeof(fspec), NULL); in cd9660_mount()
160 NDINIT(ndp, LOOKUP, FOLLOW, UIO_SYSSPACE, fspec, p); in cd9660_mount()
190 strlcpy(mp->mnt_stat.f_mntfromname, fspec, MNAMELEN); in cd9660_mount()
192 strlcpy(mp->mnt_stat.f_mntfromspec, fspec, MNAMELEN); in cd9660_mount()
/openbsd-src/sbin/mount_msdos/
H A Dmount_msdos.c113 args.fspec = dev; in main()
147 errx(1, "%s on %s: %s", args.fspec, dir, errcause); in main()
/openbsd-src/sys/arch/octeon/stand/rdboot/
H A Ddisk.c123 ffs_args.fspec = path; in disk_proberoot()
182 ffs_args.fspec = devpath; in disk_open()

12