Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 12 of 12) sorted by relevance

/malloc/
A Dtst-mallopt.c34 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 Dtst-posix_memalign.c39 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 Dtst-malloc-thread-fail.c180 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 Dtst-mallocalign1.c38 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 Dtst-malloc-tcache-leak.c41 void *ret; in worker() local
54 ret = xmalloc (32); in worker()
56 free (ret); in worker()
A Dtst-interpose-aux.c74 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 Dtst-mallocfork3.c75 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 Dtst-mallocfork2.c84 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 Dtst-reallocarray.c33 void *ret = reallocarray (ptr, nmemb, size); in reallocarray_nowarn() local
37 return ret; in reallocarray_nowarn()
A Dtst-malloc-fork-deadlock.c91 ssize_t ret = getline (&line, &line_allocated, f); in read_thread_function() local
92 if (ret < 0) in read_thread_function()
A Dtst-interpose-skeleton.c149 int ret = waitpid (pid, &status, 0); in run_tests() local
150 if (ret < 0) in run_tests()
A Dmalloc-debug.c475 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