Searched refs:last_allocated_bytes (Results 1 – 2 of 2) sorted by relevance
34 size_t last_allocated_bytes = 0; in TestCheckForLeaks() local41 } else if (last_allocated_bytes > first_allocated_bytes) { in TestCheckForLeaks()43 ASSERT_LE(last_allocated_bytes - first_allocated_bytes, kMaxAllowedLeakBytes) in TestCheckForLeaks()46 last_allocated_bytes = allocated_bytes; in TestCheckForLeaks()
40 static void CheckForLeak(size_t loop, size_t* first_allocated_bytes, size_t* last_allocated_bytes) { in CheckForLeak() argument44 } else if (*last_allocated_bytes > *first_allocated_bytes) { in CheckForLeak()46 ASSERT_LE(*last_allocated_bytes - *first_allocated_bytes, kMaxAllowedLeakBytes) in CheckForLeak()48 << " last_allocated_bytes " << *last_allocated_bytes; in CheckForLeak()50 *last_allocated_bytes = allocated_bytes; in CheckForLeak()65 size_t last_allocated_bytes = 0; in TEST() local70 ASSERT_NO_FATAL_FAILURE(CheckForLeak(i, &first_allocated_bytes, &last_allocated_bytes)); in TEST()84 size_t last_allocated_bytes = 0; in TEST() local87 ASSERT_NO_FATAL_FAILURE(CheckForLeak(i, &first_allocated_bytes, &last_allocated_bytes)); in TEST()