Searched refs:PTRDIFF_MAX (Results 1 – 7 of 7) sorted by relevance
42 if (rounded < new_size || rounded > PTRDIFF_MAX) { in mremap()
52 if (rounded < size || rounded > PTRDIFF_MAX) { in mmap64()
59 if (__rounded < __size || __rounded > PTRDIFF_MAX) { in mmap64()
218 # define PTRDIFF_MAX INT64_MAX macro225 # define PTRDIFF_MAX INT32_MAX macro
116 MACRO(PTRDIFF_MAX); in stdint_h()
100 #define SBRK_MAX PTRDIFF_MAX121 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX) + 2); in TEST()124 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MAX)); in TEST()128 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX)); in TEST()133 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX) - 1); in TEST()
224 constexpr size_t kHuge = size_t(PTRDIFF_MAX) + 1;