Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 121) sorted by relevance

12345

/art/compiler/optimizing/
Dstack_map_test.cc55 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
56 stream.BeginMethod(/* frame_size_in_bytes= */ 32, in TEST()
65 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask); in TEST()
66 stream.AddDexRegisterEntry(Kind::kInStack, 0); // Short location. in TEST()
67 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Short location. in TEST()
68 stream.EndStackMapEntry(); in TEST()
70 stream.EndMethod(64 * kPcAlign); in TEST()
71 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
114 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
115 stream.BeginMethod(/* frame_size_in_bytes= */ 32, in TEST()
[all …]
Dregister_allocator.h86 void DumpRegister(std::ostream& stream, int reg, RegisterType register_type) const { in DumpRegister() argument
87 DumpRegister(stream, reg, register_type, codegen_); in DumpRegister()
90 std::ostream& stream, int reg, RegisterType register_type, const CodeGenerator* codegen);
Dgraph_visualizer.cc315 void DumpLocation(std::ostream& stream, const Location& location) { in DumpLocation() argument
318 codegen_->DumpCoreRegister(stream, location.reg()); in DumpLocation()
320 codegen_->DumpFloatingPointRegister(stream, location.reg()); in DumpLocation()
322 stream << "#"; in DumpLocation()
325 stream << constant->AsIntConstant()->GetValue(); in DumpLocation()
327 stream << constant->AsLongConstant()->GetValue(); in DumpLocation()
329 stream << constant->AsFloatConstant()->GetValue(); in DumpLocation()
331 stream << constant->AsDoubleConstant()->GetValue(); in DumpLocation()
333 stream << "null"; in DumpLocation()
336 stream << "invalid"; in DumpLocation()
[all …]
/art/runtime/
Ddex_register_location.cc21 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 …]
Dexperimental_flags.h41 inline std::ostream& operator<<(std::ostream& stream, ExperimentalFlags e) {
44 stream << (started ? "|" : "") << "kMethodHandles";
48 stream << "kNone";
50 return stream;
Dparsed_options.h60 jint (*hook_vfprintf_)(FILE* stream, const char* format, va_list ap);
72 void UsageMessage(FILE* stream, const char* fmt, ...);
73 void UsageMessageV(FILE* stream, const char* fmt, va_list ap);
/art/runtime/verifier/
Dscoped_newline.h31 explicit ScopedNewLine(std::ostream& os) : stream(os) {} in ScopedNewLine()
33 ScopedNewLine(ScopedNewLine&& other) noexcept : stream(other.stream), active(other.active) { in ScopedNewLine()
42 stream << std::endl; in ~ScopedNewLine()
49 stream << t;
55 stream << f;
59 std::ostream& stream; member
/art/cmdline/
Dcmdline_result.h78 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";
96 return stream;
Dmemory_representation.h62 std::ostream& operator<<(std::ostream& stream, Memory<kDivisor> memory) {
63 return stream << memory.Value << '*' << kDivisor;
/art/dex2oat/linker/
Dcode_info_table_deduper_test.cc37 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
38 stream.BeginMethod(/* frame_size_in_bytes= */ 32, in TEST()
45 stream.BeginStackMapEntry(0, 64 * kPcAlign); in TEST()
46 stream.AddDexRegisterEntry(Kind::kInStack, 0); in TEST()
47 stream.AddDexRegisterEntry(Kind::kConstant, -2); in TEST()
48 stream.EndStackMapEntry(); in TEST()
50 stream.EndMethod(64 * kPcAlign); in TEST()
51 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
/art/test/2246-trace-stream/
DAndroid.bp3 // Build rules for ART run-test `2246-trace-stream`.
16 name: "art-run-test-2246-trace-stream",
21 ":art-run-test-2246-trace-stream-expected-stdout",
22 ":art-run-test-2246-trace-stream-expected-stderr",
28 name: "art-run-test-2246-trace-stream-expected-stdout",
29 out: ["art-run-test-2246-trace-stream-expected-stdout.txt"],
36 name: "art-run-test-2246-trace-stream-expected-stderr",
37 out: ["art-run-test-2246-trace-stream-expected-stderr.txt"],
/art/libdexfile/dex/
Ddex_file-inl.h285 bool DexFile::DecodeDebugLocalInfo(const uint8_t* stream, in DecodeDebugLocalInfo() argument
297 if (stream == nullptr) { in DecodeDebugLocalInfo()
314 DecodeUnsignedLeb128(&stream); // Line. in DecodeDebugLocalInfo()
315 uint32_t parameters_size = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
328 uint32_t name_idx = DecodeUnsignedLeb128P1(&stream); in DecodeDebugLocalInfo()
349 uint8_t opcode = *stream++; in DecodeDebugLocalInfo()
361 address += DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
364 DecodeSignedLeb128(&stream); // Line. in DecodeDebugLocalInfo()
368 uint16_t reg = DecodeUnsignedLeb128(&stream); in DecodeDebugLocalInfo()
375 uint32_t name_idx = DecodeUnsignedLeb128P1(&stream); in DecodeDebugLocalInfo()
[all …]
/art/cmdline/detail/
Dcmdline_parser_detail.h94 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/
Dhistogram_test.cc124 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 …]
Dlogging.h129 std::ostream& stream() { in stream() function
133 return std::get<::android::base::LogMessage>(msg_).stream(); in stream()
150 .stream()
163 .stream() \
Dsystrace.h89 std::ostream& stream() { in stream() function
100 (ATraceEnabled()) && ::art::ScopedTraceNoStart::ScopedTraceMessageHelper().stream()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc98 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/libartservice/service/java/com/android/server/art/
DBackgroundDexoptJobStatsReporter.java34 import java.util.stream.Collectors;
86 .stream() in getFilteredPackageResults()
88 -> packageResult.getDexContainerFileDexoptResults().stream().anyMatch( in getFilteredPackageResults()
109 .stream() in getStatusForStats()
111 -> packageResult.getDexContainerFileDexoptResults().stream()) in getStatusForStats()
125 return (int) packageResults.stream() in getDexoptedPackagesCount()
132 return (int) packageResults.stream() in getPackagesDependingOnBootClasspathCount()
140 return filesResults.stream() in isDependentOnBootClasspath()
DDumpHelper.java47 import java.util.stream.Collectors;
72 .stream() in dump()
102 .stream() in dumpPackage()
170 info.loaders().stream().collect(Collectors.toMap(loader in dumpSecondaryDex()
179 if (classLoaderContexts.values().stream().distinct().count() >= 2) { in dumpSecondaryDex()
208 dexLoaders.stream() in dumpUsedByOtherApps()
213 otherApps.stream() in dumpUsedByOtherApps()
/art/build/boot/
Dpreloaded-classes2151 java.util.stream.AbstractPipeline$$ExternalSyntheticLambda0
2152 java.util.stream.AbstractPipeline$$ExternalSyntheticLambda2
2153 java.util.stream.AbstractPipeline
2154 java.util.stream.AbstractSpinedBuffer
2155 java.util.stream.BaseStream
2156 java.util.stream.Collector$Characteristics
2157 java.util.stream.Collector
2158 java.util.stream.Collectors$$ExternalSyntheticLambda0
2159 java.util.stream.Collectors$$ExternalSyntheticLambda13
2160 java.util.stream.Collectors$$ExternalSyntheticLambda15
[all …]
/art/libelffile/
DAndroid.bp34 "stream/buffered_output_stream.cc",
35 "stream/file_output_stream.cc",
36 "stream/output_stream.cc",
37 "stream/vector_output_stream.cc",
/art/tools/checker/file_format/
Dcommon.py16 def split_stream(stream, fn_process_line, fn_line_outside_chunk): argument
32 for line in stream:
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc400 std::string out_str = stream.str(); in GetResult()
407 std::ostringstream stream; member in tifast::__anon4fd488430111::LogPrinter
426 stream << ", const jvmtiAddrLocationMap*[start_address: " in PrintRest()
429 stream << ", const jvmtiAddrLocationMap*[nullptr]"; in PrintRest()
436 stream << ", jint*[" << static_cast<const void*>(v) << "]"; in PrintRest()
442 stream << ", const void*[" << v << "]"; in PrintRest()
448 stream << ", unsigned char**[" << static_cast<const void*>(v) << "]"; in PrintRest()
454 stream << ", const unsigned char*[" << static_cast<const void*>(v) << "]"; in PrintRest()
460 stream << ", const char*[" << v << "]"; in PrintRest()
474 stream << ", jvalue[{<hex: 0x" << hex.str() << ">" in PrintRest()
[all …]
/art/compiler/
Dcfi_test.h72 std::stringstream stream; in GenerateExpected() local
74 disasm->Dump(stream, base, base + actual_asm.size()); in GenerateExpected()
75 ReformatAsm(&stream, &lines); in GenerateExpected()
93 static void ReformatAsm(std::stringstream* stream, in ReformatAsm() argument
96 while (std::getline(*stream, line)) { in ReformatAsm()
/art/test/939-hello-transformation-bcp/src-optional/java/util/
DOptionalLong.java20 import java.util.stream.LongStream;
36 public LongStream stream() { return null; } in stream() method in OptionalLong

12345