Searched refs:size (Results 126 - 150 of 559) sorted by relevance

1234567891011>>

/art/libdexfile/dex/
H A Ddex_file_verifier.h33 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 Ddex_file_loader.h116 size_t size,
127 size_t size,
141 size_t size,
165 size_t size,
/art/runtime/gc/space/
H A Dlarge_object_space_test.cc59 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 DMain.java119 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 DSite.java53 // 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 DInstances.java54 int end = mInstances.size();
/art/dexlayout/
H A Ddex_visualize.cc60 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 Dtiming_logger.cc75 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 Ddead_code_elimination.cc250 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 Dload_store_elimination.cc98 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 Dtracking.cc55 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 Dclass_loader_context.cc119 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 Dmapping_table.h119 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 Delf_builder.h125 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 Doutput_stream_test.cc61 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 Drelative_patcher.cc143 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 Drelative_patcher_x86_base.cc48 DCHECK_LE(literal_offset + 4u, code->size());
H A Drelative_patcher_x86.cc34 DCHECK_LT(anchor_literal_offset, code->size());
45 DCHECK_LE(literal_offset, code->size());
/art/dex2oat/linker/
H A Dimage_test.h167 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 Dfixed_up_dex_file.h64 return data_.size();
H A Dti_object.cc118 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 Dasm_support_arm64.S55 .size \name, .-\name
/art/tools/ahat/src/main/com/android/ahat/
H A DDocString.java128 * 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 DHtmlDoc.java103 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 Delf_debug_loc_writer.h149 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;

Completed in 428 milliseconds

1234567891011>>