Lines Matching refs:name
67 char *name;
350 static struct symdef get_lfs64(const char *name)
367 for (l=0; name[l]; l++) {
369 buf[l] = name[l];
371 if (!strcmp(name, "readdir64_r"))
373 if (l<2 || name[l-2]!='6' || name[l-1]!='4')
390 const char *name;
432 name = strings + sym->st_name;
436 : find_sym(ctx, name, type==REL_PLT);
447 dso->name, name);
464 dso->name, name, def.dso->name);
527 dso->name, sym ? name : "(local)" );
556 dso->name, type);
890 static int path_open(const char *name, const char *s, char *buf, size_t buf_size)
898 if (snprintf(buf, buf_size, "%.*s/%s", (int)l, s, name) < buf_size) {
959 origin = p->name;
965 /* Normally p->name will always be an absolute or relative
968 * program in the working directory, app.name may not. Fix. */
1058 error("Error allocating function descriptors for %s", p->name);
1072 static struct dso *load_library(const char *name, struct dso *needed_by)
1087 if (!*name) {
1093 if (name[0]=='l' && name[1]=='i' && name[2]=='b') {
1099 if (strncmp(name+3, rp, next-rp) == 0)
1111 name, ldso.name,
1118 if (!strcmp(name, ldso.name)) is_self = 1;
1127 if (strchr(name, '/')) {
1128 pathname = name;
1129 fd = open(name, O_RDONLY|O_CLOEXEC);
1131 /* Search for the name to see if it's already loaded */
1133 if (p->shortname && !strcmp(p->shortname, name)) {
1137 if (strlen(name) > NAME_MAX) return 0;
1139 if (env_path) fd = path_open(name, env_path, buf, sizeof buf);
1144 fd = path_open(name, p->rpath, buf, sizeof buf);
1150 if (ldso.name[0]=='/') {
1152 for (s=t=z=ldso.name; *s; s++)
1154 prefix_len = z-ldso.name;
1156 prefix = ldso.name;
1189 fd = path_open(name, sys_path, buf, sizeof buf);
1210 if (!strcmp(p->name, pathname)) {
1216 * setup its shortname so it can be found by name. */
1217 if (!p->shortname && pathname != name)
1218 p->shortname = strrchr(p->name, '/')+1;
1266 p->name = p->buf;
1268 strcpy(p->name, pathname);
1269 /* Add a shortname only if name arg was not an explicit pathname. */
1270 if (pathname != name) p->shortname = strrchr(p->name, '/')+1;
1285 (uintptr_t)(p->name+strlen(p->name)+sizeof(size_t)));
1298 if (ldd_mode) dprintf(1, "\t%s => %s (%p)\n", name, pathname, p->base);
1319 error("Error loading dependencies for %s", p->name);
1330 p->strings + p->dynv[i+1], p->name);
1377 error("Error recording dependencies for %s", p->name);
1472 p->name);
1613 queue[i]->name);
1773 ldso.name = ldso.shortname = "libc.so";
1898 if (interp_off) ldso.name = "/lib/libc.so";
1900 if (interp_off) ldso.name = laddr(&app, interp_off);
1904 app.name = argv[0];
1906 app.name = "none";
1910 app.name = (char *)aux[AT_EXECFN];
1912 app.name = argv[0];
1965 ldso.name = ldname;
1966 app.name = argv[0];
1968 /* Find the name that would have been used for the dynamic
1973 ldso.name = laddr(&app, app.phdr[i].p_vaddr);
1975 dprintf(1, "\t%s (%p)\n", ldso.name, ldso.base);
2034 vdso.name = "";
2151 error("Error preparing lazy relocation for %s: %m", p->name);
2411 info->dli_fname = p->name;
2443 /* Map the symbol name to a time64 version of itself according to the
2455 /* Use the presence of the remapped symbol name in libc to determine
2471 info.dlpi_name = current->name;