Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dfx_basic_memmgr_unittest.cpp13 const size_t kMaxIntAlloc = kMaxByteAlloc / sizeof(int); variable
14 const size_t kOverflowIntAlloc = kMaxIntAlloc + 100;
16 const size_t kOverflowIntAlloc2D = kMaxIntAlloc / kWidth + 10;
23 EXPECT_DEATH_IF_SUPPORTED((void) FX_Alloc(int, kMaxIntAlloc), ""); in TEST()
27 EXPECT_DEATH_IF_SUPPORTED((void) FX_Realloc(int, ptr, kMaxIntAlloc), ""); in TEST()
47 EXPECT_FALSE(FX_TryAlloc(int, kMaxIntAlloc)); in TEST()
51 EXPECT_FALSE(FX_TryRealloc(int, ptr, kMaxIntAlloc)); in TEST()