Lines Matching defs:num_chunks
2496 size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize;
2501 scoped_ptr<TraceBufferChunk*[]> chunks(new TraceBufferChunk*[num_chunks]);
2502 for (size_t i = 0; i < num_chunks; ++i) {
2516 for (size_t i = 0; i < num_chunks; ++i)
2520 for (size_t i = 0; i < num_chunks; ++i) {
2529 for (size_t i = 0; i < num_chunks; ++i) {
2531 num_chunks - i - 1,
2532 scoped_ptr<TraceBufferChunk>(chunks[num_chunks - i - 1]));
2536 for (size_t i = 0; i < num_chunks; ++i) {
2539 EXPECT_EQ(num_chunks - i - 1, chunk_index);
2544 for (size_t i = 0; i < num_chunks; ++i)
2556 size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize;
2561 size_t half_chunks = num_chunks / 2;
2584 size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize;
2589 scoped_ptr<TraceBufferChunk*[]> chunks(new TraceBufferChunk*[num_chunks]);
2591 for (size_t i = 0; i < num_chunks; ++i) {
2596 for (size_t i = 0; i < num_chunks; ++i)
2599 for (size_t i = 0; i < num_chunks; ++i)