Home
last modified time | relevance | path

Searched refs:PTRDIFF_MAX (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/bionic/
Dlegacy_32_bit_support.cpp128 if (rounded < size || rounded > PTRDIFF_MAX) { in mmap64()
148 if (rounded < new_size || rounded > PTRDIFF_MAX) { in mremap()
/bionic/libc/include/
Dstdint.h218 # define PTRDIFF_MAX INT64_MAX macro
225 # define PTRDIFF_MAX INT32_MAX macro
/bionic/tests/headers/posix/
Dstdint_h.c116 MACRO(PTRDIFF_MAX); in stdint_h()
/bionic/libc/tzcode/
Dprivate.h381 #ifndef PTRDIFF_MAX
382 # define PTRDIFF_MAX MAXVAL(ptrdiff_t, TYPE_BIT(ptrdiff_t)) macro
430 #define INDEX_MAX ((ptrdiff_t) min(PTRDIFF_MAX, SIZE_MAX))
/bionic/tests/
Dunistd_test.cpp102 #define SBRK_MAX PTRDIFF_MAX
123 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX) + 2); in TEST()
126 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MAX)); in TEST()
130 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX)); in TEST()
135 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX) - 1); in TEST()
Dsys_mman_test.cpp231 constexpr size_t kHuge = size_t(PTRDIFF_MAX) + 1;
/bionic/libc/
DSYSCALLS.TXT192 # mremap is in C++ for 32-bit so we can add the PTRDIFF_MAX check.