Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_memory_unittest.cpp15 const size_t kMaxIntAlloc = kMaxByteAlloc / sizeof(int); variable
16 const size_t kOverflowIntAlloc = kMaxIntAlloc + 100;
18 const size_t kOverflowIntAlloc2D = kMaxIntAlloc / kWidth + 10;
34 EXPECT_DEATH_IF_SUPPORTED((void)FX_Alloc(int, kMaxIntAlloc), ""); in TEST()
38 EXPECT_DEATH_IF_SUPPORTED((void)FX_Realloc(int, ptr, kMaxIntAlloc), ""); in TEST()
64 EXPECT_FALSE(FX_TryAlloc(int, kMaxIntAlloc)); in TEST()
68 EXPECT_FALSE(FX_TryRealloc(int, ptr, kMaxIntAlloc)); in TEST()