Home
last modified time | relevance | path

Searched refs:size (Results 151 – 175 of 634) sorted by relevance

12345678910>>...26

/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc218 void ArmVIXLJNIMacroAssembler::Store(FrameOffset dest, ManagedRegister m_src, size_t size) { in Store() argument
221 CHECK_EQ(0u, size); in Store()
223 CHECK_EQ(4u, size); in Store()
228 CHECK_EQ(8u, size); in Store()
233 CHECK_EQ(4u, size); in Store()
236 CHECK_EQ(8u, size); in Store()
320 void ArmVIXLJNIMacroAssembler::Load(ManagedRegister m_dst, FrameOffset src, size_t size) { in Load() argument
321 return Load(m_dst.AsArm(), sp, src.Int32Value(), size); in Load()
326 size_t size) { in LoadFromThread() argument
327 return Load(m_dst.AsArm(), tr, src.Int32Value(), size); in LoadFromThread()
[all …]
/art/test/2005-pause-all-redefine-multithreaded/
Dpause-all.cc56 jlong size ATTRIBUTE_UNUSED, in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
80 std::vector<jvmtiError> errs(threads.size(), JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
81 CHECK_EQ(jvmti_env->ResumeThreadList(threads.size(), threads.data(), errs.data()), in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
/art/libartbase/base/
Diteration_range.h68 template <typename T, size_t size>
69 inline auto ReverseRange(T (&array)[size]) { in ReverseRange() argument
70 return ReverseRange(MakeIterationRange<T*>(array, array+size)); in ReverseRange()
Dbounded_fifo.h43 return size() == 0; in empty()
46 size_t size() const { in size() function
/art/test/663-odd-dex-size/
Dinfo.txt1 Test for a dex file with an odd size in a vdex file.
12 1) Add 1 to the size value in the dex header.
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSuperRoot.java49 public int size() { in getReferences()
50 return mRoots.size(); in getReferences()
/art/test/663-odd-dex-size2/
Dinfo.txt1 Test for two files with an odd size in a vdex file.
12 1) Add 1 to the size value in the dex header.
/art/dexlayout/
Ddex_visualize.cc69 if (s.size > 0) { in OpenAndPrintHeader()
100 void DumpAddressRange(uint32_t from, uint32_t size, int class_index) { in DumpAddressRange() argument
102 const uint32_t high_page = (size > 0) ? (from + size - 1) / kPageSize : low_page; in DumpAddressRange()
307 for (size_t i = section_index + 1; i < sorted_sections.size(); ++i) { in FindNextByteAfterSection()
309 if (section.size != 0) { in FindNextByteAfterSection()
327 for (size_t i = 0; i < sorted_sections.size(); ++i) { in ShowDexSectionStatistics()
330 if (file_section.size > 0) { in ShowDexSectionStatistics()
337 file_section.size, in ShowDexSectionStatistics()
Ddex_writer.cc192 stream->WriteUleb128(values->size()); in WriteEncodedArray()
200 stream->WriteUleb128(annotation->GetAnnotationElements()->size()); in WriteEncodedAnnotation()
282 uint32_t size[1]; in WriteTypeLists() local
287 size[0] = type_list->GetTypeList()->size(); in WriteTypeLists()
289 stream->Write(size, sizeof(uint32_t)); in WriteTypeLists()
382 uint32_t size[1]; in WriteAnnotationSets() local
387 size[0] = annotation_set->GetItems()->size(); in WriteAnnotationSets()
389 stream->Write(size, sizeof(uint32_t)); in WriteAnnotationSets()
401 uint32_t size[1]; in WriteAnnotationSetRefs() local
406 size[0] = annotation_set_ref->GetItems()->size(); in WriteAnnotationSetRefs()
[all …]
/art/dex2oat/linker/
Drelative_patcher.cc139 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteThunk()
142 size_relative_call_thunks_ += thunk.size(); in WriteThunk()
147 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteMiscThunk()
150 size_misc_thunks_ += thunk.size(); in WriteMiscThunk()
Drelative_patcher_test.h137 offset += code.size(); in Link()
208 out_->WriteFully(&code[0], code.size()); in Link()
209 offset += code.size(); in Link()
213 CHECK_EQ(output_.size(), output_size); in Link()
225 CHECK_NE(idx, compiled_method_refs_.size()); in CheckLinkedMethod()
226 CHECK_EQ(compiled_methods_[idx]->GetQuickCode().size(), expected_code.size()); in CheckLinkedMethod()
231 CHECK_LT(offset, output_.size()); in CheckLinkedMethod()
232 CHECK_LE(offset + expected_code.size(), output_.size()); in CheckLinkedMethod()
233 ArrayRef<const uint8_t> linked_code(&output_[offset], expected_code.size()); in CheckLinkedMethod()
249 for (size_t i = 0; i != expected_code.size(); ++i) { in DumpDiff()
/art/compiler/optimizing/
Dstack_map_test.cc84 ASSERT_EQ(number_of_dex_registers, dex_register_map.size()); in TEST()
172 ASSERT_EQ(number_of_dex_registers, dex_register_map.size()); in TEST()
191 ASSERT_EQ(2u, inline_infos.size()); in TEST()
211 ASSERT_EQ(number_of_dex_registers, dex_register_map.size()); in TEST()
244 ASSERT_EQ(number_of_dex_registers, dex_register_map.size()); in TEST()
277 ASSERT_EQ(number_of_dex_registers, dex_register_map.size()); in TEST()
342 ASSERT_EQ(number_of_dex_registers, map.size()); in TEST()
393 ASSERT_EQ(number_of_dex_registers, dex_register_map.size()); in TEST()
442 ASSERT_EQ(number_of_dex_registers, dex_registers0.size()); in TEST()
449 ASSERT_EQ(number_of_dex_registers, dex_registers1.size()); in TEST()
[all …]
Dside_effects_analysis.h31 block_effects_(graph->GetBlocks().size(), in HOptimization()
33 loop_effects_(graph->GetBlocks().size(), in HOptimization()
Dparallel_move_resolver.cc43 for (size_t i = 0; i < moves_.size(); ++i) { in EmitNativeCode()
56 for (size_t i = 0; i < moves_.size(); ++i) { in EmitNativeCode()
67 for (size_t i = 0; i < moves_.size(); ++i) { in EmitNativeCode()
147 for (size_t i = 0; i < moves_.size(); ++i) { in PerformMove()
313 for (size_t i = 0; i < moves_.size(); ++i) { in EmitNativeCode()
326 for (size_t i = 0; i < moves_.size(); ++i) { in EmitNativeCode()
346 for (size_t i = 0; i < moves_.size(); ++i) { in EmitNativeCode()
434 for (size_t i = 0; i < moves_.size(); ++i) { in PerformMove()
494 for (size_t i = 0; i < scratches_.size(); ++i) { in PerformMove()
561 return pending_moves_.size(); in GetNumberOfPendingMoves()
/art/test/071-dexfile-get-static-size/src/
DMain.java34 long size = getDexFileSize(filename); in test() local
35 System.out.println("Size for " + resource + ": " + size); in test()
/art/runtime/gc/space/
Dmalloc_space.cc170 size_t size = -increment; in MoreCore() local
171 CheckedCall(madvise, GetName(), new_end, size, MADV_DONTNEED); in MoreCore()
172 CheckedCall(mprotect, GetName(), new_end, size, PROT_NONE); in MoreCore()
191 size_t size = RoundUp(Size(), kPageSize); in CreateZygoteSpace() local
195 const size_t growth_limit = growth_limit_ - size; in CreateZygoteSpace()
197 const size_t capacity = NonGrowthLimitCapacity() - size; in CreateZygoteSpace()
200 << "Size " << size << "\n" in CreateZygoteSpace()
203 SetGrowthLimit(RoundUp(size, kPageSize)); in CreateZygoteSpace()
/art/compiler/debug/
Delf_debug_loc_writer.h140 DCHECK_LT(stack_map_index, dex_register_maps.size()); in GetVariableLocations()
195 const size_t debug_loc_offset = debug_loc.size(); in WriteDebugLocEntry()
257 if (expr.size() > 0) { in WriteDebugLocEntry()
266 debug_loc.PushUint16(expr.size()); in WriteDebugLocEntry()
284 size_t debug_ranges_offset = debug_ranges.size(); in WriteDebugLocEntry()
285 for (size_t i = 0; i < variable_locations.size(); i++) { in WriteDebugLocEntry()
288 while (i + 1 < variable_locations.size() && variable_locations[i+1].low_pc == high_pc) { in WriteDebugLocEntry()
310 size_t debug_ranges_entry_size = debug_ranges.size() - debug_ranges_offset; in WriteDebugLocEntry()
/art/openjdkjvmti/
Dti_extension.cc109 func_info.param_count = params.size(); in GetExtensionFunctions()
112 AllocJvmtiUniquePtr<jvmtiParamInfo[]>(env, params.size(), &error); in GetExtensionFunctions()
129 func_info.error_count = errors.size(); in GetExtensionFunctions()
132 AllocJvmtiUniquePtr<jvmtiError[]>(env, errors.size(), &error); in GetExtensionFunctions()
515 *extension_count_ptr = ext_vector.size(); in GetExtensionFunctions()
517 AllocJvmtiUniquePtr<jvmtiExtensionFunctionInfo[]>(env, ext_vector.size(), &error); in GetExtensionFunctions()
523 ext_vector.size() * sizeof(jvmtiExtensionFunctionInfo)); in GetExtensionFunctions()
574 event_info.param_count = params.size(); in GetExtensionEvents()
577 AllocJvmtiUniquePtr<jvmtiParamInfo[]>(env, params.size(), &error); in GetExtensionEvents()
684 *extension_count_ptr = ext_vector.size(); in GetExtensionEvents()
[all …]
/art/runtime/jit/
Djit_memory_region.cc362 size_t total_size = header_size + code.size(); in CommitCode()
368 DCHECK_LE(total_size, reserved_code.size()); in CommitCode()
383 code.size()); in CommitCode()
439 const uint32_t length = roots.size(); in FillRootTable()
455 size_t root_table_size = ComputeRootTableSize(roots.size()); in CommitData()
457 DCHECK_LE(root_table_size + stack_map.size(), reserved_data.size()); in CommitData()
459 memcpy(stack_map_data, stack_map.data(), stack_map.size()); in CommitData()
462 if (UNLIKELY(!FlushCpuCaches(roots_data, roots_data + root_table_size + stack_map.size()))) { in CommitData()
469 const uint8_t* JitMemoryRegion::AllocateCode(size_t size) { in AllocateCode() argument
471 void* result = mspace_memalign(exec_mspace_, alignment, size); in AllocateCode()
/art/test/663-odd-dex-size3/
Dinfo.txt1 Test for a dex file with an odd size followed by an aligned dex file.
12 1) Add 1 to the size value in the dex header.
/art/test/663-odd-dex-size4/
Dinfo.txt1 Test for an aligned dex file followed by a dex file with an odd size.
17 1) Add 1 to the size value in the dex header.
/art/compiler/
Dcfi_test.h56 actual_asm.size(), in GenerateExpected()
62 const uint8_t* asm_end = asm_base + actual_asm.size(); in GenerateExpected()
73 disasm->Dump(stream, base, base + actual_asm.size()); in GenerateExpected()
118 address = "0x" + line.substr(line.size() - 8); in ReformatCfi()
147 for (size_t i = 0; i < data.size(); i++) { in HexDump()
/art/libprofile/profile/
Dprofile_boot_info_test.cc58 ASSERT_EQ(loaded_info.GetDexFiles().size(), 1u); in TEST_F()
60 ASSERT_EQ(loaded_info.GetMethods().size(), 1u); in TEST_F()
82 ASSERT_EQ(loaded_info.GetDexFiles().size(), 2u); in TEST_F()
85 ASSERT_EQ(loaded_info.GetMethods().size(), 3u); in TEST_F()
/art/compiler/linker/
Doutput_stream_test.cc60 EXPECT_EQ(sizeof(expected), actual.size()); in CheckTestOutput()
61 EXPECT_EQ(0, memcmp(expected, &actual[0], actual.size())); in CheckTestOutput()
75 bool readSuccess = in->ReadFully(&actual[0], actual.size()); in TEST_F()
90 bool readSuccess = in->ReadFully(&actual[0], actual.size()); in TEST_F()
/art/runtime/
Dexec_utils_test.cc42 EXPECT_EQ(0U, error_msg.size()) << error_msg; in TEST_F()
76 EXPECT_NE(0U, error_msg.size()) << error_msg; in TEST_F()
100 EXPECT_EQ(0U, error_msg.size()) << error_msg; in TEST_F()

12345678910>>...26