Lines Matching refs:p

60 static void set_to_zero_but_the_compiler_does_not_know(volatile void *p, size_t n)  in set_to_zero_but_the_compiler_does_not_know()  argument
62 memset((void *) p, false_but_the_compiler_does_not_know, n); in set_to_zero_but_the_compiler_does_not_know()
67 static void do_nothing_with_object(void *p) in do_nothing_with_object() argument
69 (void) p; in do_nothing_with_object()
128 volatile char *volatile p; in null_pointer_dereference() local
129 set_to_zero_but_the_compiler_does_not_know(&p, sizeof(p)); in null_pointer_dereference()
131 mbedtls_printf("%p -> %u\n", p, (unsigned) *p); in null_pointer_dereference()
137 unsigned(*volatile p)(void); in null_pointer_call() local
138 set_to_zero_but_the_compiler_does_not_know(&p, sizeof(p)); in null_pointer_call()
143 mbedtls_printf("%lx() -> %u\n", (unsigned long) (uintptr_t) p, p()); in null_pointer_call()
154 volatile char *p = calloc_but_the_compiler_does_not_know(1, 1); in read_after_free() local
155 *p = 'a'; in read_after_free()
156 free_but_the_compiler_does_not_know((void *) p); in read_after_free()
158 mbedtls_printf("%u\n", (unsigned) *p); in read_after_free()
164 volatile char *p = calloc_but_the_compiler_does_not_know(1, 1); in double_free() local
165 *p = 'a'; in double_free()
166 free_but_the_compiler_does_not_know((void *) p); in double_free()
168 free_but_the_compiler_does_not_know((void *) p); in double_free()
178 char *volatile p = buf; in read_uninitialized_stack() local
179 if (*p != 0) { in read_uninitialized_stack()
181 mbedtls_printf("%u\n", (unsigned) *p); in read_uninitialized_stack()
188 volatile char *p = calloc_but_the_compiler_does_not_know(1, 1); in memory_leak() local
189 mbedtls_printf("%u\n", (unsigned) *p); in memory_leak()
454 for (const metatest_t *p = metatests; p->name != NULL; p++) { in main() local
455 mbedtls_printf("%s %s\n", p->name, p->platform); in main()
464 for (const metatest_t *p = metatests; p->name != NULL; p++) { in main() local
465 if (strcmp(argv[1], p->name) == 0) { in main()
467 p->entry_point(argv[1]); in main()