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