Lines Matching refs:p

1248 	void *p = NULL;  in test_event_malloc()  local
1254 p = mm_malloc(0); in test_event_malloc()
1255 tt_assert(p == NULL); in test_event_malloc()
1261 p = mm_malloc(8); in test_event_malloc()
1262 tt_assert(p != NULL); in test_event_malloc()
1264 mm_free(p); in test_event_malloc()
1274 void *p = NULL; in test_event_calloc() local
1281 p = mm_calloc(0, 0); in test_event_calloc()
1282 tt_assert(p == NULL); in test_event_calloc()
1285 p = mm_calloc(0, 1); in test_event_calloc()
1286 tt_assert(p == NULL); in test_event_calloc()
1289 p = mm_calloc(1, 0); in test_event_calloc()
1290 tt_assert(p == NULL); in test_event_calloc()
1296 p = mm_calloc(8, 8); in test_event_calloc()
1297 tt_assert(p != NULL); in test_event_calloc()
1299 mm_free(p); in test_event_calloc()
1300 p = NULL; in test_event_calloc()
1305 p = mm_calloc(EV_SIZE_MAX/2, EV_SIZE_MAX/2 + 8); in test_event_calloc()
1306 tt_assert(p == NULL); in test_event_calloc()
1311 if (p) in test_event_calloc()
1312 mm_free(p); in test_event_calloc()
1320 void *p = NULL; in test_event_strdup() local
1326 p = mm_strdup(NULL); in test_event_strdup()
1327 tt_assert(p == NULL); in test_event_strdup()
1334 p = mm_strdup(""); in test_event_strdup()
1335 tt_assert(p != NULL); in test_event_strdup()
1337 tt_str_op(p, ==, ""); in test_event_strdup()
1338 mm_free(p); in test_event_strdup()
1341 p = mm_strdup("foo"); in test_event_strdup()
1342 tt_assert(p != NULL); in test_event_strdup()
1344 tt_str_op(p, ==, "foo"); in test_event_strdup()
1345 mm_free(p); in test_event_strdup()