Lines Matching defs:ErrorCode
12 ErrorCode::ErrorCode() : error_type_(ET_INVALID), err_(SECCOMP_RET_INVALID) {
15 ErrorCode::ErrorCode(int err) {
31 SANDBOX_DIE("Invalid use of ErrorCode object");
35 ErrorCode::ErrorCode(Trap::TrapFnc fnc, const void* aux, bool safe)
43 ErrorCode::ErrorCode(int argno,
47 const ErrorCode* passed,
48 const ErrorCode* failed)
59 bool ErrorCode::Equals(const ErrorCode& err) const {
61 SANDBOX_DIE("Dereferencing invalid ErrorCode");
73 SANDBOX_DIE("Corrupted ErrorCode");
77 bool ErrorCode::LessThan(const ErrorCode& err) const {
78 // Implementing a "LessThan()" operator allows us to use ErrorCode objects
83 SANDBOX_DIE("Dereferencing invalid ErrorCode");
107 SANDBOX_DIE("Corrupted ErrorCode");