Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 2 of 2) sorted by relevance

/malloc/
A Dtst-malloc-backtrace.c24 #define SIZE 4096 macro
38 void *ptr1 = malloc (SIZE); in do_test()
39 void *ptr2 = malloc (SIZE); in do_test()
45 ptr1 = malloc (SIZE); in do_test()
A Dtst-alloc_buffer.c372 enum { SIZE = 23 }; in test_misaligned() enumerator
373 char *backing = xmalloc (SIZE + 2); in test_misaligned()
375 backing[SIZE + 1] = pad; in test_misaligned()
376 struct alloc_buffer refbuf = alloc_buffer_create (backing + 1, SIZE); in test_misaligned()
380 short *ptr = alloc_buffer_alloc_array (&buf, short, SIZE / sizeof (short)); in test_misaligned()
384 for (int i = 0; i < SIZE / sizeof (short); ++i) in test_misaligned()
394 (&buf, uint32_t, SIZE / sizeof (uint32_t)); in test_misaligned()
398 for (int i = 0; i < SIZE / sizeof (uint32_t); ++i) in test_misaligned()
433 TEST_VERIFY (backing[SIZE + 1] == pad); in test_misaligned()

Completed in 6 milliseconds