Searched refs:PTRDIFF_MAX (Results 1 – 7 of 7) sorted by relevance
128 if (rounded < size || rounded > PTRDIFF_MAX) { in mmap64()148 if (rounded < new_size || rounded > PTRDIFF_MAX) { in mremap()
218 # define PTRDIFF_MAX INT64_MAX macro225 # define PTRDIFF_MAX INT32_MAX macro
116 MACRO(PTRDIFF_MAX); in stdint_h()
381 #ifndef PTRDIFF_MAX382 # define PTRDIFF_MAX MAXVAL(ptrdiff_t, TYPE_BIT(ptrdiff_t)) macro430 #define INDEX_MAX ((ptrdiff_t) min(PTRDIFF_MAX, SIZE_MAX))
102 #define SBRK_MAX PTRDIFF_MAX123 __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()
231 constexpr size_t kHuge = size_t(PTRDIFF_MAX) + 1;
192 # mremap is in C++ for 32-bit so we can add the PTRDIFF_MAX check.