/glibc-2.36/debug/ |
D | backtrace.c | 36 struct trace_arg *arg = a; in backtrace_helper() local 40 if (arg->cnt != -1) in backtrace_helper() 42 arg->array[arg->cnt] in backtrace_helper() 43 = (void *) UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetIP) (ctx); in backtrace_helper() 44 if (arg->cnt > 0) in backtrace_helper() 45 arg->array[arg->cnt] in backtrace_helper() 46 = unwind_arch_adjustment (arg->array[arg->cnt - 1], in backtrace_helper() 47 arg->array[arg->cnt]); in backtrace_helper() 51 = UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetCFA) (ctx); in backtrace_helper() 53 if (arg->cnt > 0 && arg->array[arg->cnt - 1] == arg->array[arg->cnt] in backtrace_helper() [all …]
|
/glibc-2.36/sysdeps/i386/ |
D | backtrace.c | 34 struct trace_arg *arg = a; in backtrace_helper() local 38 if (arg->cnt != -1) in backtrace_helper() 39 arg->array[arg->cnt] in backtrace_helper() 40 = (void *) UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetIP) (ctx); in backtrace_helper() 41 if (++arg->cnt == arg->size) in backtrace_helper() 45 arg->lastebp in backtrace_helper() 46 = (void *) UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetGR) (ctx, 5); in backtrace_helper() 47 arg->lastesp in backtrace_helper() 48 = (void *) UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetCFA) (ctx); in backtrace_helper() 82 struct trace_arg arg = in __backtrace() local [all …]
|
/glibc-2.36/sysdeps/m68k/ |
D | backtrace.c | 34 struct trace_arg *arg = a; in backtrace_helper() local 38 if (arg->cnt != -1) in backtrace_helper() 39 arg->array[arg->cnt] in backtrace_helper() 40 = (void *) UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetIP) (ctx); in backtrace_helper() 41 if (++arg->cnt == arg->size) in backtrace_helper() 45 arg->lastfp in backtrace_helper() 46 = (void *) UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetGR) (ctx, 14); in backtrace_helper() 47 arg->lastsp in backtrace_helper() 48 = (void *) UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetCFA) (ctx); in backtrace_helper() 82 struct trace_arg arg = in __backtrace() local [all …]
|
/glibc-2.36/sysdeps/pthread/ |
D | tst-cancel4.c | 79 tf_read (void *arg) in tf_read() argument 83 if (arg == NULL) in tf_read() 111 tf_readv (void *arg) in tf_readv() argument 115 if (arg == NULL) in tf_readv() 144 tf_write (void *arg) in tf_write() argument 148 if (arg == NULL) in tf_write() 181 tf_writev (void *arg) in tf_writev() argument 185 if (arg == NULL) in tf_writev() 215 tf_sleep (void *arg) in tf_sleep() argument 219 if (arg != NULL) in tf_sleep() [all …]
|
D | tst-mutex10.c | 33 thr_func (void *arg) in thr_func() argument 38 if ((uintptr_t) arg == 0) in thr_func() 94 long long int arg = strtoll (optarg, NULL, 0); in cmdline_process() local 98 if (arg > 0) in cmdline_process() 99 iteration_count = arg; in cmdline_process() 102 if (arg > 0 && arg < 100) in cmdline_process() 103 thread_count = arg; in cmdline_process()
|
/glibc-2.36/sysdeps/sparc/ |
D | backtrace.c | 46 struct trace_arg *arg = a; in backtrace_helper() local 51 if (arg->cnt != -1) in backtrace_helper() 53 ip = UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetIP) (ctx); in backtrace_helper() 54 arg->array[arg->cnt] = (void *) ip; in backtrace_helper() 58 = UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetCFA) (ctx); in backtrace_helper() 60 if (arg->cnt > 0 && arg->array[arg->cnt - 1] == arg->array[arg->cnt] in backtrace_helper() 61 && cfa == arg->cfa) in backtrace_helper() 63 arg->cfa = cfa; in backtrace_helper() 65 if (++arg->cnt == arg->size) in backtrace_helper() 74 struct trace_arg arg = in __backtrace() local [all …]
|
/glibc-2.36/elf/ |
D | dl-printf.c | 35 _dl_debug_vdprintf (int fd, int tag_p, const char *fmt, va_list arg) in _dl_debug_vdprintf() argument 102 width = va_arg (arg, int); in _dl_debug_vdprintf() 109 prec = va_arg (arg, int); in _dl_debug_vdprintf() 135 ? va_arg (arg, unsigned long int) in _dl_debug_vdprintf() 136 : va_arg (arg, unsigned int)); in _dl_debug_vdprintf() 138 unsigned long int num = va_arg (arg, unsigned int); in _dl_debug_vdprintf() 186 iov[niov].iov_base = va_arg (arg, char *); in _dl_debug_vdprintf() 231 va_list arg; in _dl_debug_printf() local 233 va_start (arg, fmt); in _dl_debug_printf() 234 _dl_debug_vdprintf (GLRO(dl_debug_fd), 1, fmt, arg); in _dl_debug_printf() [all …]
|
/glibc-2.36/sysdeps/arm/ |
D | backtrace.c | 46 (unwind_getgr (arg->unwind_link, context, 15) & ~(_Unwind_Word)1) 55 struct trace_arg *arg = a; in backtrace_helper() local 59 if (arg->cnt != -1) in backtrace_helper() 60 arg->array[arg->cnt] = (void *) unwind_getip (ctx); in backtrace_helper() 61 if (++arg->cnt == arg->size) in backtrace_helper() 69 struct trace_arg arg = in __backtrace() local 77 if (size <= 0 || arg.unwind_link == NULL) in __backtrace() 80 UNWIND_LINK_PTR (arg.unwind_link, _Unwind_Backtrace) in __backtrace() 81 (backtrace_helper, &arg); in __backtrace() 83 if (arg.cnt > 1 && arg.array[arg.cnt - 1] == NULL) in __backtrace() [all …]
|
/glibc-2.36/dlfcn/ |
D | dlinfo.c | 30 void *arg; member 52 *(Lmid_t *) args->arg = l->l_ns; in dlinfo_doit() 56 *(struct link_map **) args->arg = l; in dlinfo_doit() 60 _dl_rtld_di_serinfo (l, args->arg, false); in dlinfo_doit() 63 _dl_rtld_di_serinfo (l, args->arg, true); in dlinfo_doit() 67 strcpy (args->arg, l->l_origin); in dlinfo_doit() 71 *(size_t *) args->arg = 0; in dlinfo_doit() 72 *(size_t *) args->arg = l->l_tls_modid; in dlinfo_doit() 80 *(void **) args->arg = data; in dlinfo_doit() 85 *(const ElfW(Phdr) **) args->arg = l->l_phdr; in dlinfo_doit() [all …]
|
/glibc-2.36/locale/programs/ |
D | record-status.c | 101 va_list arg; in record_verbose() local 111 va_start (arg, format); in record_verbose() 114 ret = vasprintf (&str, format, arg); in record_verbose() 119 va_end (arg); in record_verbose() 136 va_list arg; in record_warning() local 145 va_start (arg, format); in record_warning() 148 ret = vasprintf (&str, format, arg); in record_warning() 153 va_end (arg); in record_warning() 171 va_list arg; in record_error() local 182 va_start (arg, format); in record_error() [all …]
|
D | ld-collate.c | 462 read_directions (struct linereader *ldfile, struct token *arg, in read_directions() argument 476 if (arg->tok == tok_forward) in read_directions() 502 else if (arg->tok == tok_backward) in read_directions() 528 else if (arg->tok == tok_position) in read_directions() 546 arg = lr_token (ldfile, charmap, result, repertoire, verbose); in read_directions() 548 if (arg->tok == tok_eof || arg->tok == tok_eol || arg->tok == tok_comma in read_directions() 549 || arg->tok == tok_semicolon) in read_directions() 558 if (arg->tok != tok_comma && rules[cnt] != 0) in read_directions() 567 if (arg->tok == tok_eof || arg->tok == tok_eol) in read_directions() 610 arg = lr_token (ldfile, charmap, result, repertoire, verbose); in read_directions() [all …]
|
D | ld-address.c | 375 struct token *arg; in address_read() local 427 arg = lr_token (ldfile, charmap, result, NULL, verbose); \ in address_read() 428 if (arg->tok != tok_string) \ in address_read() 433 else if (!ignore_content && arg->val.str.startmb == NULL) \ in address_read() 440 address->cat = arg->val.str.startmb; \ in address_read() 464 arg = lr_token (ldfile, charmap, result, NULL, verbose); \ in address_read() 465 if (arg->tok != tok_string && arg->tok != tok_number) \ in address_read() 470 else if (!ignore_content && arg->tok == tok_string \ in address_read() 471 && arg->val.str.startmb == NULL) \ in address_read() 479 if (arg->tok == tok_string) \ in address_read() [all …]
|
/glibc-2.36/sunrpc/ |
D | key_call.c | 119 cryptkeyarg arg; in libc_hidden_def() local 122 arg.remotename = remotename; in libc_hidden_def() 123 arg.deskey = *deskey; in libc_hidden_def() 125 (char *) &arg, (xdrproc_t) xdr_cryptkeyres, in libc_hidden_def() 142 cryptkeyarg arg; in libc_hidden_nolink_sunrpc() local 145 arg.remotename = remotename; in libc_hidden_nolink_sunrpc() 146 arg.deskey = *deskey; in libc_hidden_nolink_sunrpc() 148 (char *) &arg, (xdrproc_t) xdr_cryptkeyres, in libc_hidden_nolink_sunrpc() 165 cryptkeyarg2 arg; in libc_hidden_nolink_sunrpc() local 168 arg.remotename = remotename; in libc_hidden_nolink_sunrpc() [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | semctl.c | 121 semctl_syscall (int semid, int semnum, int cmd, semctl_arg_t arg) in semctl_syscall() argument 125 arg.array); in semctl_syscall() 128 SEMCTL_ARG_ADDRESS (arg)); in semctl_syscall() 177 union ksemun64 arg = ksemun; in __semctl64() local 179 union semun arg = arg64; in __semctl64() local 182 int ret = semctl_syscall (semid, semnum, cmd, arg); in __semctl64() 192 arg.buf->sem_perm.mode >>= 16; in __semctl64() 197 arg.buf->sem_perm.mode &= 0xFFFF; in __semctl64() 201 ksemid64_to_semid64 (arg.buf, arg64.buf); in __semctl64() 267 union semun arg = { 0 }; in __semctl() local [all …]
|
D | fcntl.c | 34 void *arg; in __libc_fcntl() local 37 arg = va_arg (ap, void *); in __libc_fcntl() 46 return SYSCALL_CANCEL (fcntl64, fd, cmd, arg); in __libc_fcntl() 49 struct flock *flk = (struct flock *) arg; in __libc_fcntl() 63 struct flock *flk = (struct flock *) arg; in __libc_fcntl() 92 return __fcntl64_nocancel_adjusted (fd, cmd, arg); in __libc_fcntl() 106 void *arg; in weak_alias() local 109 arg = va_arg (ap, void *); in weak_alias() 114 return __libc_fcntl64 (fd, cmd, arg); in weak_alias()
|
D | prctl.c | 31 va_list arg; in __prctl() local 32 va_start (arg, option); in __prctl() 33 unsigned long int arg2 = va_arg (arg, unsigned long int); in __prctl() 34 unsigned long int arg3 = va_arg (arg, unsigned long int); in __prctl() 35 unsigned long int arg4 = va_arg (arg, unsigned long int); in __prctl() 36 unsigned long int arg5 = va_arg (arg, unsigned long int); in __prctl() 37 va_end (arg); in __prctl()
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | e_exp10.c | 27 __ieee754_exp10 (double arg) in __ieee754_exp10() argument 33 if (!isfinite (arg)) in __ieee754_exp10() 34 return __ieee754_exp (arg); in __ieee754_exp10() 35 if (arg < DBL_MIN_10_EXP - DBL_DIG - 10) in __ieee754_exp10() 37 else if (arg > DBL_MAX_10_EXP + 1) in __ieee754_exp10() 39 else if (fabs (arg) < 0x1p-56) in __ieee754_exp10() 42 GET_LOW_WORD (lx, arg); in __ieee754_exp10() 44 arg_high = arg; in __ieee754_exp10() 46 arg_low = arg - arg_high; in __ieee754_exp10()
|
/glibc-2.36/argp/ |
D | argp-test.c | 47 sub_parse_opt (int key, char *arg, struct argp_state *state) in sub_parse_opt() argument 55 printf ("SUB ARG: %s\n", arg); in sub_parse_opt() 123 popt (int key, char *arg) in popt() argument 130 if (arg) in popt() 131 printf ("KEY %s: %s\n", buf, arg); in popt() 137 parse_opt (int key, char *arg, struct argp_state *state) in parse_opt() argument 150 printf ("ARG: %s\n", arg); in parse_opt() 154 if (arg) in parse_opt() 155 params->foonly = atoi (arg); in parse_opt() 158 popt (key, arg); in parse_opt() [all …]
|
D | argp-help.c | 184 const char *arg = var; in fill_in_uparams() local 186 while (isalnum ((unsigned char) *arg) || *arg == '-' || *arg == '_') in fill_in_uparams() 187 arg++; in fill_in_uparams() 188 var_len = arg - var; in fill_in_uparams() 190 SKIPWS (arg); in fill_in_uparams() 192 if (*arg == '\0' || *arg == ',') in fill_in_uparams() 194 else if (*arg == '=') in fill_in_uparams() 196 arg++; in fill_in_uparams() 197 SKIPWS (arg); in fill_in_uparams() 211 else if (isdigit ((unsigned char) *arg)) in fill_in_uparams() [all …]
|
/glibc-2.36/io/ |
D | tst-lchmod.c | 127 const char *arg = select_path (do_relative_path, path_file, "file"); in test_1() local 128 TEST_COMPARE (chmod_func (fd, arg, 1, 0), 0); in test_1() 131 arg = select_path (do_relative_path, path_to_file, "to-file"); in test_1() 132 TEST_COMPARE (chmod_func (fd, arg, 2, 0), 0); in test_1() 137 arg = select_path (do_relative_path, path_file, "file"); in test_1() 138 TEST_COMPARE (chmod_func (fd, arg, 1, 0), 0); in test_1() 145 arg = select_path (do_relative_path, path_to_file, "to-file"); in test_1() 146 int ret = chmod_func (fd, arg, 2, AT_SYMLINK_NOFOLLOW); in test_1() 170 arg = select_path (do_relative_path, path, filename); in test_1() 171 ret = chmod_func (fd, arg, new_mode, AT_SYMLINK_NOFOLLOW); in test_1() [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | e_exp10l.c | 27 __ieee754_exp10l (_Float128 arg) in __ieee754_exp10l() argument 33 if (!isfinite (arg)) in __ieee754_exp10l() 34 return __ieee754_expl (arg); in __ieee754_exp10l() 35 if (arg < LDBL_MIN_10_EXP - LDBL_DIG - 10) in __ieee754_exp10l() 37 else if (arg > LDBL_MAX_10_EXP + 1) in __ieee754_exp10l() 39 else if (fabsl (arg) < L(0x1p-116)) in __ieee754_exp10l() 42 u.value = arg; in __ieee754_exp10l() 45 arg_low = arg - arg_high; in __ieee754_exp10l()
|
/glibc-2.36/stdlib/ |
D | exit.c | 74 void (*onfct) (int status, void *arg); in __run_exit_handlers() 75 void (*cxafct) (void *arg, int status); in __run_exit_handlers() 76 void *arg; in __run_exit_handlers() local 83 arg = f->func.on.arg; in __run_exit_handlers() 89 onfct (status, arg); in __run_exit_handlers() 107 arg = f->func.cxa.arg; in __run_exit_handlers() 113 cxafct (arg, status); in __run_exit_handlers()
|
D | msort.c | 33 void *arg; member 58 void *arg = p->arg; in msort_with_tmp() local 64 if ((*cmp) (b1, b2, arg) <= 0) in msort_with_tmp() 82 if ((*cmp) (b1, b2, arg) <= 0) in msort_with_tmp() 104 if ((*cmp) (b1, b2, arg) <= 0) in msort_with_tmp() 123 if ((*cmp) (*(const void **) b1, *(const void **) b2, arg) <= 0) in msort_with_tmp() 141 if ((*cmp) (b1, b2, arg) <= 0) in msort_with_tmp() 164 __qsort_r (void *b, size_t n, size_t s, __compar_d_fn_t cmp, void *arg) in __qsort_r() argument 215 _quicksort (b, n, s, cmp, arg); in __qsort_r() 227 _quicksort (b, n, s, cmp, arg); in __qsort_r() [all …]
|
/glibc-2.36/string/ |
D | argz-replace.c | 56 char *arg = 0; in __argz_replace() local 64 while (!err && (arg = argz_next (src, src_len, arg))) in __argz_replace() 66 char *match = strstr (arg, str); in __argz_replace() 70 size_t to_len = match - arg; in __argz_replace() 71 char *to = __strndup (arg, to_len); in __argz_replace() 99 if (arg > src) in __argz_replace() 100 err = __argz_append (&dst, &dst_len, src, (arg - src)); in __argz_replace() 114 err = __argz_add (&dst, &dst_len, arg); in __argz_replace()
|
/glibc-2.36/libio/ |
D | tst-swscanf.c | 28 const wchar_t *arg; member 67 if (swscanf (tests[n].arg, tests[n].fmt, buf) != tests[n].retval) in do_test() 70 tests[n].arg, tests[n].fmt); in do_test() 76 tests[n].arg, tests[n].fmt, buf, tests[n].res); in do_test() 81 tests[n].arg, tests[n].fmt); in do_test() 83 if (swscanf (tests[n].arg, tests[n].wfmt, wbuf) != tests[n].retval) in do_test() 86 tests[n].arg, tests[n].wfmt); in do_test() 92 tests[n].arg, tests[n].wfmt, wbuf, tests[n].wres); in do_test() 97 tests[n].arg, tests[n].wfmt); in do_test()
|