Searched refs:PTRDIFF_MAX (Results 1 – 5 of 5) sorted by relevance
42 if (rounded < new_size || rounded > PTRDIFF_MAX) { in mremap()
52 if (rounded < size || rounded > PTRDIFF_MAX) { in mmap64()
217 # define PTRDIFF_MAX INT64_MAX macro224 # define PTRDIFF_MAX INT32_MAX macro
80 #define SBRK_MAX PTRDIFF_MAX101 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX) + 2); in TEST()104 ASSERT_EQ(reinterpret_cast<void*>(-1), sbrk(PTRDIFF_MAX)); in TEST()108 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX)); in TEST()113 __bionic_brk = reinterpret_cast<void*>(static_cast<uintptr_t>(PTRDIFF_MAX) - 1); in TEST()
224 constexpr size_t kHuge = size_t(PTRDIFF_MAX) + 1;