/art/compiler/ |
H A D | buffered_output_stream.cc | 23 BufferedOutputStream::BufferedOutputStream(OutputStream* out) argument 24 : OutputStream(out->GetLocation()), out_(out), used_(0) {}
|
H A D | oat_writer.cc | 51 DCHECK_EQ(static_cast<off_t>(file_offset + relative_offset), out->Seek(0, kSeekCurrent)) \ 55 DCHECK_EQ(static_cast<off_t>(file_offset + offset_), out->Seek(0, kSeekCurrent)) \ 545 // so we can simply compare the pointers to find out if things are duplicated. 589 // so we can simply compare the pointers to find out if things are duplicated. 641 WriteCodeMethodVisitor(OatWriter* writer, OutputStream* out, const size_t file_offset, 644 out_(out), 689 OutputStream* out = out_; local 701 offset_ = writer_->relative_patcher_->WriteThunks(out, offset_); 709 if (!writer_->WriteCodeAlignment(out, aligned_code_delta)) { 724 if (!out 897 WriteMapMethodVisitor(OatWriter* writer, OutputStream* out, const size_t file_offset, size_t relative_offset) argument 910 OutputStream* out = out_; local 1127 WriteRodata(OutputStream* out) argument 1177 WriteCode(OutputStream* out) argument 1266 WriteTables(OutputStream* out, const size_t file_offset) argument 1299 WriteMaps(OutputStream* out, const size_t file_offset, size_t relative_offset) argument 1326 WriteCode(OutputStream* out, const size_t file_offset, size_t relative_offset) argument 1357 WriteCodeDexFiles(OutputStream* out, const size_t file_offset, size_t relative_offset) argument 1380 WriteCodeAlignment(OutputStream* out, uint32_t aligned_code_delta) argument 1428 Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const argument 1554 Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const argument [all...] |
/art/runtime/base/ |
H A D | hex_dump.cc | 38 char out[(kBitsPerIntPtrT / 4) + /* offset */ local 51 memset(out, ' ', sizeof(out)-1); 52 out[kBitsPerIntPtrT / 4] = ':'; 53 out[sizeof(out)-1] = '\0'; 60 char* hex = out; 61 char* asc = out + (kBitsPerIntPtrT / 4) + /* offset */ 1 + /* colon */ 101 os << prefix_ << out; local
|
H A D | hash_set.h | 516 static size_t ReadFromBytes(const uint8_t* ptr, size_t offset, Elem* out) { argument 518 DCHECK_ALIGNED(ptr + offset, sizeof(*out)); 519 *out = *reinterpret_cast<const Elem*>(ptr + offset); 520 return offset + sizeof(*out);
|
/art/runtime/ |
H A D | indenter.h | 29 Indenter(std::streambuf* out, char text, size_t count) argument 30 : indent_next_(true), out_sbuf_(out), text_(text), count_(count) {}
|
H A D | leb128.h | 44 // Note: We don't check to see if cur is out of range here, 88 // Note: We don't check to see if cur is out of range here, 119 uint8_t out = value & 0x7f; local 122 *dest++ = out | 0x80; 123 out = value & 0x7f; 126 *dest++ = out; 132 uint8_t out = value & 0x7f; local 135 dest->push_back(out | 0x80); 136 out = value & 0x7f; 139 dest->push_back(out); 157 uint8_t out = value & 0x7f; local 171 uint8_t out = value & 0x7f; local [all...] |
H A D | utils.h | 47 bool ParseUint(const char *in, T* out) { argument 56 *out = static_cast<T>(result); 61 bool ParseInt(const char* in, T* out) { argument 70 *out = static_cast<T>(result);
|
H A D | oat_file.cc | 767 std::ostringstream out; local 770 out << dex_file->GetLocation().c_str(); 771 out << kDexClassPathEncodingSeparator; 772 out << dex_file->GetLocationChecksum(); 773 out << kDexClassPathEncodingSeparator; 776 return out.str();
|
/art/compiler/linker/ |
H A D | relative_patcher.cc | 45 uint32_t WriteThunks(OutputStream* out ATTRIBUTE_UNUSED, uint32_t offset) OVERRIDE { 84 bool RelativePatcher::WriteCodeAlignment(OutputStream* out, uint32_t aligned_code_delta) { argument 89 if (UNLIKELY(!out->WriteFully(kPadding, aligned_code_delta))) { 96 bool RelativePatcher::WriteRelCallThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { argument 97 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { 104 bool RelativePatcher::WriteMiscThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { argument 105 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) {
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_arm_base.cc | 47 uint32_t ArmBaseRelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { argument 55 if (aligned_code_delta != 0u && !WriteCodeAlignment(out, aligned_code_delta)) { 58 if (UNLIKELY(!WriteRelCallThunk(out, ArrayRef<const uint8_t>(thunk_code_)))) { 65 if (aligned_code_delta != 0u && !WriteCodeAlignment(out, aligned_code_delta)) {
|
/art/compiler/dex/ |
H A D | compiler_ir.h | 66 friend std::ostream& operator<<(std::ostream& out, const OptionContent& option) { argument 68 out << option.container.s; 70 out << option.container.i; 73 return out;
|
/art/compiler/linker/arm64/ |
H A D | relative_patcher_arm64.cc | 106 uint32_t Arm64RelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { argument 120 if (aligned_code_delta != 0u && !WriteCodeAlignment(out, aligned_code_delta)) { 123 if (!WriteMiscThunk(out, ArrayRef<const uint8_t>(current_method_thunks_))) { 130 return ArmBaseRelativePatcher::WriteThunks(out, offset);
|
/art/compiler/optimizing/ |
H A D | ssa_liveness_analysis.cc | 437 Location out = locations->Out(); local 438 if (out.IsUnallocated() && out.GetPolicy() == Location::kSameAsFirstInput) {
|
H A D | intrinsics_arm.cc | 112 Location out = invoke_->GetLocations()->Out(); variable 113 if (out.IsValid()) { 114 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 115 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 116 MoveFromReturnRegister(out, invoke_->GetType(), codegen); 226 Location out = locations->Out(); local 229 __ vabsd(FromLowSToD(out.AsFpuRegisterPairLow<SRegister>()), 232 __ vabss(out.AsFpuRegister<SRegister>(), in.AsFpuRegister<SRegister>()); 315 Register out = locations->Out().AsRegister<Register>(); local 320 __ mov(out, ShifterOperan 715 Register out = locations->Out().AsRegister<Register>(); // Boolean result. local 797 Register out = locations->Out().AsRegister<Register>(); // Result character. local [all...] |
H A D | intrinsics_arm64.cc | 121 Location out = invoke_->GetLocations()->Out(); variable 122 if (out.IsValid()) { 123 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 124 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 125 MoveFromReturnRegister(out, invoke_->GetType(), codegen); 219 Location out = locations->Out(); local 223 __ Rev16(WRegisterFrom(out), WRegisterFrom(in)); 224 __ Sxth(WRegisterFrom(out), WRegisterFrom(out)); 228 __ Rev(RegisterFrom(out, typ 266 Location out = locations->Out(); local 297 Location out = locations->Out(); local 364 Location out = locations->Out(); local 423 Location out = locations->Out(); local 849 Register out = WRegisterFrom(locations->Out()); // Boolean result. local 940 Register out = WRegisterFrom(locations->Out()); // Result character. local [all...] |
H A D | intrinsics_x86.cc | 149 Location out = invoke_->GetLocations()->Out(); variable 150 if (out.IsValid()) { 151 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 152 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 153 MoveFromReturnRegister(out, invoke_->GetType(), codegen); 279 Register out = locations->Out().AsRegister<Register>(); local 284 __ bswapl(out); 285 __ sarl(out, Immediate(16)); 288 __ bswapl(out); 407 Register out local 480 XmmRegister out = out_loc.AsFpuRegister<XmmRegister>(); local 644 Register out = locations->Out().AsRegister<Register>(); local 726 XmmRegister out = locations->Out().AsFpuRegister<XmmRegister>(); local 739 Location out = invoke->GetLocations()->Out(); local 774 XmmRegister out = locations->Out().AsFpuRegister<XmmRegister>(); local 837 Register out = locations->Out().AsRegister<Register>(); local 894 Register out = locations->Out().AsRegister<Register>(); local 983 Register out = locations->Out().AsRegister<Register>(); local 1322 Register out = invoke->GetLocations()->Out().AsRegister<Register>(); local 1590 Location out = locations->Out(); local [all...] |
H A D | intrinsics_x86_64.cc | 140 Location out = invoke_->GetLocations()->Out(); variable 141 if (out.IsValid()) { 142 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 143 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 144 MoveFromReturnRegister(out, invoke_->GetType(), codegen); 228 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 233 __ bswapl(out); 234 __ sarl(out, Immediate(16)); 237 __ bswapl(out); 240 __ bswapq(out); 352 CpuRegister out = output.AsRegister<CpuRegister>(); local 396 XmmRegister out = out_loc.AsFpuRegister<XmmRegister>(); local 529 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 603 XmmRegister out = locations->Out().AsFpuRegister<XmmRegister>(); local 616 Location out = invoke->GetLocations()->Out(); local 651 XmmRegister out = locations->Out().AsFpuRegister<XmmRegister>(); local 717 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 764 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 819 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 908 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 1094 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); // == address, here for clarity. local 1242 CpuRegister out = invoke->GetLocations()->Out().AsRegister<CpuRegister>(); local 1460 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local [all...] |
H A D | code_generator_arm.cc | 189 Location out = locations->Out(); variable 190 if (out.IsValid()) { 191 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 1407 Location out = locations->Out(); local 1412 __ rsb(out.AsRegister<Register>(), in.AsRegister<Register>(), ShifterOperand(0)); 1417 // out.lo = 0 - in.lo (and update the carry/borrow (C) flag) 1418 __ rsbs(out.AsRegisterPairLow<Register>(), 1426 // out.hi = -C 1427 __ sbc(out 1668 Location out = locations->Out(); local 1973 Location out = locations->Out(); local 2048 Location out = locations->Out(); local 2123 Location out = locations->Out(); local 2236 Location out = locations->Out(); local 2354 Location out = locations->Out(); local 2482 Location out = locations->Out(); local 2664 Location out = locations->Out(); local 2692 Location out = locations->Out(); local 2722 Register out = locations->Out().AsRegister<Register>(); local 3012 Location out = locations->Out(); local 3181 Register out = locations->Out().AsRegister<Register>(); local 3195 Register out = locations->Out().AsRegister<Register>(); local 3209 Register out = locations->Out().AsRegister<Register>(); local 3223 Register out = locations->Out().AsRegister<Register>(); local 3239 Register out = locations->Out().AsRegister<Register>(); local 3253 Location out = locations->Out(); local 3267 Location out = locations->Out(); local 3281 Location out = locations->Out(); local 3467 Register out = locations->Out().AsRegister<Register>(); local 3796 Register out = cls->GetLocations()->Out().AsRegister<Register>(); local 3861 Register out = load->GetLocations()->Out().AsRegister<Register>(); local 3878 Register out = load->GetLocations()->Out().AsRegister<Register>(); local 3912 Register out = locations->Out().AsRegister<Register>(); local 4031 Register out = locations->Out().AsRegister<Register>(); local 4044 Location out = locations->Out(); local [all...] |
H A D | code_generator_arm64.cc | 185 Location out = locations->Out(); variable 186 if (out.IsValid()) { 187 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 189 arm64_codegen->MoveLocation(out, calling_convention.GetReturnLocation(type), type); 1867 Register out = OutputRegister(instruction); local 1874 __ Mov(out, 0); 1879 __ Ldr(out, HeapOperand(obj, mirror::Object::ClassOffset())); 1880 __ Cmp(out, cls); 1883 __ Cset(out, e 2105 Register out = OutputRegister(cls); local 2160 Register out = OutputRegister(load); local [all...] |
H A D | code_generator_mips64.cc | 193 Location out = locations->Out(); variable 194 if (out.IsValid()) { 195 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 197 mips64_codegen->MoveLocation(out, calling_convention.GetReturnLocation(type), type); 898 // all the issues with register saving/restoring are sorted out. 1273 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); local 1277 __ LoadFromOffset(kLoadUnsignedByte, out, obj, offset); 1280 __ LoadFromOffset(kLoadUnsignedByte, out, TMP, data_offset); 1287 GpuRegister out local 1301 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); local 1316 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); local 1333 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); local 1349 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); local 1364 FpuRegister out = locations->Out().AsFpuRegister<FpuRegister>(); local 1379 FpuRegister out = locations->Out().AsFpuRegister<FpuRegister>(); local 1409 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); local 2249 GpuRegister out = locations->Out().AsRegister<GpuRegister>(); local 2484 GpuRegister out = cls->GetLocations()->Out().AsRegister<GpuRegister>(); local 2519 GpuRegister out = load->GetLocations()->Out().AsRegister<GpuRegister>(); local 2542 GpuRegister out = load->GetLocations()->Out().AsRegister<GpuRegister>(); local [all...] |
H A D | code_generator_x86.cc | 220 Location out = locations->Out(); variable 221 if (out.IsValid()) { 222 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 223 x86_codegen->Move32(out, Location::RegisterLocation(EAX)); 1368 Location out = locations->Out(); local 1373 DCHECK(in.Equals(out)); 1374 __ negl(out.AsRegister<Register>()); 1379 DCHECK(in.Equals(out)); 1380 __ negl(out 1623 Location out = locations->Out(); local 1955 Location out = locations->Out(); local 2286 Location out = locations->Out(); local 2388 Register out = locations->Out().AsRegister<Register>(); local 2464 Location out = locations->Out(); local 2583 Location out = locations->Out(); local 3027 Location out = locations->Out(); local 3054 Location out = locations->Out(); local 3083 Register out = locations->Out().AsRegister<Register>(); local 3273 Location out = locations->Out(); local 3574 Register out = locations->Out().AsRegister<Register>(); local 3586 Register out = locations->Out().AsRegister<Register>(); local 3598 Register out = locations->Out().AsRegister<Register>(); local 3610 Register out = locations->Out().AsRegister<Register>(); local 3623 Register out = locations->Out().AsRegister<Register>(); local 3635 Location out = locations->Out(); local 3654 XmmRegister out = locations->Out().AsFpuRegister<XmmRegister>(); local 3666 XmmRegister out = locations->Out().AsFpuRegister<XmmRegister>(); local 3910 Register out = locations->Out().AsRegister<Register>(); local 4277 Register out = cls->GetLocations()->Out().AsRegister<Register>(); local 4339 Register out = load->GetLocations()->Out().AsRegister<Register>(); local 4387 Register out = locations->Out().AsRegister<Register>(); local [all...] |
H A D | code_generator_x86_64.cc | 209 Location out = locations->Out(); variable 211 if (out.IsValid()) { 212 DCHECK(out.IsRegister() && !locations->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 213 x64_codegen->Move(out, Location::RegisterLocation(RAX)); 1054 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 1111 __ movl(out, Immediate(0)); 1116 __ movl(out, Immediate(1)); 1120 __ movl(out, Immediate(-1)); 1471 Location out local 1711 Location out = locations->Out(); local 2114 Location out = locations->Out(); local 2416 Location out = locations->Out(); local 2560 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 2679 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 3086 Location out = locations->Out(); local 3112 Location out = locations->Out(); local 3171 Location out = locations->Out(); local 3444 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 3456 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 3468 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 3480 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 3494 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 3506 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 3518 XmmRegister out = locations->Out().AsFpuRegister<XmmRegister>(); local 3530 XmmRegister out = locations->Out().AsFpuRegister<XmmRegister>(); local 3762 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local 4124 CpuRegister out = cls->GetLocations()->Out().AsRegister<CpuRegister>(); local 4176 CpuRegister out = load->GetLocations()->Out().AsRegister<CpuRegister>(); local 4226 CpuRegister out = locations->Out().AsRegister<CpuRegister>(); local [all...] |
/art/patchoat/ |
H A D | patchoat.cc | 309 bool PatchOat::WriteElf(File* out) { argument 313 CHECK(out != nullptr); 315 if (out->WriteFully(reinterpret_cast<char*>(oat_file_->Begin()), expect) && 316 out->SetLength(expect) == 0) { 319 LOG(ERROR) << "Writing to oat file " << out->GetPath() << " failed."; 324 bool PatchOat::WriteImage(File* out) { argument 329 img_flock.Init(out, &error_msg); 332 CHECK(out != nullptr); 334 if (out->WriteFully(reinterpret_cast<char*>(image_->Begin()), expect) && 335 out [all...] |
/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 227 // Special managed code cut-out to allow field lookup in a un-started runtime that'd fail 345 AbortTransactionOrFail(self, "Index out of bounds."); 468 double out; local 470 // 1) NaN, infinity, +0, -0 -> out := in. All are guaranteed by cmath. 471 // -1 < in < 0 -> out := -0. 473 out = -0.0; 475 out = ceil(in); 477 result->SetD(out); 616 std::string error_msg(StringPrintf("Array out of bounds in peekArray: %d/%d vs %d", 1101 // Clear out th [all...] |
/art/runtime/gc/collector/ |
H A D | mark_sweep.cc | 1153 StackReference<Object>* out = objects; local 1172 (out++)->Assign(obj); 1183 count = out - objects;
|