Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 25 of 94) sorted by relevance

1234

/glibc-2.36/sysdeps/unix/sysv/linux/
Dthrd_sleep.c26 struct __timespec64 *remaining) in __thrd_sleep64() argument
29 remaining); in __thrd_sleep64()
44 __thrd_sleep (const struct timespec *time_point, struct timespec *remaining) in libc_hidden_def()
49 int ret = __thrd_sleep64 (&treq64, remaining != NULL ? &trem64 : NULL); in libc_hidden_def()
50 if (ret == -1 && remaining != NULL) in libc_hidden_def()
51 *remaining = valid_timespec64_to_timespec (trem64); in libc_hidden_def()
/glibc-2.36/sysdeps/mach/hurd/
Dsetitimer.c163 struct timeval now, remaining, elapsed; in setitimer_locked() local
256 remaining = _hurd_itimerval.it_value; in setitimer_locked()
257 if (timercmp (&remaining, &elapsed, <)) in setitimer_locked()
262 remaining.tv_sec = 0; in setitimer_locked()
263 remaining.tv_usec = 0; in setitimer_locked()
266 subtract_timeval (&remaining, &elapsed); in setitimer_locked()
296 else if (remaining.tv_sec != newval.it_value.tv_sec in setitimer_locked()
297 || remaining.tv_usec != newval.it_value.tv_usec) in setitimer_locked()
323 old->it_value = remaining; in setitimer_locked()
/glibc-2.36/locale/programs/
Dlocaledef.c193 int remaining; in main() local
210 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
214 show_archive_content (remaining > 1 ? argv[remaining] : NULL, verbose); in main()
216 return add_locales_to_archive (argc - remaining, &argv[remaining], in main()
219 return delete_locales_from_archive (argc - remaining, &argv[remaining]); in main()
225 if (argc - remaining != 1) in main()
236 output_path = construct_output_path (argv[remaining]); in main()
304 cannot write output files to `%s'"), output_path ? : argv[remaining]); in main()
306 write_all_categories (locales, charmap, argv[remaining], output_path); in main()
Dlocale.c183 int remaining; in main() local
198 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
225 if (remaining == argc && show_keyword_name == 0 && show_category_name == 0) in main()
232 while (remaining < argc) in main()
233 show_info (argv[remaining++]); in main()
/glibc-2.36/iconv/
Diconv_prog.c120 int remaining; in main() local
132 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
167 argc, remaining, argv, output_file); in main()
248 if (remaining == argc) in main()
263 fprintf (stderr, "%s:\n", argv[remaining]); in main()
264 if (strcmp (argv[remaining], "-") == 0) in main()
268 fd = open (argv[remaining], O_RDONLY); in main()
273 argv[remaining]); in main()
291 argv[remaining]); in main()
332 while (++remaining < argc); in main()
Diconv_charmap.c101 int argc, int remaining, char *argv[], in charmap_conversion() argument
152 if (remaining == argc) in charmap_conversion()
163 printf ("%s:\n", argv[remaining]); in charmap_conversion()
164 if (strcmp (argv[remaining], "-") == 0) in charmap_conversion()
168 fd = open (argv[remaining], O_RDONLY); in charmap_conversion()
173 argv[remaining]); in charmap_conversion()
192 _("error while closing input `%s'"), argv[remaining]); in charmap_conversion()
233 while (++remaining < argc); in charmap_conversion()
Diconvconfig.c283 int remaining; in main() local
297 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
299 if (nostdlib && remaining == argc) in main()
306 while (remaining < argc) in main()
307 status |= handle_dir (argv[remaining++]); in main()
Diconv_prog.h34 int argc, int remaining, char *argv[],
/glibc-2.36/debug/
Dpcprofiledump.c89 int remaining; in main() local
90 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
93 if (remaining == argc) in main()
95 else if (remaining + 1 != argc) in main()
104 fd = open (argv[remaining], O_RDONLY); in main()
/glibc-2.36/elf/
Dpldd.c82 int remaining; in main() local
83 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
85 if (remaining != argc - 1) in main()
99 long int pid = strtol (argv[remaining], &endp, 10); in main()
103 argv[remaining]); in main()
Dsprof.c249 int remaining; in main() local
257 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
259 if (argc - remaining == 0 || argc - remaining > 2) in main()
268 shobj = argv[remaining]; in main()
269 if (argc - remaining == 2) in main()
270 profdata = argv[remaining + 1]; in main()
/glibc-2.36/malloc/
Dmemusagestat.c120 int remaining; in main() local
149 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
151 if (remaining >= argc || remaining + 2 < argc) in main()
158 inname = argv[remaining++]; in main()
160 if (remaining < argc) in main()
161 outname = argv[remaining]; in main()
/glibc-2.36/login/programs/
Dpt_chown.c150 int remaining; in main() local
198 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
200 if (remaining < argc) in main()
/glibc-2.36/sysdeps/pthread/
Dthrd_sleep.c25 thrd_sleep (const struct timespec* time_point, struct timespec* remaining) in thrd_sleep() argument
27 int ret = __clock_nanosleep (CLOCK_REALTIME, 0, time_point, remaining); in thrd_sleep()
/glibc-2.36/nss/
Dgetent.c981 int remaining; in main() local
982 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
984 if ((argc - remaining) < 1) in main()
992 if (argv[remaining][0] == databases[i].name[0] in main()
993 && !strcmp (argv[remaining], databases[i].name)) in main()
994 return databases[i].func (argc - remaining - 1, &argv[remaining + 1]); in main()
996 fprintf (stderr, _("Unknown database: %s\n"), argv[remaining]); in main()
Dmakedb.c185 int remaining; in main() local
198 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
203 if (remaining + 1 != argc) in main()
211 input_name = argv[remaining]; in main()
215 if (remaining + 2 != argc) in main()
218 input_name = argv[remaining++]; in main()
219 output_name = argv[remaining]; in main()
/glibc-2.36/posix/
Dnanosleep.c25 struct timespec *remaining) in __nanosleep() argument
27 int ret = __clock_nanosleep (CLOCK_REALTIME, 0, requested_time, remaining); in __nanosleep()
/glibc-2.36/support/
Ddelayed_exit.c33 struct timespec remaining = { 0 }; in delayed_exit_thread() local
34 if (nanosleep (&delay, &remaining) != 0) in delayed_exit_thread()
Dsupport_format_addrinfo.c72 int remaining = ai->ai_flags & ~flags_printed; in format_ai_flags() local
73 if (remaining != 0) in format_ai_flags()
74 fprintf (out, " %08x", remaining); in format_ai_flags()
Dresolv_test.c395 size_t remaining = max_response_length - b->offset; in resolv_response_add_data() local
396 if (remaining < length) in resolv_response_add_data()
498 size_t remaining = length - (12 + ret); in parse_query() local
504 if (remaining < sizeof (qtype_qclass)) in parse_query()
527 if (remaining < 4 + sizeof (rr)) in parse_query()
1114 size_t remaining = end - current; in set_search_path() local
1115 TEST_VERIFY_EXIT (length <= remaining); in set_search_path()
/glibc-2.36/argp/
Dbug-argp2.c24 int remaining; in do_test() local
25 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in do_test()
Dtst-argp1.c99 int remaining; in do_test() local
102 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in do_test()
Dtst-ldbl-argp.c66 int remaining; in do_test_call() local
67 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in do_test_call()
/glibc-2.36/catgets/
Dgencat.c160 int remaining; in main() local
175 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
179 output_name = remaining < argc ? argv[remaining++] : "-"; in main()
183 if (remaining < argc) in main()
185 result = read_input_file (result, argv[remaining]); in main()
186 while (++remaining < argc); in main()
/glibc-2.36/nscd/
Dnscd.c143 int remaining; in main() local
154 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
156 if (remaining != argc) in main()

1234