Searched refs:max_count (Results 1 – 6 of 6) sorted by relevance
/art/runtime/jni/ |
D | local_reference_table_test.cc | 41 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 …]
|
D | local_reference_table.cc | 157 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()
|
D | local_reference_table.h | 265 bool Initialize(size_t max_count, std::string* error_msg);
|
/art/runtime/ |
D | indirect_reference_table.cc | 93 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()
|
D | indirect_reference_table.h | 158 bool Initialize(size_t max_count, std::string* error_msg);
|
/art/tools/dexanalyze/ |
D | dexanalyze_bytecode.cc | 72 size_t max_count, in PrintMostUsed() argument 86 if (max_count > 0) { 90 --max_count;
|