Home
last modified time | relevance | path

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

/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dfrag_unittest.cc71 size_t free_bytes = 0; in main() local
74 free_bytes += kAllocSize; in main()
84 CHECK_GT(double(slack), 0.9*free_bytes); in main()
85 CHECK_LT(double(slack), 1.1*free_bytes); in main()
Dpage_heap_test.cc18 EXPECT_EQ(free_pages, stats.free_bytes >> kPageShift); in CheckStats()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dfrag_unittest.cc71 size_t free_bytes = 0; in main() local
74 free_bytes += kAllocSize; in main()
84 CHECK_GT(double(slack), 0.9*free_bytes); in main()
85 CHECK_LT(double(slack), 1.1*free_bytes); in main()
Dpage_heap_test.cc18 EXPECT_EQ(free_pages, stats.free_bytes >> kPageShift); in CheckStats()
/external/chromium_org/ash/system/monitor/
Dtray_monitor.cc66 base::string16 free_bytes = in OnGotHandles() local
68 output = base::StringPrintf("free: %s", UTF16ToUTF8(free_bytes).c_str()); in OnGotHandles()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dpage_heap.h153 Stats() : system_bytes(0), free_bytes(0), unmapped_bytes(0) {} in Stats()
155 uint64_t free_bytes; // Total bytes on normal freelists member
Dtcmalloc.cc385 - stats.pageheap.free_bytes in DumpStats()
430 stats.pageheap.free_bytes, stats.pageheap.free_bytes / MiB, in DumpStats()
471 nonempty_sizes, stats.pageheap.free_bytes / MiB, in DumpStats()
666 - stats.pageheap.free_bytes in GetNumericProperty()
683 *value = stats.free_bytes + stats.unmapped_bytes; in GetNumericProperty()
689 *value = Static::pageheap()->stats().free_bytes; in GetNumericProperty()
1400 info.fordblks = static_cast<int>(stats.pageheap.free_bytes + in do_mallinfo()
1406 - stats.pageheap.free_bytes in do_mallinfo()
Dpage_heap.cc306 stats_.free_bytes += (span->length << kPageShift); in PrependToFreeList()
317 stats_.free_bytes -= (span->length << kPageShift); in RemoveFromFreeList()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dpage_heap.h145 Stats() : system_bytes(0), free_bytes(0), unmapped_bytes(0) {} in Stats()
147 uint64_t free_bytes; // Total bytes on normal freelists member
Dtcmalloc.cc371 - stats.pageheap.free_bytes in DumpStats()
403 stats.pageheap.free_bytes, stats.pageheap.free_bytes / MiB, in DumpStats()
443 nonempty_sizes, stats.pageheap.free_bytes / MiB, in DumpStats()
638 - stats.pageheap.free_bytes in GetNumericProperty()
655 *value = stats.free_bytes + stats.unmapped_bytes; in GetNumericProperty()
682 *value = Static::pageheap()->stats().free_bytes; in GetNumericProperty()
1358 info.fordblks = static_cast<int>(stats.pageheap.free_bytes + in do_mallinfo()
1364 - stats.pageheap.free_bytes in do_mallinfo()
Dpage_heap.cc245 stats_.free_bytes += (span->length << kPageShift); in PrependToFreeList()
256 stats_.free_bytes -= (span->length << kPageShift); in RemoveFromFreeList()
/external/chromium_org/chrome/test/functional/
Dtest_utils.py180 free_bytes = ctypes.c_ulonglong(0)
183 ctypes.pointer(free_bytes))
184 return free_bytes.value
/external/chromium_org/net/quic/
Dquic_packet_creator.cc172 const size_t free_bytes = BytesFree(); in CreateStreamFrame() local
187 if (data_size + min_frame_size > free_bytes) { in CreateStreamFrame()
192 min<size_t>(free_bytes - min_last_frame_size, data_size); in CreateStreamFrame()
Dquic_framer.h267 QuicVersion version, const QuicFrame& frame, size_t free_bytes);
274 size_t free_bytes,
Dquic_framer.cc211 QuicVersion version, const QuicFrame& frame, size_t free_bytes) { in CanTruncate() argument
213 free_bytes >= GetMinAckFrameSize(version, in CanTruncate()
232 size_t free_bytes, in GetSerializedFrameLength() argument
238 return free_bytes; in GetSerializedFrameLength()
242 if (frame_len > free_bytes) { in GetSerializedFrameLength()
248 if (CanTruncate(quic_version_, frame, free_bytes)) { in GetSerializedFrameLength()
252 return free_bytes; in GetSerializedFrameLength()
/external/chromium_org/v8/src/
Dspaces.cc2084 intptr_t free_bytes = 0; in Concatenate() local
2092 free_bytes = category->available(); in Concatenate()
2102 return free_bytes; in Concatenate()
2203 intptr_t free_bytes = 0; in Concatenate() local
2204 free_bytes += small_list_.Concatenate(free_list->small_list()); in Concatenate()
2205 free_bytes += medium_list_.Concatenate(free_list->medium_list()); in Concatenate()
2206 free_bytes += large_list_.Concatenate(free_list->large_list()); in Concatenate()
2207 free_bytes += huge_list_.Concatenate(free_list->huge_list()); in Concatenate()
2208 return free_bytes; in Concatenate()
Dmark-compact.cc813 intptr_t free_bytes = 0; in CollectEvacuationCandidates() local
816 free_bytes = (p->area_size() - p->LiveBytes()); in CollectEvacuationCandidates()
820 free_bytes = sizes.Total(); in CollectEvacuationCandidates()
823 int free_pct = static_cast<int>(free_bytes * 100) / p->area_size(); in CollectEvacuationCandidates()
826 estimated_release += free_bytes; in CollectEvacuationCandidates()
836 static_cast<int>(free_bytes), in CollectEvacuationCandidates()
837 static_cast<double>(free_bytes * 100) / p->area_size(), in CollectEvacuationCandidates()
/external/v8/src/
Dmark-compact.cc578 intptr_t free_bytes = 0; in CollectEvacuationCandidates() local
581 free_bytes = (p->area_size() - p->LiveBytes()); in CollectEvacuationCandidates()
585 free_bytes = sizes.Total(); in CollectEvacuationCandidates()
588 int free_pct = static_cast<int>(free_bytes * 100) / p->area_size(); in CollectEvacuationCandidates()
591 estimated_release += 2 * p->area_size() - free_bytes; in CollectEvacuationCandidates()
601 static_cast<int>(free_bytes), in CollectEvacuationCandidates()
602 static_cast<double>(free_bytes * 100) / p->area_size(), in CollectEvacuationCandidates()