Searched refs:strdup_if (Results 1 – 3 of 3) sorted by relevance
/external/ltrace/ |
D | prototype.c | 226 if (strdup_if(&name, name, !own_name) < 0) in protolib_add_prototype() 238 if (strdup_if(&name, name, !own_name) < 0) in protolib_add_named_type() 553 if (strdup_if(&key, key, !own_key) < 0) { in protolib_cache_maybe_load() 601 if (strdup_if(&key, key, !own_key) < 0) { in protolib_cache_default() 630 if (strdup_if(&filename, filename, !own_filename) < 0) { in protolib_cache_file() 660 if (strdup_if(&filename, filename, !own_filename) < 0) { in protolib_cache_protolib()
|
D | library.c | 135 strdup_if(const char **retp, const char *str, int whether) in strdup_if() function 210 if (strdup_if(&name, libsym->name, libsym->own_name) < 0) in library_symbol_clone() 335 if (strdup_if(&soname, lib->soname, lib->own_soname) < 0 in library_clone() 336 || strdup_if(&pathname, lib->pathname, lib->own_pathname) < 0) { in library_clone()
|
D | common.h | 70 int strdup_if(const char **ret, const char *str, int whether);
|