/bionic/libc/inet/ |
D | inet_aton.c | 70 in_addr_t val; in inet_aton() local 85 val = 0; base = 10; in inet_aton() 95 val = (val * base) + (c - '0'); in inet_aton() 98 val = (val << 4) | in inet_aton() 113 *pp++ = val; in inet_aton() 137 if ((val > 0xffffff) || (parts[0] > 0xff)) in inet_aton() 139 val |= parts[0] << 24; in inet_aton() 143 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) in inet_aton() 145 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton() 149 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) in inet_aton() [all …]
|
D | inet_addr.c | 67 struct in_addr val; in inet_addr() local 69 if (inet_aton(cp, &val)) in inet_addr() 70 return (val.s_addr); in inet_addr()
|
D | inet_pton.c | 132 u_int val; in inet_pton6() local 143 val = 0; in inet_pton6() 152 val <<= 4; in inet_pton6() 153 val |= (pch - xdigits); in inet_pton6() 154 if (val > 0xffff) in inet_pton6() 172 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6() 173 *tp++ = (u_char) val & 0xff; in inet_pton6() 176 val = 0; in inet_pton6() 191 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6() 192 *tp++ = (u_char) val & 0xff; in inet_pton6()
|
/bionic/libc/kernel/arch-x86/asm/ |
D | percpu_32.h | 25 …val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var… argument 30 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) argument 31 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) argument 32 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) argument 33 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val) argument
|
D | msr.h | 30 #define rdmsrl(msr,val) do { unsigned long a__,b__; __asm__ __volatile__("rdmsr" : "=a" (a__), … argument 34 #define wrmsrl(msr,val) wrmsr(msr,(__u32)((__u64)(val)),((__u64)(val))>>32) argument 42 #define rdtscll(val) do { unsigned int __a,__d; __asm__ __volatile__("rdtsc" : "=a" (__a), "=d"… argument 44 … rdtscpll(val, aux) do { unsigned long __a, __d; __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" … argument 48 #define write_rdtscp_aux(val) wrmsr(0xc0000103, val, 0) argument
|
D | pda.h | 49 …val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switc… argument 54 #define write_pda(field,val) pda_to_op("mov",field,val) argument 55 #define add_pda(field,val) pda_to_op("add",field,val) argument 56 #define sub_pda(field,val) pda_to_op("sub",field,val) argument 57 #define or_pda(field,val) pda_to_op("or",field,val) argument
|
D | unaligned.h | 17 #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) argument
|
D | mc146818rtc_32.h | 40 #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) argument
|
D | pgtable-2level.h | 34 #define __swp_type(x) (((x).val >> 1) & 0x1f) 35 #define __swp_offset(x) ((x).val >> 8) 38 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
|
D | byteorder.h | 32 static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 val) in ___arch__swab64() argument 38 v.u = val; in ___arch__swab64()
|
/bionic/libc/kernel/common/linux/ |
D | preempt.h | 18 #define add_preempt_count(val) do { preempt_count() += (val); } while (0) argument 19 #define sub_preempt_count(val) do { preempt_count() -= (val); } while (0) argument
|
D | vt_buffer.h | 16 #define scr_writew(val, addr) (*(addr) = (val)) argument
|
D | swap.h | 32 unsigned long val; member
|
D | sem.h | 50 int val; member
|
/bionic/libc/kernel/arch-arm/asm/ |
D | unaligned.h | 29 …val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); break; case 2: __put_una… argument 30 …val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); break; case 2: __put_una… argument
|
D | cacheflush.h | 93 #define __cacheid_present(val) (val != read_cpuid(CPUID_ID)) argument 94 #define __cacheid_vivt(val) ((val & (15 << 25)) != (14 << 25)) argument 95 #define __cacheid_vipt(val) ((val & (15 << 25)) == (14 << 25)) argument 96 #define __cacheid_vipt_nonaliasing(val) ((val & (15 << 25 | 1 << 23)) == (14 << 25)) argument 97 #define __cacheid_vipt_aliasing(val) ((val & (15 << 25 | 1 << 23)) == (14 << 25 | 1 << 23)) argument
|
D | mc146818rtc.h | 24 #define CMOS_WRITE(val, addr) ({ outb_p((addr),RTC_PORT(0)); outb_p((val),RTC_PORT(1)); }) argument
|
D | posix_types.h | 48 int val[2]; member
|
/bionic/libc/bionic/ |
D | arc4random.c | 177 u_int8_t val; in __arc4_getbyte() local 182 val = arc4_getbyte(); in __arc4_getbyte() 184 return val; in __arc4_getbyte() 190 u_int32_t val; in arc4_getword() local 191 val = arc4_getbyte() << 24; in arc4_getword() 192 val |= arc4_getbyte() << 16; in arc4_getword() 193 val |= arc4_getbyte() << 8; in arc4_getword() 194 val |= arc4_getbyte(); in arc4_getword() 195 return val; in arc4_getword() 219 u_int32_t val; in arc4random() local [all …]
|
D | atomics_x86.c | 34 int __futex_wait(volatile void *ftx, int val) in __futex_wait() argument 43 "d" (val), in __futex_wait()
|
/bionic/libc/arch-x86/bionic/ |
D | atomics_x86.c | 34 int __futex_wait(volatile void *ftx, int val) in __futex_wait() argument 43 "d" (val), in __futex_wait()
|
/bionic/libc/include/sys/ |
D | atomics.h | 41 int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout);
|
/bionic/libc/include/ |
D | getopt.h | 63 int val; member
|
/bionic/libstdc++/src/ |
D | one_time_construction.cpp | 14 extern "C" int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout);
|
/bionic/libc/kernel/arch-arm/asm/arch/ |
D | fpga.h | 18 #define fpga_write(val, reg) __raw_writeb(val, reg) argument
|