Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 117) sorted by relevance

12345

/glibc-2.36/hurd/
Dsetauth.c36 mach_port_t newport, ref; in _hurd_setauth() local
68 ref = __mach_reply_port (); in _hurd_setauth()
70 ref, MACH_MSG_TYPE_MAKE_SEND) in _hurd_setauth()
74 ref, MACH_MSG_TYPE_MAKE_SEND, in _hurd_setauth()
81 __mach_port_destroy (__mach_task_self (), ref); in _hurd_setauth()
84 ref = __mach_reply_port (); in _hurd_setauth()
87 ref, MACH_MSG_TYPE_MAKE_SEND) in _hurd_setauth()
89 ref, MACH_MSG_TYPE_MAKE_SEND, in _hurd_setauth()
92 __mach_port_destroy (__mach_task_self (), ref); in _hurd_setauth()
94 ref = __mach_reply_port (); in _hurd_setauth()
[all …]
Ddtable.c266 mach_port_t new, newctty, ref; in reauth_dtable() local
272 ref = __mach_reply_port (); in reauth_dtable()
280 ref, MACH_MSG_TYPE_MAKE_SEND) in reauth_dtable()
283 ref, MACH_MSG_TYPE_MAKE_SEND, in reauth_dtable()
291 ref, MACH_MSG_TYPE_MAKE_SEND) in reauth_dtable()
294 ref, MACH_MSG_TYPE_MAKE_SEND, in reauth_dtable()
304 __mach_port_destroy (__mach_task_self (), ref); in reauth_dtable()
Dlookup-retry.c83 mach_port_t ref = __mach_reply_port (); in __hurd_file_name_lookup_retry() local
86 return __auth_user_authenticate (auth, ref, in __hurd_file_name_lookup_retry()
90 err = __io_reauthenticate (unauth, ref, MACH_MSG_TYPE_MAKE_SEND); in __hurd_file_name_lookup_retry()
93 __mach_port_destroy (__mach_task_self (), ref); in __hurd_file_name_lookup_retry()
Dhurdauth.c24 _hurd_refport_secure_p (mach_port_t ref) in _hurd_refport_secure_p() argument
26 if (ref == __mach_task_self ()) in _hurd_refport_secure_p()
28 if (__USEPORT (AUTH, ref == port)) in _hurd_refport_secure_p()
/glibc-2.36/elf/
Ddl-sym.c45 _dl_tls_symaddr (struct link_map *map, const ElfW(Sym) *ref) in _dl_tls_symaddr() argument
51 .ti_offset = ref->st_value in _dl_tls_symaddr()
56 return __TLS_GET_ADDR (map->l_tls_modid, ref->st_value); in _dl_tls_symaddr()
88 const ElfW(Sym) *ref = NULL; in do_sym()
105 result = GLRO(dl_lookup_symbol_x) (name, match, &ref, in do_sym()
117 args.refp = &ref; in do_sym()
146 result = GLRO(dl_lookup_symbol_x) (name, match, &ref, l->l_local_scope, in do_sym()
153 result = GLRO(dl_lookup_symbol_x) (name, map, &ref, map->l_local_scope, in do_sym()
157 if (ref != NULL) in do_sym()
162 if (ELFW(ST_TYPE) (ref->st_info) == STT_TLS) in do_sym()
[all …]
Ddl-lookup.c61 const ElfW(Sym) *const ref, in ElfW()
90 if (sym != ref && strcmp (strtab + sym->st_name, undef_name)) in ElfW()
215 const ElfW(Sym) *ref, const struct link_map *undef_map, in do_lookup_unique()
312 enter_unique_sym (entries, size, new_hash, strtab + sym->st_name, ref, in do_lookup_unique()
344 unsigned long int *old_hash, const ElfW(Sym) *ref, in do_lookup_x()
416 sym = check_match (undef_name, ref, version, flags, in do_lookup_x()
441 sym = check_match (undef_name, ref, version, flags, in do_lookup_x()
464 _dl_check_protected_symbol (undef_name, undef_map, ref, map, in do_lookup_x()
489 result, type_class, sym, strtab, ref, in do_lookup_x()
752 const ElfW(Sym) **ref, in _dl_lookup_symbol_x()
[all …]
Ddl-libc.c78 const ElfW(Sym) *ref;
104 args->ref = NULL; in do_dlsym()
105 args->loadbase = GLRO(dl_lookup_symbol_x) (args->name, args->map, &args->ref, in do_dlsym()
114 args->dlsym.ref = NULL; in do_dlvsym()
117 &args->dlsym.ref, in do_dlvsym()
141 args->ref = NULL; in do_dlsym_private()
142 l = GLRO(dl_lookup_symbol_x) (args->name, args->map, &args->ref, in do_dlsym_private()
174 return DL_SYMBOL_ADDRESS (sargs.loadbase, sargs.ref); in __libc_dlsym_private()
191 : (void *) (DL_SYMBOL_ADDRESS (args.loadbase, args.ref))); in __libc_dlsym()
217 args.dlsym.ref))); in __libc_dlvsym()
Ddl-symaddr.c23 _dl_symbol_address (struct link_map *map, const ElfW(Sym) *ref) in _dl_symbol_address() argument
25 ElfW(Addr) value = SYMBOL_ADDRESS (map, ref, false); in _dl_symbol_address()
28 if (ELFW(ST_TYPE) (ref->st_info) == STT_FUNC) in _dl_symbol_address()
29 return (void *) _dl_make_fptr (map, ref, value); in _dl_symbol_address()
Ddl-reloc.c167 resolve_map (lookup_t l, struct r_scope_elem *scope[], const ElfW(Sym) **ref, in resolve_map() argument
170 if (ELFW(ST_BIND) ((*ref)->st_info) == STB_LOCAL in resolve_map()
171 || __glibc_unlikely (dl_symbol_visibility_binds_local_p (*ref))) in resolve_map()
174 if (__glibc_unlikely (*ref == l->l_lookup_cache.sym) in resolve_map()
178 *ref = l->l_lookup_cache.ret; in resolve_map()
184 l->l_lookup_cache.sym = *ref; in resolve_map()
186 = (const char *) D_PTR (l, l_info[DT_STRTAB]) + (*ref)->st_name; in resolve_map()
191 undef_name, l, ref, scope, v, tc, in resolve_map()
193 l->l_lookup_cache.ret = *ref; in resolve_map()
Ddl-minimal.c63 const ElfW(Sym) *ref = NULL; in lookup_malloc_symbol()
64 lookup_t result = _dl_lookup_symbol_x (name, main_map, &ref, in lookup_malloc_symbol()
68 assert (ELFW(ST_TYPE) (ref->st_info) != STT_TLS); in lookup_malloc_symbol()
69 void *value = DL_SYMBOL_ADDRESS (result, ref); in lookup_malloc_symbol()
71 return _dl_sym_post (result, ref, value, 0, main_map); in lookup_malloc_symbol()
Dtst-absolute-sym.c28 void *ref = (void *) 0x55aa; in do_test() local
32 if (ptr != ref) in do_test()
33 FAIL_EXIT1 ("Got %p, expected %p\n", ptr, ref); in do_test()
Dtst-absolute-zero.c28 void *ref = (void *) 0; in do_test() local
32 if (ptr != ref) in do_test()
33 FAIL_EXIT1 ("Got %p, expected %p\n", ptr, ref); in do_test()
Ddl-sym-post.h37 _dl_sym_post (lookup_t result, const ElfW(Sym) *ref, void *value, in _dl_sym_post() argument
41 if (__glibc_unlikely (ELFW(ST_TYPE) (ref->st_info) == STT_GNU_IFUNC)) in _dl_sym_post()
57 _dl_audit_symbind_alt (match, ref, &value, result); in _dl_sym_post()
/glibc-2.36/crypt/
Dmd5test-giant.c42 const char ref[16]; member
61 report (const char *id, const char *md5, size_t len, const char *ref) in report() argument
63 if (memcmp (md5, ref, 16)) in report()
73 test_single (void *buf, size_t len, const char *ref) in test_single() argument
82 return report ("single", sum, len, ref); in test_single()
88 test_double (void *buf, size_t len, const char *ref) in test_double() argument
104 return report ("double", sum, len, ref); in test_double()
124 if (test_single (buf, test_data[j].len, test_data[j].ref)) in do_test()
126 if (test_double (buf, test_data[j].len, test_data[j].ref)) in do_test()
/glibc-2.36/sysdeps/mach/hurd/
Dfaccessat.c71 mach_port_t ref; in __faccessat_common() local
72 ref = __mach_reply_port (); in __faccessat_common()
76 err = __io_reauthenticate (port, ref, MACH_MSG_TYPE_MAKE_SEND); in __faccessat_common()
79 ref, MACH_MSG_TYPE_MAKE_SEND, in __faccessat_common()
83 __mach_port_destroy (__mach_task_self (), ref); in __faccessat_common()
91 mach_port_t ref; in __faccessat_common() local
92 ref = __mach_reply_port (); in __faccessat_common()
96 err = __io_reauthenticate (port, ref, MACH_MSG_TYPE_MAKE_SEND); in __faccessat_common()
99 ref, MACH_MSG_TYPE_MAKE_SEND, in __faccessat_common()
103 __mach_port_destroy (__mach_task_self (), ref); in __faccessat_common()
Dspawni.c125 mach_port_t ref; in __spawni() local
128 ref = __mach_reply_port (); in __spawni()
131 err = __io_reauthenticate (ccwdir, ref, MACH_MSG_TYPE_MAKE_SEND); in __spawni()
134 ref, MACH_MSG_TYPE_MAKE_SEND, in __spawni()
141 err = __io_reauthenticate (port, ref, MACH_MSG_TYPE_MAKE_SEND); in __spawni()
144 ref, MACH_MSG_TYPE_MAKE_SEND, in __spawni()
148 __mach_port_destroy (__mach_task_self (), ref); in __spawni()
160 mach_port_t ref = __mach_reply_port (); in __spawni() local
162 ref, MACH_MSG_TYPE_MAKE_SEND); in __spawni()
165 ref, MACH_MSG_TYPE_MAKE_SEND, in __spawni()
[all …]
Drecvmsg.c51 mach_port_t ref; in __libc_recvmsg() local
52 ref = __mach_reply_port (); in __libc_recvmsg()
57 err = __io_reauthenticate (port, ref, MACH_MSG_TYPE_MAKE_SEND); in __libc_recvmsg()
62 ref, MACH_MSG_TYPE_MAKE_SEND, in __libc_recvmsg()
67 __mach_port_destroy (__mach_task_self (), ref); in __libc_recvmsg()
/glibc-2.36/time/
Dtst-strftime2.c69 static char ref[array_length (locales)][array_length (formats)] variable
139 sprintf (ref[i][j][k], "%s\u5143%s", era, sfx); in mkreftable()
141 sprintf (ref[i][j][k], "%s%02d%s", era, abs (yr), sfx); in mkreftable()
143 sprintf (ref[i][j][k], "%s%2d%s", era, abs (yr), sfx); in mkreftable()
145 sprintf (ref[i][j][k], "%s%d%s", era, abs (yr), sfx); in mkreftable()
177 e = strlen (ref[i][j][k]); in do_test()
179 if (strcmp (buf, ref[i][j][k]) != 0) in do_test()
181 printf ("\tshould be \"%s\"", ref[i][j][k]); in do_test()
/glibc-2.36/sysdeps/hppa/
Ddl-symaddr.c23 _dl_symbol_address (struct link_map *map, const ElfW(Sym) *ref) in _dl_symbol_address() argument
26 Elf32_Addr value = SYMBOL_ADDRESS (map, ref, false); in _dl_symbol_address()
30 if (ELFW(ST_TYPE) (ref->st_info) == STT_FUNC){ in _dl_symbol_address()
31 return (void *)((unsigned long)_dl_make_fptr (map, ref, value) | 2); in _dl_symbol_address()
Ddl-lookupcfg.h27 void *_dl_symbol_address (struct link_map *map, const ElfW(Sym) *ref);
30 #define DL_SYMBOL_ADDRESS(map, ref) _dl_symbol_address(map, ref) argument
/glibc-2.36/sysdeps/unix/sysv/linux/
Ddl-vdso.h51 const ElfW (Sym) *ref = &wsym; in dl_vdso_vsym()
52 lookup_t result = GLRO (dl_lookup_symbol_x) (name, map, &ref, in dl_vdso_vsym()
55 return ref != NULL ? DL_SYMBOL_ADDRESS (result, ref) : NULL; in dl_vdso_vsym()
/glibc-2.36/sysdeps/generic/
Ddl-protected.h25 const ElfW(Sym) *ref, in _dl_check_protected_symbol()
39 else if ((type_class & ELF_RTYPE_CLASS_PLT) && ref->st_value != 0 in _dl_check_protected_symbol()
40 && ref->st_shndx == SHN_UNDEF) in _dl_check_protected_symbol()
Dldsodefs.h99 #define SYMBOL_ADDRESS(map, ref, map_set) \ argument
100 ((ref) == NULL ? 0 \
101 : (__glibc_unlikely ((ref)->st_shndx == SHN_ABS) ? 0 \
102 : LOOKUP_VALUE_ADDRESS (map, map_set)) + (ref)->st_value)
112 # define DL_SYMBOL_ADDRESS(map, ref) \ argument
113 (void *) SYMBOL_ADDRESS (map, ref, false)
1375 void _dl_audit_symbind_alt (struct link_map *l, const ElfW(Sym) *ref,
/glibc-2.36/sysdeps/ia64/
Ddl-lookupcfg.h30 extern void *_dl_symbol_address (struct link_map *map, const Elf64_Sym *ref);
33 #define DL_SYMBOL_ADDRESS(map, ref) _dl_symbol_address(map, ref) argument
/glibc-2.36/sysdeps/riscv/
Ddl-machine.h336 const ElfW(Sym) *ref = &gp_sym; in elf_machine_runtime_setup()
337 _dl_lookup_symbol_x ("__global_pointer$", l, &ref, in elf_machine_runtime_setup()
339 if (ref) in elf_machine_runtime_setup()
343 : "r" (ref->st_value) in elf_machine_runtime_setup()

12345