Home
last modified time | relevance | path

Searched refs:KERN_SUCCESS (Results 1 – 25 of 92) sorted by relevance

1234

/external/llvm-project/clang/test/Sema/
Dattr-mig.c4 #define KERN_SUCCESS 0 macro
6 __attribute__((mig_server_routine)) kern_return_t var = KERN_SUCCESS; // expected-warning{{'mig_ser…
15 return KERN_SUCCESS; in bar_definition()
19 return KERN_SUCCESS; in bar_forward()
Dattr-mig.cpp5 #define KERN_SUCCESS 0 macro
6 #define kIOReturnSuccess KERN_SUCCESS
Dattr-mig.m4 #define KERN_SUCCESS 0 macro
18 return KERN_SUCCESS;
/external/llvm-project/lldb/tools/darwin-threads/
Dexamine-threads.c122 if (kr != KERN_SUCCESS) { in get_thread_basic_info()
140 if (kr != KERN_SUCCESS) { in get_thread_identifier_info()
166 if (retval != KERN_SUCCESS) { in inferior_namespace_mach_port_num()
176 if (retval == KERN_SUCCESS) { in inferior_namespace_mach_port_num()
205 if (kr != KERN_SUCCESS) { in get_current_pc()
224 if (kr != KERN_SUCCESS) { in get_current_pc()
237 if (kr != KERN_SUCCESS) { in get_current_pc()
361 if (kr != KERN_SUCCESS) { in main()
370 if (kr != KERN_SUCCESS) { in main()
389 if (kr != KERN_SUCCESS) { in main()
[all …]
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc499 if (result == KERN_SUCCESS) { in WaitForMessage()
684 if (result == KERN_SUCCESS) in InstallHandler()
689 installed_exception_handler_ = (result == KERN_SUCCESS); in InstallHandler()
695 kern_return_t result = KERN_SUCCESS; in UninstallHandler()
716 if (result != KERN_SUCCESS) in UninstallHandler()
733 return result == KERN_SUCCESS; in UninstallHandler()
746 if (result == KERN_SUCCESS) in Setup()
750 if (install_handler && result == KERN_SUCCESS) in Setup()
754 if (result == KERN_SUCCESS) { in Setup()
762 result = thread_create_result ? KERN_FAILURE : KERN_SUCCESS; in Setup()
[all …]
Ddynamic_images.cc110 if (result == KERN_SUCCESS) { in GetMemoryRegionSize()
134 if (result == KERN_SUCCESS in GetMemoryRegionSize()
170 KERN_SUCCESS) in ReadTaskString()
204 if (r != KERN_SUCCESS) in ReadTaskMemory()
212 return KERN_SUCCESS; in ReadTaskMemory()
393 &count) != KERN_SUCCESS) { in GetDyldAllImageInfosPointer()
428 dyld_all_info_bytes) != KERN_SUCCESS) in ReadImageInfo()
443 dyld_info_array_bytes) != KERN_SUCCESS) in ReadImageInfo()
458 mach_header_bytes) != KERN_SUCCESS) in ReadImageInfo()
472 mach_header_bytes) != KERN_SUCCESS) in ReadImageInfo()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm/
DDNBArchImpl.cpp144 if (GetGPRState(false) == KERN_SUCCESS) in GetPC()
152 if (err == KERN_SUCCESS) { in SetPC()
156 return err == KERN_SUCCESS; in SetPC()
161 if (GetGPRState(false) == KERN_SUCCESS) in GetSP()
169 if (!force && m_state.GetError(set, Read) == KERN_SUCCESS) in GetGPRState()
170 return KERN_SUCCESS; in GetGPRState()
193 if (!force && m_state.GetError(set, Read) == KERN_SUCCESS) in GetVFPState()
194 return KERN_SUCCESS; in GetVFPState()
306 if (!force && m_state.GetError(set, Read) == KERN_SUCCESS) in GetEXCState()
307 return KERN_SUCCESS; in GetEXCState()
[all …]
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm64/
DDNBArchImplARM64.cpp99 if (GetGPRState(false) == KERN_SUCCESS) in GetPC()
111 if (err == KERN_SUCCESS) { in SetPC()
125 return err == KERN_SUCCESS; in SetPC()
130 if (GetGPRState(false) == KERN_SUCCESS) in GetSP()
142 if (!force && m_state.GetError(set, Read) == KERN_SUCCESS) in GetGPRState()
143 return KERN_SUCCESS; in GetGPRState()
210 if (!force && m_state.GetError(set, Read) == KERN_SUCCESS) in GetVFPState()
211 return KERN_SUCCESS; in GetVFPState()
331 if (!force && m_state.GetError(set, Read) == KERN_SUCCESS) in GetEXCState()
332 return KERN_SUCCESS; in GetEXCState()
[all …]
/external/google-breakpad/src/common/mac/
DMachIPC.mm174 if (init_result_ != KERN_SUCCESS)
182 if (init_result_ != KERN_SUCCESS)
188 if (init_result_ != KERN_SUCCESS)
206 if (init_result_ != KERN_SUCCESS)
220 init_result_(KERN_SUCCESS) {
225 if (init_result_ == KERN_SUCCESS)
237 if (init_result_ != KERN_SUCCESS)
269 if (init_result_ != KERN_SUCCESS)
280 init_result_(KERN_SUCCESS) {
290 if (init_result_ != KERN_SUCCESS)
/external/llvm-project/compiler-rt/test/tsan/Darwin/
Dmach_vm_allocate.c21 assert(kr == KERN_SUCCESS); in alloc()
30 if (kr != KERN_SUCCESS) in alloc_fixed()
37 assert(kr == KERN_SUCCESS); in dealloc()
/external/llvm-project/lldb/source/Plugins/Process/Utility/
DRegisterContextDarwinConstants.h15 #ifndef KERN_SUCCESS
16 #define KERN_SUCCESS 0 macro
DRegisterContextDarwin_arm64.cpp302 if (ReadRegisterSet(set, false) != KERN_SUCCESS) in ReadRegister()
544 if (ReadRegisterSet(set, false) != KERN_SUCCESS) in WriteRegister()
642 return WriteRegisterSet(set) == KERN_SUCCESS; in WriteRegister()
648 if (ReadGPR(false) == KERN_SUCCESS && ReadFPU(false) == KERN_SUCCESS && in ReadAllRegisterValues()
649 ReadEXC(false) == KERN_SUCCESS) { in ReadAllRegisterValues()
675 if (WriteGPR() == KERN_SUCCESS) in WriteAllRegisterValues()
677 if (WriteFPU() == KERN_SUCCESS) in WriteAllRegisterValues()
679 if (WriteEXC() == KERN_SUCCESS) in WriteAllRegisterValues()
980 if (kret == KERN_SUCCESS) { in SetHardwareWatchpoint()
1007 if (kret == KERN_SUCCESS) in SetHardwareWatchpoint()
[all …]
DRegisterContextDarwin_arm.cpp1123 if (ReadRegisterSet(set, false) != KERN_SUCCESS) in ReadRegister()
1212 if (ReadRegisterSet(set, false) != KERN_SUCCESS) in WriteRegister()
1288 return WriteRegisterSet(set) == KERN_SUCCESS; in WriteRegister()
1294 if (data_sp && ReadGPR(false) == KERN_SUCCESS && in ReadAllRegisterValues()
1295 ReadFPU(false) == KERN_SUCCESS && ReadEXC(false) == KERN_SUCCESS) { in ReadAllRegisterValues()
1321 if (WriteGPR() == KERN_SUCCESS) in WriteAllRegisterValues()
1323 if (WriteFPU() == KERN_SUCCESS) in WriteAllRegisterValues()
1325 if (WriteEXC() == KERN_SUCCESS) in WriteAllRegisterValues()
1529 if (kret == KERN_SUCCESS) { in SetHardwareBreakpoint()
1587 if (kret == KERN_SUCCESS) in SetHardwareBreakpoint()
[all …]
/external/google-breakpad/src/client/mac/crash_generation/
DInspector.mm57 if (result != KERN_SUCCESS) {
63 if (result == KERN_SUCCESS) {
66 if (result == KERN_SUCCESS) {
109 if (kr != KERN_SUCCESS) {
132 if (kr != KERN_SUCCESS) {
142 return KERN_SUCCESS;
153 if (kr != KERN_SUCCESS) {
173 if (kr != KERN_SUCCESS) {
184 if (kr != KERN_SUCCESS) {
200 if (result == KERN_SUCCESS) {
[all …]
Dcrash_generation_client.cc60 if (result != KERN_SUCCESS) in RequestDumpForException()
69 return result == KERN_SUCCESS; in RequestDumpForException()
Dcrash_generation_server.cc84 if (result == KERN_SUCCESS) { in Stop()
104 if (result == KERN_SUCCESS) { in WaitForOneMessage()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DMachThread.cpp206 if (kret == KERN_SUCCESS) { in InferiorThreadID()
214 if (kret == KERN_SUCCESS) { in InferiorThreadID()
261 if (err == KERN_SUCCESS) in GetBasicInfo()
275 return m_arch_up->GetRegisterState(flavor, force) == KERN_SUCCESS; in GetRegisterState()
279 return m_arch_up->SetRegisterState(flavor) == KERN_SUCCESS; in SetRegisterState()
590 return kret == KERN_SUCCESS; in GetIdentifierInfo()
614 if (kr != KERN_SUCCESS) { in GetGloballyUniqueThreadIDForMachPortID()
628 if (kr == KERN_SUCCESS) { in GetPThreadT()
708 if (kr == KERN_SUCCESS && tident.dispatch_qaddr != 0 && in GetDispatchQueueT()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/i386/
DDNBArchImplI386.cpp326 if (GetGPRState(false) == KERN_SUCCESS) in GetPC()
334 if (err == KERN_SUCCESS) { in SetPC()
338 return err == KERN_SUCCESS; in SetPC()
343 if (GetGPRState(false) == KERN_SUCCESS) in GetSP()
499 if (m_state.GetError(e_regSetFPU, Read) == KERN_SUCCESS) in GetFPUState()
599 if (kret != KERN_SUCCESS) in SetDBGState()
620 if (kret != KERN_SUCCESS) in ThreadWillResume()
645 if (GetGPRState(true) == KERN_SUCCESS) { in ThreadDidStop()
650 success = EnableHardwareSingleStep(false) == KERN_SUCCESS; in ThreadDidStop()
864 if (kret != KERN_SUCCESS) { in EnableHardwareBreakpoint()
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_mach_vm.cpp37 if (kr == KERN_SUCCESS) in TSAN_INTERCEPTOR()
48 if (kr == KERN_SUCCESS && address) in TSAN_INTERCEPTOR()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_stoptheworld_mac.cpp60 if (err != KERN_SUCCESS) { in RunThread()
137 if (err != KERN_SUCCESS) { in Append()
152 if (err != KERN_SUCCESS) { in GetRegistersAndSP()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/x86_64/
DDNBArchImplX86_64.cpp134 if (GetGPRState(false) == KERN_SUCCESS) in GetPC()
142 if (err == KERN_SUCCESS) { in SetPC()
146 return err == KERN_SUCCESS; in SetPC()
151 if (GetGPRState(false) == KERN_SUCCESS) in GetSP()
421 if (m_state.GetError(e_regSetFPU, Read) == KERN_SUCCESS) in GetFPUState()
505 if (m_state.GetError(e_regSetFPU, Write) == KERN_SUCCESS) in SetFPUState()
554 if (kret != KERN_SUCCESS) in SetDBGState()
575 if (kret != KERN_SUCCESS) in ThreadWillResume()
601 if (GetGPRState(true) == KERN_SUCCESS) { in ThreadDidStop()
606 success = EnableHardwareSingleStep(false) == KERN_SUCCESS; in ThreadDidStop()
[all …]
/external/google-breakpad/src/client/mac/Framework/
DOnDemandServer.mm68 if (result == KERN_SUCCESS) {
86 if (kr != KERN_SUCCESS) {
147 return KERN_SUCCESS;
182 if (kr != KERN_SUCCESS) {
/external/llvm/lib/Support/Unix/
DMemory.inc227 if (KERN_SUCCESS != kr) {
235 if (KERN_SUCCESS != kr) {
261 return KERN_SUCCESS == kr;
273 return KERN_SUCCESS == kr;
284 return KERN_SUCCESS == kr;
295 return KERN_SUCCESS == kr;
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DMemory.inc214 if (KERN_SUCCESS != kr) {
222 if (KERN_SUCCESS != kr) {
248 return KERN_SUCCESS == kr;
260 return KERN_SUCCESS == kr;
271 return KERN_SUCCESS == kr;
282 return KERN_SUCCESS == kr;
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_common_mac.cpp149 kern_return_t err = KERN_SUCCESS; in ProcessPlatformSpecificAllocations()
154 while (err == KERN_SUCCESS) { in ProcessPlatformSpecificAllocations()

1234