/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/procfs-0.7.8/src/ |
H A D | lib.rs | 268 ProcError: From<E>, in read_value() 432 pub type ProcResult<T> = Result<T, ProcError>; 439 pub enum ProcError { enum 501 impl From<std::io::Error> for ProcError { implementation 515 _other => ProcError::Io(io, path), in from() 520 impl From<&'static str> for ProcError { implementation 522 ProcError::Other(val.to_owned()) in from() 532 impl std::fmt::Display for ProcError { implementation 539 ProcError::Io(inner, Some(p)) => { in fmt() 554 impl std::error::Error for ProcError {} implementation [all …]
|
H A D | pressure.rs | 8 use crate::{ProcError, ProcResult}; 99 || Err(ProcError::Incomplete(None)), in get_f32() 100 |v| Ok(v.parse::<f32>().map_err(|_| ProcError::Incomplete(None))?), in get_f32() 106 || Err(ProcError::Incomplete(None)), in get_total() 107 |v| Ok(v.parse::<u64>().map_err(|_| ProcError::Incomplete(None))?), in get_total() 115 return Err(ProcError::Incomplete(None)); in parse_pressure_record()
|
H A D | process.rs | 272 type Err = ProcError; 273 fn from_str(s: &str) -> Result<ProcState, ProcError> { in from_str() argument 1040 type Err = ProcError; 1041 fn from_str(s: &str) -> Result<FDTarget, ProcError> { in from_str() argument 1872 let line = line.map_err(|_| ProcError::Incomplete(Some(path.clone())))?; in maps() 2071 Err(ProcError::InternalError(e)) => return Err(ProcError::InternalError(e)), in all_processes() 2274 type Err = ProcError; 2472 Err(ProcError::PermissionDenied(_)) if unsafe { libc::geteuid() } != 0 => { in check_unwrap() 2475 Err(ProcError::NotFound(path)) => { in check_unwrap()
|
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/procfs-0.9.1/src/ |
H A D | lib.rs | 240 ProcError: From<E>, in read_value() 409 pub type ProcResult<T> = Result<T, ProcError>; 416 pub enum ProcError { enum 476 impl From<std::io::Error> for ProcError { implementation 490 _other => ProcError::Io(io, path), in from() 495 impl From<&'static str> for ProcError { implementation 497 ProcError::Other(val.to_owned()) in from() 513 impl std::fmt::Display for ProcError { implementation 520 ProcError::Io(inner, Some(p)) => { in fmt() 535 impl std::error::Error for ProcError {} implementation [all …]
|
H A D | pressure.rs | 8 use crate::{ProcError, ProcResult}; 99 || Err(ProcError::Incomplete(None)), in get_f32() 100 |v| Ok(v.parse::<f32>().map_err(|_| ProcError::Incomplete(None))?), in get_f32() 106 || Err(ProcError::Incomplete(None)), in get_total() 107 |v| Ok(v.parse::<u64>().map_err(|_| ProcError::Incomplete(None))?), in get_total() 115 return Err(ProcError::Incomplete(None)); in parse_pressure_record()
|
/dports/www/firefox/firefox-99.0/third_party/rust/naga/src/proc/ |
H A D | index.rs | 3 use super::ProcError; 315 pub fn indexable_length(&self, module: &crate::Module) -> Result<IndexableLength, ProcError> { in indexable_length() argument 335 _ => return Err(ProcError::TypeNotIndexable), in indexable_length() 338 _ => return Err(ProcError::TypeNotIndexable), in indexable_length() 358 pub fn to_indexable_length(self, module: &crate::Module) -> Result<IndexableLength, ProcError> { in to_indexable_length() argument 368 return Err(ProcError::InvalidArraySizeConstant(k)); in to_indexable_length() 373 .ok_or(ProcError::InvalidArraySizeConstant(k))?; in to_indexable_length()
|
H A D | mod.rs | 18 pub enum ProcError { enum
|
/dports/math/vampire/vampire-4.5.1/scripts/papers/ |
H A D | z3_interpolant_stat_analyzer.py | 48 class ProcError(Exception): class 137 raise ProcError("unrecognized line: "+line) 152 raise ProcError("non-colorability report expected: "+line) 170 raise ProcError("extra line: "+line) 176 raise ProcError(str(ere)+" without error result") 178 raise ProcError("more lines expected") 195 raise ProcError("no name match") 198 raise ProcError("no red start match") 207 raise ProcError("no blue start match") 374 raise ProcError("oval none") [all …]
|
H A D | get_cpa_interpolant_results.py | 60 class ProcError(Exception): class 241 raise ProcError("unrecognized line: "+line) 260 raise ProcError("no name match") 433 raise ProcError("oval none") 442 raise ProcError("minimal worse than original in unapproximate") 526 except ProcError as err:
|
/dports/devel/modd/modd-0.8/ |
H A D | prep.go | 15 type ProcError struct { struct 20 func (p ProcError) Error() string { argument 37 return ProcError{estate.Error.Error(), estate.ErrOutput} 73 if pe, ok := err.(ProcError); ok {
|
H A D | modd.go | 140 if _, ok := err.(ProcError); !ok {
|
/dports/databases/p5-LMDB_File/LMDB_File-0.12/ |
H A D | LMDB.xs | 579 ProcError(RETVAL); 594 ProcError(RETVAL); 615 ProcError(RETVAL); 631 ProcError(RETVAL); 653 ProcError(res); 712 ProcError(RETVAL); 719 ProcError(RETVAL); 728 ProcError(RETVAL); 735 ProcError(RETVAL); 773 ProcError(RETVAL); [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/testing/mozharness/external_tools/ |
H A D | packagesymbols.py | 16 class ProcError(Exception): 26 raise ProcError(proc.returncode, stderr) 33 except ProcError as e:
|
/dports/www/firefox/firefox-99.0/testing/mozharness/external_tools/ |
H A D | packagesymbols.py | 16 class ProcError(Exception): class 26 raise ProcError(proc.returncode, stderr) 33 except ProcError as e:
|
/dports/lang/spidermonkey60/firefox-60.9.0/testing/mozharness/external_tools/ |
H A D | packagesymbols.py | 12 class ProcError(Exception): class 24 raise ProcError(proc.returncode, stderr) 31 except ProcError as e:
|
/dports/mail/thunderbird/thunderbird-91.8.0/testing/mozharness/external_tools/ |
H A D | packagesymbols.py | 16 class ProcError(Exception): class 26 raise ProcError(proc.returncode, stderr) 33 except ProcError as e:
|
/dports/lang/spidermonkey78/firefox-78.9.0/testing/mozharness/external_tools/ |
H A D | packagesymbols.py | 12 class ProcError(Exception): class 24 raise ProcError(proc.returncode, stderr) 31 except ProcError as e:
|
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/procfs-0.9.1/src/process/ |
H A D | mod.rs | 376 type Err = ProcError; 377 fn from_str(s: &str) -> Result<ProcState, ProcError> { in from_str() argument 619 type Err = ProcError; 620 fn from_str(s: &str) -> Result<FDTarget, ProcError> { in from_str() argument 630 Err(ProcError::Incomplete(None)) in from_str() 655 "" => Err(ProcError::Incomplete(None)), in from_str() 874 let line = line.map_err(|_| ProcError::Incomplete(Some(path.clone())))?; in maps() 896 let line = line.map_err(|_| ProcError::Incomplete(Some(path.clone())))?; in smaps() 933 … ProcError::Other("Value in `Key: Value` pair was not actually a number".into()) in smaps() 1241 Some(Err(e)) => Some(Err(ProcError::Io(e.into(), None))), in next() [all …]
|
H A D | tests.rs | 6 Err(ProcError::PermissionDenied(_)) if unsafe { libc::geteuid() } != 0 => { in check_unwrap() 10 Err(ProcError::NotFound(path)) => { in check_unwrap() 24 Err(ProcError::PermissionDenied(_)) if unsafe { libc::geteuid() } != 0 => { in check_unwrap_task() 28 Err(ProcError::NotFound(_path)) => { in check_unwrap_task() 192 Err(ProcError::NotFound(_)) => { in test_smaps()
|
H A D | task.rs | 3 use super::{FileWrapper, Io, ProcError, Schedstat, Stat, Status}; 24 pub(crate) fn from_rel_path(pid: i32, tid: &Path) -> Result<Task, ProcError> { in from_rel_path() argument
|
H A D | limit.rs | 1 use crate::{FileWrapper, ProcError, ProcResult}; 205 type Err = ProcError;
|
H A D | status.rs | 359 Err(ProcError::NotFound(_)) => { in test_proc_status_for_kthreadd()
|
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/procfs-0.9.1/src/sys/kernel/ |
H A D | keys.rs | 104 use crate::{ProcError, ProcResult}; 109 Err(ProcError::NotFound(_)) => { in check_unwrap()
|
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/procfs-0.9.1/src/sys/fs/ |
H A D | binfmt_misc.rs | 200 Err(crate::ProcError::NotFound(_)) => {} in test_enabled()
|
/dports/www/firefox/firefox-99.0/third_party/rust/naga/src/back/spv/ |
H A D | mod.rs | 70 Proc(#[from] crate::proc::ProcError),
|