Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 25 of 27) sorted by relevance

12

/bionic/libc/include/android/
Dlegacy_signal_inlines.h64 int bit = signum - 1; in sigismember() local
66 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigismember()
70 return (int)((local_set[bit / LONG_BIT] >> (bit % LONG_BIT)) & 1); in sigismember()
75 int bit = signum - 1; in sigaddset() local
77 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigaddset()
81 local_set[bit / LONG_BIT] |= 1UL << (bit % LONG_BIT); in sigaddset()
87 int bit = signum - 1; in sigdelset() local
89 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigdelset()
93 local_set[bit / LONG_BIT] &= ~(1UL << (bit % LONG_BIT)); in sigdelset()
/bionic/docs/
D32-bit-abi.md1 # 32-bit ABI bugs
3 ## 32-bit `off_t` and `_FILE_OFFSET_BITS=64`
5 On 32-bit Android, `off_t` is a signed 32-bit integer. This limits functions
28 compiled with that was actually using a 32-bit `off_t`. With a new enough NDK,
31 64-bit equivalents, and none of them (except `lseek`/`lseek64`) exist. As you
44 you'll have a 32-bit `off_t` and use the 32-bit functions. Make sure you
60 In the 64-bit ABI, `off_t` is always 64-bit.
63 in the 64-bit ABI even though they're identical to the non-`64` names.
68 On 32-bit Android, `sigset_t` is too small for ARM and x86. This means that
69 there is no support for real-time signals in 32-bit code. Android P (API
[all …]
Dlibc_assembler.md19 Benchmark 64 bit memcmp:
23 Benchmark 32 bit memcmp:
49 This is for 64 bit libc routines.
53 This is for 32 bit libc routines.
Dnative_allocator.md13 systems and be a bit slower, but take less RSS. To enable the svelte config,
74 bit faster, while only increasing RSS a bit.
133 The last is virtual address space consumed in 32 bit applications. There is
134 a limited amount of address space available in 32 bit apps, and there have
136 address space is consumed. For 64 bit executables, this can be ignored.
315 bit of performance testing on actual traces taken from running applications.
367 important to verify that when running this trace using the 32 bit replay
376 up and down a bit, but stays mostly the same so an allocator that fragments
Dfdsan.md45bit closure tag on a file descriptor. The tag consists of an 8-bit type byte that identifies the t…
Ddefines.md66 64-bit -- use these macros to conditionally compile.
Delf-tls.md441 (XXX: check 32-vs-64-bit for inferiors, debuggers, and kernels):
655 Aside: gcc's arm64ilp32 target uses a 32-bit unsigned offset for a TLS IE access
709 GCC for arm64 defaults to the 24-bit model and has an `-mtls-size=SIZE` option for setting other
710 supported sizes. (It supports 12, 24, 32, and 48.) Clang has only implemented the 24-bit model,
714 The 16-, 32-, and 48-bit models use a `movn/movz` instruction to set the highest 16 bits to a
715 positive or negative value, then `movk` to set the remaining 16 bit chunks. In principle, these
718 The 24-bit model uses `add` to set the high 12 bits, then places the low 12 bits into another
772 * Bionic's existing memory layout doesn't change, and arm32 and 32-bit x86 have the same layout
871 * ["ELF for the ARM® 64-bit Architecture (AArch64)."][arm64-elf] Lists TLS relocations (traditional
Dstatus.md19 and `__GLIBC__`. In other cases historical accidents mean 32-bit
20 bionic diverged but 64-bit bionic matches POSIX; these are guarded with
149 * 32-bit `prlimit`
/bionic/libc/bionic/
Dsignal.cpp61 int bit = sig - 1; // Signal numbers start at 1, but bit positions start at 0. in SigAddSet() local
63 if (set == nullptr || bit < 0 || bit >= static_cast<int>(8*sizeof(*set))) { in SigAddSet()
67 local_set[bit / LONG_BIT] |= 1UL << (bit % LONG_BIT); in SigAddSet()
90 int bit = sig - 1; // Signal numbers start at 1, but bit positions start at 0. in SigDelSet() local
92 if (set == nullptr || bit < 0 || bit >= static_cast<int>(8*sizeof(*set))) { in SigDelSet()
96 local_set[bit / LONG_BIT] &= ~(1UL << (bit % LONG_BIT)); in SigDelSet()
168 int bit = sig - 1; // Signal numbers start at 1, but bit positions start at 0. in SigIsMember() local
170 if (set == nullptr || bit < 0 || bit >= static_cast<int>(8*sizeof(*set))) { in SigIsMember()
174 return static_cast<int>((local_set[bit / LONG_BIT] >> (bit % LONG_BIT)) & 1); in SigIsMember()
Dlegacy_32_bit_support.cpp43 #error This code is only needed on 32-bit systems!
/bionic/tests/
Dstdlib_test.cpp193 for (int bit = 0; bit < 32; ++bit) { in TEST() local
194 bits[bit] += (static_cast<unsigned long>(rand_val) >> bit) & 0x01; in TEST()
199 for (int bit = 0; bit < 32; ++bit) { in TEST() local
200 EXPECT_TRUE((pivot_low <= bits[bit]) && (bits[bit] <= pivot_high)); in TEST()
213 for (int bit = 0; bit < 32; ++bit) { in TEST() local
214 bits[bit] += (static_cast<unsigned long>(rand_val) >> bit) & 0x01; in TEST()
219 for (int bit = 0; bit < 32; ++bit) { in TEST() local
220 EXPECT_TRUE((pivot_low <= bits[bit]) && (bits[bit] <= pivot_high)); in TEST()
/bionic/linker/
Dldd15 *32-bit*)
18 *64-bit*)
Dld.config.format.md52 # Default namespace search path. Note that ${LIB} here is substituted with "lib" for 32bit targets
53 # and with "lib64" for 64bit ones.
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_connlabel.h28 __u16 bit; member
/bionic/libc/malloc_debug/
DREADME_api.md49 For 32 bit systems, *size\_t* and *uintptr\_t* are both 4 byte values.
51 For 64 bit systems, *size\_t* and *uintptr\_t* are both 8 byte values.
56 Note, the size value in each allocation data structure will have bit 31 set
DREADME_marshmallow_and_earlier.md30 On 32 bit systems, these two deprecated functions are also replaced:
DREADME.md25 On 32 bit systems, these two deprecated functions are also replaced:
60 padded so that it is a multiple of 8 bytes on 32 bit systems and 16 bytes
61 on 64 bit systems to make sure that the allocation returned is aligned
/bionic/libc/include/
Dtime64.h36 #error Your time_t is already 64-bit.
/bionic/
DREADME.md44 32-bit or 64-bit executable). It's responsible for loading the ELF executable
220 # Only for 64-bit targets
258 32-bit bionic requires PIDs less than 65536. To enforce this, set /proc/sys/kernel/pid_max
262 $ ./tests/run-on-host.sh 64 # For x86_64-bit *targets* only.
318 ## 32-bit ABI bugs
320 See [32-bit ABI bugs](docs/32-bit-abi.md).
Dandroid-changes-for-ndk-developers.md76 ## LD_PRELOAD and 32/64 bit
78 LD_PRELOAD applies to both 32- and 64-bit processes. This means that you
/bionic/libc/
DSYSCALLS.TXT70 # On 32-bit systems we use prlimit64 to implement the rlimit64 functions.
99 # On LP32, preadv/pwritev don't use off64_t --- they use pairs of 32-bit
100 # arguments to avoid problems on architectures like ARM where 64-bit arguments
161 # Paired off_t/off64_t system calls. On 64-bit systems,
163 # aliases. On 32-bit systems, we have two different system calls.
176 # (mmap only gets two lines because we only used the 64-bit variant on 32-bit systems.)
179 # (fallocate only gets two lines because there is no 32-bit variant.)
DSECCOMP_WHITELIST_APP.TXT6 # Needed for debugging 32-bit Chrome
/bionic/libc/tzcode/
Dprivate.h202 Please use a compiler that supports a 64-bit integer type (or wider);
258 Please use a compiler that supports a 64-bit integer type (or wider);
/bionic/benchmarks/
DREADME.md24 See the `benchmarks/run-on-host.sh` script. The host benchmarks can be run with 32-bit or 64-bit
/bionic/libc/malloc_hooks/
DREADME.md23 On 32 bit systems, these two deprecated functions are also replaced:

12