Searched refs:LE_RANGE_CHECK (Results 1 - 1 of 1) sorted by relevance

/external/icu/icu4c/source/layout/
H A DLETypes.h314 #define LE_RANGE_CHECK(type, count, ptrfn) (( (LE_UINTPTR_MAX / sizeof(type)) < (size_t)count ) ? NULL : (ptrfn)) macro
336 #define LE_NEW_ARRAY(type, count) (type *) LE_RANGE_CHECK(type,count,uprv_malloc((count) * sizeof(type)))
380 #define LE_NEW_ARRAY(type, count) LE_RANGE_CHECK(type,count,(type *) malloc((count) * sizeof(type)))

Completed in 76 milliseconds