Home
last modified time | relevance | path

Searched refs:kern_return_t (Results 1 – 25 of 115) sorted by relevance

12345

/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm/
DDNBArchImpl.h56 virtual kern_return_t GetRegisterState(int set, bool force);
57 virtual kern_return_t SetRegisterState(int set);
61 virtual kern_return_t SetPC(uint64_t value);
98 kern_return_t EnableHardwareSingleStep(bool enable);
99 kern_return_t SetSingleStepSoftwareBreakpoints();
157 kern_return_t gpr_errs[2]; // Read/Write errors
158 kern_return_t vfp_errs[2]; // Read/Write errors
159 kern_return_t exc_errs[2]; // Read/Write errors
160 kern_return_t dbg_errs[2]; // Read/Write errors
171 kern_return_t GetError(int set, uint32_t err_idx) const { in GetError()
[all …]
DDNBArchImpl.cpp149 kern_return_t DNBArchMachARM::SetPC(uint64_t value) { in SetPC()
151 kern_return_t err = GetGPRState(false); in SetPC()
166 kern_return_t DNBArchMachARM::GetGPRState(bool force) { in GetGPRState()
174 kern_return_t kret = in GetGPRState()
190 kern_return_t DNBArchMachARM::GetVFPState(bool force) { in GetVFPState()
196 kern_return_t kret; in GetVFPState()
303 kern_return_t DNBArchMachARM::GetEXCState(bool force) { in GetEXCState()
311 kern_return_t kret = in GetEXCState()
328 kern_return_t DNBArchMachARM::GetDBGState(bool force) { in GetDBGState()
338 kern_return_t kret = in GetDBGState()
[all …]
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/i386/
DDNBArchImplI386.h43 kern_return_t GetRegisterState(int set, bool force) override;
44 kern_return_t SetRegisterState(int set) override;
48 kern_return_t SetPC(uint64_t value) override;
68 kern_return_t EnableHardwareSingleStep(bool enable);
129 kern_return_t gpr_errs[2]; // Read/Write errors
130 kern_return_t fpu_errs[2]; // Read/Write errors
131 kern_return_t exc_errs[2]; // Read/Write errors
132 kern_return_t dbg_errs[2]; // Read/Write errors
144 kern_return_t GetError(int flavor, uint32_t err_idx) const { in GetError()
165 bool SetError(int flavor, uint32_t err_idx, kern_return_t err) { in SetError()
[all …]
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm64/
DDNBArchImplARM64.h52 virtual kern_return_t GetRegisterState(int set, bool force);
53 virtual kern_return_t SetRegisterState(int set);
57 virtual kern_return_t SetPC(uint64_t value);
83 kern_return_t EnableHardwareSingleStep(bool enable);
128 kern_return_t gpr_errs[2]; // Read/Write errors
129 kern_return_t vfp_errs[2]; // Read/Write errors
130 kern_return_t exc_errs[2]; // Read/Write errors
131 kern_return_t dbg_errs[2]; // Read/Write errors
145 kern_return_t GetError(int set, uint32_t err_idx) const { in GetError()
166 bool SetError(int set, uint32_t err_idx, kern_return_t err) { in SetError()
[all …]
DDNBArchImplARM64.cpp108 kern_return_t DNBArchMachARM64::SetPC(uint64_t value) { in SetPC()
110 kern_return_t err = GetGPRState(false); in SetPC()
139 kern_return_t DNBArchMachARM64::GetGPRState(bool force) { in GetGPRState()
147 kern_return_t kret = in GetGPRState()
207 kern_return_t DNBArchMachARM64::GetVFPState(bool force) { in GetVFPState()
215 kern_return_t kret = in GetVFPState()
328 kern_return_t DNBArchMachARM64::GetEXCState(bool force) { in GetEXCState()
336 kern_return_t kret = in GetEXCState()
352 kern_return_t DNBArchMachARM64::GetDBGState(bool force) { in GetDBGState()
361 kern_return_t kret = in GetDBGState()
[all …]
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/x86_64/
DDNBArchImplX86_64.h42 kern_return_t GetRegisterState(int set, bool force) override;
43 kern_return_t SetRegisterState(int set) override;
47 kern_return_t SetPC(uint64_t value) override;
68 kern_return_t EnableHardwareSingleStep(bool enable);
129 kern_return_t gpr_errs[2]; // Read/Write errors
130 kern_return_t fpu_errs[2]; // Read/Write errors
131 kern_return_t exc_errs[2]; // Read/Write errors
132 kern_return_t dbg_errs[2]; // Read/Write errors
146 kern_return_t GetError(int flavor, uint32_t err_idx) const { in GetError()
168 bool SetError(int flavor, uint32_t err_idx, kern_return_t err) { in SetError()
[all …]
/external/llvm-project/clang/test/Sema/
Dattr-mig.c3 typedef int kern_return_t; typedef
6 __attribute__((mig_server_routine)) kern_return_t var = KERN_SUCCESS; // expected-warning{{'mig_ser…
11 __attribute__((mig_server_routine)) kern_return_t bar_extern(); // no-warning
12 __attribute__((mig_server_routine)) kern_return_t bar_forward(); // no-warning
14 __attribute__((mig_server_routine)) kern_return_t bar_definition() { // no-warning in bar_definition()
18 kern_return_t bar_forward() { // no-warning in bar_forward()
22 __attribute__((mig_server_routine(123))) kern_return_t bar_with_argument(); // expected-error{{'mig…
Dattr-mig.m3 typedef int kern_return_t; typedef
10 - (kern_return_t)foo __attribute__((mig_server_routine)); // no-warning
11 …cted-warning{{'mig_server_routine' attribute only applies to routines that return a kern_return_t}}
12 …cted-warning{{'mig_server_routine' attribute only applies to routines that return a kern_return_t}}
16 - (kern_return_t)foo {
17 kern_return_t (^block)() = ^ __attribute__((mig_server_routine)) { // no-warning
21 // FIXME: Warn that this block doesn't return a kern_return_t.
Dattr-mig.cpp3 typedef int kern_return_t; typedef
4 typedef kern_return_t IOReturn;
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DMachTask.h53 kern_return_t Suspend();
54 kern_return_t Resume();
66 kern_return_t SaveExceptionPortInfo();
67 kern_return_t RestoreExceptionPortInfo();
68 kern_return_t ShutDownExcecptionThread();
72 kern_return_t BasicInfo(struct task_basic_info *info);
73 static kern_return_t BasicInfo(task_t task, struct task_basic_info *info);
Dstack_logging.h79 extern "C" kern_return_t
85 extern "C" kern_return_t __mach_stack_logging_enumerate_records(
92 extern "C" kern_return_t __mach_stack_logging_frames_for_uniqued_stack(
129 extern "C" kern_return_t
139 extern "C" kern_return_t stack_logging_enumerate_records(
145 extern "C" kern_return_t stack_logging_frames_for_uniqued_stack(
DMachException.h38 kern_return_t Save(task_t task);
39 kern_return_t Restore(task_t task);
98 kern_return_t Reply(MachProcess *process, int signal);
99 kern_return_t Receive(mach_port_t receive_port, mach_msg_option_t options,
DMachException.cpp25 extern "C" kern_return_t
31 extern "C" kern_return_t catch_mach_exception_raise_state(
39 extern "C" kern_return_t catch_mach_exception_raise_state_identity(
57 extern "C" kern_return_t catch_mach_exception_raise_state( in catch_mach_exception_raise_state()
73 extern "C" kern_return_t catch_mach_exception_raise_state_identity( in catch_mach_exception_raise_state_identity()
92 extern "C" kern_return_t
223 kern_return_t MachException::Message::Receive(mach_port_t port, in Receive()
295 kern_return_t MachException::Message::Reply(MachProcess *process, int signal) { in Reply()
412 kern_return_t MachException::PortInfo::Save(task_t task) { in Save()
447 kern_return_t MachException::PortInfo::Restore(task_t task) { in Restore()
/external/google-breakpad/src/client/mac/handler/
Dprotected_memory_allocator.cc43 kern_return_t result = vm_allocate(mach_task_self(), in ProtectedMemoryAllocator()
73 kern_return_t ProtectedMemoryAllocator::Protect() { in Protect()
74 kern_return_t result = vm_protect(mach_task_self(), in Protect()
84 kern_return_t ProtectedMemoryAllocator::Unprotect() { in Unprotect()
85 kern_return_t result = vm_protect(mach_task_self(), in Unprotect()
Dexception_handler.cc114 kern_return_t return_code;
130 kern_return_t catch_exception_raise(mach_port_t target_port,
140 kern_return_t ForwardException(mach_port_t task,
184 kern_return_t RetCode; in breakpad_exc_server()
211 kern_return_t catch_exception_raise(mach_port_t port, mach_port_t failed_thread, in catch_exception_raise()
429 kern_return_t ForwardException(mach_port_t task, mach_port_t failed_thread, in ForwardException()
465 kern_return_t result; in ForwardException()
492 kern_return_t result = mach_msg(&(receive.header), in WaitForMessage()
675 kern_return_t result = task_get_exception_ports(current_task, in InstallHandler()
695 kern_return_t result = KERN_SUCCESS; in UninstallHandler()
[all …]
Dprotected_memory_allocator.h73 kern_return_t Protect();
76 kern_return_t Unprotect();
/external/llvm-project/clang/test/Analysis/
Dmig.mm8 typedef int kern_return_t; typedef
30 kern_return_t vm_deallocate(mach_port_name_t, vm_address_t, vm_size_t);
31 kern_return_t mach_vm_deallocate(mach_port_name_t, vm_address_t, vm_size_t);
33 kern_return_t mach_port_deallocate(ipc_space_t, mach_port_name_t);
46 typedef kern_return_t IOReturn;
79 kern_return_t basic_test(mach_port_name_t port, vm_address_t address, vm_size_t size) {
90 kern_return_t test_unknown_return_value(mach_port_name_t port, vm_address_t address, vm_size_t size…
91 extern kern_return_t foo();
100 kern_return_t no_crash(mach_port_name_t port, vm_address_t address, vm_size_t size) {
108 kern_return_t release_twice(mach_port_name_t port, vm_address_t addr1, vm_address_t addr2, vm_size_…
[all …]
Dos_object_base.h22 typedef int kern_return_t; typedef
44 kern_return_t Invoke(IORPC invoke);
47 typedef kern_return_t (*OSDispatchMethod)(OSMetaClassBase *self,
Ddeadstores-driverkit.cpp16 kern_return_t Invoke(const IORPC);
18 kern_return_t ret; in foo()
/external/google-breakpad/src/client/mac/crash_generation/
DInspector.h132 kern_return_t ResetBootstrapPort();
134 kern_return_t ServiceCheckIn(const char *receive_port_name);
135 kern_return_t ServiceCheckOut(const char *receive_port_name);
137 kern_return_t ReadMessages();
140 kern_return_t SendAcknowledgement();
DInspector.mm56 kern_return_t result = ResetBootstrapPort();
101 kern_return_t Inspector::ResetBootstrapPort() {
107 kern_return_t kr = task_get_bootstrap_port(self_task,
146 kern_return_t Inspector::ServiceCheckIn(const char *receive_port_name) {
149 kern_return_t kr = bootstrap_check_in(bootstrap_subset_port_,
163 kern_return_t Inspector::ServiceCheckOut(const char *receive_port_name) {
166 kern_return_t kr;
192 kern_return_t Inspector::ReadMessages() {
198 kern_return_t result = receive_port.WaitForMessage(&message, 1000);
344 kern_return_t Inspector::SendAcknowledgement() {
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_mach_vm.cpp29 TSAN_INTERCEPTOR(kern_return_t, mach_vm_allocate, vm_map_t target, in TSAN_INTERCEPTOR() argument
36 kern_return_t kr = REAL(mach_vm_allocate)(target, address, size, flags); in TSAN_INTERCEPTOR()
42 TSAN_INTERCEPTOR(kern_return_t, mach_vm_deallocate, vm_map_t target, in TSAN_INTERCEPTOR() argument
47 kern_return_t kr = REAL(mach_vm_deallocate)(target, address, size); in TSAN_INTERCEPTOR()
/external/llvm-project/compiler-rt/test/tsan/Darwin/
Dmach_vm_allocate.c19 kern_return_t kr = in alloc()
28 kern_return_t kr = in alloc_fixed()
35 kern_return_t kr = in dealloc()
/external/google-breakpad/src/common/mac/
DMachIPC.h265 kern_return_t WaitForMessage(MachReceiveMessage *out_message,
275 kern_return_t init_result_;
289 kern_return_t SendMessage(MachSendMessage &message,
296 kern_return_t init_result_;
/external/google-breakpad/src/client/mac/Framework/
DOnDemandServer.h91 kern_return_t Initialize(const char *server_command,
116 kern_return_t *out_result);

12345