Home
last modified time | relevance | path

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

12

/bionic/libc/kernel/uapi/linux/
Dlirc.h31 #define LIRC_SPACE(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_SPACE) argument
32 #define LIRC_PULSE(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_PULSE) argument
33 #define LIRC_FREQUENCY(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_FREQUENCY) argument
34 #define LIRC_TIMEOUT(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_TIMEOUT) argument
35 #define LIRC_VALUE(val) ((val) & LIRC_VALUE_MASK) argument
36 #define LIRC_MODE2(val) ((val) & LIRC_MODE2_MASK) argument
37 #define LIRC_IS_SPACE(val) (LIRC_MODE2(val) == LIRC_MODE2_SPACE) argument
38 #define LIRC_IS_PULSE(val) (LIRC_MODE2(val) == LIRC_MODE2_PULSE) argument
39 #define LIRC_IS_FREQUENCY(val) (LIRC_MODE2(val) == LIRC_MODE2_FREQUENCY) argument
40 #define LIRC_IS_TIMEOUT(val) (LIRC_MODE2(val) == LIRC_MODE2_TIMEOUT) argument
Dbtf.h74 __s32 val; member
86 #define BTF_MEMBER_BITFIELD_SIZE(val) ((val) >> 24) argument
87 #define BTF_MEMBER_BIT_OFFSET(val) ((val) & 0xffffff) argument
Dswab.h40 static inline __attribute__((__const__)) __u32 __fswahw32(__u32 val) { in __fswahw32() argument
42 return __arch_swahw32(val); in __fswahw32()
44 return ___constant_swahw32(val); in __fswahw32()
47 static inline __attribute__((__const__)) __u32 __fswahb32(__u32 val) { in __fswahb32() argument
49 return __arch_swahb32(val); in __fswahb32()
51 return ___constant_swahb32(val); in __fswahb32()
Datm_he.h28 unsigned addr, val; member
Dselinux_netlink.h40 __s32 val; member
Dconnector.h45 __u32 val; member
/bionic/benchmarks/linker_relocation/include/
Dlinker_reloc_bench_asm.h35 #define DATA_WORD(val) .long val argument
42 #define DATA_WORD(val) .quad val argument
49 #define DATA_WORD(val) .long val argument
56 #define DATA_WORD(val) .quad val argument
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_pton.c131 u_int val; in inet_pton6() local
142 val = 0; in inet_pton6()
151 val <<= 4; in inet_pton6()
152 val |= (pch - xdigits); in inet_pton6()
153 if (val > 0xffff) in inet_pton6()
171 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6()
172 *tp++ = (u_char) val & 0xff; in inet_pton6()
175 val = 0; in inet_pton6()
190 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6()
191 *tp++ = (u_char) val & 0xff; in inet_pton6()
/bionic/libc/upstream-openbsd/lib/libc/crypt/
Darc4random.c166 _rs_random_u32(uint32_t *val) in _rs_random_u32() argument
170 _rs_stir_if_needed(sizeof(*val)); in _rs_random_u32()
171 if (rs->rs_have < sizeof(*val)) in _rs_random_u32()
174 memcpy(val, keystream, sizeof(*val)); in _rs_random_u32()
175 memset(keystream, 0, sizeof(*val)); in _rs_random_u32()
176 rs->rs_have -= sizeof(*val); in _rs_random_u32()
182 uint32_t val; in arc4random() local
185 _rs_random_u32(&val); in arc4random()
187 return val; in arc4random()
/bionic/linker/
Dlinker_utils_test.cpp119 int64_t val = 42; in TEST() local
120 ASSERT_FALSE(safe_add(&val, INT64_MAX-20, 21U)); in TEST()
121 ASSERT_EQ(42, val); in TEST()
122 ASSERT_TRUE(safe_add(&val, INT64_MAX-42, 42U)); in TEST()
123 ASSERT_EQ(INT64_MAX, val); in TEST()
124 ASSERT_TRUE(safe_add(&val, 2000, 42U)); in TEST()
125 ASSERT_EQ(2042, val); in TEST()
/bionic/libc/bionic/
Dsemaphore.cpp72 #define SEMCOUNT_FROM_VALUE(val) (((val) << SEMCOUNT_VALUE_SHIFT) & SEMCOUNT_VALUE_MASK) argument
322 int val = SEMCOUNT_TO_VALUE(atomic_load(sem_count_ptr)); in sem_getvalue() local
323 if (val < 0) { in sem_getvalue()
324 val = 0; in sem_getvalue()
327 *sval = val; in sem_getvalue()
Dpthread_internal.h206 static inline void __set_tcb_dtv(bionic_tcb* tcb, TlsDtv* val) { in __set_tcb_dtv() argument
207 tcb->tls_slot(TLS_SLOT_DTV) = &val->generation; in __set_tcb_dtv()
/bionic/tests/
Dmalloc_test.cpp397 int val; in TEST() local
400 ASSERT_EQ(tinyxml2::XML_SUCCESS, arena->QueryIntAttribute("nr", &val)); in TEST()
402 arena->FirstChildElement("allocated-large")->QueryIntText(&val)); in TEST()
404 arena->FirstChildElement("allocated-huge")->QueryIntText(&val)); in TEST()
406 arena->FirstChildElement("allocated-bins")->QueryIntText(&val)); in TEST()
408 arena->FirstChildElement("bins-total")->QueryIntText(&val)); in TEST()
413 ASSERT_EQ(tinyxml2::XML_SUCCESS, bin->QueryIntAttribute("nr", &val)); in TEST()
415 bin->FirstChildElement("allocated")->QueryIntText(&val)); in TEST()
417 bin->FirstChildElement("nmalloc")->QueryIntText(&val)); in TEST()
419 bin->FirstChildElement("ndalloc")->QueryIntText(&val)); in TEST()
[all …]
Dandroid_unsafe_frame_pointer_chase_test.cpp26 __attribute__((weak, noinline)) size_t nop(size_t val) { in nop() argument
27 return val; in nop()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dgetopt_long.c257 long_options[i].val != long_options[match].val) in parse_long_options()
286 optopt = long_options[match].val; in parse_long_options()
323 optopt = long_options[match].val; in parse_long_options()
346 *long_options[match].flag = long_options[match].val; in parse_long_options()
349 return (long_options[match].val); in parse_long_options()
/bionic/libc/kernel/uapi/drm/
Ddrm_fourcc.h140 #define fourcc_mod_code(vendor,val) ((((__u64) DRM_FORMAT_MOD_VENDOR_ ##vendor) << 56) | ((val) & 0… argument
170 … fourcc_mod_broadcom_code(val,params) fourcc_mod_code(BROADCOM, ((((__u64) params) << __fourcc_mod… argument
/bionic/libc/include/sys/
Dcdefs.h298 #define __bos_unevaluated_lt(bos_val, val) \ argument
299 ((bos_val) != __BIONIC_FORTIFY_UNKNOWN_SIZE && (bos_val) < (val))
301 #define __bos_unevaluated_le(bos_val, val) \ argument
302 ((bos_val) != __BIONIC_FORTIFY_UNKNOWN_SIZE && (bos_val) <= (val))
Dsem.h47 int val; member
/bionic/libc/arch-arm64/generic/bionic/
Dmemset.S74 #define val x1 macro
110 mov val, v0.D[0]
114 str val, [dstin]
115 str val, [dstend, -8]
/bionic/libc/stdio/
Dprintf_common.h265 #define APPEND_DIGIT(val, dig) \ argument
267 if ((val) > INT_MAX / 10) goto overflow; \
268 (val) *= 10; \
269 if ((val) > INT_MAX - to_digit((dig))) goto overflow; \
270 (val) += to_digit((dig)); \
275 #define GETASTER(val) \ argument
292 val = GETARG(int); \
296 val = GETARG(int); \
/bionic/libc/kernel/uapi/rdma/
Dib_user_verbs.h766 struct ib_uverbs_flow_eth_filter val; member
786 struct ib_uverbs_flow_ipv4_filter val; member
802 struct ib_uverbs_flow_tcp_udp_filter val; member
823 struct ib_uverbs_flow_ipv6_filter val; member
884 struct ib_uverbs_flow_tunnel_filter val; member
900 struct ib_uverbs_flow_spec_esp_filter val; member
917 struct ib_uverbs_flow_gre_filter val; member
932 struct ib_uverbs_flow_mpls_filter val; member
Drvt-abi.h24 #define RDMA_ATOMIC_UAPI(_type,_name) struct { _type val; } _name
/bionic/libc/kernel/uapi/linux/tc_ematch/
Dtc_em_cmp.h24 __u32 val; member
/bionic/libc/include/
Dgetopt.h64 int val; member
/bionic/libc/kernel/uapi/linux/tc_act/
Dtc_pedit.h58 __u32 val; member

12