Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 45) sorted by relevance

12

/elf/
A Dtst-array5.c7 char *p = strrchr (argv [0], '/'); in preinit_0() local
9 if (p == NULL) in preinit_0()
12 p++; in preinit_0()
13 size_t len = strlen (p); in preinit_0()
15 write (STDOUT_FILENO, p, len); in preinit_0()
28 char *p = strrchr (argv [0], '/'); in init_0() local
30 if (p == NULL) in init_0()
33 p++; in init_0()
34 size_t len = strlen (p); in init_0()
36 write (STDOUT_FILENO, p, len); in init_0()
A Dtst-tlsmod18a.c12 int *p = &var; in test() local
14 asm volatile ("" : "+r" (p)); in test()
15 if (p == NULL || *p != 4) in test()
17 printf ("fail %d %p\n", N, p); in test()
A Difuncmain1.c31 foo_p p; in main() local
47 p = get_foo_p (); in main()
48 if (p != foo) in main()
50 if (ret_foo != -1 || (*p) () != ret_foo) in main()
53 p = get_foo_hidden_p (); in main()
54 if (ret_foo_hidden != 1 || (*p) () != ret_foo_hidden) in main()
57 p = get_foo_protected_p (); in main()
58 if (p != foo_protected) in main()
60 if (ret_foo_protected != 0 || (*p) () != ret_foo_protected) in main()
A Difuncmain1vis.c52 foo_p p; in main() local
64 p = get_foo_p (); in main()
65 if (p != foo) in main()
69 if (ret_foo != -30 || (*p) () != ret_foo) in main()
72 p = get_foo_hidden_p (); in main()
75 if (ret_foo_hidden != 1 || (*p) () != ret_foo_hidden) in main()
78 p = get_foo_protected_p (); in main()
79 if (p == foo_protected) in main()
83 if (ret_foo_protected != 0 || (*p) () != ret_foo_protected) in main()
A Difuncmain3.c38 foo_p p; in main() local
49 p = dlsym (h, "foo"); in main()
50 if (p == NULL) in main()
55 if ((*p) () != -1) in main()
72 p = (*f) (); in main()
73 if (p != foo) in main()
94 p = (*f) (); in main()
97 if (*ret != 1 || (*p) () != *ret) in main()
114 p = (*f) (); in main()
115 if (p == foo_protected) in main()
[all …]
A Dtst-gnu2-tls1.c34 int *p; in do_test() local
36 p = get_gd (); in do_test()
38 if (*p != 3 || !test_gd (3)) in do_test()
41 p = get_ld (); in do_test()
43 if (*p != 4 || !test_ld (4)) in do_test()
A Dtst-tls12.c4 p = &a##N; \
5 if (p->a != S || p->b != S + 1 || p->c != S + 2) \
11 struct A *p; in do_test() local
A Difuncmain7.c50 foo_p p; in main() local
52 p = get_foo (); in main()
53 if (p != foo) in main()
55 if ((*p) () != -30) in main()
58 p = get_foo_p (); in main()
59 if (p != foo) in main()
61 if ((*p) () != -30) in main()
A Difuncmain5.c27 foo_p p; in main() local
29 p = get_foo (); in main()
30 if ((*p) () != -1) in main()
33 p = get_foo_protected (); in main()
34 if ((*p) () != 0) in main()
A Dnodelete.c33 void *p; in do_test() local
43 p = dlopen ("nodelmod1.so", RTLD_LAZY); in do_test()
44 if (p == NULL) in do_test()
55 varp = dlsym (p, "var1"); in do_test()
67 if (dlclose (p) != 0) in do_test()
98 if (p == NULL) in do_test()
109 varp = dlsym (p, "var2"); in do_test()
121 if (dlclose (p) != 0) in do_test()
152 if (p == NULL) in do_test()
163 fctp = dlsym (p, "addr"); in do_test()
[all …]
A Dtst-array5dep.c7 char *p = strrchr (argv [0], '/'); in init_0() local
9 if (p == NULL) in init_0()
12 p++; in init_0()
13 size_t len = strlen (p); in init_0()
15 write (STDOUT_FILENO, p, len); in init_0()
A Dtst-dlmopen-dlerror.c38 for (char *p = stpcpy (buffer, "does not exist "); p < buffer_end; ++p) in do_test() local
40 p[0] = 'X'; in do_test()
41 p[1] = '\0'; in do_test()
A Dnoload.c9 void *p; in main() local
15 p = dlopen ("testobj1.so", RTLD_LAZY | RTLD_NOLOAD); in main()
16 if (p == NULL) in main()
24 dlclose (p); in main()
38 p = dlopen ("testobj5.so", RTLD_LAZY); in main()
40 if (p == NULL) in main()
62 if (dlclose (p) != 0) in main()
A Dtst-tlsmod17a.c14 int *p = &CONCAT (v, N); in CONCAT() local
16 asm volatile ("" : "+r" (p)); in CONCAT()
17 if (p == NULL || *p != 4) in CONCAT()
19 printf ("fail %d %p\n", N, p); in CONCAT()
A Dtst-ifunc-fault-lazy.c33 volatile char *volatile p = NULL; in implementation() local
34 *p = 0; in implementation()
41 volatile char *volatile p = NULL; in __typeof__() local
42 *p = 0; in __typeof__()
A Dtst-tls11.c4 p = f##N##a (); \
5 if (p->a != S || p->b != S + 1 || p->c != S + 2) \
11 struct A *p; in do_test() local
A Dtst-unique1mod2.c12 f (int *p) in f() argument
14 return &var != p || *p != 1; in f()
A Dtst-unique2mod2.c12 f (int *p) in f() argument
14 return &var != p || *p != 1; in f()
A Dtst-dlopenrpathmod.c25 void *p = dlopen ("in-subdir.so", RTLD_LAZY|RTLD_LOCAL); in foo() local
26 if (p != NULL) in foo()
28 dlclose (p); in foo()
A Ddl-exception.c117 for (const char *p = fmt; *p != '\0'; ++p) in rtld_hidden_def() local
118 if (*p == '%') in rtld_hidden_def()
120 ++p; in rtld_hidden_def()
121 switch (*p) in rtld_hidden_def()
134 ++p; in rtld_hidden_def()
176 for (const char *p = fmt; *p != '\0'; ++p) in rtld_hidden_def() local
177 if (*p == '%') in rtld_hidden_def()
179 ++p; in rtld_hidden_def()
180 switch (*p) in rtld_hidden_def()
219 ++p; in rtld_hidden_def()
[all …]
A Difuncmain6pie.c38 foo_p p; in main() local
43 p = get_foo_p (); in main()
44 if (p != foo) in main()
46 if ((*p) () != -30) in main()
A Dtst-tls-ie.c55 void *p = xdlopen (mod, RTLD_NOW); in load_and_access() local
57 void (*f) (void) = (void (*) (void))xdlsym (p, func); in load_and_access()
59 return p; in load_and_access()
97 void *p = dlopen ("tst-tls-ie-mod6.so", RTLD_NOW); in do_test() local
98 if (p != NULL) in do_test()
A Dtst-tls10.c7 p = f##N##a (); \
8 if (p->a != S || p->b != S + 1 || p->c != S + 2) \
14 struct A *p; in do_test() local
A Dtst-tls-ie-dlmopen.c56 void *p = xdlmopen (lmid, mod, RTLD_NOW); in load_and_access() local
58 void (*f) (void) = (void (*) (void))xdlsym (p, func); in load_and_access()
60 return p; in load_and_access()
98 void *p = dlmopen (LM_ID_BASE, "tst-tls-ie-mod4.so", RTLD_NOW); in do_test() local
99 if (p != NULL) in do_test()
A Dtst-dlopenrpath.c52 void *p = dlopen ("in-subdir.so", RTLD_LAZY|RTLD_LOCAL); in do_test() local
53 if (p != NULL) in do_test()
56 dlclose (p); in do_test()

Completed in 16 milliseconds

12