Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 72) sorted by relevance

123

/glibc-2.36/stdio-common/
Dtst-cookie.c16 cookieread (void *cookie, char *buf, size_t count) in cookieread() argument
19 (unsigned long int) cookie); in cookieread()
20 if (cookie != THE_COOKIE) in cookieread()
29 cookiewrite (void *cookie, const char *buf, size_t count) in cookiewrite() argument
32 (unsigned long int) cookie); in cookiewrite()
33 if (cookie != THE_COOKIE) in cookiewrite()
42 cookieseek (void *cookie, off64_t *offset, int whence) in cookieseek() argument
45 (unsigned long int) cookie); in cookieseek()
46 if (cookie != THE_COOKIE) in cookieseek()
55 cookieclose (void *cookie) in cookieclose() argument
[all …]
/glibc-2.36/elf/
Dtst-audit23.c122 uintptr_t cookie; in do_test() local
125 &cookie); in do_test()
131 if (cookie != last_act_cookie && last_act_cookie != -1) in do_test()
134 if (this_act == LA_ACT_ADD && acts[nacts] != cookie) in do_test()
136 acts[nacts++] = cookie; in do_test()
137 last_act_cookie = cookie; in do_test()
145 TEST_COMPARE (acts[nacts], cookie); in do_test()
150 TEST_COMPARE (cookie, last_act_cookie); in do_test()
167 uintptr_t cookie; in do_test() local
169 &cookie, &lname, &laddr, &lmid); in do_test()
[all …]
Dtst-auditmod23.c40 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
42 fprintf (stderr, "%s: %d %"PRIxPTR"\n", __func__, flag, (uintptr_t) cookie); in la_activity()
46 la_objopen (struct link_map *map, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
50 (uintptr_t) cookie, l_name, map->l_addr, lmid); in la_objopen()
60 *cookie = (uintptr_t) map_desc; in la_objopen()
66 la_objclose (uintptr_t *cookie) in la_objclose() argument
68 struct map_desc_t *map_desc = (struct map_desc_t *) *cookie; in la_objclose()
70 (uintptr_t) cookie, map_desc->lname, map_desc->laddr, in la_objclose()
Ddl-audit.c34 afct->activity (&link_map_audit_state (l, cnt)->cookie, action); in _dl_audit_activity_map()
65 name = afct->objsearch (name, &state->cookie, code); in _dl_audit_objsearch()
87 state->bindflags = afct->objopen (l, nsid, &state->cookie); in _dl_audit_objopen()
109 afct->objclose (&state->cookie); in _dl_audit_objclose()
126 afct->preinit (&link_map_audit_state (l, cnt)->cookie); in _dl_audit_preinit()
160 &match_audit->cookie, in _dl_audit_symbind_alt()
161 &result_audit->cookie, in _dl_audit_symbind_alt()
230 &l_state->cookie, in rtld_hidden_def()
231 &result_state->cookie, &flags, in rtld_hidden_def()
306 &l_state->cookie, &bound_state->cookie, in _dl_audit_pltenter()
[all …]
Dtst-auditmod18.c30 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
37 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
43 la_objopen (struct link_map *map, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
50 la_objclose (uintptr_t *cookie) in la_objclose() argument
57 la_preinit (uintptr_t *cookie) in la_preinit() argument
Dtst-audit13mod1.c32 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
38 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
44 la_objopen (struct link_map *map, Lmid_t lmid, uintptr_t * cookie) in la_objopen() argument
50 la_preinit (uintptr_t * cookie) in la_preinit() argument
68 la_objclose (uintptr_t * cookie) in la_objclose() argument
Dtst-auditmanymod.h37 uintptr_t *cookie) in la_objopen() argument
39 struct link_map *cookie_map = (struct link_map *) *cookie; in la_objopen()
41 MOD, map, map->l_name, cookie, cookie_map, in la_objopen()
42 (char *) cookie - (char *) map); in la_objopen()
Dtst-auditmod21a.c61 la_objopen (struct link_map* map, Lmid_t lmid, uintptr_t* cookie) in la_objopen() argument
64 *cookie = (uintptr_t) map; in la_objopen()
69 la_activity (uintptr_t* cookie, unsigned int flag) in la_activity() argument
77 la_preinit (uintptr_t* cookie) in la_preinit() argument
Dtst-auditmod1.c27 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
40 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
67 la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
75 la_preinit (uintptr_t *cookie) in la_preinit() argument
81 la_objclose (uintptr_t *cookie) in la_objclose() argument
Dtst-auditmod20.c46 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
54 la_preinit (uintptr_t *cookie) in la_preinit() argument
Ddl-profile.c264 char cookie[4]; in _dl_start_profile() member
269 || (offsetof (struct real_gmon_hdr, cookie) in _dl_start_profile()
270 != offsetof (struct gmon_hdr, cookie)) in _dl_start_profile()
275 memcpy (&gmon_hdr.cookie[0], GMON_MAGIC, sizeof (gmon_hdr.cookie)); in _dl_start_profile()
/glibc-2.36/hurd/
Dfopenport.c26 readio (void *cookie, char *buf, size_t n) in readio() argument
33 if (err = __io_read ((io_t) cookie, &bufp, &nread, -1, n)) in readio()
49 writeio (void *cookie, const char *buf, size_t n) in writeio() argument
54 if (err = __io_write ((io_t) cookie, buf, n, -1, &wrote)) in writeio()
64 seekio (void *cookie, in seekio() argument
68 error_t err = __io_seek ((file_t) cookie, *pos, whence, pos); in seekio()
75 closeio (void *cookie) in closeio() argument
78 (mach_port_t) cookie); in closeio()
/glibc-2.36/mach/
Ddevstream.c29 devstream_write (void *cookie, const char *buffer, size_t n) in devstream_write() argument
31 const device_t dev = (device_t) cookie; in devstream_write()
84 devstream_read (void *cookie, char *buffer, size_t to_read) in devstream_read() argument
86 const device_t dev = (device_t) cookie; in devstream_read()
107 (void) devstream_write (cookie, buffer, nread); in devstream_read()
113 dealloc_ref (void *cookie) in dealloc_ref() argument
115 if (__mach_port_deallocate (mach_task_self (), (mach_port_t) cookie)) in dealloc_ref()
/glibc-2.36/libio/
Doldfmemopen.c93 fmemopen_read (void *cookie, char *b, size_t s) in fmemopen_read() argument
97 c = (fmemopen_cookie_t *) cookie; in fmemopen_read()
117 fmemopen_write (void *cookie, const char *b, size_t s) in fmemopen_write() argument
122 c = (fmemopen_cookie_t *) cookie; in fmemopen_write()
151 fmemopen_seek (void *cookie, off64_t *p, int w) in fmemopen_seek() argument
156 c = (fmemopen_cookie_t *) cookie; in fmemopen_seek()
186 fmemopen_close (void *cookie) in fmemopen_close() argument
190 c = (fmemopen_cookie_t *) cookie; in fmemopen_close()
Dfmemopen.c46 fmemopen_read (void *cookie, char *b, size_t s) in fmemopen_read() argument
48 fmemopen_cookie_t *c = (fmemopen_cookie_t *) cookie; in fmemopen_read()
66 fmemopen_write (void *cookie, const char *b, size_t s) in fmemopen_write() argument
68 fmemopen_cookie_t *c = (fmemopen_cookie_t *) cookie;; in fmemopen_write()
100 fmemopen_seek (void *cookie, off64_t *p, int w) in fmemopen_seek() argument
103 fmemopen_cookie_t *c = (fmemopen_cookie_t *) cookie; in fmemopen_seek()
136 fmemopen_close (void *cookie) in fmemopen_close() argument
138 fmemopen_cookie_t *c = (fmemopen_cookie_t *) cookie; in fmemopen_close()
Diofopncook.c152 void *cookie, cookie_io_functions_t io_functions) in _IO_cookie_init() argument
157 cfile->__cookie = cookie; in _IO_cookie_init()
175 _IO_fopencookie (void *cookie, const char *mode, in _IO_fopencookie() argument
212 _IO_cookie_init (&new_f->cfile, read_write, cookie, io_functions); in _IO_fopencookie()
265 _IO_old_fopencookie (void *cookie, const char *mode, in _IO_old_fopencookie() argument
270 ret = _IO_fopencookie (cookie, mode, io_functions); in _IO_old_fopencookie()
/glibc-2.36/sysdeps/i386/
Dtst-auditmod3b.c44 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
66 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
99 la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
107 la_preinit (uintptr_t *cookie) in la_preinit() argument
113 la_objclose (uintptr_t *cookie) in la_objclose() argument
/glibc-2.36/sysdeps/x86_64/
Dtst-auditmod3b.c30 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
43 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
70 la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
78 la_preinit (uintptr_t *cookie) in la_preinit() argument
84 la_objclose (uintptr_t *cookie) in la_objclose() argument
Dtst-auditmod5b.c30 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
43 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
70 la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
78 la_preinit (uintptr_t *cookie) in la_preinit() argument
84 la_objclose (uintptr_t *cookie) in la_objclose() argument
Dtst-auditmod4b.c29 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
42 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
69 la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
77 la_preinit (uintptr_t *cookie) in la_preinit() argument
83 la_objclose (uintptr_t *cookie) in la_objclose() argument
Dtst-auditmod7b.c29 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
42 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
69 la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
77 la_preinit (uintptr_t *cookie) in la_preinit() argument
83 la_objclose (uintptr_t *cookie) in la_objclose() argument
Dtst-auditmod10b.c46 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
59 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
86 la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
94 la_preinit (uintptr_t *cookie) in la_preinit() argument
100 la_objclose (uintptr_t *cookie) in la_objclose() argument
Dtst-auditmod6b.c29 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
42 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
69 la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
77 la_preinit (uintptr_t *cookie) in la_preinit() argument
83 la_objclose (uintptr_t *cookie) in la_objclose() argument
Dtst-auditmod6c.c29 la_activity (uintptr_t *cookie, unsigned int flag) in la_activity() argument
42 la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag) in la_objsearch() argument
69 la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie) in la_objopen() argument
77 la_preinit (uintptr_t *cookie) in la_preinit() argument
83 la_objclose (uintptr_t *cookie) in la_objclose() argument
/glibc-2.36/gmon/
Dgmon.c385 char cookie[4]; in write_gmon() member
390 || (offsetof (struct real_gmon_hdr, cookie) in write_gmon()
391 != offsetof (struct gmon_hdr, cookie)) in write_gmon()
395 memcpy (&ghdr.cookie[0], GMON_MAGIC, sizeof (ghdr.cookie)); in write_gmon()

123