Home
last modified time | relevance | path

Searched refs:SysError (Results 1 – 25 of 189) sorted by relevance

12345678

/dports/sysutils/nix/nix-2.3.10/src/libutil/
H A Dutil.cc110 throw SysError("cannot get cwd"); in absPath()
309 throw SysError("statting file"); in readFile()
578 } catch (SysError & e) { in replaceSymlink()
900 throw SysError("setting uid"); in killUser()
1058 throw SysError("dupping stdin"); in runProgram2()
1061 throw SysError("chdir failed"); in runProgram2()
1063 throw SysError("setgid failed"); in runProgram2()
1068 throw SysError("setuid failed"); in runProgram2()
1143 } catch (SysError &) { in closeMostFDs()
1519 throw SysError("blocking signals"); in startSignalHandlerThread()
[all …]
H A Darchive.cc49 if (!fd) throw SysError(format("opening file '%1%'") % path); in dumpContents()
71 throw SysError(format("getting attributes of path '%1%'") % path); in dump()
306 throw SysError(format("creating directory '%1%'") % p); in createDirectory()
313 if (!fd) throw SysError(format("creating file '%1%'") % p); in createRegularFile()
320 throw SysError("fstat"); in isExecutable()
322 throw SysError("fchmod"); in isExecutable()
335 throw SysError(format("preallocating file of %1% bytes") % len); in preallocateContents()
/dports/sysutils/nix/nix-2.3.10/src/nix/
H A Drun.cc176 throw SysError("could not execute chroot helper"); in run()
181 throw SysError("unable to exec '%s'", cmd); in run()
205 throw SysError("setting up a private mount namespace"); in chrootHelper()
222 throw SysError("mounting '%s' on '%s'", realStoreDir, storeDir); in chrootHelper()
231 throw SysError("creating directory '%s'", dst); in chrootHelper()
233 throw SysError("mounting '%s' on '%s'", src, dst); in chrootHelper()
237 if (!cwd) throw SysError("getting current directory"); in chrootHelper()
241 throw SysError(format("chrooting into '%s'") % tmpDir); in chrootHelper()
244 throw SysError(format("chdir to '%s' in chroot") % cwd); in chrootHelper()
247 throw SysError("mounting '%s' on '%s'", realStoreDir, storeDir); in chrootHelper()
[all …]
/dports/sysutils/nix/nix-2.3.10/src/libstore/
H A Doptimise-store.cc22 throw SysError(format("getting attributes of path '%1%'") % path); in makeWritable()
24 throw SysError(format("changing writability of '%1%'") % path); in makeWritable()
50 if (!dir) throw SysError(format("opening directory '%1%'") % linksDir); in loadInodeHash()
58 if (errno) throw SysError(format("reading directory '%1%'") % linksDir); in loadInodeHash()
71 if (!dir) throw SysError(format("opening directory '%1%'") % path); in readDirectoryIgnoringInodes()
86 if (errno) throw SysError(format("reading directory '%1%'") % path); in readDirectoryIgnoringInodes()
99 throw SysError(format("getting attributes of path '%1%'") % path); in optimisePath_()
181 throw SysError("cannot link '%1%' to '%2%'", linkPath, path); in optimisePath_()
189 throw SysError(format("getting attributes of path '%1%'") % linkPath); in optimisePath_()
226 throw SysError("cannot link '%1%' to '%2%'", tempLink, linkPath); in optimisePath_()
[all …]
H A Dgc.cc68 throw SysError(format("cannot rename '%1%' to '%2%'") in makeSymlink()
309 catch (SysError & e) { in findRoots()
353 throw SysError("reading symlink"); in readProcLink()
376 } catch (SysError & e) { in readFileRoots()
431 } catch (SysError & e) { in findRuntimeRoots()
439 throw SysError("iterating /proc"); in findRuntimeRoots()
562 } catch (SysError & e) { in deletePathRecursive()
690 throw SysError(format("statting '%1%'") % path); in removeUnusedLinks()
701 throw SysError(format("deleting '%1%'") % path); in removeUnusedLinks()
708 throw SysError(format("statting '%1%'") % linksDir); in removeUnusedLinks()
[all …]
H A Dssh.cc46 throw SysError("duping over stdin"); in startCommand()
48 throw SysError("duping over stdout"); in startCommand()
50 throw SysError("duping over stderr"); in startCommand()
69 throw SysError("unable to execute '%s'", args.front()); in startCommand()
106 throw SysError("duping over stdout"); in startMaster()
118 throw SysError("unable to execute '%s'", args.front()); in startMaster()
H A Dbuild.cc1801 } catch (SysError & e) { in tryBuildHook()
2273 throw SysError("unlocking pseudoterminal"); in startBuilder()
2348 throw SysError("setgroups failed"); in startBuilder()
2757 } catch (SysError &) { } in runChild()
2877 throw SysError("mounting /proc"); in runChild()
2883 throw SysError("mounting /dev/shm"); in runChild()
2931 throw SysError("setgid failed"); in runChild()
2933 throw SysError("setuid failed"); in runChild()
2998 throw SysError("setgid failed"); in runChild()
3003 throw SysError("setuid failed"); in runChild()
[all …]
H A Dpathlocks.cc23 throw SysError(format("opening lock file '%1%'") % path); in openLockFile()
54 throw SysError(format("acquiring/releasing lock")); in lockFile()
63 throw SysError(format("acquiring/releasing lock")); in lockFile()
127 throw SysError(format("statting lock file '%1%'") % lockPath); in lockPaths()
H A Dlocal-store.cc110 throw SysError(format("getting status of '%1%'") % path);
139 } catch (SysError & e) { /* don't care about errors */
368 throw SysError("getting info about the Nix store mount point"); in makeStoreWritable()
372 throw SysError("setting up a private mount namespace"); in makeStoreWritable()
423 throw SysError(format("getting attributes of path '%1%'") % path); in canonicaliseTimestampAndPermissions()
438 throw SysError(format("clearing flags of path '%1%'") % path); in canonicalisePathMetaData_()
456 throw SysError("querying extended attributes of '%s'", path); in canonicalisePathMetaData_()
461 throw SysError("querying extended attributes of '%s'", path); in canonicalisePathMetaData_()
506 throw SysError(format("changing owner of '%1%' to %2%") in canonicalisePathMetaData_()
1369 throw SysError(format("opening file '%1%'") % path); in makeMutable()
[all …]
/dports/sysutils/nix/nix-2.3.10/src/libstore/builtins/
H A Dbuildenv.cc25 } catch (SysError & e) { in createLinks()
43 throw SysError("getting status of '%1%'", srcFile); in createLinks()
44 } catch (SysError & e) { in createLinks()
77 throw SysError(format("unlinking '%1%'") % dstFile); in createLinks()
79 throw SysError(format("creating directory '%1%'")); in createLinks()
85 throw SysError(format("getting status of '%1%'") % dstFile); in createLinks()
104 throw SysError(format("unlinking '%1%'") % dstFile); in createLinks()
108 throw SysError(format("getting status of '%1%'") % dstFile); in createLinks()
135 } catch (SysError & e) { in addPkg()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.incubator.jpackage/windows/native/common/
H A DWinSysInfo.cpp55 JP_THROW(SysError(label + " failed", func)); in getSystemDirImpl()
92 JP_THROW(SysError("GetModuleFileName failed", GetModuleFileName)); in getModulePath()
111 JP_THROW(SysError(tstrings::any() << "GetModuleHandleExW failed", in getCurrentModuleHandle()
120 JP_THROW(SysError(tstrings::any() in setEnvVariable()
139 JP_THROW(SysError("CommandLineToArgvW failed", CommandLineToArgvW)); in getCommandArgs()
162 JP_THROW(SysError(tstrings::any() << "GetEnvironmentVariable(" in getEnvVariableImpl()
174 JP_THROW(SysError(tstrings::any() << "GetEnvironmentVariable(" in getEnvVariableImpl()
H A DWinErrorHandling.cpp51 err << "(" << SysError::getSysErrorMessage(errorCode, hmodule) << ")"; in makeMessage()
106 SysError::SysError(const tstrings::any& msg, const void* caller, DWORD ec, in SysError() function in SysError
111 std::wstring SysError::getSysErrorMessage(DWORD errCode, HMODULE moduleHandle) { in getSysErrorMessage()
118 std::wstring SysError::getComErrorMessage(HRESULT hr) { in getComErrorMessage()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.jpackage/windows/native/common/
H A DWinSysInfo.cpp55 JP_THROW(SysError(label + " failed", func)); in getSystemDirImpl()
92 JP_THROW(SysError("GetModuleFileName failed", GetModuleFileName)); in getModulePath()
111 JP_THROW(SysError(tstrings::any() << "GetModuleHandleExW failed", in getCurrentModuleHandle()
120 JP_THROW(SysError(tstrings::any() in setEnvVariable()
139 JP_THROW(SysError("CommandLineToArgvW failed", CommandLineToArgvW)); in getCommandArgs()
162 JP_THROW(SysError(tstrings::any() << "GetEnvironmentVariable(" in getEnvVariableImpl()
174 JP_THROW(SysError(tstrings::any() << "GetEnvironmentVariable(" in getEnvVariableImpl()
H A DWinErrorHandling.cpp51 err << "(" << SysError::getSysErrorMessage(errorCode, hmodule) << ")"; in makeMessage()
106 SysError::SysError(const tstrings::any& msg, const void* caller, DWORD ec, in SysError() function in SysError
111 std::wstring SysError::getSysErrorMessage(DWORD errCode, HMODULE moduleHandle) { in getSysErrorMessage()
118 std::wstring SysError::getComErrorMessage(HRESULT hr) { in getComErrorMessage()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.jpackage/windows/native/common/
H A DWinSysInfo.cpp55 JP_THROW(SysError(label + " failed", func)); in getSystemDirImpl()
92 JP_THROW(SysError("GetModuleFileName failed", GetModuleFileName)); in getModulePath()
111 JP_THROW(SysError(tstrings::any() << "GetModuleHandleExW failed", in getCurrentModuleHandle()
120 JP_THROW(SysError(tstrings::any() in setEnvVariable()
139 JP_THROW(SysError("CommandLineToArgvW failed", CommandLineToArgvW)); in getCommandArgs()
162 JP_THROW(SysError(tstrings::any() << "GetEnvironmentVariable(" in getEnvVariableImpl()
174 JP_THROW(SysError(tstrings::any() << "GetEnvironmentVariable(" in getEnvVariableImpl()
H A DWinErrorHandling.cpp51 err << "(" << SysError::getSysErrorMessage(errorCode, hmodule) << ")"; in makeMessage()
106 SysError::SysError(const tstrings::any& msg, const void* caller, DWORD ec, in SysError() function in SysError
111 std::wstring SysError::getSysErrorMessage(DWORD errCode, HMODULE moduleHandle) { in getSysErrorMessage()
118 std::wstring SysError::getComErrorMessage(HRESULT hr) { in getComErrorMessage()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.incubator.jpackage/windows/native/libjpackage/
H A DWinErrorHandling.cpp51 err << "(" << SysError::getSysErrorMessage(errorCode, hmodule) << ")"; in makeMessage()
106 SysError::SysError(const tstrings::any& msg, const void* caller, DWORD ec, in SysError() function in SysError
112 std::wstring SysError::getSysErrorMessage(DWORD errCode, HMODULE moduleHandle) { in getSysErrorMessage()
119 std::wstring SysError::getComErrorMessage(HRESULT hr) { in getComErrorMessage()
H A DWinSysInfo.cpp55 JP_THROW(SysError(label + " failed", func)); in getSystemDirImpl()
92 JP_THROW(SysError("GetModuleFileName failed", GetModuleFileName)); in getModulePath()
111 JP_THROW(SysError(tstrings::any() << "GetModuleHandleExW failed", in getCurrentModuleHandle()
129 JP_THROW(SysError("CommandLineToArgvW failed", CommandLineToArgvW)); in getCommandArgs()
152 JP_THROW(SysError(tstrings::any() << "GetEnvironmentVariable(" in getEnvVariableImpl()
164 JP_THROW(SysError(tstrings::any() << "GetEnvironmentVariable(" in getEnvVariableImpl()
/dports/math/eprover/eprover-E-2.0/INOUT/
H A Dcio_fileops.c81 SysError("Cannot stat file %s", FILE_ERROR, name); in InputOpen()
96 SysError("Cannot open file %s for reading", FILE_ERROR , name); in InputOpen()
132 SysError("Error while closing file", FILE_ERROR); in InputClose()
252 SysError(ErrStr, FILE_ERROR); TmpErrno = errno; in FileRemove()
253 SysError("Could not remove temporary file", SYS_ERROR); in FileRemove()
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/privdrop-0.5.0/src/
H A Dprivdrop.rs96 ErrorKind::SysError, in uidcheck()
116 .map_err(|_| PrivDropError::from((ErrorKind::SysError, "Invalid username")))?; in lookup_user()
131 return Err(PrivDropError::from((ErrorKind::SysError, "User not found"))); in lookup_user()
139 .map_err(|_| PrivDropError::from((ErrorKind::SysError, "Invalid group name")))?; in lookup_group()
156 ErrorKind::SysError, in lookup_group()
186 ErrorKind::SysError, in do_idchange()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.incubator.jpackage/windows/native/msiwrapper/
H A DExecutor.cpp67 JP_THROW(SysError("WaitForSingleObject() failed", WaitForSingleObject)); in execAndWaitForExit()
73 JP_THROW(SysError("GetExitCodeProcess() failed", GetExitCodeProcess)); in execAndWaitForExit()
78 JP_THROW(SysError("GetProcessId() failed.", GetProcessId)); in execAndWaitForExit()
118 JP_THROW(SysError(msg, CreateProcess)); in startProcess()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.jpackage/windows/native/msiwrapper/
H A DExecutor.cpp67 JP_THROW(SysError("WaitForSingleObject() failed", WaitForSingleObject)); in execAndWaitForExit()
73 JP_THROW(SysError("GetExitCodeProcess() failed", GetExitCodeProcess)); in execAndWaitForExit()
78 JP_THROW(SysError("GetProcessId() failed.", GetProcessId)); in execAndWaitForExit()
118 JP_THROW(SysError(msg, CreateProcess)); in startProcess()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.jpackage/windows/native/msiwrapper/
H A DExecutor.cpp67 JP_THROW(SysError("WaitForSingleObject() failed", WaitForSingleObject)); in execAndWaitForExit()
73 JP_THROW(SysError("GetExitCodeProcess() failed", GetExitCodeProcess)); in execAndWaitForExit()
78 JP_THROW(SysError("GetProcessId() failed.", GetProcessId)); in execAndWaitForExit()
118 JP_THROW(SysError(msg, CreateProcess)); in startProcess()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.incubator.jpackage/windows/native/msiwrapper/
H A DExecutor.cpp67 JP_THROW(SysError("WaitForSingleObject() failed", WaitForSingleObject)); in execAndWaitForExit()
73 JP_THROW(SysError("GetExitCodeProcess() failed", GetExitCodeProcess)); in execAndWaitForExit()
78 JP_THROW(SysError("GetProcessId() failed.", GetProcessId)); in execAndWaitForExit()
118 JP_THROW(SysError(msg, CreateProcess)); in startProcess()
/dports/sysutils/nix/nix-2.3.10/src/libmain/
H A Dshared.cc126 throw SysError("resetting SIGCHLD"); in initNix()
130 if (sigaction(SIGUSR1, &act, 0)) throw SysError("handling SIGUSR1"); in initNix()
138 if (sigaction(SIGWINCH, &sa, 0)) throw SysError("handling SIGWINCH"); in initNix()
276 throw SysError(format("command 'man %1%' failed") % name.c_str()); in showManPage()
332 throw SysError("dupping stdin"); in RunPager()
341 throw SysError(format("executing '%1%'") % pager); in RunPager()
347 throw SysError("dupping stdout"); in RunPager()

12345678