/art/libdexfile/dex/ |
H A D | dex_file_verifier.h | 33 size_t size, 45 size_t size, 50 size_(size), 62 // Check a list. The head is assumed to be at *ptr, and elements to be of size element_size. If 65 // Checks whether the offset is zero (when size is zero) or that the offset falls within the area 67 bool CheckValidOffsetAndSize(uint32_t offset, uint32_t size, size_t alignment, const char* label); 68 // Checks whether the size is less than the limit. 69 bool CheckSizeLimit(uint32_t size, uint32_t limit, const char* label); 75 uint32_t ReadUnsignedLittleEndian(uint32_t size); 168 bool FailureReasonIsSet() const { return failure_reason_.size() ! 43 DexFileVerifier(const DexFile* dex_file, const uint8_t* begin, size_t size, const char* location, bool verify_checksum) argument [all...] |
H A D | dex_file_loader.h | 116 size_t size, 127 size_t size, 141 size_t size, 165 size_t size,
|
/art/runtime/gc/space/ |
H A D | large_object_space_test.cc | 59 while (requests.size() < num_allocations) { 77 for (size_t j = 0; j < requests.size(); ++j) { 78 std::swap(requests[j], requests[test_rand(&rand_seed) % requests.size()]); 96 size_t limit = phase == 0 ? requests.size() / 2 : 0; 97 while (requests.size() > limit) { 128 AllocRaceTask(size_t id, size_t iterations, size_t size, LargeObjectSpace* los) : argument 129 id_(id), iterations_(iterations), size_(size), los_(los) {}
|
/art/test/545-tracing-and-jit/src/ |
H A D | Main.java | 119 map.size(); 135 map.size(); 151 map.size(); 167 map.size(); 184 set.size(); 201 set.size(); 218 set.size();
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
H A D | Site.java | 53 // The total size of objects allocated in this site (including child sites), 90 * The sum of the shallow size of each instance included in the summary. 165 for (int i = 0; i < site.mChildren.size(); i++) { 218 Size size = inst.getSize(); 221 info.numBytes = info.numBytes.plus(size); 222 mSizesByHeap[heap.getIndex()] = mSizesByHeap[heap.getIndex()].plus(size); 242 * Returns the size of all objects on the given heap allocated at this site. 246 * @param heap the heap to query the size for 247 * @return the total shallow size of objects in this site 313 * Returns the combined size o [all...] |
H A D | Instances.java | 54 int end = mInstances.size();
|
/art/dexlayout/ |
H A D | dex_visualize.cc | 60 fprintf(out_file_, "set terminal png size 1920,1080\n"); 69 if (s.size > 0) { 100 void DumpAddressRange(uint32_t from, uint32_t size, int class_index) { argument 102 const uint32_t high_page = (size > 0) ? (from + size - 1) / kPageSize : low_page; 307 for (size_t i = section_index + 1; i < sorted_sections.size(); ++i) { 309 if (section.size != 0) { 317 * Dumps the offset and size of sections within the file. 327 for (size_t i = 0; i < sorted_sections.size(); ++i) { 330 if (file_section.size > [all...] |
/art/runtime/base/ |
H A D | timing_logger.cc | 75 for (size_t i = 0; i < timings.size(); ++i) { 155 if (timings_.size() < 2) { 162 DCHECK_LT(start_idx, timings_.size()); 163 for (size_t i = start_idx; i < timings_.size(); ++i) { 173 ret.data_.resize(timings_.size()); 175 for (size_t i = 0; i < timings_.size(); ++i) { 204 for (size_t i = 0; i < timings_.size(); ++i) { 214 for (size_t i = 0; i < timings_.size(); ++i) { 242 for (size_t i = 0; i < timings_.size(); ++i) {
|
/art/compiler/optimizing/ |
H A D | dead_code_elimination.cc | 250 block->GetPredecessors().size() == 1u) { 251 DCHECK_EQ(block->GetSuccessors().size(), 1u); 260 succ->GetPredecessors().size() > 1u && 390 if (block->GetPredecessors().size() == 1) { 429 for (size_t i = 1u, size = graph_->GetReversePostOrder().size(); i != size; ++i) { 434 if (successor->IsExitBlock() || successor->GetPredecessors().size() != 1u) { 439 --size; 440 DCHECK_EQ(size, graph [all...] |
H A D | load_store_elimination.cc | 98 heap_values_for_(graph->GetBlocks().size(), 141 size_t size = removed_loads_.size(); local 142 for (size_t i = 0; i < size; i++) { 165 size_t size = removed_loads_.size(); local 168 for (size_t j = index + 1; j < size; j++) { 198 size_t size = removed_loads_.size(); local 199 DCHECK_EQ(size, substitute_instructions_for_loads [all...] |
/art/test/904-object-allocation/ |
H A D | tracking.cc | 55 jlong size) { 61 gEvents.push_back(android::base::StringPrintf("ObjectAllocated type %s/%s size %zu", 64 static_cast<size_t>(size))); 90 static_cast<jint>(gEvents.size()), 50 ObjectAllocated(jvmtiEnv* ti_env ATTRIBUTE_UNUSED, JNIEnv* jni_env, jthread thread ATTRIBUTE_UNUSED, jobject object, jclass object_klass, jlong size) argument
|
/art/runtime/ |
H A D | class_loader_context.cc | 119 if (dex_file_with_checksum.size() != 2) { 209 size_t opened_dex_files_index = info.opened_dex_files.size(); 260 for (size_t k = opened_dex_files_index; k < info.opened_dex_files.size(); k++) { 281 size_t initial_size = info.classpath.size(); 290 if (initial_size != info.classpath.size()) { 315 DCHECK_EQ(class_loader_chain_.size(), stored_context->class_loader_chain_.size()); 328 for (size_t i = 0; i < class_loader_chain_.size(); i++) { 338 DCHECK_EQ(info.original_classpath.size(), 339 stored_context->class_loader_chain_[i].classpath.size()); [all...] |
H A D | mapping_table.h | 119 uint32_t size = DexToPcSize(); local 120 return DexToPcIterator(this, size); 138 DecodeUnsignedLeb128(&table); // PC to Dex size, unused. 196 uint32_t size = PcToDexSize(); local 197 return PcToDexIterator(this, size);
|
/art/compiler/linker/ |
H A D | elf_builder.h | 125 void AllocateVirtualMemory(Elf_Word size) { argument 126 AllocateVirtualMemory(owner_->virtual_address_, size); 129 void AllocateVirtualMemory(Elf_Addr addr, Elf_Word size) { argument 134 CHECK(header_.sh_size == 0u || header_.sh_size == size); 135 header_.sh_size = size; 216 section_index_ = sections.size(); // First ELF section has index 1. 247 Elf_Word offset = cache_.size(); 254 return cache_.size(); 258 this->WriteFully(cache_.data(), cache_.size()); 360 Elf_Word size, 357 Add(Elf_Word name, const Section* section, Elf_Addr addr, Elf_Word size, uint8_t binding, uint8_t type) argument 375 Add(Elf_Word name, Elf_Word section_index, Elf_Addr addr, Elf_Word size, uint8_t binding, uint8_t type) argument 616 int size = sizeof(Elf_Ehdr); local 972 Elf_Word size = shdr.sh_offset + shdr.sh_size - prev.p_offset; local [all...] |
H A D | output_stream_test.cc | 61 EXPECT_EQ(sizeof(expected), actual.size()); 62 EXPECT_EQ(0, memcmp(expected, &actual[0], actual.size())); 76 bool readSuccess = in->ReadFully(&actual[0], actual.size()); 91 bool readSuccess = in->ReadFully(&actual[0], actual.size());
|
H A D | relative_patcher.cc | 143 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { 146 size_relative_call_thunks_ += thunk.size(); 151 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { 154 size_misc_thunks_ += thunk.size();
|
/art/compiler/linker/x86/ |
H A D | relative_patcher_x86_base.cc | 48 DCHECK_LE(literal_offset + 4u, code->size());
|
H A D | relative_patcher_x86.cc | 34 DCHECK_LT(anchor_literal_offset, code->size()); 45 DCHECK_LE(literal_offset, code->size());
|
/art/dex2oat/linker/ |
H A D | image_test.h | 167 for (int i = 0; i < static_cast<int>(class_path.size()); ++i) { 232 for (size_t i = 0; i < class_path.size(); ++i) { 259 for (size_t i = 0, size = oat_writers.size(); i != size; ++i) { 299 DCHECK_EQ(vdex_files.size(), oat_files.size()); 300 for (size_t i = 0, size = oat_files.size(); i != size; [all...] |
/art/openjdkjvmti/ |
H A D | fixed_up_dex_file.h | 64 return data_.size();
|
H A D | ti_object.cc | 118 usage->waiter_count = wait.size(); 119 usage->notify_waiter_count = notify_wait.size(); 122 wait.size() * sizeof(jthread), 129 notify_wait.size() * sizeof(jthread),
|
/art/runtime/arch/arm64/ |
H A D | asm_support_arm64.S | 55 .size \name, .-\name
|
/art/tools/ahat/src/main/com/android/ahat/ |
H A D | DocString.java | 128 * Standard formatted DocString for describing a size. 130 * Nothing is printed for a size of zero. 131 * Set isPlaceHolder to true to indicate that the size field corresponds to 134 public static DocString size(long size, boolean isPlaceHolder) { argument 138 } else if (size != 0) { 139 string.appendFormat("%,14d", size); 145 * Standard formatted DocString for describing a change in size relative to 149 * @param current - the size of the current object. 150 * @param baseline - the size o [all...] |
H A D | HtmlDoc.java | 103 mCurrentTableColumns = new Column[subcols.size() + cols.size()]; 120 for (int i = 0; i < cols.size() - 1; i++) { 128 Column col = cols.get(cols.size() - 1);
|
/art/compiler/debug/ |
H A D | elf_debug_loc_writer.h | 149 DCHECK_LT(stack_map_index, dex_register_maps.size()); 206 const size_t debug_loc_offset = debug_loc.size(); 268 if (expr.size() > 0) { 277 debug_loc.PushUint16(expr.size()); 295 size_t debug_ranges_offset = debug_ranges.size(); 296 for (size_t i = 0; i < variable_locations.size(); i++) { 299 while (i + 1 < variable_locations.size() && variable_locations[i+1].low_pc == high_pc) { 321 size_t debug_ranges_entry_size = debug_ranges.size() - debug_ranges_offset;
|