Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_memory_unittest.cpp14 const size_t kMaxIntAlloc = kMaxByteAlloc / sizeof(int); variable
15 const size_t kOverflowIntAlloc = kMaxIntAlloc + 100;
17 const size_t kOverflowIntAlloc2D = kMaxIntAlloc / kWidth + 10;
24 EXPECT_DEATH_IF_SUPPORTED((void)FX_Alloc(int, kMaxIntAlloc), ""); in TEST()
28 EXPECT_DEATH_IF_SUPPORTED((void)FX_Realloc(int, ptr, kMaxIntAlloc), ""); in TEST()
54 EXPECT_FALSE(FX_TryAlloc(int, kMaxIntAlloc)); in TEST()
58 EXPECT_FALSE(FX_TryRealloc(int, ptr, kMaxIntAlloc)); in TEST()