Home
last modified time | relevance | path

Searched refs:r (Results 1 – 13 of 13) sorted by relevance

/support/
A Dsupport-open-dev-null-range.c71 r->total = 8; in range_init()
72 r->used = 0; in range_init()
73 r->ranges = xmalloc (r->total * sizeof (struct range)); in range_init()
79 if (r->used == r->total) in range_add()
81 r->total *= 2; in range_add()
82 r->ranges = xrealloc (r->ranges, r->total * sizeof (struct range)); in range_add()
84 r->ranges[r->used].lowfd = lowfd; in range_add()
85 r->ranges[r->used].len = len; in range_add()
86 r->used++; in range_add()
95 int maxfd = r->ranges[i].lowfd + r->ranges[i].len; in range_close()
[all …]
A Dxuselocale.c26 locale_t r = uselocale (newloc); in xuselocale() local
27 if (r == (locale_t) 0) in xuselocale()
29 return r; in xuselocale()
A Dxclone.c28 pid_t r = -1; in xclone() local
33 r = __clone2 (fn, stack, stack_size, flags, arg, /* ptid */ NULL, in xclone()
37 r = clone (fn, stack + stack_size, flags, arg, /* ptid */ NULL, in xclone()
40 r = clone (fn, stack, flags, arg, /* ptid */ NULL, /* tls */ NULL, NULL); in xclone()
44 if (r < 0) in xclone()
47 return r; in xclone()
A Dxnewlocale.c26 locale_t r = newlocale (category_mask, locale, base); in xnewlocale() local
27 if (r == (locale_t) 0) in xnewlocale()
30 return r; in xnewlocale()
A Dsupport_mutex_pi_monotonic.c30 int r = syscall (__NR_futex, &(unsigned int){0}, 13 /* FUTEX_LOCK_PI2 */, in support_mutex_pi_monotonic() local
32 return r == 0; in support_mutex_pi_monotonic()
A Dsupport_create_timer.c44 int r = timer_create (CLOCK_REALTIME, &ev, &timerid); in support_create_timer() local
45 if (r == -1) in support_create_timer()
54 r = timer_settime (timerid, 0, &its, NULL); in support_create_timer()
55 if (r == -1) in support_create_timer()
65 int r = timer_delete (timer); in support_delete_timer() local
66 if (r == -1) in support_delete_timer()
A Dxchmod.c27 int r = chmod (pathname, mode); in xchmod() local
28 if (r < 0) in xchmod()
A Dtimespec.h30 struct timespec r; in make_timespec() local
31 r.tv_sec = s; in make_timespec()
32 r.tv_nsec = ns; in make_timespec()
33 return r; in make_timespec()
A Dtst-support-open-dev-null-range.c57 int r = 0; in number_of_opened_files() local
83 r = r + 1; in number_of_opened_files()
88 return r; in number_of_opened_files()
A Dtst-support-process_state.c95 int r = waitid (P_PID, pid, &info, WEXITED); in do_test() local
96 TEST_COMPARE (r, 0); in do_test()
A Dsupport_descriptors.c40 descriptor_compare (const void *l, const void *r) in descriptor_compare() argument
43 const struct procfs_descriptor *right = r; in descriptor_compare()
A Dresolv_test.c127 int r = *nameright++; in compare_compressed_name() local
128 if (l != r) in compare_compressed_name()
131 r = ascii_tolower (r); in compare_compressed_name()
132 if (l != r) in compare_compressed_name()
133 return l - r; in compare_compressed_name()
A Dtest-container.c933 char *r = strrchr (the_words[1], '/'); in main() local
934 if (r) in main()
935 the_words[2] = concat (the_words[2], r + 1, NULL); in main()

Completed in 21 milliseconds