Lines Matching refs:p
36 void *p; in do_test() local
49 p = realloc (NULL, -1); in do_test()
53 if (p != NULL) in do_test()
57 if (p == NULL && save != ENOMEM) in do_test()
63 p = realloc (NULL, 10); in do_test()
66 if (p == NULL) in do_test()
69 free (p); in do_test()
71 p = calloc (20, 1); in do_test()
72 if (p == NULL) in do_test()
76 p = realloc (p, 200); in do_test()
77 if (p == NULL) in do_test()
80 c = p; in do_test()
92 free (p); in do_test()
94 p = realloc (NULL, 100); in do_test()
95 if (p == NULL) in do_test()
98 memset (p, 0xff, 100); in do_test()
101 p = realloc (p, 16); in do_test()
102 if (p == NULL) in do_test()
105 c = p; in do_test()
124 c = realloc (p, -1); in do_test()
129 c = p; in do_test()
142 p = realloc (p, 0); in do_test()
143 if (p != NULL) in do_test()
147 p = realloc (NULL, 0); in do_test()
148 if (p == NULL) in do_test()
151 free (p); in do_test()