Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 37) sorted by relevance

12

/elf/
A Drestest2.c12 pid_t (*f)(void); in getpid() local
13 f = (pid_t (*)(void)) dlsym (RTLD_NEXT, "getpid"); in getpid()
14 if (f == NULL) in getpid()
16 return (pid2 = f()) + 26; in getpid()
22 pid_t (*f)(void); in main() local
26 f = (pid_t (*)(void)) dlsym (RTLD_DEFAULT, "getpid"); in main()
27 if (f == NULL) in main()
29 pid = f(); in main()
A Dtst-stringtable.c32 stringtable_finalize (&s, &f); in do_test()
34 TEST_COMPARE (f.size, 0); in do_test()
35 free (f.strings); in do_test()
48 stringtable_finalize (&s, &f); in do_test()
51 TEST_COMPARE (f.size, 1); in do_test()
52 free (f.strings); in do_test()
68 TEST_COMPARE (f.size, 5); in do_test()
69 free (f.strings); in do_test()
94 free (f.strings); in do_test()
128 free (f.strings); in do_test()
[all …]
A Dtst-rtld-list-tunables.exp1 glibc.malloc.arena_max: 0x0 (min: 0x1, max: 0x[f]+)
2 glibc.malloc.arena_test: 0x0 (min: 0x1, max: 0x[f]+)
4 glibc.malloc.hugetlb: 0x0 (min: 0x0, max: 0x[f]+)
6 glibc.malloc.mmap_threshold: 0x0 (min: 0x0, max: 0x[f]+)
7 glibc.malloc.mxfast: 0x0 (min: 0x0, max: 0x[f]+)
9 glibc.malloc.tcache_count: 0x0 (min: 0x0, max: 0x[f]+)
10 glibc.malloc.tcache_max: 0x0 (min: 0x0, max: 0x[f]+)
11 glibc.malloc.tcache_unsorted_limit: 0x0 (min: 0x0, max: 0x[f]+)
12 glibc.malloc.top_pad: 0x0 (min: 0x0, max: 0x[f]+)
13 glibc.malloc.trim_threshold: 0x0 (min: 0x0, max: 0x[f]+)
[all …]
A Dinitfirst.c8 void *f; in main() local
14 f = dlsym (h, "foo"); in main()
15 if (! f) in main()
20 ((void (*) (void)) f) (); in main()
A Dtst-dl_find_object-mod7.c4 mod7_function (void (*f) (void)) in mod7_function()
8 f (); in mod7_function()
9 f (); in mod7_function()
A Dtst-dl_find_object-mod1.c4 mod1_function (void (*f) (void)) in mod1_function()
8 f (); in mod1_function()
9 f (); in mod1_function()
A Dtst-dl_find_object-mod3.c4 mod3_function (void (*f) (void)) in mod3_function()
8 f (); in mod3_function()
9 f (); in mod3_function()
A Dtst-dl_find_object-mod4.c4 mod4_function (void (*f) (void)) in mod4_function()
8 f (); in mod4_function()
9 f (); in mod4_function()
A Dtst-dl_find_object-mod5.c5 mod5_function (void (*f) (void)) in mod5_function()
9 f (); in mod5_function()
10 f (); in mod5_function()
A Dtst-dl_find_object-mod6.c5 mod6_function (void (*f) (void)) in mod6_function()
9 f (); in mod6_function()
10 f (); in mod6_function()
A Dtst-dl_find_object-mod8.c4 mod8_function (void (*f) (void)) in mod8_function()
8 f (); in mod8_function()
9 f (); in mod8_function()
A Dtst-dl_find_object-mod9.c4 mod9_function (void (*f) (void)) in mod9_function()
8 f (); in mod9_function()
9 f (); in mod9_function()
A Difuncmain3.c39 foo_p (*f) (void); in main() local
58 f = dlsym (h, "get_foo_p"); in main()
59 if (f == NULL) in main()
72 p = (*f) (); in main()
80 f = dlsym (h, "get_foo_hidden_p"); in main()
81 if (f == NULL) in main()
94 p = (*f) (); in main()
100 f = dlsym (h, "get_foo_protected_p"); in main()
101 if (f == NULL) in main()
114 p = (*f) (); in main()
A Dtst-dl_find_object-mod2.c6 mod2_function (void (*f) (void)) in mod2_function()
10 f (); in mod2_function()
11 f (); in mod2_function()
A Dtst-execstack.c23 static void deeper (void (*f) (void));
29 tryme_thread (void *f) in tryme_thread() argument
31 (*((void (*) (void)) f)) (); in tryme_thread()
40 void **f = arg; in waiter_thread() local
44 (*((void (*) (void)) *f)) (); in waiter_thread()
147 f = dlsym (h, "tryme"); in do_test()
148 if (f == NULL) in do_test()
157 (*((void (*) (void)) f)) (); in do_test()
202 deeper ((void (*) (void)) f); in do_test()
227 deeper (void (*f) (void)) in deeper()
[all …]
A Dtst-execstack-prog.c11 static void deeper (void (*f) (void));
25 deeper (void (*f) (void)) in deeper()
29 (*f) (); in deeper()
A Dtst-execstack-needed.c12 static void deeper (void (*f) (void));
26 deeper (void (*f) (void)) in deeper()
30 (*f) (); in deeper()
A Dtst-unique2.c18 int (*f) (int *) = dlsym (h, "f"); in do_test() local
19 if (f == NULL) in do_test()
24 return f (&var); in do_test()
A Dtst-deep1.c25 int (*f) (void) = dlsym (p, "bar"); in do_test() local
26 if (f == NULL) in do_test()
32 return foo () + f (); in do_test()
A Dtst-prelink-cmp.c34 FILE *f = xfopen (src,"r"); in do_test()
40 xgetline (&buffer, &buffer_length, f); in do_test()
44 xfclose (f); in do_test()
A Dtst-global1.c24 void (*f) (void) = dlsym (h2, "p"); in do_test() local
25 if (f == NULL) in do_test()
31 f (); in do_test()
A Dtst-tlsmod14a.c10 static __thread struct foo f; variable
26 int fail = (((uintptr_t) &f) & (AL - 1)) != 0; in FCT()
27 printf ("&f = %p %s\n", &f, fail ? "FAIL" : "OK"); in FCT()
A Ddso-sort-tests-1.def19 output: i>h>g>f>e>d>c>b>a>{}<a<b<c<d<e<f<g<h<i
31 tst-dso-ordering6: a->[bcde]->f
32 output: f>e>d>c>b>a>{}<a<b<c<d<e<f
36 tst-dso-ordering7: a->[bc];b->[cde];e->f
37 output: f>e>d>c>b>a>{}<a<b<c<d<e<f
64 tst-bz15311: {+a;+e;+f;+g;+d;%d;-d;-g;-f;-e;-a};a->b->c->d;d=>[ba];c=>a;b=>e=>a;c=>f=>b;d=>g=>c
65 …_sort=1): {+a[d>c>b>a>];+e[e>];+f[f>];+g[g>];+d[];%d(b(e(a()))a()g(c(a()f(b(e(a()))))));-d[];-g[];…
66 …mic_sort=2): {+a[d>c>b>a>];+e[e>];+f[f>];+g[g>];+d[];%d(b(e(a()))a()g(c(a()f(b(e(a()))))));-d[];-g…
A Dtst-tls14.c13 static __thread struct foo f; variable
25 int fail = (((uintptr_t) &f) & (AL - 1)) != 0; in do_test()
26 printf ("&f = %p %s\n", &f, fail ? "FAIL" : "OK"); in do_test()
A Dneededtest4.c75 void (*f) (void); in main() local
92 f = dlsym (obj, "a2_function"); in main()
93 if (f == NULL) in main()
98 f (); in main()
140 f = dlsym (obj, "c_function"); in main()
141 if (f == NULL) in main()
146 f (); in main()

Completed in 19 milliseconds

12