Searched refs:ret (Results 1 – 12 of 12) sorted by relevance
/malloc/ |
A D | tst-mallopt.c | 34 int ret; in do_test() local 36 ret = mallopt(M_CHECK_ACTION, 1); in do_test() 38 if (ret != 1) in do_test() 43 if (ret != 1) in do_test() 48 if (ret != 1) in do_test() 51 ret = mallopt(M_MXFAST, 0); in do_test() 53 if (ret != 1) in do_test() 56 ret = mallopt(M_PERTURB, 0xa5); in do_test() 58 if (ret != 1) in do_test() 63 if (ret != 1) in do_test() [all …]
|
A D | tst-posix_memalign.c | 39 int ret; in do_test() local 58 if (ret != ENOMEM) in do_test() 61 if (ret == ENOMEM && p != NULL) in do_test() 71 if (ret != ENOMEM) in do_test() 81 if (ret != EINVAL) in do_test() 92 if (ret != 0 || p == NULL) in do_test() 99 if (ret != EINVAL) in do_test() 102 ret = posix_memalign (&p, 0, 10); in do_test() 104 if (ret != EINVAL) in do_test() 111 if (ret != 0) in do_test() [all …]
|
A D | tst-malloc-thread-fail.c | 180 if (ret != 0 && ret != PTHREAD_BARRIER_SERIAL_THREAD) in allocate_thread() 182 errno = ret; in allocate_thread() 207 if (ret != 0 && ret != PTHREAD_BARRIER_SERIAL_THREAD) in allocate_thread() 324 if (ret < 0) in do_test() 357 if (ret != 0) in do_test() 367 if (ret != 0) in do_test() 379 if (ret != 0) in do_test() 387 if (ret != 0) in do_test() 413 if (ret != 0) in do_test() 420 if (ret != 0) in do_test() [all …]
|
A D | tst-mallocalign1.c | 38 int ret = 0; in do_test() local 41 ret |= (uintptr_t) p & MALLOC_ALIGN_MASK; in do_test() 45 ret |= (uintptr_t) p & MALLOC_ALIGN_MASK; in do_test() 49 ret |= (uintptr_t) p & MALLOC_ALIGN_MASK; in do_test() 53 ret |= (uintptr_t) p & MALLOC_ALIGN_MASK; in do_test() 57 ret |= (uintptr_t) p & MALLOC_ALIGN_MASK; in do_test() 61 ret |= (uintptr_t) p & MALLOC_ALIGN_MASK; in do_test() 65 ret |= (uintptr_t) p & MALLOC_ALIGN_MASK; in do_test() 68 return ret; in do_test()
|
A D | tst-malloc-tcache-leak.c | 41 void *ret; in worker() local 54 ret = xmalloc (32); in worker() 56 free (ret); in worker()
|
A D | tst-interpose-aux.c | 74 int ret = pthread_mutex_lock (&mutex); in lock() local 75 if (ret != 0) in lock() 77 errno = ret; in lock() 87 int ret = pthread_mutex_unlock (&mutex); in unlock() local 88 if (ret != 0) in unlock() 90 errno = ret; in unlock()
|
A D | tst-mallocfork3.c | 75 int ret = TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)); in sigusr1_handler() local 76 if (ret < 0) in sigusr1_handler() 179 int ret = TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)); in do_test() local 180 if (ret < 0) in do_test()
|
A D | tst-mallocfork2.c | 84 int ret = TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)); in sigusr1_handler() local 85 if (ret < 0) in sigusr1_handler() 220 int ret = TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)); in do_test() local 221 if (ret < 0) in do_test()
|
A D | tst-reallocarray.c | 33 void *ret = reallocarray (ptr, nmemb, size); in reallocarray_nowarn() local 37 return ret; in reallocarray_nowarn()
|
A D | tst-malloc-fork-deadlock.c | 91 ssize_t ret = getline (&line, &line_allocated, f); in read_thread_function() local 92 if (ret < 0) in read_thread_function()
|
A D | tst-interpose-skeleton.c | 149 int ret = waitpid (pid, &status, 0); in run_tests() local 150 if (ret < 0) in run_tests()
|
A D | malloc-debug.c | 475 struct mallinfo2 ret = {0}; in mallinfo2() local 476 return ret; in mallinfo2() 491 struct mallinfo ret = {0}; in mallinfo() local 492 return ret; in mallinfo()
|
Completed in 21 milliseconds