Searched defs:val (Results 1 - 24 of 24) sorted by relevance

/bionic/libc/inet/
H A Dinet_addr.c67 struct in_addr val; local
69 if (inet_aton(cp, &val))
70 return (val.s_addr);
H A Dinet_aton.c70 in_addr_t val; local
85 val = 0; base = 10;
95 val = (val * base) + (c - '0');
98 val = (val << 4) |
113 *pp++ = val;
137 if ((val > 0xffffff) || (parts[0] > 0xff))
139 val |= parts[0] << 24;
143 if ((val >
[all...]
H A Dinet_pton.c132 u_int val; local
143 val = 0;
152 val <<= 4;
153 val |= (pch - xdigits);
154 if (val > 0xffff)
172 *tp++ = (u_char) (val >> 8) & 0xff;
173 *tp++ = (u_char) val & 0xff;
176 val = 0;
191 *tp++ = (u_char) (val >> 8) & 0xff;
192 *tp++ = (u_char) val
[all...]
/bionic/libc/include/
H A Dgetopt.h60 /* if not NULL, set *flag to val when option found */
63 int val; member in struct:option
/bionic/libc/kernel/common/linux/
H A Dswap.h32 unsigned long val; member in struct:__anon406
H A Dppdev.h24 unsigned char val; member in struct:ppdev_frob_struct
H A Dsem.h50 int val; member in union:semun
H A Dpkt_cls.h184 __be32 val; member in struct:tc_u32_key
206 __u32 val; member in struct:tc_u32_mark
H A Dvideodev2.h1110 __u64 val; member in struct:v4l2_dbg_register
/bionic/libc/bionic/
H A Datomics_x86.c34 int __futex_wait(volatile void *ftx, int val) argument
43 "d" (val),
H A Darc4random.c177 u_int8_t val; local
182 val = arc4_getbyte();
184 return val;
190 u_int32_t val; local
191 val = arc4_getbyte() << 24;
192 val |= arc4_getbyte() << 16;
193 val |= arc4_getbyte() << 8;
194 val |= arc4_getbyte();
195 return val;
219 u_int32_t val; local
[all...]
H A Dsemaphore.c72 #define SEMCOUNT_FROM_VALUE(val) (((val) << SEMCOUNT_VALUE_SHIFT) & SEMCOUNT_VALUE_MASK)
389 int val; local
396 val = SEMCOUNT_TO_VALUE(sem->count);
397 if (val < 0)
398 val = 0;
400 *sval = val;
H A Dmalloc_debug_qemu.c405 * val - Event's value parameter.
408 notify_qemu(uint32_t code, uint32_t val) argument
411 *(volatile uint32_t*)((uint32_t)qtrace + ((code - 1024) << 2)) = val;
H A Dpthread.c58 int __futex_wake_ex(volatile void *ftx, int pshared, int val) argument
60 return __futex_syscall3(ftx, pshared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, val);
63 int __futex_wait_ex(volatile void *ftx, int pshared, int val, const struct timespec *timeout) argument
65 return __futex_syscall4(ftx, pshared ? FUTEX_WAIT : FUTEX_WAIT_PRIVATE, val, timeout);
H A Ddlmalloc.c2615 size_t val = (size_t)value; local
2619 mparams.trim_threshold = val;
2622 if (val >= mparams.page_size && ((val & (val-1)) == 0)) {
2623 mparams.granularity = val;
2629 mparams.mmap_threshold = val;
/bionic/libc/kernel/arch-x86/asm/
H A Dbyteorder.h32 static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 val) argument
38 v.u = val;
H A Dposix_types_32.h48 int val[2]; member in struct:__anon162
/bionic/libc/arch-sh/bionic/
H A Datomics_sh.c92 int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout) argument
94 return futex(ftx, FUTEX_WAIT, val, (void *)timeout, NULL, 0);
102 int __futex_syscall3(volatile void *ftx, int op, int val) argument
104 return futex(ftx, op, val, NULL, NULL, 0);
107 int __futex_syscall4(volative void *ftx, int op, int val, const struct timespec *timeout) argument
109 return futex(ftx, op, val, (void *)timeout, NULL, 0);
/bionic/libc/kernel/arch-sh/asm/
H A Dbyteorder.h50 static inline __u64 ___arch__swab64(__u64 val) argument
56 v.u = val;
H A Dposix_types_32.h48 int val[2]; member in struct:__anon89
H A Dposix_types_64.h48 int val[2]; member in struct:__anon90
/bionic/libc/kernel/arch-arm/asm/
H A Dposix_types.h48 int val[2]; member in struct:__anon75
/bionic/libc/arch-sh/include/machine/
H A D_types.h40 int val[9]; member in struct:label_t
/bionic/libc/netbsd/resolv/
H A Dres_debug.c710 unsigned long val; local
716 val = mantissa * poweroften[exponent];
718 (void) sprintf(retbuf, "%lu.%.2lu", val/100, val%100);

Completed in 295 milliseconds