/bionic/libc/include/android/ |
D | legacy_signal_inlines.h | 64 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/ |
D | 32-bit-abi.md | 1 # 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 …]
|
D | libc_assembler.md | 19 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.
|
D | native_allocator.md | 13 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
|
D | fdsan.md | 45 …bit closure tag on a file descriptor. The tag consists of an 8-bit type byte that identifies the t…
|
D | defines.md | 66 64-bit -- use these macros to conditionally compile.
|
D | elf-tls.md | 441 (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
|
D | status.md | 19 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/ |
D | signal.cpp | 61 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()
|
D | legacy_32_bit_support.cpp | 43 #error This code is only needed on 32-bit systems!
|
/bionic/tests/ |
D | stdlib_test.cpp | 193 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/ |
D | ldd | 15 *32-bit*) 18 *64-bit*)
|
D | ld.config.format.md | 52 # 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/ |
D | xt_connlabel.h | 28 __u16 bit; member
|
/bionic/libc/malloc_debug/ |
D | README_api.md | 49 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
|
D | README_marshmallow_and_earlier.md | 30 On 32 bit systems, these two deprecated functions are also replaced:
|
D | README.md | 25 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/ |
D | time64.h | 36 #error Your time_t is already 64-bit.
|
/bionic/ |
D | README.md | 44 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).
|
D | android-changes-for-ndk-developers.md | 76 ## LD_PRELOAD and 32/64 bit 78 LD_PRELOAD applies to both 32- and 64-bit processes. This means that you
|
/bionic/libc/ |
D | SYSCALLS.TXT | 70 # 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.)
|
D | SECCOMP_WHITELIST_APP.TXT | 6 # Needed for debugging 32-bit Chrome
|
/bionic/libc/tzcode/ |
D | private.h | 202 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/ |
D | README.md | 24 See the `benchmarks/run-on-host.sh` script. The host benchmarks can be run with 32-bit or 64-bit
|
/bionic/libc/malloc_hooks/ |
D | README.md | 23 On 32 bit systems, these two deprecated functions are also replaced:
|