Lines Matching refs:retp
47 os_library_clone(struct library *retp, struct library *lib) in os_library_clone() argument
66 arch_library_clone(struct library *retp, struct library *lib) in arch_library_clone() argument
85 os_library_symbol_clone(struct library_symbol *retp, in os_library_symbol_clone() argument
105 arch_library_symbol_clone(struct library_symbol *retp, in arch_library_symbol_clone() argument
135 strdup_if(const char **retp, const char *str, int whether) in strdup_if() argument
143 *retp = str; in strdup_if()
205 library_symbol_clone(struct library_symbol *retp, struct library_symbol *libsym) in library_symbol_clone() argument
213 private_library_symbol_init(retp, libsym->enter_addr, in library_symbol_clone()
217 if (os_library_symbol_clone(retp, libsym) < 0) { in library_symbol_clone()
219 private_library_symbol_destroy(retp); in library_symbol_clone()
223 if (arch_library_symbol_clone(retp, libsym) < 0) { in library_symbol_clone()
224 os_library_symbol_destroy(retp); in library_symbol_clone()
316 library_exported_name_clone(struct library_exported_name *retp, in library_exported_name_clone() argument
322 retp->name = name; in library_exported_name_clone()
323 retp->own_name = exnm->own_name; in library_exported_name_clone()
328 library_clone(struct library *retp, struct library *lib) in library_clone() argument
342 private_library_init(retp, lib->type); in library_clone()
343 library_set_soname(retp, soname, lib->own_soname); in library_clone()
344 library_set_pathname(retp, pathname, lib->own_pathname); in library_clone()
346 retp->key = lib->key; in library_clone()
351 struct library_symbol **nsymp = &retp->symbols; in library_clone()
360 library_destroy(retp); in library_clone()
364 (*nsymp)->lib = retp; in library_clone()
373 struct library_exported_name **nnamep = &retp->exported_names; in library_clone()
386 if (os_library_clone(retp, lib) < 0) in library_clone()
389 if (arch_library_clone(retp, lib) < 0) { in library_clone()
390 os_library_destroy(retp); in library_clone()