Home
last modified time | relevance | path

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

12

/bionic/libc/private/
Dbionic_asm_dwarf_exprs.h45 #define ULEB128_14BIT_SIZE(val) \ argument
46 (1 + (((val) > 0x7f) & 1))
49 #define SLEB128_14BIT_SIZE(val) \ argument
50 (1 + (((val) < -0x40) & 1) + \
51 (((val) > 0x3f) & 1) )
54 .macro m_cfi_uleb128 val
55 .if (\val) < 0 || (\val) > 0x3fff
57 .elseif (\val) > 0x7f
58 .cfi_escape ((\val) & 0x7f) | 0x80
59 .cfi_escape (\val) >> 7
[all …]
/bionic/libc/kernel/uapi/linux/
Dlirc.h20 #define LIRC_SPACE(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_SPACE) argument
21 #define LIRC_PULSE(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_PULSE) argument
22 #define LIRC_FREQUENCY(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_FREQUENCY) argument
23 #define LIRC_TIMEOUT(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_TIMEOUT) argument
24 #define LIRC_OVERFLOW(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_OVERFLOW) argument
25 #define LIRC_VALUE(val) ((val) & LIRC_VALUE_MASK) argument
26 #define LIRC_MODE2(val) ((val) & LIRC_MODE2_MASK) argument
27 #define LIRC_IS_SPACE(val) (LIRC_MODE2(val) == LIRC_MODE2_SPACE) argument
28 #define LIRC_IS_PULSE(val) (LIRC_MODE2(val) == LIRC_MODE2_PULSE) argument
29 #define LIRC_IS_FREQUENCY(val) (LIRC_MODE2(val) == LIRC_MODE2_FREQUENCY) argument
[all …]
Dbtf.h68 __s32 val; member
80 #define BTF_MEMBER_BITFIELD_SIZE(val) ((val) >> 24) argument
81 #define BTF_MEMBER_BIT_OFFSET(val) ((val) & 0xffffff) argument
Dswab.h28 static inline __attribute__((__const__)) __u32 __fswahw32(__u32 val) { in __fswahw32() argument
30 return __arch_swahw32(val); in __fswahw32()
32 return ___constant_swahw32(val); in __fswahw32()
35 static inline __attribute__((__const__)) __u32 __fswahb32(__u32 val) { in __fswahb32() argument
37 return __arch_swahb32(val); in __fswahb32()
39 return ___constant_swahb32(val); in __fswahb32()
Dioprio.h51 #define IOPRIO_BAD_VALUE(val,max) ((val) < 0 || (val) >= (max)) argument
Datm_he.h16 unsigned addr, val; member
Dselinux_netlink.h28 __s32 val; member
Dconnector.h33 __u32 val; member
Dvirtio_balloon.h47 __virtio64 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) .quad val argument
56 #define DATA_WORD(val) .long val argument
63 #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.c172 _rs_random_u32(uint32_t *val) in _rs_random_u32() argument
176 _rs_stir_if_needed(sizeof(*val)); in _rs_random_u32()
177 if (rs->rs_have < sizeof(*val)) in _rs_random_u32()
180 memcpy(val, keystream, sizeof(*val)); in _rs_random_u32()
181 memset(keystream, 0, sizeof(*val)); in _rs_random_u32()
182 rs->rs_have -= sizeof(*val); in _rs_random_u32()
188 uint32_t val; in arc4random() local
191 _rs_random_u32(&val); in arc4random()
193 return val; in arc4random()
/bionic/libc/stdio/
Dscanf_common.h88 #define APPEND_DIGIT(val, dig) \ argument
90 if ((val) > INT_MAX / 10) \
93 (val) *= 10; \
94 if ((val) > INT_MAX - to_digit((dig))) \
97 (val) += to_digit((dig)); \
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/linker/
Dlinker_utils_test.cpp140 int64_t val = 42; in TEST() local
141 ASSERT_FALSE(safe_add(&val, INT64_MAX-20, 21U)); in TEST()
142 ASSERT_EQ(42, val); in TEST()
143 ASSERT_TRUE(safe_add(&val, INT64_MAX-42, 42U)); in TEST()
144 ASSERT_EQ(INT64_MAX, val); in TEST()
145 ASSERT_TRUE(safe_add(&val, 2000, 42U)); in TEST()
146 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()
/bionic/libc/include/sys/
Dcdefs.h285 #define __bos_unevaluated_lt(bos_val, val) \ argument
286 ((bos_val) != __BIONIC_FORTIFY_UNKNOWN_SIZE && (bos_val) < (val))
288 #define __bos_unevaluated_le(bos_val, val) \ argument
289 ((bos_val) != __BIONIC_FORTIFY_UNKNOWN_SIZE && (bos_val) <= (val))
Dsem.h47 int val; member
/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.h155 #define fourcc_mod_code(vendor,val) ((((__u64) DRM_FORMAT_MOD_VENDOR_ ##vendor) << 56) | ((val) & 0… argument
203 … fourcc_mod_broadcom_code(val,params) fourcc_mod_code(BROADCOM, ((((__u64) params) << __fourcc_mod… argument
253 #define IS_AMD_FMT_MOD(val) (((val) >> 56) == DRM_FORMAT_MOD_VENDOR_AMD) argument
/bionic/tests/
Dmalloc_test.cpp429 int val; in TEST() local
432 ASSERT_EQ(tinyxml2::XML_SUCCESS, arena->QueryIntAttribute("nr", &val)); in TEST()
434 arena->FirstChildElement("allocated-large")->QueryIntText(&val)); in TEST()
436 arena->FirstChildElement("allocated-huge")->QueryIntText(&val)); in TEST()
438 arena->FirstChildElement("allocated-bins")->QueryIntText(&val)); in TEST()
440 arena->FirstChildElement("bins-total")->QueryIntText(&val)); in TEST()
445 ASSERT_EQ(tinyxml2::XML_SUCCESS, bin->QueryIntAttribute("nr", &val)); in TEST()
447 bin->FirstChildElement("allocated")->QueryIntText(&val)); in TEST()
449 bin->FirstChildElement("nmalloc")->QueryIntText(&val)); in TEST()
451 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/kernel/uapi/linux/tc_ematch/
Dtc_em_cmp.h12 __u32 val; member
/bionic/libc/include/
Dgetopt.h67 int val; member
/bionic/libc/kernel/uapi/rdma/
Drvt-abi.h12 #define RDMA_ATOMIC_UAPI(_type,_name) struct { _type val; } _name

12