Home
last modified time | relevance | path

Searched refs:global_p (Results 1 – 3 of 3) sorted by relevance

/external/compiler-rt/test/scudo/
Dpreinit.cpp11 static void *global_p = nullptr; variable
14 global_p = malloc(1); in __init()
15 if (!global_p) in __init()
20 if (global_p) in __fini()
21 free(global_p); in __fini()
/external/compiler-rt/test/tsan/
Dignored-interceptors-mmap.cc17 void *global_p; variable
33 global_p = p; in mmap_and_ignore_reads_and_writes()
42 ((int*)global_p)[1] = 10; in Thread()
43 printf("Read the zero value from mmapped memory %d\n", ((int*)global_p)[1]); in Thread()
/external/linux-kselftest/tools/testing/selftests/memfd/
Dfuse_test.c160 static void *global_p = NULL; variable
179 munmap(global_p, mfd_def_size); in sealing_thread_fn()
278 global_p = p; in main()