/glibc-2.36/elf/ |
D | dl-libc.c | 39 dlerror_run (void (*operate) (void *), void *args) in dlerror_run() argument 46 operate, args) in dlerror_run() 93 struct do_dlopen_args *args = (struct do_dlopen_args *) ptr; in do_dlopen() local 95 args->map = GLRO(dl_open) (args->name, args->mode, args->caller_dlopen, in do_dlopen() 103 struct do_dlsym_args *args = (struct do_dlsym_args *) ptr; in do_dlsym() local 104 args->ref = NULL; in do_dlsym() 105 args->loadbase = GLRO(dl_lookup_symbol_x) (args->name, args->map, &args->ref, in do_dlsym() 106 args->map->l_local_scope, NULL, 0, in do_dlsym() 113 struct do_dlvsym_args *args = ptr; in do_dlvsym() local 114 args->dlsym.ref = NULL; in do_dlvsym() [all …]
|
D | dl-deps.c | 62 struct openaux_args *args = (struct openaux_args *) a; in openaux() local 64 args->aux = _dl_map_object (args->map, args->name, in openaux() 65 (args->map->l_type == lt_executable in openaux() 66 ? lt_library : args->map->l_type), in openaux() 67 args->trace_mode, args->open_mode, in openaux() 68 args->map->l_ns); in openaux() 211 struct openaux_args args; in _dl_map_object_deps() local 215 args.strtab = strtab; in _dl_map_object_deps() 216 args.map = l; in _dl_map_object_deps() 217 args.trace_mode = trace_mode; in _dl_map_object_deps() [all …]
|
D | dl-open.c | 484 struct dl_init_args *args = closure; in call_dl_init() local 485 _dl_init (args->new, args->argc, args->argv, args->env); in call_dl_init() 491 struct dl_open_args *args = a; in dl_open_worker_begin() local 492 const char *file = args->file; in dl_open_worker_begin() 493 int mode = args->mode; in dl_open_worker_begin() 501 if (dst != NULL || args->nsid == __LM_ID_CALLER in dl_open_worker_begin() 504 const void *caller_dlopen = args->caller_dlopen; in dl_open_worker_begin() 515 if (args->nsid == __LM_ID_CALLER) in dl_open_worker_begin() 516 args->nsid = call_map->l_ns; in dl_open_worker_begin() 522 args->libc_already_loaded = GL(dl_ns)[args->nsid].libc_map != NULL; in dl_open_worker_begin() [all …]
|
D | dl-sym.c | 78 struct call_dl_lookup_args *args = (struct call_dl_lookup_args *) ptr; in call_dl_lookup() local 79 args->map = GLRO(dl_lookup_symbol_x) (args->name, args->map, args->refp, in call_dl_lookup() 80 args->map->l_scope, args->vers, 0, in call_dl_lookup() 81 args->flags, NULL); in call_dl_lookup() 111 struct call_dl_lookup_args args; in do_sym() local 112 args.name = name; in do_sym() 113 args.map = match; in do_sym() 114 args.vers = vers; in do_sym() 115 args.flags in do_sym() 117 args.refp = &ref; in do_sym() [all …]
|
/glibc-2.36/misc/ |
D | tst-select.c | 38 struct child_args *args = (struct child_args *) clousure; in do_test_child() local 40 close (args->fds[0][1]); in do_test_child() 41 close (args->fds[1][0]); in do_test_child() 45 FD_SET (args->fds[0][0], &rfds); in do_test_child() 48 ts = timespec_add (ts, (struct timespec) { args->tmo.tv_sec, 0 }); in do_test_child() 50 int r = select (args->fds[0][0] + 1, &rfds, NULL, NULL, &args->tmo); in do_test_child() 55 TEST_COMPARE (args->tmo.tv_sec, 0); in do_test_child() 56 TEST_COMPARE (args->tmo.tv_usec, 0); in do_test_child() 61 xwrite (args->fds[1][1], "foo", 3); in do_test_child() 67 struct child_args *args = (struct child_args *) clousure; in do_test_child_alarm() local [all …]
|
D | tst-ldbl-warn.c | 32 do_one_test (int select, const char *format, va_list args, in do_one_test() argument 53 vwarn (format, args); in do_one_test() 56 vwarnx (format, args); in do_one_test() 85 va_list args; in do_test_call_varg() local 87 va_start (args, format); in do_test_call_varg() 88 do_one_test (VWARN, format, args, 0, 0, 0, 0, in do_test_call_varg() 90 va_end (args); in do_test_call_varg() 92 va_start (args, format); in do_test_call_varg() 93 do_one_test (VWARNX, format, args, 0, 0, 0, 0, in do_test_call_varg() 95 va_end (args); in do_test_call_varg() [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/i386/ |
D | sysdep.h | 73 #define PSEUDO(name, syscall_name, args) \ 76 DO_CALL (syscall_name, args); \ 86 #define PSEUDO_NOERRNO(name, syscall_name, args) \ 89 DO_CALL (syscall_name, args) 99 #define PSEUDO_ERRVAL(name, syscall_name, args) \ 102 DO_CALL (syscall_name, args); \ 172 #define DO_CALL(syscall_name, args) \ 173 PUSHARGS_##args \ 174 DOARGS_##args \ 177 POPARGS_##args [all …]
|
/glibc-2.36/benchtests/scripts/ |
D | plot_strings.py | 93 if not args.values: 99 outpath_final = os.path.join(args.outdir, "%s_%s_%s%s" % \ 100 (routine, args.plot, bench_variant, outpath)) 123 if args.baseline: 124 baseline = args.baseline.replace("__", "") 134 plt.axhspan(-args.threshold, args.threshold, color="lightgray", alpha=0.3) 139 outpath_final = os.path.join(args.outdir, "%s_%s_%s%s" % \ 140 (baseline, args.plot, bench_variant, outpath)) 171 outpath_final = os.path.join(args.outdir, "%s_%s_%s%s" % \ 172 (routine, args.plot, bench_variant, outpath)) [all …]
|
/glibc-2.36/scripts/ |
D | check-wrapper-headers.py | 44 def check_sysdeps_bits(args): argument 46 bits = os.path.join(args.root, 'sysdeps', 'generic', 'bits') 51 os.path.relpath(os.path.realpath(bits), args.root))) 55 def check_headers_root(args): argument 58 generated = frozenset(args.generated) 59 for header in args.headers: 61 or os.path.exists(os.path.join(args.root, INCLUDE, header)) 68 def check_headers(args): argument 71 for header in args.headers: 82 include_path = os.path.join(args.root, INCLUDE, header) [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | spawni.c | 75 maybe_script_execute (struct posix_spawn_args *args) in maybe_script_execute() argument 78 && (args->xflags & SPAWN_XFLAGS_TRY_SHELL) && errno == ENOEXEC) in maybe_script_execute() 80 char *const *argv = args->argv; in maybe_script_execute() 81 ptrdiff_t argc = args->argc; in maybe_script_execute() 86 new_argv[1] = (char *) args->file; in maybe_script_execute() 93 args->exec (new_argv[0], new_argv, args->envp); in maybe_script_execute() 103 struct posix_spawn_args *args = arguments; in __spawni_child() local 104 const posix_spawnattr_t *restrict attr = args->attr; in __spawni_child() 105 const posix_spawn_file_actions_t *file_actions = args->fa; in __spawni_child() 290 internal_sigprocmask (SIG_SETMASK, &args->oldmask, NULL); in __spawni_child() [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm-compat/ |
D | test-printf-ldbl-compat.c | 32 va_list args; in do_test_call_varg() local 35 va_start (args, format); in do_test_call_varg() 36 vasprintf (&buffer, format, args); in do_test_call_varg() 37 va_end (args); in do_test_call_varg() 48 va_start (args, format); in do_test_call_varg() 49 vdprintf (fileno (stream), format, args); in do_test_call_varg() 50 va_end (args); in do_test_call_varg() 54 va_start (args, format); in do_test_call_varg() 55 vfprintf (stream, format, args); in do_test_call_varg() 56 va_end (args); in do_test_call_varg() [all …]
|
D | test-scanf-ldbl-compat-template.c | 28 va_start (args, format); \ 29 ldptr = va_arg (args, long double *); \ 30 fptr = va_arg (args, float *); \ 33 va_end (args); 36 va_start (args, format); \ 37 ldptr = va_arg (args, long double *); \ 38 fptr = va_arg (args, float *); \ 39 va_end (args); \ 64 va_list args; in do_test_call() local 83 va_start (args, format); in do_test_call() [all …]
|
D | test-printf-chk-ldbl-compat.c | 35 va_list args; in do_test_call_varg() local 38 va_start (args, format); in do_test_call_varg() 39 res = __vasprintf_chk (&buffer, 1, format, args); in do_test_call_varg() 40 va_end (args); in do_test_call_varg() 53 va_start (args, format); in do_test_call_varg() 54 __vdprintf_chk (fileno (stream), 1, format, args); in do_test_call_varg() 55 va_end (args); in do_test_call_varg() 59 va_start (args, format); in do_test_call_varg() 60 __vfprintf_chk (stream, 1, format, args); in do_test_call_varg() 61 va_end (args); in do_test_call_varg() [all …]
|
/glibc-2.36/dlfcn/ |
D | dlinfo.c | 40 struct dlinfo_args *const args = argsblock; in dlinfo_doit() local 41 struct link_map *l = args->handle; in dlinfo_doit() 43 switch (args->request) in dlinfo_doit() 47 args->result = -1; in dlinfo_doit() 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() [all …]
|
D | dlmopen.c | 43 struct dlmopen_args *args = (struct dlmopen_args *) a; in dlmopen_doit() local 46 if (args->nsid != LM_ID_BASE) in dlmopen_doit() 51 if (args->file == NULL) in dlmopen_doit() 57 if (__glibc_unlikely (args->mode & RTLD_GLOBAL)) in dlmopen_doit() 61 args->new = GLRO(dl_open) (args->file ?: "", args->mode | __RTLD_DLOPEN, in dlmopen_doit() 62 args->caller, in dlmopen_doit() 63 args->nsid, __libc_argc, __libc_argv, __environ); in dlmopen_doit() 70 struct dlmopen_args args; in dlmopen_implementation() local 71 args.nsid = nsid; in dlmopen_implementation() 72 args.file = file; in dlmopen_implementation() [all …]
|
D | dlvsym.c | 39 struct dlvsym_args *args = (struct dlvsym_args *) a; in dlvsym_doit() local 41 args->sym = _dl_vsym (args->handle, args->name, args->version, args->who); in dlvsym_doit() 48 struct dlvsym_args args; in dlvsym_implementation() local 49 args.who = dl_caller; in dlvsym_implementation() 50 args.handle = handle; in dlvsym_implementation() 51 args.name = name; in dlvsym_implementation() 52 args.version = version; in dlvsym_implementation() 57 void *result = (_dlerror_run (dlvsym_doit, &args) ? NULL : args.sym); in dlvsym_implementation()
|
D | dlopenold.c | 52 struct dlopen_args *args = (struct dlopen_args *) a; in dlopen_doit() local 54 args->new = GLRO(dl_open) (args->file ?: "", args->mode | __RTLD_DLOPEN, in dlopen_doit() 55 args->caller, in dlopen_doit() 56 args->file == NULL ? LM_ID_BASE : NS, in dlopen_doit() 64 struct dlopen_args args; in __dlopen_nocheck() local 65 args.file = file; in __dlopen_nocheck() 66 args.caller = RETURN_ADDRESS (0); in __dlopen_nocheck() 71 args.mode = mode; in __dlopen_nocheck() 76 return _dlerror_run (dlopen_doit, &args) ? NULL : args.new; in __dlopen_nocheck()
|
D | dlopen.c | 49 struct dlopen_args *args = (struct dlopen_args *) a; in dlopen_doit() local 51 if (args->mode & ~(RTLD_BINDING_MASK | RTLD_NOLOAD | RTLD_DEEPBIND in dlopen_doit() 56 args->new = GLRO(dl_open) (args->file ?: "", args->mode | __RTLD_DLOPEN, in dlopen_doit() 57 args->caller, in dlopen_doit() 58 args->file == NULL ? LM_ID_BASE : NS, in dlopen_doit() 66 struct dlopen_args args; in dlopen_implementation() local 67 args.file = file; in dlopen_implementation() 68 args.mode = mode; in dlopen_implementation() 69 args.caller = dl_caller; in dlopen_implementation() 71 return _dlerror_run (dlopen_doit, &args) ? NULL : args.new; in dlopen_implementation()
|
D | dlsym.c | 38 struct dlsym_args *args = (struct dlsym_args *) a; in dlsym_doit() local 40 args->sym = _dl_sym (args->handle, args->name, args->who); in dlsym_doit() 46 struct dlsym_args args; in dlsym_implementation() local 47 args.who = dl_caller; in dlsym_implementation() 48 args.handle = handle; in dlsym_implementation() 49 args.name = name; in dlsym_implementation() 54 void *result = (_dlerror_run (dlsym_doit, &args) ? NULL : args.sym); in dlsym_implementation()
|
/glibc-2.36/support/ |
D | shell-container.c | 195 int (*builtin_func) (char **args); in run_command_array() 308 char *args[MAX_ARG_COUNT+1]; in run_command_string() local 349 args[ap] = (char *) xmalloc (end - start + 1); in run_command_string() 350 memcpy (args[ap], start, end - start); in run_command_string() 351 args[ap][end - start] = 0; in run_command_string() 354 dprintf (stderr, "args[%d] = <%s>\n", ap, args[ap]); in run_command_string() 355 if (args[ap][0] == '\'' in run_command_string() 356 && args[ap][strlen (args[ap])-1] == '\'') in run_command_string() 358 args[ap][strlen (args[ap])-1] = 0; in run_command_string() 359 args[ap] ++; in run_command_string() [all …]
|
/glibc-2.36/hurd/ |
D | hurdstartup.c | 52 char *args, *env; in _hurd_startup() local 84 &args, &argslen, in _hurd_startup() 114 argc = __argz_count (args, argslen); in _hurd_startup() 127 __argz_extract (args, argslen, argv); in _hurd_startup() 140 args = env = NULL; in _hurd_startup() 160 } *args = alloca (sizeof *args); in _hurd_startup() local 161 if ((void *) &args[1] == (void *) argcptr) in _hurd_startup() 162 args = alloca (-((char *) &args->data - (char *) args)); in _hurd_startup() 163 memmove (args, argcptr, (char *) &args->data - (char *) args); in _hurd_startup() 164 argcptr = (void *) args; in _hurd_startup() [all …]
|
/glibc-2.36/stdlib/ |
D | tst-system.c | 43 struct args struct 54 struct args *args = (struct args *) closure; in call_system() argument 57 if (args->path != NULL) in call_system() 58 TEST_COMPARE (setenv ("PATH", args->path, 1), 0); in call_system() 59 ret = system (args->command); in call_system() 60 if (args->term_sig == 0) in call_system() 64 TEST_COMPARE (WEXITSTATUS (ret), args->exit_status); in call_system() 70 TEST_COMPARE (WTERMSIG (ret), args->term_sig); in call_system() 86 &(struct args) { in do_test() 105 &(struct args) { in do_test() [all …]
|
/glibc-2.36/math/ |
D | complex.h | 96 #define __MATHCALL(function, args) \ argument 97 __MATHDECL (_Mdouble_complex_,function, args) 98 #define __MATHDECL_IMPL(type, function, args) \ argument 99 __MATHDECL_1(type, function, args); \ 100 __MATHDECL_1(type, __CONCAT(__,function), args) 101 #define __MATHDECL(type, function, args) \ argument 102 __MATHDECL_IMPL(type, function, args) 103 #define __MATHDECL_1_IMPL(type, function, args) \ argument 104 extern type __MATH_PRECNAME(function) args __THROW 105 #define __MATHDECL_1(type, function, args) \ argument [all …]
|
/glibc-2.36/intl/ |
D | plural.y | 69 struct expression * const *args) 76 if (args[i] == NULL) 86 newp->val.args[i] = args[i]; 92 FREE_EXPRESSION (args[i]); 106 struct expression *args[1]; 108 args[0] = right; 109 return new_exp (1, op, args); 116 struct expression *args[2]; 118 args[0] = left; 119 args[1] = right; [all …]
|
/glibc-2.36/resolv/ |
D | res_hconf.c | 102 arg_trimdomain_list (const char *fname, int line_num, const char *args) in arg_trimdomain_list() argument 109 start = args; in arg_trimdomain_list() 110 args = skip_string (args); in arg_trimdomain_list() 111 len = args - start; in arg_trimdomain_list() 129 args = skip_ws (args); in arg_trimdomain_list() 130 switch (*args) in arg_trimdomain_list() 133 args = skip_ws (++args); in arg_trimdomain_list() 134 if (!*args || *args == '#') in arg_trimdomain_list() 152 while (*args && *args != '#'); in arg_trimdomain_list() 153 return args; in arg_trimdomain_list() [all …]
|