Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 37) sorted by relevance

12

/bionic/libc/inet/
Dinet_aton.c70 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 …]
Dinet_addr.c67 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()
Dinet_pton.c132 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/
Dpercpu_32.h25val) 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
Dmsr.h30 #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
Dpda.h49val) 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
Dunaligned.h17 #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) argument
Dmc146818rtc_32.h40 #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) argument
Dpgtable-2level.h34 #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 })
Dbyteorder.h32 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/
Dpreempt.h18 #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
Dvt_buffer.h16 #define scr_writew(val, addr) (*(addr) = (val)) argument
Dswap.h32 unsigned long val; member
Dsem.h50 int val; member
/bionic/libc/kernel/arch-arm/asm/
Dunaligned.h29val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); break; case 2: __put_una… argument
30val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); break; case 2: __put_una… argument
Dcacheflush.h93 #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
Dmc146818rtc.h24 #define CMOS_WRITE(val, addr) ({ outb_p((addr),RTC_PORT(0)); outb_p((val),RTC_PORT(1)); }) argument
Dposix_types.h48 int val[2]; member
/bionic/libc/bionic/
Darc4random.c177 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 …]
Datomics_x86.c34 int __futex_wait(volatile void *ftx, int val) in __futex_wait() argument
43 "d" (val), in __futex_wait()
/bionic/libc/arch-x86/bionic/
Datomics_x86.c34 int __futex_wait(volatile void *ftx, int val) in __futex_wait() argument
43 "d" (val), in __futex_wait()
/bionic/libc/include/sys/
Datomics.h41 int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout);
/bionic/libc/include/
Dgetopt.h63 int val; member
/bionic/libstdc++/src/
Done_time_construction.cpp14 extern "C" int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout);
/bionic/libc/kernel/arch-arm/asm/arch/
Dfpga.h18 #define fpga_write(val, reg) __raw_writeb(val, reg) argument

12