Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_primary64.h115 const CompactPtrT *chunks, uptr n_chunks) { in ReturnToAllocator() argument
122 uptr new_num_freed_chunks = old_num_chunks + n_chunks; in ReturnToAllocator()
132 for (uptr i = 0; i < n_chunks; i++) in ReturnToAllocator()
135 region->stats.n_freed += n_chunks; in ReturnToAllocator()
141 CompactPtrT *chunks, uptr n_chunks) { in GetFromAllocator() argument
147 if (UNLIKELY(region->num_freed_chunks < n_chunks)) { in GetFromAllocator()
149 n_chunks - region->num_freed_chunks))) in GetFromAllocator()
151 CHECK_GE(region->num_freed_chunks, n_chunks); in GetFromAllocator()
153 region->num_freed_chunks -= n_chunks; in GetFromAllocator()
155 for (uptr i = 0; i < n_chunks; i++) in GetFromAllocator()
[all …]
Dsanitizer_allocator_primary32.h351 const uptr n_chunks = kRegionSize / (size + kMetadataSize); in PopulateFreeList() local
358 for (uptr i = region; i < region + n_chunks * size; i += size) { in PopulateFreeList()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord_test.cc1282 size_t n_chunks = 0; in VerifyChunkIterator() local
1309 ++n_chunks; in VerifyChunkIterator()
1311 EXPECT_EQ(expected_chunks, n_chunks); in VerifyChunkIterator()
/external/abseil-cpp/absl/strings/
Dcord_test.cc1282 size_t n_chunks = 0; in VerifyChunkIterator() local
1309 ++n_chunks; in VerifyChunkIterator()
1311 EXPECT_EQ(expected_chunks, n_chunks); in VerifyChunkIterator()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord_test.cc1343 size_t n_chunks = 0; in VerifyChunkIterator() local
1370 ++n_chunks; in VerifyChunkIterator()
1372 EXPECT_EQ(expected_chunks, n_chunks); in VerifyChunkIterator()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord_test.cc1343 size_t n_chunks = 0; in VerifyChunkIterator() local
1370 ++n_chunks; in VerifyChunkIterator()
1372 EXPECT_EQ(expected_chunks, n_chunks); in VerifyChunkIterator()
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord_test.cc1359 size_t n_chunks = 0; in VerifyChunkIterator() local
1386 ++n_chunks; in VerifyChunkIterator()
1388 EXPECT_EQ(expected_chunks, n_chunks); in VerifyChunkIterator()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h898 uptr n_chunks = kRegionSize / (size + kMetadataSize); in PopulateFreeList() local
901 for (uptr i = reg; i < reg + n_chunks * size; i += size) { in PopulateFreeList()