Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 6 of 6) sorted by relevance

/art/runtime/jni/
Dlocal_reference_table_test.cc41 void BasicTest(bool check_jni, size_t max_count);
42 void BasicHolesTest(bool check_jni, size_t max_count);
43 void BasicResizeTest(bool check_jni, size_t max_count);
44 void TestAddRemove(bool check_jni, size_t max_count, size_t fill_count = 0u);
66 void LocalReferenceTableTest::BasicTest(bool check_jni, size_t max_count) { in BasicTest() argument
85 bool success = lrt.Initialize(max_count, &error_msg); in BasicTest()
258 static const size_t kTableInitial = max_count / 2; in BasicTest()
296 void LocalReferenceTableTest::BasicHolesTest(bool check_jni, size_t max_count) { in BasicHolesTest() argument
327 bool success = lrt.Initialize(max_count, &error_msg); in BasicHolesTest()
356 bool success = lrt.Initialize(max_count, &error_msg); in BasicHolesTest()
[all …]
Dlocal_reference_table.cc157 bool LocalReferenceTable::Initialize(size_t max_count, std::string* error_msg) { in Initialize() argument
161 CHECK_LE(max_count, kMaxTableSizeInBytes / sizeof(LrtEntry)); in Initialize()
163 CHECK_LE(max_count, kMaxTableSizeInBytes / sizeof(LrtEntry) / kCheckJniEntriesPerReference); in Initialize()
164 max_count *= kCheckJniEntriesPerReference; in Initialize()
176 return (max_count <= kSmallLrtEntries) || Resize(max_count, error_msg); in Initialize()
Dlocal_reference_table.h265 bool Initialize(size_t max_count, std::string* error_msg);
/art/runtime/
Dindirect_reference_table.cc93 bool IndirectReferenceTable::Initialize(size_t max_count, std::string* error_msg) { in Initialize() argument
97 CHECK_LE(max_count, kMaxTableSizeInBytes / sizeof(IrtEntry)); in Initialize()
99 const size_t table_bytes = RoundUp(max_count * sizeof(IrtEntry), kPageSize); in Initialize()
Dindirect_reference_table.h158 bool Initialize(size_t max_count, std::string* error_msg);
/art/tools/dexanalyze/
Ddexanalyze_bytecode.cc72 size_t max_count, in PrintMostUsed() argument
86 if (max_count > 0) {
90 --max_count;