/art/dexlayout/ |
D | dex_writer.cc | 117 void DexWriter::WriteEncodedValue(Stream* stream, dex_ir::EncodedValue* encoded_value) { in WriteEncodedValue() argument 166 WriteEncodedValueHeader(stream, type, 0); in WriteEncodedValue() 167 WriteEncodedArray(stream, encoded_value->GetEncodedArray()->GetEncodedValues()); in WriteEncodedValue() 170 WriteEncodedValueHeader(stream, type, 0); in WriteEncodedValue() 171 WriteEncodedAnnotation(stream, encoded_value->GetEncodedAnnotation()); in WriteEncodedValue() 174 WriteEncodedValueHeader(stream, type, 0); in WriteEncodedValue() 177 WriteEncodedValueHeader(stream, type, encoded_value->GetBoolean() ? 1 : 0); in WriteEncodedValue() 182 WriteEncodedValueHeader(stream, type, length - 1); in WriteEncodedValue() 183 stream->Write(buffer + start, length); in WriteEncodedValue() 186 void DexWriter::WriteEncodedValueHeader(Stream* stream, int8_t value_type, size_t value_arg) { in WriteEncodedValueHeader() argument [all …]
|
D | dex_writer.h | 142 ScopedSeek(Stream* stream, uint32_t offset) : stream_(stream), offset_(stream->Tell()) { in ScopedSeek() argument 143 stream->Seek(offset); in ScopedSeek() 227 void WriteEncodedValue(Stream* stream, dex_ir::EncodedValue* encoded_value); 228 void WriteEncodedValueHeader(Stream* stream, int8_t value_type, size_t value_arg); 229 void WriteEncodedArray(Stream* stream, dex_ir::EncodedValueVector* values); 230 void WriteEncodedAnnotation(Stream* stream, dex_ir::EncodedAnnotation* annotation); 231 void WriteEncodedFields(Stream* stream, dex_ir::FieldItemVector* fields); 232 void WriteEncodedMethods(Stream* stream, dex_ir::MethodItemVector* methods); 235 virtual void WriteHeader(Stream* stream); 239 void WriteStringIds(Stream* stream, bool reserve_only); [all …]
|
D | compact_dex_writer.cc | 40 uint32_t CompactDexWriter::WriteDebugInfoOffsetTable(Stream* stream) { in WriteDebugInfoOffsetTable() argument 41 const uint32_t start_offset = stream->Tell(); in WriteDebugInfoOffsetTable() 82 stream->AlignTo(CompactOffsetTable::kAlignment); in WriteDebugInfoOffsetTable() 83 debug_info_offsets_pos_ = stream->Tell(); in WriteDebugInfoOffsetTable() 84 stream->Write(data.data(), data.size()); in WriteDebugInfoOffsetTable() 90 stream->Begin(); in WriteDebugInfoOffsetTable() 91 CompactOffsetTable::Accessor accessor(stream->Begin() + debug_info_offsets_pos_, in WriteDebugInfoOffsetTable() 103 return stream->Tell() - start_offset; in WriteDebugInfoOffsetTable() 106 CompactDexWriter::ScopedDataSectionItem::ScopedDataSectionItem(Stream* stream, in ScopedDataSectionItem() argument 110 : stream_(stream), in ScopedDataSectionItem() [all …]
|
D | compact_dex_writer.h | 97 ScopedDataSectionItem(Stream* stream, dex_ir::Item* item, size_t alignment, Deduper* deduper); 142 void WriteHeader(Stream* stream) override; 146 uint32_t WriteDebugInfoOffsetTable(Stream* stream); 148 void WriteCodeItem(Stream* stream, dex_ir::CodeItem* code_item, bool reserve_only) override; 150 void WriteStringData(Stream* stream, dex_ir::StringData* string_data) override; 152 void WriteDebugInfoItem(Stream* stream, dex_ir::DebugInfoItem* debug_info) override;
|
/art/compiler/optimizing/ |
D | stack_map_test.cc | 54 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local 55 stream.BeginMethod(32, 0, 0, 2); in TEST() 59 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask); in TEST() 60 stream.AddDexRegisterEntry(Kind::kInStack, 0); // Short location. in TEST() 61 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Short location. in TEST() 62 stream.EndStackMapEntry(); in TEST() 64 stream.EndMethod(64 * kPcAlign); in TEST() 65 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() 108 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local 109 stream.BeginMethod(32, 0, 0, 2); in TEST() [all …]
|
D | graph_visualizer.cc | 316 void DumpLocation(std::ostream& stream, const Location& location) { in DumpLocation() argument 319 codegen_->DumpCoreRegister(stream, location.reg()); in DumpLocation() 321 codegen_->DumpFloatingPointRegister(stream, location.reg()); in DumpLocation() 323 stream << "#"; in DumpLocation() 326 stream << constant->AsIntConstant()->GetValue(); in DumpLocation() 328 stream << constant->AsLongConstant()->GetValue(); in DumpLocation() 330 stream << constant->AsFloatConstant()->GetValue(); in DumpLocation() 332 stream << constant->AsDoubleConstant()->GetValue(); in DumpLocation() 334 stream << "null"; in DumpLocation() 337 stream << "invalid"; in DumpLocation() [all …]
|
D | ssa_liveness_analysis.cc | 314 void LiveInterval::DumpWithContext(std::ostream& stream, in DumpWithContext() argument 316 Dump(stream); in DumpWithContext() 318 stream << ", register:" << GetRegister() << "("; in DumpWithContext() 320 codegen.DumpFloatingPointRegister(stream, GetRegister()); in DumpWithContext() 322 codegen.DumpCoreRegister(stream, GetRegister()); in DumpWithContext() 324 stream << ")"; in DumpWithContext() 326 stream << ", spill slot:" << GetSpillSlot(); in DumpWithContext() 328 stream << ", requires_register:" << (GetDefinedBy() != nullptr && RequiresRegister()); in DumpWithContext() 330 stream << ", defined_by:" << GetParent()->GetDefinedBy()->GetKind(); in DumpWithContext() 331 stream << "(" << GetParent()->GetDefinedBy()->GetLifetimePosition() << ")"; in DumpWithContext()
|
D | ssa_liveness_analysis.h | 83 void Dump(std::ostream& stream) const { in Dump() argument 84 stream << "[" << start_ << "," << end_ << ")"; in Dump() 132 void Dump(std::ostream& stream) const { in Dump() argument 133 stream << position_; in Dump() 181 void Dump(std::ostream& stream) const { in Dump() argument 182 stream << position_; in Dump() 744 void Dump(std::ostream& stream) const { in Dump() argument 745 stream << "ranges: { "; in Dump() 748 current->Dump(stream); in Dump() 749 stream << " "; in Dump() [all …]
|
/art/runtime/ |
D | dex_register_location.cc | 21 std::ostream& operator<<(std::ostream& stream, DexRegisterLocation::Kind kind) { in operator <<() argument 22 return stream << "Kind<" << static_cast<int32_t>(kind) << ">"; in operator <<() 25 std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg) { in operator <<() argument 29 return stream << "Invalid"; in operator <<() 31 return stream << "None"; in operator <<() 33 return stream << "sp+" << reg.GetValue(); in operator <<() 35 return stream << "r" << reg.GetValue(); in operator <<() 37 return stream << "r" << reg.GetValue() << "/hi"; in operator <<() 39 return stream << "f" << reg.GetValue(); in operator <<() 41 return stream << "f" << reg.GetValue() << "/hi"; in operator <<() [all …]
|
D | experimental_flags.h | 66 inline std::ostream& operator<<(std::ostream& stream, const ExperimentalFlags& e) { 69 stream << (started ? "|" : "") << "kMethodHandles"; 73 stream << "kNone"; 75 return stream; 78 inline std::ostream& operator<<(std::ostream& stream, const decltype(ExperimentalFlags::kNone)& e) { 79 return stream << ExperimentalFlags(e);
|
D | parsed_options.h | 59 jint (*hook_vfprintf_)(FILE* stream, const char* format, va_list ap); 71 void UsageMessage(FILE* stream, const char* fmt, ...); 72 void UsageMessageV(FILE* stream, const char* fmt, va_list ap);
|
/art/runtime/verifier/ |
D | scoped_newline.h | 29 explicit ScopedNewLine(std::ostream& os) : stream(os) {} in ScopedNewLine() 31 ScopedNewLine(ScopedNewLine&& other) : stream(other.stream), active(other.active) { in ScopedNewLine() 40 stream << std::endl; in ~ScopedNewLine() 47 stream << t; 53 stream << f; 57 std::ostream& stream; member
|
/art/libdexfile/dex/ |
D | dex_file-inl.h | 185 bool DexFile::DecodeDebugLocalInfo(const uint8_t* stream, in DecodeDebugLocalInfo() argument 197 if (stream == nullptr) { in DecodeDebugLocalInfo() 214 DecodeUnsignedLeb128(&stream); // Line. in DecodeDebugLocalInfo() 215 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo() 228 uint32_t name_idx = DecodeUnsignedLeb128P1(&stream); in DecodeDebugLocalInfo() 249 uint8_t opcode = *stream++; in DecodeDebugLocalInfo() 261 address += DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo() 264 DecodeSignedLeb128(&stream); // Line. in DecodeDebugLocalInfo() 268 uint16_t reg = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo() 275 uint32_t name_idx = DecodeUnsignedLeb128P1(&stream); in DecodeDebugLocalInfo() [all …]
|
/art/cmdline/ |
D | cmdline_result.h | 78 static inline std::ostream& operator<<(std::ostream& stream, CmdlineResult::Status status) { 81 stream << "kSuccess"; 84 stream << "kUsage"; 87 stream << "kFailure"; 90 stream << "kOutOfRange"; 93 stream << "kUnknown"; 98 return stream;
|
D | memory_representation.h | 62 std::ostream& operator<<(std::ostream& stream, Memory<kDivisor> memory) { 63 return stream << memory.Value << '*' << kDivisor;
|
/art/cmdline/detail/ |
D | cmdline_parser_detail.h | 94 std::stringstream stream; 95 stream << value; 96 return stream.str(); 103 std::stringstream stream; 104 stream << "vector{"; 107 stream << ToStringAny(value[i]); 110 stream << ','; 114 stream << "}"; 115 return stream.str();
|
/art/libartbase/base/ |
D | histogram_test.cc | 124 std::stringstream stream; in TEST() local 126 hist->PrintConfidenceIntervals(stream, 0.99, data); in TEST() 128 EXPECT_EQ(expected, stream.str()); in TEST() 167 std::stringstream stream; in TEST() local 169 hist->PrintConfidenceIntervals(stream, 0.99, data); in TEST() 171 EXPECT_EQ(expected, stream.str()); in TEST() 206 std::stringstream stream; in TEST() local 208 hist->PrintConfidenceIntervals(stream, 0.99, data); in TEST() 210 EXPECT_EQ(expected, stream.str()); in TEST() 221 std::stringstream stream; in TEST() local [all …]
|
D | logging.h | 129 std::ostream& stream() { in stream() function 133 return std::get<::android::base::LogMessage>(msg_).stream(); in stream() 150 .stream()
|
D | systrace.h | 88 std::ostream& stream() { in stream() function 99 (ATraceEnabled()) && ::art::ScopedTraceNoStart::ScopedTraceMessageHelper().stream()
|
/art/tools/dexanalyze/ |
D | dexanalyze_experiments.cc | 98 const uint8_t* stream = debug_info; in ProcessDexFiles() local 99 DecodeUnsignedLeb128(&stream); // line_start in ProcessDexFiles() 100 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in ProcessDexFiles() 102 DecodeUnsignedLeb128P1(&stream); // Parameter name. in ProcessDexFiles() 105 const uint8_t* after_header_start = stream; in ProcessDexFiles() 107 const uint8_t* const op_start = stream; in ProcessDexFiles() 108 uint8_t opcode = *stream++; in ProcessDexFiles() 117 DecodeUnsignedLeb128(&stream); // addr_diff in ProcessDexFiles() 118 total_advance_pc_bytes_ += stream - op_start; in ProcessDexFiles() 121 DecodeSignedLeb128(&stream); // line_diff in ProcessDexFiles() [all …]
|
/art/libelffile/ |
D | Android.bp | 33 "stream/buffered_output_stream.cc", 34 "stream/file_output_stream.cc", 35 "stream/output_stream.cc", 36 "stream/vector_output_stream.cc",
|
/art/tools/checker/file_format/ |
D | common.py | 16 def split_stream(stream, fn_process_line, fn_line_outside_chunk): argument 32 for line in stream:
|
/art/tools/jvmti-agents/ti-fast/ |
D | tifast.cc | 399 std::string out_str = stream.str(); in GetResult() 406 std::ostringstream stream; member in tifast::__anon4fd488430111::LogPrinter 424 stream << ", const jvmtiAddrLocationMap*[start_address: " in PrintRest() 427 stream << ", const jvmtiAddrLocationMap*[nullptr]"; in PrintRest() 434 stream << ", jint*[" << static_cast<const void*>(v) << "]"; in PrintRest() 440 stream << ", const void*[" << v << "]"; in PrintRest() 446 stream << ", unsigned char**[" << static_cast<const void*>(v) << "]"; in PrintRest() 452 stream << ", const unsigned char*[" << static_cast<const void*>(v) << "]"; in PrintRest() 458 stream << ", const char*[" << v << "]"; in PrintRest() 472 stream << ", jvalue[{<hex: 0x" << hex.str() << ">" in PrintRest() [all …]
|
/art/compiler/ |
D | cfi_test.h | 71 std::stringstream stream; in GenerateExpected() local 73 disasm->Dump(stream, base, base + actual_asm.size()); in GenerateExpected() 74 ReformatAsm(&stream, &lines); in GenerateExpected() 92 static void ReformatAsm(std::stringstream* stream, in ReformatAsm() argument 95 while (std::getline(*stream, line)) { in ReformatAsm()
|
/art/build/boot/ |
D | preloaded-classes | 1810 java.util.stream.AbstractPipeline 1811 java.util.stream.AbstractSpinedBuffer 1812 java.util.stream.BaseStream 1813 java.util.stream.Collector$Characteristics 1814 java.util.stream.Collector 1815 java.util.stream.Collectors$CollectorImpl 1816 java.util.stream.Collectors 1817 java.util.stream.DistinctOps$1$2 1818 java.util.stream.DistinctOps$1 1819 java.util.stream.DistinctOps [all …]
|