HomeSort by relevance Sort by last modified time
    Searched refs:ErrorCode (Results 1 - 25 of 184) sorted by null

1 2 3 4 5 6 7 8

  /external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
syscall_parameters_restrictions.cc 66 ErrorCode RestrictCloneToThreadsAndEPERMFork(SandboxBPF* sandbox) {
69 return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL,
73 ErrorCode(ErrorCode::ERR_ALLOWED),
74 sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL,
76 ErrorCode(EPERM),
78 sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL
    [all...]
syscall_parameters_restrictions.h 12 // ErrorCode suitable to restrict certain system call parameters.
16 class ErrorCode;
23 ErrorCode RestrictCloneToThreadsAndEPERMFork(SandboxBPF* sandbox);
27 ErrorCode RestrictPrctl(SandboxBPF* sandbox);
31 ErrorCode RestrictIoctl(SandboxBPF* sandbox);
37 ErrorCode RestrictMmapFlags(SandboxBPF* sandbox);
41 ErrorCode RestrictMprotectFlags(SandboxBPF* sandbox);
48 ErrorCode RestrictFcntlCommands(SandboxBPF* sandbox);
53 ErrorCode RestrictSocketcallCommand(SandboxBPF* sandbox);
  /external/lzma/CPP/Common/
MyException.h 10 HRESULT ErrorCode;
11 CSystemException(HRESULT errorCode): ErrorCode(errorCode) {}
  /external/icu4c/common/
errorcode.cpp 8 * file name: errorcode.cpp
18 #include "unicode/errorcode.h"
22 ErrorCode::~ErrorCode() {}
24 UErrorCode ErrorCode::reset() {
25 UErrorCode code = errorCode;
26 errorCode = U_ZERO_ERROR;
30 void ErrorCode::assertSuccess() const {
36 const char* ErrorCode::errorName() const {
37 return u_errorName(errorCode);
    [all...]
  /external/chromium_org/third_party/icu/source/common/
errorcode.cpp 8 * file name: errorcode.cpp
18 #include "unicode/errorcode.h"
22 UErrorCode ErrorCode::reset() {
23 UErrorCode code = errorCode;
24 errorCode = U_ZERO_ERROR;
28 void ErrorCode::assertSuccess() const {
34 const char* ErrorCode::errorName() const {
35 return u_errorName(errorCode);
  /external/chromium_org/sandbox/linux/seccomp-bpf/
errorcode.h 17 // We can either wrap a symbolic ErrorCode (i.e. ERR_XXX enum values), an
21 // that is using the ErrorCode class typically operates on a single 32bit
23 class ErrorCode {
110 // We allow the default constructor, as it makes the ErrorCode class
111 // much easier to use. But if we ever encounter an invalid ErrorCode
115 ErrorCode() : error_type_(ET_INVALID), err_(SECCOMP_RET_INVALID) {}
116 explicit ErrorCode(int err);
126 ~ErrorCode() {}
128 bool Equals(const ErrorCode& err) const;
129 bool LessThan(const ErrorCode& err) const
    [all...]
errorcode_unittest.cc 14 SANDBOX_TEST(ErrorCode, ErrnoConstructor) {
15 ErrorCode e0;
18 ErrorCode e1(ErrorCode::ERR_ALLOWED);
21 ErrorCode e2(EPERM);
25 ErrorCode e3 = sandbox.Trap(NULL, NULL);
29 SANDBOX_TEST(ErrorCode, Trap) {
31 ErrorCode e0 = sandbox.Trap(NULL, "a");
32 ErrorCode e1 = sandbox.Trap(NULL, "b");
36 ErrorCode e2 = sandbox.Trap(NULL, "a")
    [all...]
sandbox_bpf_policy.h 12 class ErrorCode;
25 // returning a suitable ErrorCode.
26 virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler,
sandbox_bpf_unittest.cc 85 ErrorCode VerboseAPITestingPolicy(SandboxBPF* sandbox, int sysno, void* aux) {
87 return ErrorCode(ENOSYS);
91 return ErrorCode(ErrorCode::ERR_ALLOWED);
117 ErrorCode BlacklistNanosleepPolicy(SandboxBPF*, int sysno, void*) {
120 return ErrorCode(ENOSYS);
125 return ErrorCode(EACCES);
127 return ErrorCode(ErrorCode::ERR_ALLOWED);
141 ErrorCode WhitelistGetpidPolicy(SandboxBPF*, int sysno, void*)
    [all...]
sandbox_bpf.h 21 #include "sandbox/linux/seccomp-bpf/errorcode.h"
59 typedef ErrorCode (*EvaluateSyscall)(SandboxBPF* sandbox_compiler,
103 // of system call argument(s) by returning a suitable ErrorCode.
117 // We can use ErrorCode to request calling of a trap handler. This method
119 // ErrorCode object.
123 ErrorCode Trap(Trap::TrapFnc fnc, const void* aux);
129 // Returns an ET_INVALID ErrorCode, if called when not enabled.
135 ErrorCode UnsafeTrap(Trap::TrapFnc fnc, const void* aux);
147 // We can also use ErrorCode to request evaluation of a conditional
149 // This method wrap an ErrorCode object around the conditional statement
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/geolocation/
GeolocationError.h 38 enum ErrorCode {
43 static PassRefPtr<GeolocationError> create(ErrorCode code, const String& message) { return adoptRef(new GeolocationError(code, message)); }
45 ErrorCode code() const { return m_code; }
49 GeolocationError(ErrorCode code, const String& message)
55 ErrorCode m_code;
PositionError.h 38 enum ErrorCode {
44 static PassRefPtr<PositionError> create(ErrorCode code, const String& message) { return adoptRef(new PositionError(code, message)); }
46 ErrorCode code() const { return m_code; }
52 PositionError(ErrorCode code, const String& message)
60 ErrorCode m_code;
  /external/chromium_org/third_party/WebKit/Source/core/fileapi/
FileError.h 45 enum ErrorCode {
73 static PassRefPtr<FileError> create(ErrorCode code) { return adoptRef(new FileError(code)); }
75 ErrorCode code() const { return m_code; }
77 static void throwDOMException(ExceptionState&, ErrorCode);
80 explicit FileError(ErrorCode);
82 ErrorCode m_code;
  /external/chromium_org/content/common/sandbox_linux/
bpf_ppapi_policy_linux.cc 36 ErrorCode PpapiProcessPolicy::EvaluateSyscall(SandboxBPF* sandbox,
50 return ErrorCode(ErrorCode::ERR_ALLOWED);
52 return ErrorCode(ENOTTY); // Flash Access.
57 return ErrorCode(ErrorCode::ERR_ALLOWED);
61 return ErrorCode(ErrorCode::ERR_ALLOWED);
bpf_renderer_policy_linux.cc 36 ErrorCode RendererProcessPolicy::EvaluateSyscall(SandboxBPF* sandbox,
68 return ErrorCode(ErrorCode::ERR_ALLOWED);
70 return ErrorCode(EPERM); // See crbug.com/160157.
75 return ErrorCode(ErrorCode::ERR_ALLOWED);
79 return ErrorCode(ErrorCode::ERR_ALLOWED);
sandbox_bpf_base_policy_linux.h 13 using sandbox::ErrorCode;
27 virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler,
  /frameworks/compile/mclinker/tools/mcld/include/alone/
Linker.h 38 enum ErrorCode {
54 static const char *GetErrorString(enum ErrorCode pErrCode);
72 enum ErrorCode config(const LinkerConfig& pConfig);
74 enum ErrorCode addNameSpec(const std::string &pNameSpec);
76 enum ErrorCode addObject(const std::string &pObjectPath);
78 enum ErrorCode addObject(void* pMemory, size_t pSize);
80 enum ErrorCode addCode(void* pMemory, size_t pSize);
82 enum ErrorCode setOutput(const std::string &pPath);
84 enum ErrorCode setOutput(int pFileHandler);
86 enum ErrorCode link()
    [all...]
  /external/chromium_org/third_party/icu/source/common/unicode/
errorcode.h 8 * file name: errorcode.h
22 * \brief C++ API: ErrorCode class intended to make it easier to use
50 * The ErrorCode base class destructor does nothing.
58 * class IcuErrorCode: public icu::ErrorCode {
66 * log_failure(u_errorName(errorCode));
67 * exit(errorCode);
79 class U_COMMON_API ErrorCode: public UMemory {
85 ErrorCode() : errorCode(U_ZERO_ERROR) {}
87 virtual ~ErrorCode() {}
    [all...]
  /external/icu4c/common/unicode/
errorcode.h 8 * file name: errorcode.h
22 * \brief C++ API: ErrorCode class intended to make it easier to use
50 * The ErrorCode base class destructor does nothing.
58 * class IcuErrorCode: public icu::ErrorCode {
66 * log_failure(u_errorName(errorCode));
67 * exit(errorCode);
79 class U_COMMON_API ErrorCode: public UMemory {
85 ErrorCode() : errorCode(U_ZERO_ERROR) {}
87 virtual ~ErrorCode();
    [all...]
  /external/chromium_org/components/nacl/loader/
nacl_sandbox_linux.cc 21 using sandbox::ErrorCode;
61 virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler,
69 ErrorCode NaClBPFSandboxPolicy::EvaluateSyscall(
121 return ErrorCode(ErrorCode::ERR_ALLOWED);
123 return ErrorCode(EPERM);
131 return ErrorCode(ErrorCode::ERR_ALLOWED);
134 return ErrorCode(ErrorCode::ERR_ALLOWED)
    [all...]
  /external/chromium/chrome/browser/ui/cocoa/applescript/
error_applescript.h 12 enum ErrorCode {
38 void SetError(ErrorCode errorCode);
  /external/chromium_org/chrome/browser/ui/cocoa/applescript/
error_applescript.h 12 enum ErrorCode {
38 void SetError(ErrorCode errorCode);
  /external/chromium_org/content/public/common/
geoposition.h 23 enum ErrorCode {
59 ErrorCode error_code;
  /frameworks/compile/libbcc/include/bcc/
Compiler.h 49 enum ErrorCode {
74 static const char *GetErrorString(enum ErrorCode pErrCode);
81 enum ErrorCode runLTO(Script &pScript);
82 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult);
88 enum ErrorCode config(const CompilerConfig &pConfig);
94 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult,
98 enum ErrorCode compile(Script &pScript, OutputFile &pResult,
  /external/chromium/chrome/browser/policy/
device_management_backend_mock.h 22 MOCK_METHOD1(OnError, void(DeviceManagementBackend::ErrorCode error));
33 MOCK_METHOD1(OnError, void(DeviceManagementBackend::ErrorCode error));
43 MOCK_METHOD1(OnError, void(DeviceManagementBackend::ErrorCode error));

Completed in 765 milliseconds

1 2 3 4 5 6 7 8