ErrorCode 367 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc ManagedUserCreationController::ErrorCode code) { ErrorCode 92 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.h virtual void OnCreationError(ManagedUserCreationController::ErrorCode code) ErrorCode 45 chrome/browser/chromeos/login/managed/managed_user_creation_controller.h virtual void OnCreationError(ErrorCode code) = 0; ErrorCode 233 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc ErrorCode code = NO_ERROR; ErrorCode 173 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc ErrorCode code = NO_ERROR; ErrorCode 38 chrome/browser/ui/cocoa/applescript/error_applescript.h void SetError(ErrorCode errorCode); ErrorCode 51 chrome/installer/test/alternate_version_generator_main.cc const wchar_t* GetErrorMessage(ErrorCode error_code) { ErrorCode 62 chrome/installer/test/alternate_version_generator_main.cc errors::ErrorCode error_code, ErrorCode 94 chrome/tools/profile_reset/jtl_compiler.cc JtlCompiler::CompileError::ErrorCode TranscodeInstruction( ErrorCode 239 chrome/tools/profile_reset/jtl_compiler.cc CompileError::ErrorCode error_code = instruction_set.TranscodeInstruction( ErrorCode 52 chrome/tools/profile_reset/jtl_compiler.h ErrorCode error_code) ErrorCode 57 chrome/tools/profile_reset/jtl_compiler.h ErrorCode error_code; ErrorCode 41 chrome/tools/profile_reset/jtl_compiler_frontend.cc const char* ResolveErrorCode(JtlCompiler::CompileError::ErrorCode code) { ErrorCode 23 components/nacl/loader/nacl_sandbox_linux.cc using sandbox::ErrorCode; ErrorCode 63 components/nacl/loader/nacl_sandbox_linux.cc virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 71 components/nacl/loader/nacl_sandbox_linux.cc ErrorCode NaClBPFSandboxPolicy::EvaluateSyscall( ErrorCode 123 components/nacl/loader/nacl_sandbox_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 125 components/nacl/loader/nacl_sandbox_linux.cc return ErrorCode(EPERM); ErrorCode 133 components/nacl/loader/nacl_sandbox_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 136 components/nacl/loader/nacl_sandbox_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 142 components/nacl/loader/nacl_sandbox_linux.cc return ErrorCode(EPERM); ErrorCode 82 components/url_matcher/regex_set_matcher.cc RE2::ErrorCode error = filtered_re2_->Add( ErrorCode 103 content/browser/renderer_host/media/audio_input_renderer_host.cc media::AudioInputController::ErrorCode error_code) { ErrorCode 183 content/browser/renderer_host/media/audio_input_renderer_host.cc media::AudioInputController::ErrorCode error_code) { ErrorCode 364 content/browser/renderer_host/media/audio_input_renderer_host.cc int stream_id, ErrorCode error_code) { ErrorCode 402 content/browser/renderer_host/media/audio_input_renderer_host.cc ErrorCode error_code) { ErrorCode 119 content/browser/renderer_host/media/audio_input_renderer_host.h media::AudioInputController::ErrorCode error_code) OVERRIDE; ErrorCode 168 content/browser/renderer_host/media/audio_input_renderer_host.h media::AudioInputController::ErrorCode error_code); ErrorCode 171 content/browser/renderer_host/media/audio_input_renderer_host.h void SendErrorMessage(int stream_id, ErrorCode error_code); ErrorCode 184 content/browser/renderer_host/media/audio_input_renderer_host.h void DeleteEntryOnError(AudioEntry* entry, ErrorCode error_code); ErrorCode 266 content/browser/speech/speech_recognizer_impl.cc media::AudioInputController::ErrorCode error_code) { ErrorCode 133 content/browser/speech/speech_recognizer_impl.h media::AudioInputController::ErrorCode error_code) OVERRIDE; ErrorCode 14 content/common/geolocation_messages.h IPC_ENUM_TRAITS_MAX_VALUE(content::Geoposition::ErrorCode, ErrorCode 29 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc using sandbox::ErrorCode; ErrorCode 100 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 109 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc ErrorCode CrosArmGpuBrokerProcessPolicy::EvaluateSyscall(SandboxBPF* sandbox, ErrorCode 115 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 128 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc ErrorCode CrosArmGpuProcessPolicy::EvaluateSyscall(SandboxBPF* sandbox, ErrorCode 132 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 144 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 148 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode 149 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc ErrorCode::OP_EQUAL, AF_UNIX, ErrorCode 150 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 151 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc ErrorCode(EPERM)); ErrorCode 155 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 18 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 34 content/common/sandbox_linux/bpf_gpu_policy_linux.cc using sandbox::ErrorCode; ErrorCode 112 content/common/sandbox_linux/bpf_gpu_policy_linux.cc virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 122 content/common/sandbox_linux/bpf_gpu_policy_linux.cc ErrorCode GpuBrokerProcessPolicy::EvaluateSyscall(SandboxBPF* sandbox, ErrorCode 128 content/common/sandbox_linux/bpf_gpu_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 161 content/common/sandbox_linux/bpf_gpu_policy_linux.cc ErrorCode GpuProcessPolicy::EvaluateSyscall(SandboxBPF* sandbox, ErrorCode 176 content/common/sandbox_linux/bpf_gpu_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 184 content/common/sandbox_linux/bpf_gpu_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 25 content/common/sandbox_linux/bpf_gpu_policy_linux.h virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 36 content/common/sandbox_linux/bpf_ppapi_policy_linux.cc ErrorCode PpapiProcessPolicy::EvaluateSyscall(SandboxBPF* sandbox, ErrorCode 50 content/common/sandbox_linux/bpf_ppapi_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 52 content/common/sandbox_linux/bpf_ppapi_policy_linux.cc return ErrorCode(ENOTTY); // Flash Access. ErrorCode 57 content/common/sandbox_linux/bpf_ppapi_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 61 content/common/sandbox_linux/bpf_ppapi_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 18 content/common/sandbox_linux/bpf_ppapi_policy_linux.h virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 36 content/common/sandbox_linux/bpf_renderer_policy_linux.cc ErrorCode RendererProcessPolicy::EvaluateSyscall(SandboxBPF* sandbox, ErrorCode 71 content/common/sandbox_linux/bpf_renderer_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 73 content/common/sandbox_linux/bpf_renderer_policy_linux.cc return ErrorCode(EPERM); // See crbug.com/160157. ErrorCode 78 content/common/sandbox_linux/bpf_renderer_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 82 content/common/sandbox_linux/bpf_renderer_policy_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 18 content/common/sandbox_linux/bpf_renderer_policy_linux.h virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 25 content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc ErrorCode SandboxBPFBasePolicy::EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 13 content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h using sandbox::ErrorCode; ErrorCode 27 content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 79 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 86 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc ErrorCode BlacklistDebugAndNumaPolicy::EvaluateSyscall(SandboxBPF* sandbox, ErrorCode 90 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc return ErrorCode(ENOSYS); ErrorCode 95 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 103 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 113 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc ErrorCode AllowAllPolicy::EvaluateSyscall(SandboxBPF*, int sysno) const { ErrorCode 116 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc return ErrorCode(ENOSYS); ErrorCode 118 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 60 content/public/common/geoposition.h ErrorCode error_code; ErrorCode 45 content/renderer/media/webrtc_audio_device_not_impl.cc webrtc::AudioDeviceModule::ErrorCode ErrorCode 42 content/renderer/media/webrtc_audio_device_not_impl.h virtual webrtc::AudioDeviceModule::ErrorCode LastError() const OVERRIDE; ErrorCode 120 content/renderer/speech_recognition_dispatcher.cc static WebSpeechRecognizerClient::ErrorCode WebKitErrorCode( ErrorCode 73 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp ErrorTask(MockWebSpeechRecognizer* mock, WebSpeechRecognizerClient::ErrorCode code, const WebString& message) ErrorCode 83 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp WebSpeechRecognizerClient::ErrorCode m_code; ErrorCode 162 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp WebSpeechRecognizerClient::ErrorCode code; ErrorCode 20 extensions/browser/value_store/testing_value_store.h void set_error_code(ErrorCode error_code) { error_code_ = error_code; } ErrorCode 57 extensions/browser/value_store/testing_value_store.h ErrorCode error_code_; ErrorCode 11 extensions/browser/value_store/value_store.cc ValueStore::Error::Error(ErrorCode code, ErrorCode 44 extensions/browser/value_store/value_store.h Error(ErrorCode code, ErrorCode 49 extensions/browser/value_store/value_store.h static scoped_ptr<Error> Create(ErrorCode code, ErrorCode 56 extensions/browser/value_store/value_store.h const ErrorCode code; ErrorCode 111 media/audio/audio_input_controller.h ErrorCode error_code) = 0; ErrorCode 55 media/audio/audio_input_controller_unittest.cc AudioInputController::ErrorCode error_code)); ErrorCode 96 net/tools/balsa/balsa_enums.h static const char* ErrorCodeToString(ErrorCode error_code); ErrorCode 117 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::ErrorCode error_code) { ErrorCode 213 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::ErrorCode* error_code) { ErrorCode 301 net/tools/balsa/balsa_frame.cc static_cast<BalsaFrameEnums::ErrorCode>( ErrorCode 328 net/tools/balsa/balsa_frame.cc static_cast<BalsaFrameEnums::ErrorCode>( ErrorCode 413 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::ErrorCode previous_error = last_error_; ErrorCode 1553 net/tools/balsa/balsa_frame.cc LOG(INFO) << BalsaFrameEnums::ErrorCodeToString(ErrorCode()); ErrorCode 123 net/tools/balsa/balsa_frame.h BalsaFrameEnums::ErrorCode ErrorCode() const { return last_error_; } ErrorCode 254 net/tools/balsa/balsa_frame.h BalsaFrameEnums::ErrorCode last_error_; ErrorCode 101 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::NO_ERROR, frame_->ErrorCode()); ErrorCode 324 net/tools/balsa/balsa_frame_test.cc frame_->ErrorCode()); ErrorCode 348 net/tools/balsa/balsa_frame_test.cc frame_->ErrorCode()); ErrorCode 374 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::REQUEST_URI_TOO_LONG, frame_->ErrorCode()); ErrorCode 394 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::HEADERS_TOO_LONG, frame_->ErrorCode()); ErrorCode 436 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::HEADER_MISSING_COLON, frame_->ErrorCode()); ErrorCode 593 net/tools/balsa/balsa_frame_test.cc frame_->ErrorCode()); ErrorCode 280 net/tools/balsa/balsa_headers.h BalsaFrameEnums::ErrorCode* error_code); ErrorCode 143 net/tools/flip_server/http_interface.cc return BalsaFrameEnums::ErrorCodeToString(http_framer_->ErrorCode()); ErrorCode 133 remoting/client/chromoting_client.cc protocol::ErrorCode error) { ErrorCode 79 remoting/client/chromoting_client.h protocol::ErrorCode error) OVERRIDE; ErrorCode 34 remoting/client/client_user_interface.h protocol::ErrorCode error) = 0; ErrorCode 213 remoting/client/jni/chromoting_jni_instance.cc protocol::ErrorCode error) { ErrorCode 85 remoting/client/jni/chromoting_jni_instance.h protocol::ErrorCode error) OVERRIDE; ErrorCode 225 remoting/client/jni/chromoting_jni_runtime.cc protocol::ErrorCode error) { ErrorCode 75 remoting/client/jni/chromoting_jni_runtime.h protocol::ErrorCode error); ErrorCode 116 remoting/client/plugin/chromoting_instance.cc std::string ConnectionErrorToString(protocol::ErrorCode error) { ErrorCode 414 remoting/client/plugin/chromoting_instance.cc protocol::ErrorCode error) { ErrorCode 120 remoting/client/plugin/chromoting_instance.h protocol::ErrorCode error) OVERRIDE; ErrorCode 334 remoting/host/client_session.cc protocol::ErrorCode error) { ErrorCode 123 remoting/host/client_session.h protocol::ErrorCode error) OVERRIDE; ErrorCode 196 remoting/protocol/connection_to_client.cc void ConnectionToClient::Close(ErrorCode error) { ErrorCode 51 remoting/protocol/connection_to_client.h ErrorCode error) = 0; ErrorCode 114 remoting/protocol/connection_to_client.h void Close(ErrorCode error); ErrorCode 263 remoting/protocol/connection_to_host.cc void ConnectionToHost::CloseOnError(ErrorCode error) { ErrorCode 277 remoting/protocol/connection_to_host.cc void ConnectionToHost::SetState(State state, ErrorCode error) { ErrorCode 72 remoting/protocol/connection_to_host.h virtual void OnConnectionState(State state, ErrorCode error) = 0; ErrorCode 136 remoting/protocol/connection_to_host.h void CloseOnError(ErrorCode error); ErrorCode 141 remoting/protocol/connection_to_host.h void SetState(State state, ErrorCode error); ErrorCode 170 remoting/protocol/connection_to_host.h ErrorCode error_; ErrorCode 303 remoting/protocol/fake_session.cc ErrorCode FakeSession::error() { ErrorCode 162 remoting/protocol/fake_session.h void set_error(ErrorCode error) { error_ = error; } ErrorCode 171 remoting/protocol/fake_session.h virtual ErrorCode error() OVERRIDE; ErrorCode 209 remoting/protocol/fake_session.h ErrorCode error_; ErrorCode 47 remoting/protocol/jingle_session.cc ErrorCode AuthRejectionReasonToErrorCode( ErrorCode 85 remoting/protocol/jingle_session.cc ErrorCode JingleSession::error() { ErrorCode 603 remoting/protocol/jingle_session.cc void JingleSession::CloseInternal(ErrorCode error) { ErrorCode 47 remoting/protocol/jingle_session.h virtual ErrorCode error() OVERRIDE; ErrorCode 141 remoting/protocol/jingle_session.h void CloseInternal(ErrorCode error); ErrorCode 153 remoting/protocol/jingle_session.h ErrorCode error_; ErrorCode 124 remoting/protocol/jingle_session_manager.cc ErrorCode error; ErrorCode 59 remoting/protocol/protocol_mock_objects.h ErrorCode error)); ErrorCode 167 remoting/protocol/protocol_mock_objects.h MOCK_METHOD0(error, ErrorCode()); ErrorCode 83 remoting/protocol/session.h virtual ErrorCode error() = 0; ErrorCode 83 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc ErrorCode EvaluateSyscallImpl(int fs_denied_errno, SandboxBPF* sandbox, ErrorCode 86 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 93 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, AF_UNIX, ErrorCode 94 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 101 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc return sandbox->Cond(2, ErrorCode::TP_32BIT, ErrorCode 102 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc ErrorCode::OP_EQUAL, MADV_DONTNEED, ErrorCode 103 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 104 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc ErrorCode(EPERM)); ErrorCode 130 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc return ErrorCode(fs_denied_errno); ErrorCode 134 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc return ErrorCode(EPERM); ErrorCode 141 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc return ErrorCode(EPERM); ErrorCode 170 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc ErrorCode BaselinePolicy::EvaluateSyscall(SandboxBPF* sandbox, ErrorCode 34 sandbox/linux/seccomp-bpf-helpers/baseline_policy.h virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 66 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode RestrictCloneToThreadsAndEPERMFork(SandboxBPF* sandbox) { ErrorCode 69 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 73 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 74 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 76 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(EPERM), ErrorCode 78 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 80 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(EPERM), ErrorCode 83 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 87 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode RestrictPrctl(SandboxBPF* sandbox) { ErrorCode 90 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 91 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc PR_SET_NAME, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 92 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 93 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc PR_SET_DUMPABLE, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 94 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 95 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc PR_GET_DUMPABLE, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 99 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode RestrictIoctl(SandboxBPF* sandbox) { ErrorCode 100 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc return sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, TCGETS, ErrorCode 101 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 102 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, FIONREAD, ErrorCode 103 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 107 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode RestrictMmapFlags(SandboxBPF* sandbox) { ErrorCode 116 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc return sandbox->Cond(3, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 119 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED)); ErrorCode 122 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode RestrictMprotectFlags(SandboxBPF* sandbox) { ErrorCode 128 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc return sandbox->Cond(2, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 131 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED)); ErrorCode 134 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode RestrictFcntlCommands(SandboxBPF* sandbox) { ErrorCode 145 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::ArgType mask_long_type; ErrorCode 147 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc mask_long_type = ErrorCode::TP_64BIT; ErrorCode 149 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc mask_long_type = ErrorCode::TP_32BIT; ErrorCode 155 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc return sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode 156 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_EQUAL, F_GETFL, ErrorCode 157 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 158 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode 159 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_EQUAL, F_SETFL, ErrorCode 161 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_HAS_ANY_BITS, denied_mask, ErrorCode 163 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED)), ErrorCode 164 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode 165 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_EQUAL, F_GETFD, ErrorCode 166 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 167 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode 168 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_EQUAL, F_SETFD, ErrorCode 169 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 170 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode 171 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_EQUAL, F_DUPFD, ErrorCode 172 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 173 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode 174 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_EQUAL, F_SETLK, ErrorCode 175 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 176 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode 177 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_EQUAL, F_SETLKW, ErrorCode 178 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 179 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode 180 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_EQUAL, F_GETLK, ErrorCode 181 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 182 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode 183 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode::OP_EQUAL, F_DUPFD_CLOEXEC, ErrorCode 184 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 189 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode RestrictSocketcallCommand(SandboxBPF* sandbox) { ErrorCode 194 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 195 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc SYS_SOCKETPAIR, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 196 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 197 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc SYS_SEND, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 198 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 199 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc SYS_RECV, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 200 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 201 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc SYS_SENDTO, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 202 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 203 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc SYS_RECVFROM, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 204 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 205 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc SYS_SHUTDOWN, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 206 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 207 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc SYS_SENDMSG, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 208 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 209 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc SYS_RECVMSG, ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 210 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ErrorCode(EPERM))))))))); ErrorCode 17 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h class ErrorCode; ErrorCode 24 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h SANDBOX_EXPORT ErrorCode ErrorCode 29 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h SANDBOX_EXPORT ErrorCode RestrictPrctl(SandboxBPF* sandbox); ErrorCode 33 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h SANDBOX_EXPORT ErrorCode RestrictIoctl(SandboxBPF* sandbox); ErrorCode 39 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h SANDBOX_EXPORT ErrorCode RestrictMmapFlags(SandboxBPF* sandbox); ErrorCode 43 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h SANDBOX_EXPORT ErrorCode RestrictMprotectFlags(SandboxBPF* sandbox); ErrorCode 50 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h SANDBOX_EXPORT ErrorCode RestrictFcntlCommands(SandboxBPF* sandbox); ErrorCode 55 sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h SANDBOX_EXPORT ErrorCode RestrictSocketcallCommand(SandboxBPF* sandbox); ErrorCode 166 sandbox/linux/seccomp-bpf/codegen.cc Instruction* CodeGen::MakeInstruction(uint16_t code, const ErrorCode& err) { ErrorCode 170 sandbox/linux/seccomp-bpf/codegen.cc if (err.error_type_ != ErrorCode::ET_SIMPLE && ErrorCode 171 sandbox/linux/seccomp-bpf/codegen.cc err.error_type_ != ErrorCode::ET_TRAP) { ErrorCode 72 sandbox/linux/seccomp-bpf/codegen.h Instruction* MakeInstruction(uint16_t code, const ErrorCode& err); ErrorCode 47 sandbox/linux/seccomp-bpf/codegen_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED)); ErrorCode 59 sandbox/linux/seccomp-bpf/codegen_unittest.cc codegen->MakeInstruction(BPF_RET + BPF_K, ErrorCode(EPERM)), ErrorCode 61 sandbox/linux/seccomp-bpf/codegen_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED))); ErrorCode 75 sandbox/linux/seccomp-bpf/codegen_unittest.cc BPF_RET + BPF_K, ErrorCode(ErrorCode::ERR_ALLOWED)); ErrorCode 102 sandbox/linux/seccomp-bpf/codegen_unittest.cc Instruction* insn2 = codegen->MakeInstruction(BPF_RET + BPF_K, ErrorCode(42)); ErrorCode 112 sandbox/linux/seccomp-bpf/codegen_unittest.cc codegen->MakeInstruction(BPF_RET + BPF_K, ErrorCode(42))); ErrorCode 164 sandbox/linux/seccomp-bpf/codegen_unittest.cc Instruction* i7 = codegen->MakeInstruction(BPF_RET, ErrorCode(1)); ErrorCode 165 sandbox/linux/seccomp-bpf/codegen_unittest.cc Instruction* i6 = codegen->MakeInstruction(BPF_RET, ErrorCode(0)); ErrorCode 192 sandbox/linux/seccomp-bpf/codegen_unittest.cc Instruction* i5 = codegen->MakeInstruction(BPF_RET, ErrorCode(1)); ErrorCode 222 sandbox/linux/seccomp-bpf/codegen_unittest.cc Instruction* i7 = codegen->MakeInstruction(BPF_RET, ErrorCode(1)); ErrorCode 223 sandbox/linux/seccomp-bpf/codegen_unittest.cc Instruction* i6 = codegen->MakeInstruction(BPF_RET, ErrorCode(0)); ErrorCode 226 sandbox/linux/seccomp-bpf/codegen_unittest.cc Instruction* i4 = codegen->MakeInstruction(BPF_RET, ErrorCode(42)); ErrorCode 229 sandbox/linux/seccomp-bpf/codegen_unittest.cc Instruction* i2 = codegen->MakeInstruction(BPF_RET, ErrorCode(42)); ErrorCode 33 sandbox/linux/seccomp-bpf/demo.cc using sandbox::ErrorCode; ErrorCode 240 sandbox/linux/seccomp-bpf/demo.cc ErrorCode Evaluator(SandboxBPF* sandbox, int sysno, void *) { ErrorCode 325 sandbox/linux/seccomp-bpf/demo.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 329 sandbox/linux/seccomp-bpf/demo.cc return sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 331 sandbox/linux/seccomp-bpf/demo.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 332 sandbox/linux/seccomp-bpf/demo.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 334 sandbox/linux/seccomp-bpf/demo.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 366 sandbox/linux/seccomp-bpf/demo.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 10 sandbox/linux/seccomp-bpf/errorcode.cc ErrorCode::ErrorCode(int err) { ErrorCode 25 sandbox/linux/seccomp-bpf/errorcode.cc ErrorCode::ErrorCode(Trap::TrapFnc fnc, const void* aux, bool safe, uint16_t id) ErrorCode 32 sandbox/linux/seccomp-bpf/errorcode.cc ErrorCode::ErrorCode(int argno, ErrorCode 36 sandbox/linux/seccomp-bpf/errorcode.cc const ErrorCode* passed, ErrorCode 37 sandbox/linux/seccomp-bpf/errorcode.cc const ErrorCode* failed) ErrorCode 51 sandbox/linux/seccomp-bpf/errorcode.cc bool ErrorCode::Equals(const ErrorCode& err) const { ErrorCode 69 sandbox/linux/seccomp-bpf/errorcode.cc bool ErrorCode::LessThan(const ErrorCode& err) const { ErrorCode 24 sandbox/linux/seccomp-bpf/errorcode.h class SANDBOX_EXPORT ErrorCode { ErrorCode 116 sandbox/linux/seccomp-bpf/errorcode.h ErrorCode() : error_type_(ET_INVALID), err_(SECCOMP_RET_INVALID) {} ErrorCode 117 sandbox/linux/seccomp-bpf/errorcode.h explicit ErrorCode(int err); ErrorCode 127 sandbox/linux/seccomp-bpf/errorcode.h ~ErrorCode() {} ErrorCode 129 sandbox/linux/seccomp-bpf/errorcode.h bool Equals(const ErrorCode& err) const; ErrorCode 130 sandbox/linux/seccomp-bpf/errorcode.h bool LessThan(const ErrorCode& err) const; ErrorCode 141 sandbox/linux/seccomp-bpf/errorcode.h const ErrorCode* passed() const { return passed_; } ErrorCode 142 sandbox/linux/seccomp-bpf/errorcode.h const ErrorCode* failed() const { return failed_; } ErrorCode 145 sandbox/linux/seccomp-bpf/errorcode.h bool operator()(const ErrorCode& a, const ErrorCode& b) const { ErrorCode 158 sandbox/linux/seccomp-bpf/errorcode.h ErrorCode(Trap::TrapFnc fnc, const void* aux, bool safe, uint16_t id); ErrorCode 162 sandbox/linux/seccomp-bpf/errorcode.h ErrorCode(int argno, ErrorCode 166 sandbox/linux/seccomp-bpf/errorcode.h const ErrorCode* passed, ErrorCode 167 sandbox/linux/seccomp-bpf/errorcode.h const ErrorCode* failed); ErrorCode 185 sandbox/linux/seccomp-bpf/errorcode.h const ErrorCode* passed_; // Value to be returned if comparison passed, ErrorCode 186 sandbox/linux/seccomp-bpf/errorcode.h const ErrorCode* failed_; // or if it failed. ErrorCode 14 sandbox/linux/seccomp-bpf/errorcode_unittest.cc SANDBOX_TEST(ErrorCode, ErrnoConstructor) { ErrorCode 15 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e0; ErrorCode 18 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e1(ErrorCode::ERR_ALLOWED); ErrorCode 21 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e2(EPERM); ErrorCode 25 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e3 = sandbox.Trap(NULL, NULL); ErrorCode 29 sandbox/linux/seccomp-bpf/errorcode_unittest.cc SANDBOX_TEST(ErrorCode, Trap) { ErrorCode 31 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e0 = sandbox.Trap(NULL, "a"); ErrorCode 32 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e1 = sandbox.Trap(NULL, "b"); ErrorCode 36 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e2 = sandbox.Trap(NULL, "a"); ErrorCode 41 sandbox/linux/seccomp-bpf/errorcode_unittest.cc SANDBOX_TEST(ErrorCode, Equals) { ErrorCode 42 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e1(ErrorCode::ERR_ALLOWED); ErrorCode 43 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e2(ErrorCode::ERR_ALLOWED); ErrorCode 48 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e3(EPERM); ErrorCode 52 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e4 = sandbox.Trap(NULL, "a"); ErrorCode 53 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e5 = sandbox.Trap(NULL, "b"); ErrorCode 54 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e6 = sandbox.Trap(NULL, "a"); ErrorCode 61 sandbox/linux/seccomp-bpf/errorcode_unittest.cc SANDBOX_TEST(ErrorCode, LessThan) { ErrorCode 62 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e1(ErrorCode::ERR_ALLOWED); ErrorCode 63 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e2(ErrorCode::ERR_ALLOWED); ErrorCode 68 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e3(EPERM); ErrorCode 73 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e4 = sandbox.Trap(NULL, "a"); ErrorCode 74 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e5 = sandbox.Trap(NULL, "b"); ErrorCode 75 sandbox/linux/seccomp-bpf/errorcode_unittest.cc ErrorCode e6 = sandbox.Trap(NULL, "a"); ErrorCode 59 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode ProbeEvaluator(SandboxBPF*, int sysnum, void*) __attribute__((const)); ErrorCode 60 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode ProbeEvaluator(SandboxBPF*, int sysnum, void*) { ErrorCode 64 sandbox/linux/seccomp-bpf/sandbox_bpf.cc return ErrorCode(EPERM); ErrorCode 67 sandbox/linux/seccomp-bpf/sandbox_bpf.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 70 sandbox/linux/seccomp-bpf/sandbox_bpf.cc return ErrorCode(EINVAL); ErrorCode 80 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode AllowAllEvaluator(SandboxBPF*, int sysnum, void*) { ErrorCode 82 sandbox/linux/seccomp-bpf/sandbox_bpf.cc return ErrorCode(ENOSYS); ErrorCode 84 sandbox/linux/seccomp-bpf/sandbox_bpf.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 117 sandbox/linux/seccomp-bpf/sandbox_bpf.cc bool IsDenied(const ErrorCode& code) { ErrorCode 119 sandbox/linux/seccomp-bpf/sandbox_bpf.cc (code.err() >= (SECCOMP_RET_ERRNO + ErrorCode::ERR_MIN_ERRNO) && ErrorCode 120 sandbox/linux/seccomp-bpf/sandbox_bpf.cc code.err() <= (SECCOMP_RET_ERRNO + ErrorCode::ERR_MAX_ERRNO)); ErrorCode 131 sandbox/linux/seccomp-bpf/sandbox_bpf.cc const ErrorCode& err = ErrorCode 133 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (err.error_type() != ErrorCode::ET_INVALID && !err.safe()) { ErrorCode 185 sandbox/linux/seccomp-bpf/sandbox_bpf.cc virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 187 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode err = ErrorCode 213 sandbox/linux/seccomp-bpf/sandbox_bpf.cc virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 608 sandbox/linux/seccomp-bpf/sandbox_bpf.cc .Equals(ErrorCode(ErrorCode::ERR_ALLOWED)) || ErrorCode 610 sandbox/linux/seccomp-bpf/sandbox_bpf.cc .Equals(ErrorCode(ErrorCode::ERR_ALLOWED)) ErrorCode 614 sandbox/linux/seccomp-bpf/sandbox_bpf.cc .Equals(ErrorCode(ErrorCode::ERR_ALLOWED)) ErrorCode 619 sandbox/linux/seccomp-bpf/sandbox_bpf.cc .Equals(ErrorCode(ErrorCode::ERR_ALLOWED)) ErrorCode 665 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode(ErrorCode::ERR_ALLOWED)), ErrorCode 741 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode old_err = policy_->EvaluateSyscall(this, old_sysnum); ErrorCode 742 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode invalid_err = policy_->EvaluateSyscall(this, MIN_SYSCALL - 1); ErrorCode 746 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode err = policy_->EvaluateSyscall(this, static_cast<int>(sysnum)); ErrorCode 789 sandbox/linux/seccomp-bpf/sandbox_bpf.cc Instruction* SandboxBPF::RetExpression(CodeGen* gen, const ErrorCode& err) { ErrorCode 790 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (err.error_type_ == ErrorCode::ET_COND) { ErrorCode 797 sandbox/linux/seccomp-bpf/sandbox_bpf.cc Instruction* SandboxBPF::CondExpression(CodeGen* gen, const ErrorCode& cond) { ErrorCode 817 sandbox/linux/seccomp-bpf/sandbox_bpf.cc case ErrorCode::OP_EQUAL: ErrorCode 827 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (cond.width_ == ErrorCode::TP_64BIT) { ErrorCode 836 sandbox/linux/seccomp-bpf/sandbox_bpf.cc case ErrorCode::OP_HAS_ALL_BITS: ErrorCode 876 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (cond.width_ == ErrorCode::TP_64BIT) { ErrorCode 906 sandbox/linux/seccomp-bpf/sandbox_bpf.cc case ErrorCode::OP_HAS_ANY_BITS: ErrorCode 927 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (cond.width_ == ErrorCode::TP_64BIT) { ErrorCode 951 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (cond.width_ == ErrorCode::TP_32BIT) { ErrorCode 980 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode SandboxBPF::Unexpected64bitArgument() { ErrorCode 984 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode SandboxBPF::Trap(Trap::TrapFnc fnc, const void* aux) { ErrorCode 988 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode SandboxBPF::UnsafeTrap(Trap::TrapFnc fnc, const void* aux) { ErrorCode 1002 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode SandboxBPF::Cond(int argno, ErrorCode 1003 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode::ArgType width, ErrorCode 1004 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode::Operation op, ErrorCode 1006 sandbox/linux/seccomp-bpf/sandbox_bpf.cc const ErrorCode& passed, ErrorCode 1007 sandbox/linux/seccomp-bpf/sandbox_bpf.cc const ErrorCode& failed) { ErrorCode 1008 sandbox/linux/seccomp-bpf/sandbox_bpf.cc return ErrorCode(argno, ErrorCode 1016 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode SandboxBPF::Kill(const char* msg) { ErrorCode 60 sandbox/linux/seccomp-bpf/sandbox_bpf.h typedef ErrorCode (*EvaluateSyscall)(SandboxBPF* sandbox_compiler, ErrorCode 124 sandbox/linux/seccomp-bpf/sandbox_bpf.h ErrorCode Trap(Trap::TrapFnc fnc, const void* aux); ErrorCode 136 sandbox/linux/seccomp-bpf/sandbox_bpf.h ErrorCode UnsafeTrap(Trap::TrapFnc fnc, const void* aux); ErrorCode 158 sandbox/linux/seccomp-bpf/sandbox_bpf.h ErrorCode Cond(int argno, ErrorCode 159 sandbox/linux/seccomp-bpf/sandbox_bpf.h ErrorCode::ArgType is_32bit, ErrorCode 160 sandbox/linux/seccomp-bpf/sandbox_bpf.h ErrorCode::Operation op, ErrorCode 162 sandbox/linux/seccomp-bpf/sandbox_bpf.h const ErrorCode& passed, ErrorCode 163 sandbox/linux/seccomp-bpf/sandbox_bpf.h const ErrorCode& failed); ErrorCode 166 sandbox/linux/seccomp-bpf/sandbox_bpf.h ErrorCode Kill(const char* msg); ErrorCode 194 sandbox/linux/seccomp-bpf/sandbox_bpf.h ErrorCode Unexpected64bitArgument(); ErrorCode 199 sandbox/linux/seccomp-bpf/sandbox_bpf.h friend class ErrorCode; ErrorCode 202 sandbox/linux/seccomp-bpf/sandbox_bpf.h Range(uint32_t f, uint32_t t, const ErrorCode& e) ErrorCode 205 sandbox/linux/seccomp-bpf/sandbox_bpf.h ErrorCode err; ErrorCode 208 sandbox/linux/seccomp-bpf/sandbox_bpf.h typedef std::map<uint32_t, ErrorCode> ErrMap; ErrorCode 209 sandbox/linux/seccomp-bpf/sandbox_bpf.h typedef std::set<ErrorCode, struct ErrorCode::LessThan> Conds; ErrorCode 256 sandbox/linux/seccomp-bpf/sandbox_bpf.h Instruction* RetExpression(CodeGen* gen, const ErrorCode& err); ErrorCode 262 sandbox/linux/seccomp-bpf/sandbox_bpf.h Instruction* CondExpression(CodeGen* gen, const ErrorCode& cond); ErrorCode 12 sandbox/linux/seccomp-bpf/sandbox_bpf_policy.h class ErrorCode; ErrorCode 26 sandbox/linux/seccomp-bpf/sandbox_bpf_policy.h virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler, ErrorCode 86 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode VerboseAPITestingPolicy(SandboxBPF* sandbox, int sysno, void* aux) { ErrorCode 88 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 92 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 118 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode BlacklistNanosleepPolicy(SandboxBPF*, int sysno, void*) { ErrorCode 121 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 126 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(EACCES); ErrorCode 128 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 142 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode WhitelistGetpidPolicy(SandboxBPF*, int sysno, void*) { ErrorCode 146 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 148 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOMEM); ErrorCode 172 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode BlacklistNanosleepPolicySigsys(SandboxBPF* sandbox, ErrorCode 177 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 184 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 209 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode ErrnoTestPolicy(SandboxBPF*, int sysno, void*) { ErrorCode 212 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 218 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(0); ErrorCode 224 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(1); ErrorCode 230 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_MAX_ERRNO); ErrorCode 233 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(42); ErrorCode 235 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 264 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(setgid(0) == -ErrorCode::ERR_MAX_ERRNO); ErrorCode 269 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(errno == ErrorCode::ERR_MAX_ERRNO); ErrorCode 281 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode StackingPolicyPartOne(SandboxBPF* sandbox, int sysno, void*) { ErrorCode 283 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 289 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_32BIT, ErrorCode 290 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_EQUAL, ErrorCode 292 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 293 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(EPERM)); ErrorCode 295 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 299 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode StackingPolicyPartTwo(SandboxBPF* sandbox, int sysno, void*) { ErrorCode 301 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 307 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_32BIT, ErrorCode 308 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_EQUAL, ErrorCode 310 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(EINVAL), ErrorCode 311 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED)); ErrorCode 313 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 354 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode SyntheticPolicy(SandboxBPF*, int sysno, void*) { ErrorCode 357 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 363 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 370 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 372 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(SysnoToRandomErrno(sysno)); ErrorCode 410 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode ArmPrivatePolicy(SandboxBPF*, int sysno, void*) { ErrorCode 413 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 420 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ArmPrivateSysnoToErrno(sysno)); ErrorCode 422 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 450 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode GreyListedPolicy(SandboxBPF* sandbox, int sysno, void* aux) { ErrorCode 471 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 474 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(EPERM); ErrorCode 479 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 523 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode PrctlPolicy(SandboxBPF* sandbox, int sysno, void* aux) { ErrorCode 532 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 534 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 569 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode RedirectAllSyscallsPolicy(SandboxBPF* sandbox, int sysno, void* aux) { ErrorCode 585 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 589 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 724 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode DenyOpenPolicy(SandboxBPF* sandbox, int sysno, void* aux) { ErrorCode 727 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 736 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode( ErrorCode 739 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 792 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode SimpleCondTestPolicy(SandboxBPF* sandbox, int sysno, void*) { ErrorCode 795 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 806 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_32BIT, ErrorCode 807 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_HAS_ANY_BITS, ErrorCode 809 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(EROFS), ErrorCode 810 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED)); ErrorCode 815 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_32BIT, ErrorCode 816 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_EQUAL, ErrorCode 818 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 820 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_32BIT, ErrorCode 821 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_EQUAL, ErrorCode 823 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 824 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ENOMEM))); ErrorCode 826 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 884 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode Policy(SandboxBPF* sandbox, int sysno) { ErrorCode 887 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 893 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 1044 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode ToErrorCode(SandboxBPF* sandbox, ArgValue* arg_value) { ErrorCode 1048 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode err; ErrorCode 1052 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc err = ErrorCode(arg_value->err); ErrorCode 1064 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode matched; ErrorCode 1067 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc matched = ErrorCode(arg_value->tests[n].err); ErrorCode 1075 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_32BIT, ErrorCode 1076 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_EQUAL, ErrorCode 1145 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode EqualityStressTestPolicy(SandboxBPF* sandbox, int sysno, void* aux) { ErrorCode 1156 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode EqualityArgumentWidthPolicy(SandboxBPF* sandbox, int sysno, void*) { ErrorCode 1159 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 1163 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_32BIT, ErrorCode 1164 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_EQUAL, ErrorCode 1167 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_32BIT, ErrorCode 1168 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_EQUAL, ErrorCode 1170 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode 1171 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(2)), ErrorCode 1181 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_64BIT, ErrorCode 1182 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_EQUAL, ErrorCode 1184 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode 1185 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(2))); ErrorCode 1187 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 1219 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode EqualityWithNegativeArgumentsPolicy(SandboxBPF* sandbox, ErrorCode 1224 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 1227 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::TP_32BIT, ErrorCode 1228 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode::OP_EQUAL, ErrorCode 1230 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode 1231 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(2)); ErrorCode 1233 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 1256 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode AllBitTestPolicy(SandboxBPF* sandbox, int sysno, void *) { ErrorCode 1265 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 1267 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 0, ErrorCode 1268 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1270 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1272 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 1, ErrorCode 1273 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1275 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1277 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 2, ErrorCode 1278 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1280 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1282 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 3, ErrorCode 1283 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1285 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1286 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 4, ErrorCode 1287 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1289 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1291 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 5, ErrorCode 1292 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1294 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1296 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 6, ErrorCode 1297 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1299 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1301 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 7, ErrorCode 1302 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1304 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1306 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 8, ErrorCode 1307 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1309 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1311 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 9, ErrorCode 1312 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1314 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1316 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 10, ErrorCode 1317 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1319 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1323 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 1452 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode AnyBitTestPolicy(SandboxBPF* sandbox, int sysno, void*) { ErrorCode 1461 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 1463 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 0, ErrorCode 1464 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1466 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1468 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 1, ErrorCode 1469 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1471 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1473 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 2, ErrorCode 1474 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1476 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1478 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 3, ErrorCode 1479 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1481 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1485 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 4, ErrorCode 1486 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1488 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1490 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 5, ErrorCode 1491 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1493 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1495 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 6, ErrorCode 1496 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1498 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1500 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 7, ErrorCode 1501 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1503 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1505 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 8, ErrorCode 1506 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1508 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1510 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 9, ErrorCode 1511 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1513 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1515 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, 10, ErrorCode 1516 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(1, ErrorCode::TP_64BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1518 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(1), ErrorCode(0)), ErrorCode 1522 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 1656 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode PthreadPolicyEquality(SandboxBPF* sandbox, int sysno, void* aux) { ErrorCode 1663 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 1681 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 1683 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 1684 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 1686 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 1687 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_EQUAL, ErrorCode 1689 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 1692 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 1696 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode PthreadPolicyBitMask(SandboxBPF* sandbox, int sysno, void* aux) { ErrorCode 1703 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ENOSYS); ErrorCode 1714 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1721 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1724 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ALL_BITS, ErrorCode 1726 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED), ErrorCode 1727 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc sandbox->Cond(0, ErrorCode::TP_32BIT, ErrorCode::OP_HAS_ANY_BITS, ErrorCode 1732 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ErrorCode(ErrorCode::ERR_ALLOWED))), ErrorCode 1737 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 81 sandbox/linux/seccomp-bpf/syscall_unittest.cc ErrorCode CopyAllArgsOnUnamePolicy(SandboxBPF* sandbox, int sysno, void* aux) { ErrorCode 83 sandbox/linux/seccomp-bpf/syscall_unittest.cc return ErrorCode(ENOSYS); ErrorCode 88 sandbox/linux/seccomp-bpf/syscall_unittest.cc return ErrorCode(ErrorCode::ERR_ALLOWED); ErrorCode 179 sandbox/linux/seccomp-bpf/trap.cc const ErrorCode& err = trap_array_[info->si_errno - 1]; ErrorCode 220 sandbox/linux/seccomp-bpf/trap.cc ErrorCode Trap::MakeTrap(TrapFnc fnc, const void* aux, bool safe) { ErrorCode 224 sandbox/linux/seccomp-bpf/trap.cc ErrorCode Trap::MakeTrapImpl(TrapFnc fnc, const void* aux, bool safe) { ErrorCode 241 sandbox/linux/seccomp-bpf/trap.cc return ErrorCode(); ErrorCode 290 sandbox/linux/seccomp-bpf/trap.cc ErrorCode* old_trap_array = trap_array_; ErrorCode 291 sandbox/linux/seccomp-bpf/trap.cc ErrorCode* new_trap_array = new ErrorCode[trap_array_capacity_]; ErrorCode 304 sandbox/linux/seccomp-bpf/trap.cc memcpy(new_trap_array, trap_array_, trap_array_size_ * sizeof(ErrorCode)); ErrorCode 312 sandbox/linux/seccomp-bpf/trap.cc trap_array_[trap_array_size_] = ErrorCode(fnc, aux, safe, id); ErrorCode 316 sandbox/linux/seccomp-bpf/trap.cc return ErrorCode(fnc, aux, safe, id); ErrorCode 347 sandbox/linux/seccomp-bpf/trap.cc ErrorCode Trap::ErrorCodeFromTrapId(uint16_t id) { ErrorCode 351 sandbox/linux/seccomp-bpf/trap.cc return ErrorCode(); ErrorCode 19 sandbox/linux/seccomp-bpf/trap.h class ErrorCode; ErrorCode 50 sandbox/linux/seccomp-bpf/trap.h static ErrorCode MakeTrap(TrapFnc fnc, const void* aux, bool safe); ErrorCode 63 sandbox/linux/seccomp-bpf/trap.h static ErrorCode ErrorCodeFromTrapId(uint16_t id); ErrorCode 93 sandbox/linux/seccomp-bpf/trap.h ErrorCode MakeTrapImpl(TrapFnc fnc, const void* aux, bool safe); ErrorCode 103 sandbox/linux/seccomp-bpf/trap.h ErrorCode* trap_array_; // Array of ErrorCodes indexed by ids ErrorCode 32 sandbox/linux/seccomp-bpf/verifier.cc const ErrorCode& code, ErrorCode 34 sandbox/linux/seccomp-bpf/verifier.cc if (code.error_type() == ErrorCode::ET_SIMPLE || ErrorCode 35 sandbox/linux/seccomp-bpf/verifier.cc code.error_type() == ErrorCode::ET_TRAP) { ErrorCode 37 sandbox/linux/seccomp-bpf/verifier.cc } else if (code.error_type() == ErrorCode::ET_COND) { ErrorCode 38 sandbox/linux/seccomp-bpf/verifier.cc if (code.width() == ErrorCode::TP_32BIT && ErrorCode 45 sandbox/linux/seccomp-bpf/verifier.cc case ErrorCode::OP_EQUAL: ErrorCode 47 sandbox/linux/seccomp-bpf/verifier.cc (code.width() == ErrorCode::TP_32BIT ErrorCode 53 sandbox/linux/seccomp-bpf/verifier.cc case ErrorCode::OP_HAS_ALL_BITS: ErrorCode 55 sandbox/linux/seccomp-bpf/verifier.cc ((code.width() == ErrorCode::TP_32BIT ErrorCode 62 sandbox/linux/seccomp-bpf/verifier.cc case ErrorCode::OP_HAS_ANY_BITS: ErrorCode 64 sandbox/linux/seccomp-bpf/verifier.cc (code.width() == ErrorCode::TP_32BIT ErrorCode 82 sandbox/linux/seccomp-bpf/verifier.cc const ErrorCode& root_code, ErrorCode 83 sandbox/linux/seccomp-bpf/verifier.cc const ErrorCode& code, ErrorCode 85 sandbox/linux/seccomp-bpf/verifier.cc if (code.error_type() == ErrorCode::ET_SIMPLE || ErrorCode 86 sandbox/linux/seccomp-bpf/verifier.cc code.error_type() == ErrorCode::ET_TRAP) { ErrorCode 101 sandbox/linux/seccomp-bpf/verifier.cc } else if (code.error_type() == ErrorCode::ET_COND) { ErrorCode 107 sandbox/linux/seccomp-bpf/verifier.cc case ErrorCode::OP_EQUAL: ErrorCode 127 sandbox/linux/seccomp-bpf/verifier.cc if (code.width() == ErrorCode::TP_32BIT) { ErrorCode 160 sandbox/linux/seccomp-bpf/verifier.cc case ErrorCode::OP_HAS_ALL_BITS: ErrorCode 161 sandbox/linux/seccomp-bpf/verifier.cc case ErrorCode::OP_HAS_ANY_BITS: ErrorCode 172 sandbox/linux/seccomp-bpf/verifier.cc const ErrorCode& passed = ErrorCode 173 sandbox/linux/seccomp-bpf/verifier.cc (!code.value() && code.op() == ErrorCode::OP_HAS_ANY_BITS) || ErrorCode 181 sandbox/linux/seccomp-bpf/verifier.cc code.op() == ErrorCode::OP_HAS_ALL_BITS) || ErrorCode 183 sandbox/linux/seccomp-bpf/verifier.cc code.op() == ErrorCode::OP_HAS_ANY_BITS) ErrorCode 189 sandbox/linux/seccomp-bpf/verifier.cc const ErrorCode& failed = ErrorCode 190 sandbox/linux/seccomp-bpf/verifier.cc !code.value() && code.op() == ErrorCode::OP_HAS_ALL_BITS ErrorCode 390 sandbox/linux/seccomp-bpf/verifier.cc ErrorCode code = policy.EvaluateSyscall(sandbox, sysnum); ErrorCode 24 third_party/re2/re2/filtered_re2.cc RE2::ErrorCode FilteredRE2::Add(const StringPiece& pattern, ErrorCode 27 third_party/re2/re2/filtered_re2.cc RE2::ErrorCode code = re->error_code(); ErrorCode 40 third_party/re2/re2/filtered_re2.h RE2::ErrorCode Add(const StringPiece& pattern, ErrorCode 92 third_party/re2/re2/re2.cc static RE2::ErrorCode RegexpErrorToRE2(re2::RegexpStatusCode code) { ErrorCode 283 third_party/re2/re2/re2.h ErrorCode error_code() const { return error_code_; } ErrorCode 704 third_party/re2/re2/re2.h mutable ErrorCode error_code_; // Error code