Home
last modified time | relevance | path

Searched refs:code_size (Results 1 – 8 of 8) sorted by relevance

/art/compiler/
Doat_test.cc64 size_t code_size = quick_code->size() * sizeof(quick_code[0]); in CheckMethod() local
65 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)) in CheckMethod()
66 << PrettyMethod(method) << " " << code_size; in CheckMethod()
67 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)); in CheckMethod()
78 size_t code_size = portable_code->size() * sizeof(portable_code[0]); in CheckMethod() local
79 EXPECT_EQ(0, memcmp(quick_oat_code, &portable_code[0], code_size)) in CheckMethod()
80 << PrettyMethod(method) << " " << code_size; in CheckMethod()
81 CHECK_EQ(0, memcmp(quick_oat_code, &portable_code[0], code_size)); in CheckMethod()
Dcommon_compiler_test.cc178 uint32_t code_size = code->size(); in MakeExecutable() local
179 CHECK_NE(0u, code_size); in MakeExecutable()
189 compiled_method->GetFpSpillMask(), code_size); in MakeExecutable()
193 size_t size = sizeof(method_header) + code_size + vmap_table.size() + mapping_table.size(); in MakeExecutable()
194 size_t code_offset = compiled_method->AlignCode(size - code_size); in MakeExecutable()
195 size_t padding = code_offset - (size - code_size); in MakeExecutable()
Doat_writer.cc355 uint32_t code_size = quick_code->size() * sizeof(uint8_t); in VisitMethod() local
356 CHECK_NE(code_size, 0U); in VisitMethod()
393 code_size); in VisitMethod()
399 writer_->oat_header_->UpdateChecksum(&(*quick_code)[0], code_size); in VisitMethod()
400 offset_ += code_size; in VisitMethod()
443 quick_code_start + code_size)); in VisitMethod()
599 uint32_t code_size = quick_code->size() * sizeof(uint8_t); in VisitMethod() local
600 CHECK_NE(code_size, 0U); in VisitMethod()
616 if (!out->WriteFully(&(*quick_code)[0], code_size)) { in VisitMethod()
620 writer_->size_code_ += code_size; in VisitMethod()
[all …]
/art/compiler/optimizing/
Dcode_generator.cc63 size_t code_size = GetAssembler()->CodeSize(); in CompileBaseline() local
64 uint8_t* buffer = allocator->Allocate(code_size); in CompileBaseline()
65 MemoryRegion code(buffer, code_size); in CompileBaseline()
89 size_t code_size = GetAssembler()->CodeSize(); in CompileOptimized() local
90 uint8_t* buffer = allocator->Allocate(code_size); in CompileOptimized()
91 MemoryRegion code(buffer, code_size); in CompileOptimized()
/art/runtime/
Dexception_test.cc53 uint32_t code_size = 12; in SetUp() local
54 for (size_t i = 0 ; i < code_size; i++) { in SetUp()
80 4 * kPointerSize, 0u, 0u, code_size); in SetUp()
Doat.h181 uint32_t fp_spill_mask, uint32_t code_size);
Doat.cc511 uint32_t core_spill_mask, uint32_t fp_spill_mask, uint32_t code_size) in OatQuickMethodHeader() argument
515 code_size_(code_size) in OatQuickMethodHeader()
/art/oatdump/
Doatdump.cc586 uint32_t code_size = oat_method.GetQuickCodeSize(); in DumpOatMethod() local
589 code_size = oat_method.GetPortableCodeSize(); in DumpOatMethod()
594 uint64_t aligned_code_end = aligned_code_begin + code_size; in DumpOatMethod()
602 code_size, in DumpOatMethod()
615 code_size, code_size_offset); in DumpOatMethod()
622 } else if (code_size > kMaxCodeSize) { in DumpOatMethod()
626 code_size, kMaxCodeSize, in DumpOatMethod()
627 code_size, code_size_offset); in DumpOatMethod()
915 bool bad_input, size_t code_size) { in DumpCode() argument
919 if (code_size == 0) { in DumpCode()
[all …]