Lines Matching refs:base
242 * @return the largest possible pointer greater than the base
245 U_INTERNAL void * U_EXPORT2 uprv_maximumPtr(void *base);
253 * - return the largest possible pointer greater than base
256 * - make sure that the returned pointer is not farther from base than 0x7fffffff bytes
258 * @param base The beginning of a buffer to find the maximum offset from
264 # define U_MAX_PTR(base) ((void *)0x7fffffff)
266 # define U_MAX_PTR(base) uprv_maximumPtr((void *)base)
278 # define U_MAX_PTR(base) \
279 ((void *)(((char *)(base)+0x7fffffffu) > (char *)(base) \
280 ? ((char *)(base)+0x7fffffffu) \
284 # define U_MAX_PTR(base) \
285 ((void *)(((uintptr_t)(base)+0x7fffffffu) > (uintptr_t)(base) \
286 ? ((uintptr_t)(base)+0x7fffffffu) \