Lines Matching defs:size
52 // and this is still counted in its totalSize(). However, it's easier to reason about size - scratch
83 // Tests placement new initialization to increase head block size, option #2
106 auto validate_ptr = [&](int align, int size,
113 REPORTER_ASSERT(r, br.fEnd - br.fAlignedOffset >= size);
229 // Only test for false on release builds; a negative size should assert on debug builds
259 // And confirm that passing in the wrong size for the allocation fails
392 size_t size = add_block(pool);
393 REPORTER_ASSERT(r, size == b2Size);
458 // Total size shouldn't have changed, the released block should become scratch
471 // And rounds up to the fixed size of this pool's growth policy
491 // follow the size (which in this case is a fixed 256 bytes per block).
505 // This allocation request is higher than oldTail's available, and the scratch size so we
506 // should add a new block and scratch size should stay the same.