Lines Matching refs:rval
82 kern_return_t rval = KERN_FAILURE;
97 require_action(vtable_sect, finish, rval=KERN_FAILURE);
104 rval = init_by_entries(vtable, relocator, defined_cxx_symbols);
105 require_noerr(rval, finish);
112 rval=KERN_FAILURE;
118 rval = init_by_entries_and_relocs(vtable, vtable_sym,
120 require_noerr(rval, finish);
123 rval=KERN_FAILURE;
129 rval = init_by_relocs(vtable, vtable_sym, vtable_sect, relocator);
130 require_noerr(rval, finish);
136 rval = KERN_SUCCESS;
140 return rval;
169 kern_return_t rval = KERN_FAILURE;
197 rval = kxld_reloc_get_reloc_index_by_offset(§->relocs,
199 require_noerr(rval, finish);
222 rval = kxld_array_init(&vtable->entries, sizeof(KXLDVTableEntry), nentries);
223 require_noerr(rval, finish);
243 rval = KERN_SUCCESS;
245 return rval;
256 kern_return_t rval = KERN_FAILURE;
286 rval = kxld_array_init(&vtable->entries, sizeof(KXLDVTableEntry), nentries);
287 require_noerr(rval, finish);
314 rval = KERN_SUCCESS;
316 return rval;
334 kern_return_t rval = KERN_FAILURE;
378 rval = kxld_array_init(&vtable->entries, sizeof(KXLDVTableEntry), nentries);
379 require_noerr(rval, finish);
403 rval=KERN_FAILURE;
417 rval = KERN_SUCCESS;
419 return rval;
452 KXLDVTableEntry *rval = NULL;
465 rval = kxld_array_get_item(&vtable->entries, vtable_entry_idx);
467 return rval;
477 kern_return_t rval = KERN_FAILURE;
497 require_action(!vtable->is_patched, finish, rval=KERN_SUCCESS);
498 require_action(super_vtable->is_patched, finish, rval=KERN_FAILURE);
500 rval=KERN_FAILURE;
550 finish, rval=KERN_FAILURE;
576 rval = kxld_sym_get_class_name_from_vtable_name(vtable->name,
578 require_noerr(rval, finish);
613 rval = kxld_object_add_symbol(object, parent_entry->patched.name,
615 require_noerr(rval, finish);
617 require_action(sym, finish, rval=KERN_FAILURE);
619 rval = kxld_symtab_get_sym_index(symtab, sym, &symindex);
620 require_noerr(rval, finish);
622 rval = kxld_reloc_update_symindex(child_entry->unpatched.reloc, symindex);
623 require_noerr(rval, finish);
631 rval = kxld_object_patch_symbol(object, child_entry->unpatched.sym);
632 require_noerr(rval, finish);
647 require_action(!failure, finish, rval=KERN_FAILURE);
671 rval = KERN_SUCCESS;
678 return rval;