Home
last modified time | relevance | path

Searched refs:valp (Results 1 – 11 of 11) sorted by relevance

/glibc-2.36/stdlib/
Dtst-environ.c32 const char *valp; in do_test() local
52 valp = getenv (VAR); in do_test()
53 if (valp == NULL || strcmp (valp, "one") != 0) in do_test()
67 valp = getenv (VAR); in do_test()
68 if (valp == NULL || strcmp (valp, "one") != 0) in do_test()
82 valp = getenv (VAR); in do_test()
83 if (valp == NULL || strcmp (valp, "some longer value") != 0) in do_test()
85 printf ("getenv #4 failed (is \"%s\")\n", valp); in do_test()
94 valp = getenv (VAR); in do_test()
95 if (valp == NULL || strcmp (valp, "a short one") != 0) in do_test()
[all …]
/glibc-2.36/inet/
Dtst-ether_aton.c8 struct ether_addr *valp, val; in do_test() local
12 valp = ether_aton ("12:34:56:78:9a:bc"); in do_test()
15 valp->ether_addr_octet[0], in do_test()
16 valp->ether_addr_octet[1], in do_test()
17 valp->ether_addr_octet[2], in do_test()
18 valp->ether_addr_octet[3], in do_test()
19 valp->ether_addr_octet[4], in do_test()
20 valp->ether_addr_octet[5]); in do_test()
22 result = (valp->ether_addr_octet[0] != 0x12 in do_test()
23 || valp->ether_addr_octet[1] != 0x34 in do_test()
[all …]
/glibc-2.36/sysdeps/x86/
Dcpu-tunables.c91 TUNABLE_CALLBACK (set_hwcaps) (tunable_val_t *valp) in TUNABLE_CALLBACK()
110 const char *p = valp->strval; in TUNABLE_CALLBACK()
293 TUNABLE_CALLBACK (set_x86_ibt) (tunable_val_t *valp) in TUNABLE_CALLBACK()
295 if (DEFAULT_MEMCMP (valp->strval, "on", sizeof ("on")) == 0) in TUNABLE_CALLBACK()
297 else if (DEFAULT_MEMCMP (valp->strval, "off", sizeof ("off")) == 0) in TUNABLE_CALLBACK()
299 else if (DEFAULT_MEMCMP (valp->strval, "permissive", in TUNABLE_CALLBACK()
306 TUNABLE_CALLBACK (set_x86_shstk) (tunable_val_t *valp) in TUNABLE_CALLBACK()
308 if (DEFAULT_MEMCMP (valp->strval, "on", sizeof ("on")) == 0) in TUNABLE_CALLBACK()
310 else if (DEFAULT_MEMCMP (valp->strval, "off", sizeof ("off")) == 0) in TUNABLE_CALLBACK()
312 else if (DEFAULT_MEMCMP (valp->strval, "permissive", in TUNABLE_CALLBACK()
/glibc-2.36/elf/
Ddl-tunables.c96 do_tunable_update_val (tunable_t *cur, const tunable_val_t *valp, in do_tunable_update_val() argument
104 cur->val.strval = valp->strval; in do_tunable_update_val()
111 val = valp->numval; in do_tunable_update_val()
155 __tunable_set_val (tunable_id_t id, tunable_val_t *valp, tunable_num_t *minp, in __tunable_set_val() argument
160 do_tunable_update_val (cur, valp, minp, maxp); in __tunable_set_val()
401 __tunable_get_val (tunable_id_t id, void *valp, tunable_callback_t callback) in __tunable_get_val() argument
409 *((uint64_t *) valp) = (uint64_t) cur->val.numval; in __tunable_get_val()
414 *((int32_t *) valp) = (int32_t) cur->val.numval; in __tunable_get_val()
419 *((size_t *) valp) = (size_t) cur->val.numval; in __tunable_get_val()
424 *((const char **)valp) = cur->val.strval; in __tunable_get_val()
/glibc-2.36/nptl/
Dpthread_mutex_conf.c37 TUNABLE_CALLBACK (set_mutex_spin_count) (tunable_val_t *valp) in libc_hidden_data_def()
39 __mutex_aconf.spin_count = (int32_t) (valp)->numval; in libc_hidden_data_def()
43 TUNABLE_CALLBACK (set_stack_cache_size) (tunable_val_t *valp) in TUNABLE_CALLBACK()
45 __nptl_stack_cache_maxsize = valp->numval; in TUNABLE_CALLBACK()
/glibc-2.36/sysdeps/unix/sysv/linux/x86/
Delision-conf.c67 TUNABLE_CALLBACK (set_elision_enable) (tunable_val_t *valp) in TUNABLE_CALLBACK()
69 int32_t elision_enable = (int32_t) valp->numval; in TUNABLE_CALLBACK()
80 TUNABLE_CALLBACK (set_elision_ ## __name) (tunable_val_t *valp) \
82 __type value = (__type) (valp)->numval; \
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/
Delision-conf.c72 TUNABLE_CALLBACK (set_elision_enable) (tunable_val_t *valp) in TUNABLE_CALLBACK()
74 int32_t elision_enable = (int32_t) valp->numval; in TUNABLE_CALLBACK()
86 TUNABLE_CALLBACK (set_elision_ ## __name) (tunable_val_t *valp) \
88 __type value = (__type) (valp)->numval; \
/glibc-2.36/sysdeps/unix/sysv/linux/s390/
Delision-conf.c71 TUNABLE_CALLBACK (set_elision_enable) (tunable_val_t *valp) in TUNABLE_CALLBACK()
73 int32_t elision_enable = (int32_t) valp->numval; in TUNABLE_CALLBACK()
85 TUNABLE_CALLBACK (set_elision_ ## __name) (tunable_val_t *valp) \
87 __type value = (__type) (valp)->numval; \
/glibc-2.36/malloc/
Dmalloc-check.c381 TUNABLE_CALLBACK (set_mallopt_check) (tunable_val_t *valp) in TUNABLE_CALLBACK()
383 int32_t value = (int32_t) valp->numval; in TUNABLE_CALLBACK()
Darena.c246 TUNABLE_CALLBACK (__name) (tunable_val_t *valp) \
248 __type value = (__type) (valp)->numval; \
/glibc-2.36/manual/
DREADME.tunables92 TUNABLE_CALLBACK (check_callback) (int32_t *valp)