Home
last modified time | relevance | path

Searched refs:kOverflowIntAlloc (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_memory_unittest.cpp16 const size_t kOverflowIntAlloc = kMaxIntAlloc + 100; variable
46 EXPECT_DEATH_IF_SUPPORTED(ptr = FX_Alloc(int, kOverflowIntAlloc), "") << ptr; in TEST()
50 EXPECT_DEATH_IF_SUPPORTED((void)FX_Realloc(int, ptr, kOverflowIntAlloc), ""); in TEST()
76 int* ptr = (int*)calloc(sizeof(int), kOverflowIntAlloc); in TEST()
82 EXPECT_FALSE(FX_TryRealloc(int, ptr, kOverflowIntAlloc)); in TEST()