Lines Matching refs:kr
85 kern_return_t kr = task_get_bootstrap_port(self_task, &bootstrap_port);
86 if (kr != KERN_SUCCESS) {
87 PRINT_MACH_RESULT(kr, "task_get_bootstrap_port(): ");
88 return kr;
92 kr = bootstrap_subset(bootstrap_port, self_task, &bootstrap_subset_port);
93 if (kr != BOOTSTRAP_SUCCESS) {
94 PRINT_BOOTSTRAP_RESULT(kr, "bootstrap_subset(): ");
95 return kr;
105 kr = breakpad::BootstrapRegister(
109 if (kr != BOOTSTRAP_SUCCESS) {
110 PRINT_BOOTSTRAP_RESULT(kr, "bootstrap_register(): ");
111 return kr;
114 kr = bootstrap_create_server(bootstrap_subset_port,
119 if (kr != BOOTSTRAP_SUCCESS) {
120 PRINT_BOOTSTRAP_RESULT(kr, "bootstrap_create_server(): ");
121 return kr;
130 kr = bootstrap_create_service(server_port_,
134 if (kr != BOOTSTRAP_SUCCESS) {
135 PRINT_BOOTSTRAP_RESULT(kr, "bootstrap_create_service(): ");
138 kr = bootstrap_look_up(bootstrap_port, (char*)service_name, &service_port_);
140 if (kr != BOOTSTRAP_SUCCESS) {
141 PRINT_BOOTSTRAP_RESULT(kr, "bootstrap_look_up(): ");
143 return kr;
178 kern_return_t kr = breakpad::BootstrapRegister(server_port_,
182 if (kr != KERN_SUCCESS) {
183 PRINT_MACH_RESULT(kr, "Breakpad UNREGISTER : bootstrap_register() : ");