Home
last modified time | relevance | path

Searched refs:kBufferSize (Results 1 – 9 of 9) sorted by relevance

/art/libelffile/stream/
Dbuffered_output_stream.h41 static const size_t kBufferSize = 8 * KB;
46 uint8_t buffer_[kBufferSize];
Dbuffered_output_stream.cc33 if (byte_count > kBufferSize) { in WriteFully()
39 if (used_ + byte_count > kBufferSize) { in WriteFully()
/art/runtime/
Dgc_root.h34 template <size_t kBufferSize>
234 template <size_t kBufferSize> friend class BufferedRootVisitor;
240 template <size_t kBufferSize>
275 if (UNLIKELY(buffer_pos_ >= kBufferSize)) { in VisitRoot()
289 mirror::CompressedReference<mirror::Object>* roots_[kBufferSize];
Dclass_linker.cc6806 constexpr size_t kBufferSize = 32; // 256 bytes on 64-bit architectures. in FindNewIfTableInterfaces() local
6807 mirror::Class* buffer[kBufferSize]; in FindNewIfTableInterfaces()
6808 ScopedArenaHashSet<mirror::Class*> classes_in_iftable(buffer, kBufferSize, allocator->Adapter()); in FindNewIfTableInterfaces()
/art/test/ti-agent/
Dscoped_primitive_array.h68 if (mSize <= kBufferSize) { \
80 static constexpr jsize kBufferSize = 1024; \
85 PRIMITIVE_TYPE mBuffer[kBufferSize]; \
/art/libartbase/base/unix_file/
Dfd_file.cc624 static const size_t kBufferSize = 4096; in Compare() local
625 std::unique_ptr<uint8_t[]> buffer1(new uint8_t[kBufferSize]); in Compare()
626 std::unique_ptr<uint8_t[]> buffer2(new uint8_t[kBufferSize]); in Compare()
629 size_t len = std::min(kBufferSize, static_cast<size_t>(length)); in Compare()
/art/libartbase/base/
Dhash_set_test.cc385 static const size_t kBufferSize = 64; in TEST_F() local
386 uint32_t buffer[kBufferSize]; in TEST_F()
387 HashSet<uint32_t> hash_set(buffer, kBufferSize); in TEST_F()
388 size_t max_without_resize = kBufferSize * hash_set.GetMaxLoadFactor(); in TEST_F()
/art/runtime/gc/collector/
Dmark_compact.h770 template<size_t kBufferSize> class ThreadRootsVisitor;
Dmark_compact.cc3625 template <size_t kBufferSize>
3681 if (UNLIKELY(idx_ >= kBufferSize)) { in Push()
3687 StackReference<mirror::Object> roots_[kBufferSize];