Home
last modified time | relevance | path

Searched refs:output_ (Results 1 – 16 of 16) sorted by relevance

/art/dex2oat/linker/
Dcode_info_table_deduper.h63 explicit DedupeSetEntryHash(std::vector<uint8_t>* output) : output_(output) {} in DedupeSetEntryHash()
66 return DataHash()(BitMemoryRegion(output_->data(), item.bit_start, item.bit_size)); in operator()
70 std::vector<uint8_t>* const output_;
75 explicit DedupeSetEntryEquals(std::vector<uint8_t>* output) : output_(output) {} in DedupeSetEntryEquals()
82 BitMemoryRegion(output_->data(), lhs.bit_start, lhs.bit_size), in operator()
83 BitMemoryRegion(output_->data(), rhs.bit_start, rhs.bit_size)); in operator()
87 std::vector<uint8_t>* const output_;
Drelative_patcher_test.h51 output_(), in RelativePatcherTest()
75 output_.clear(); in TearDown()
94 output_.clear(); in Reset()
95 out_.reset(new VectorOutputStream("test output stream", &output_)); in Reset()
146 output_.reserve(output_size); in Link()
149 DCHECK(output_.empty()); in Link()
224 CHECK_EQ(output_.size(), output_size); in Link()
242 CHECK_LT(offset, output_.size()); in CheckLinkedMethod()
243 CHECK_LE(offset + expected_code.size(), output_.size()); in CheckLinkedMethod()
244 ArrayRef<const uint8_t> linked_code(&output_[offset], expected_code.size()); in CheckLinkedMethod()
[all …]
/art/compiler/optimizing/
Dgraph_visualizer.cc206 output_(output), in HGraphVisualizerPrinter()
225 output_ << std::flush; in Flush()
230 output_ << "begin_" << name << "\n"; in StartTag()
237 output_ << "end_" << name << "\n"; in EndTag()
242 output_ << name << " \"" << namer_.GetName(blk) << "\"\n"; in PrintProperty()
247 output_ << name << " \"" << property << "\"\n"; in PrintProperty()
252 output_ << name << " \"" << property << id << "\"\n"; in PrintProperty()
257 output_ << name << "\n"; in PrintEmptyProperty()
262 output_ << name << " " << time(nullptr) << "\n"; in PrintTime()
267 output_ << name << " " << value << "\n"; in PrintInt()
[all …]
Dlocations.h565 DCHECK(output_.IsInvalid());
567 output_ = location;
575 DCHECK(output_.IsStackSlot() || output_.IsDoubleStackSlot() || output_.IsUnallocated()); in UpdateOut()
576 output_ = location; in UpdateOut()
604 Location Out() const { return output_; } in Out()
689 && output_.IsUnallocated() in OutputUsesSameAs()
690 && (output_.GetPolicy() == Location::kSameAsFirstInput); in OutputUsesSameAs()
726 Location output_; variable
Dgraph_visualizer.h134 std::ostream* const output_; variable
Dregister_allocator_test.cc726 first_sub->InputAt(0)->GetLocations()->output_ = Location::RegisterLocation(2); in TEST_F()
/art/libelffile/stream/
Derror_delaying_output_stream.h33 output_(output), in ErrorDelayingOutputStream()
41 if (!output_->WriteFully(buffer, byte_count)) { in WriteFully()
69 off_t actual_offset = output_->Seek(offset, whence); in Seek()
86 output_good_ = output_->Flush(); in Flush()
97 OutputStream* output_;
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc264 if (output_.size() < thunk_offset + expected_code.size()) { in CheckThunk()
265 LOG(ERROR) << "output_.size() == " << output_.size() << " < " in CheckThunk()
269 ArrayRef<const uint8_t> linked_code(&output_[thunk_offset], expected_code.size()); in CheckThunk()
327 CHECK_LE(offset, output_.size()); in GetOutputInsn32()
328 CHECK_GE(output_.size() - offset, 4u); in GetOutputInsn32()
329 return (static_cast<uint32_t>(output_[offset]) << 16) | in GetOutputInsn32()
330 (static_cast<uint32_t>(output_[offset + 1]) << 24) | in GetOutputInsn32()
331 (static_cast<uint32_t>(output_[offset + 2]) << 0) | in GetOutputInsn32()
332 (static_cast<uint32_t>(output_[offset + 3]) << 8); in GetOutputInsn32()
336 CHECK_LE(offset, output_.size()); in GetOutputInsn16()
[all …]
/art/dex2oat/
Ddex2oat_vdex_test.cc34 output_ = ""; in TearDown()
65 return Dex2Oat(args, &output_, &error_msg_) == 0;
133 std::string output_; member in art::Dex2oatVdexTest
177 output_ = ""; in TEST_F()
188 ASSERT_TRUE(HasVerifiedClass(deps2, "LAccessNonPublicCtor;", *dex_file)) << output_; in TEST_F()
244 << output_; in TEST_F()
273 << output_; in TEST_F()
Ddex2oat_test.cc64 output_ = ""; in TearDown()
100 int status = Dex2Oat(args, &output_, error_msg);
154 << output_; in GenerateOdexForTest()
173 return ::testing::AssertionFailure() << "Succeeded to compile odex: " << output_; in GenerateOdexForTest()
201 std::string output_ = ""; member in art::Dex2oatTest
263 EXPECT_NE(output_.find("Large app, accepted running with swap."), std::string::npos) in CheckHostResult()
264 << output_; in CheckHostResult()
266 EXPECT_EQ(output_.find("Large app, accepted running with swap."), std::string::npos) in CheckHostResult()
267 << output_; in CheckHostResult()
289 EXPECT_NE(output_.find("dex2oat took"), std::string::npos) << output_; in CheckHostValidity()
[all …]
/art/disassembler/
Ddisassembler_arm.cc221 : Disassembler(options), disasm_(std::make_unique<CustomDisassembler>(output_, options)) {} in DisassemblerArm()
242 os << output_.str(); in Dump()
243 output_.str(std::string()); in Dump()
264 os << output_.str(); in Dump()
265 output_.str(std::string()); in Dump()
Ddisassembler_arm.h45 std::ostringstream output_; variable
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc230 if (output_.size() < thunk_offset + expected_code.size()) { in CheckThunk()
231 LOG(ERROR) << "output_.size() == " << output_.size() << " < " in CheckThunk()
235 ArrayRef<const uint8_t> linked_code(&output_[thunk_offset], expected_code.size()); in CheckThunk()
422 ASSERT_EQ(thunk_offset + thunk_size, output_.size()); in TestNopsAdrpInsn2AndUseHasThunk()
424 ArrayRef<const uint8_t> thunk_code(&output_[thunk_offset], thunk_size); in TestNopsAdrpInsn2AndUseHasThunk()
557 CHECK_LE(offset, output_.size()); in GetOutputInsn()
558 CHECK_GE(output_.size() - offset, 4u); in GetOutputInsn()
559 return (static_cast<uint32_t>(output_[offset]) << 0) | in GetOutputInsn()
560 (static_cast<uint32_t>(output_[offset + 1]) << 8) | in GetOutputInsn()
561 (static_cast<uint32_t>(output_[offset + 2]) << 16) | in GetOutputInsn()
[all …]
/art/runtime/hprof/
Dhprof.cc428 #define __ output_->
454 output_ = &count_output; in Dump()
458 output_ = nullptr; in Dump()
520 output_->StartNewRecord(HPROF_TAG_HEAP_DUMP_SEGMENT, kHprofTime); in ProcessBody()
530 output_->StartNewRecord(HPROF_TAG_HEAP_DUMP_END, kHprofTime); in ProcessBody()
531 output_->EndRecord(); in ProcessBody()
550 output_->EndRecord(); in ProcessHeader()
558 output_->StartNewRecord(HPROF_TAG_LOAD_CLASS, kHprofTime); in WriteClassTable()
576 output_->StartNewRecord(HPROF_TAG_STRING, kHprofTime); in WriteStringTable()
589 output_->StartNewRecord(HPROF_TAG_HEAP_DUMP_SEGMENT, kHprofTime); in StartNewHeapDumpSegment()
[all …]
/art/tools/dexanalyze/
Ddexanalyze_strings.cc73 explicit Builder(PrefixStrings* output) : output_(output) {} in Builder()
77 PrefixStrings* const output_; member in art::dexanalyze::PrefixStrings::Builder
366 CHECK_EQ(output_->dictionary_.AddOffset(0u, 0u), prefix_idx++); in Build()
373 output_->dictionary_.GetOffset(node->value_, &prefix_offset, &existing_len); in Build()
391 prefix_offset = output_->dictionary_.AddPrefixData( in Build()
396 CHECK_EQ(output_->dictionary_.AddOffset(prefix_offset, str.length()), prefix_idx); in Build()
409 output_->dictionary_.GetOffset(node->value_, &offset, &length); in Build()
418 output_->AddString(prefix_idx, str.substr(best_length)); in Build()
/art/openjdkjvmti/
Dti_class.cc386 : input_(input), output_(output) {} in RootUpdater()
393 *roots[i] = output_; in VisitRoots()
404 roots[i]->Assign(output_); in VisitRoots()
411 art::mirror::Class* output_; member in openjdkjvmti::ClassCallback::RootUpdater
425 : input_(root_input), output_(root_output) {} in FixupGlobalReferenceTables()
429 return output_; in FixupGlobalReferenceTables()
436 art::mirror::Class* output_; in FixupGlobalReferenceTables() member in openjdkjvmti::ClassCallback::FixupGlobalReferenceTables::WeakGlobalUpdate
449 : input_(root_input), output_(root_output) {} in FixupLocalReferenceTables()
455 RootUpdater local_update(local->input_, local->output_); in FixupLocalReferenceTables()
462 art::mirror::Class* output_; in FixupLocalReferenceTables() member in openjdkjvmti::ClassCallback::FixupLocalReferenceTables::LocalUpdate
[all …]