Lines Matching defs:kr
218 kern_return_t kr = mach_msg(header, MACH_SEND_MSG, messageSize, 0, MACH_PORT_NULL, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
219 if (kr != KERN_SUCCESS) {
310 kern_return_t kr = mach_msg(header, MACH_RCV_MSG | MACH_RCV_LARGE | MACH_RCV_TIMEOUT, 0, buffer.size(), machPort, 0, MACH_PORT_NULL);
311 if (kr == MACH_RCV_TIMED_OUT)
314 if (kr == MACH_RCV_TOO_LARGE) {
319 kr = mach_msg(header, MACH_RCV_MSG | MACH_RCV_LARGE | MACH_RCV_TIMEOUT, 0, buffer.size(), machPort, 0, MACH_PORT_NULL);
320 ASSERT(kr != MACH_RCV_TOO_LARGE);
323 if (kr != MACH_MSG_SUCCESS) {
405 kern_return_t kr = mach_msg(header, MACH_SEND_MSG, header->msgh_size, 0, MACH_PORT_NULL, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
406 if (kr != KERN_SUCCESS) {
407 LOG_ERROR("Failed to send message to real exception port, error %x", kr);