Searched defs:output (Results 1 - 25 of 35) sorted by relevance

12

/art/runtime/
H A Dindenter_test.cc24 std::ostringstream output; local
25 Indenter indent_filter(output.rdbuf(), '\t', 2);
28 EXPECT_EQ(output.str(), "");
31 EXPECT_EQ(output.str(), "\t\thello");
34 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again");
37 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again\n");
/art/compiler/linker/
H A Derror_delaying_output_stream.h32 explicit ErrorDelayingOutputStream(OutputStream* output) argument
33 : OutputStream(output->GetLocation()),
34 output_(output),
39 // Use Good() to check the actual status of the output stream.
53 // Use Good() to check the actual status of the output stream.
56 // the expected value even if the output stream failed.
82 // Flush the output and return whether all operations have succeeded.
98 bool output_good_; // True if all writes to output succeeded.
H A Doutput_stream_test.cc97 std::vector<uint8_t> output; local
98 VectorOutputStream output_stream("test vector output", &output);
101 CheckTestOutput(output);
H A Delf_builder.h188 // This function flushes the output and returns whether it succeeded.
522 // very last thing in the output file creation.
526 ElfBuilder(InstructionSet isa, const InstructionSetFeatures* features, OutputStream* output) argument
529 stream_(output),
840 // Returns true if all writes and seeks on the output stream succeeded.
/art/libartbase/base/
H A Dtransform_array_ref_test.cc43 std::vector<int> output; local
55 std::copy(taref.begin(), taref.end(), std::back_inserter(output));
56 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output);
57 output.clear();
59 std::copy(taref.cbegin(), taref.cend(), std::back_inserter(output));
60 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output);
61 output.clear();
63 std::copy(taref.rbegin(), taref.rend(), std::back_inserter(output));
64 ASSERT_EQ(std::vector<int>({ 1, 5, 7, 8 }), output);
65 output
84 std::vector<int> output; local
120 std::vector<int> output; local
[all...]
H A Dtransform_iterator_test.cc46 std::vector<int> output; local
78 std::back_inserter(output));
79 ASSERT_EQ(std::vector<int>({ 2, 8, 4, 9 }), output);
80 output.clear();
84 std::back_inserter(output));
85 ASSERT_EQ(std::vector<int>({ 2, 8, 4, 9 }), output);
86 output.clear();
90 std::back_inserter(output));
91 ASSERT_EQ(std::vector<int>({ 9, 4, 8, 2 }), output);
92 output
149 std::vector<int> output; local
213 std::vector<int> output; local
251 std::vector<int> output; local
344 std::vector<int> output; local
412 std::vector<int> output; local
[all...]
/art/test/050-sync-test/src/
H A DMain.java109 output(mNumber);
117 void output(int num) { method in class:CpuThread
/art/test/1948-obsolete-const-method-handle/util-src/src/art/constmethodhandle/
H A DTestGenerator.java112 "--output", tempDir.toAbsolutePath().toString(),
142 OutputStream output) throws IOException {
153 output.write(cw.toByteArray());
139 generateInvoker( byte[] inputClass, String toCall, OutputStream output) argument
/art/test/923-monitors/src/art/
H A DTest923.java35 output = new ArrayList<String>(100);
39 for (String s : output) {
42 output.clear();
142 // Check threaded output.
143 Iterator<String> it = output.iterator();
154 System.out.println(output);
159 System.out.println(output);
166 expect("Lock", it, output);
167 expect("Notify", it, output);
168 expect("Unlock", it, output);
207 expect(String s, Iterator<String> it, List<String> output) argument
288 static List<String> output; field in class:Test923
[all...]
/art/tools/dexfuzz/src/dexfuzz/
H A DExecutionResult.java22 * Stores the output of an executed command.
25 public List<String> output; field in class:ExecutionResult
40 * Get only the output, with all lines concatenated together, excluding newline characters.
45 for (String line : output) {
54 * Get only the output, with all lines concatenated together, including newline characters.
59 for (String line : output) {
96 * Get both the output and error, concatenated together, excluding newline characters.
106 * Get both the output and error, concatenated together, including newline characters.
H A DStreamConsumer.java28 * process.waitFor() can block if its output buffers are not drained.
30 * output once the command has finished executing. Each Executor has its own
31 * output and error StreamConsumers.
34 private List<String> output; field in class:StreamConsumer
54 output = new ArrayList<String>();
66 output.clear();
84 * Executor should call this to get the captured output of this StreamConsumer.
89 // Wait until the output is ready.
92 Log.error("Client of StreamConsumer was interrupted while waiting for output?");
96 // Take a copy of the Strings, so when we call output
[all...]
/art/compiler/
H A Dcfi_test.h92 std::vector<std::string>* output) {
104 output->push_back(line);
108 // Find interesting parts of objdump output and prefix the lines with address.
110 std::vector<std::string>* output) {
132 output->push_back(address + ": " + new_line);
91 ReformatAsm(std::stringstream* stream, std::vector<std::string>* output) argument
109 ReformatCfi(const std::vector<std::string>& lines, std::vector<std::string>* output) argument
/art/compiler/debug/dwarf/
H A Ddwarf_test.h53 // Check that the objdump output contains given output.
91 FILE* output = popen(cmd.data(), "r"); local
94 while ((line = fgets(buffer, sizeof(buffer), output)) != nullptr) {
108 pclose(output);
120 // Compare objdump output to the recorded checks.
129 "Seen end of output.";
151 "Not found anywhere in the rest of the output.";
167 // The expected output of objdump.
/art/tools/dexfuzz/src/dexfuzz/listeners/
H A DUniqueProgramTrackerListener.java105 private String getMD5SumOfOutput(String output) { argument
106 digest.update(output.getBytes());
144 // Shouldn't block, cp shouldn't produce output.
174 // Shouldn't block, rm shouldn't produce output.
232 String output = (String) outputMap.keySet().toArray()[0];
233 String md5sum = getMD5SumOfOutput(output);
242 String output = (String) outputMap.keySet().toArray()[0];
243 String md5sum = getMD5SumOfOutput(output);
/art/dex2oat/linker/
H A Dmulti_oat_relative_patcher_test.cc218 std::vector<uint8_t> output; local
219 VectorOutputStream vos("output", &output);
266 ASSERT_EQ(arraysize(expected_output), output.size());
268 ASSERT_EQ(expected_output[i], output[i]) << i;
/art/compiler/optimizing/
H A Dscheduler.cc406 static void DumpAsDotNode(std::ostream& output, const SchedulingNode* node) { argument
410 output << instruction_id << "[shape=record, label=\""
416 output << seperator << InstructionTypeId(input);
419 output << "]";
421 output << "\\ninternal_latency: " << node->GetInternalLatency();
422 output << "\\ncritical_path: " << node->GetCriticalPath();
424 output << "\\n(barrier)";
426 output << "\"];\n";
427 // We want program order to go from top to bottom in the graph output, so we
431 output << InstructionTypeI
[all...]
H A Dgraph_visualizer.cc151 void Disassemble(std::ostream& output, size_t start, size_t end) const { argument
162 disassembler_->Dump(output, base + start, base + end);
179 std::ostream& output,
186 output_(output),
847 HGraphVisualizer::HGraphVisualizer(std::ostream* output, argument
850 : output_(output), graph_(graph), codegen_(codegen) {}
178 HGraphVisualizerPrinter(HGraph* graph, std::ostream& output, const char* pass_name, bool is_after_pass, bool graph_in_bad_state, const CodeGenerator& codegen, const DisassemblyInformation* disasm_info = nullptr) argument
H A Dregister_allocator_linear_scan.cc337 // Some instructions define their output in fixed register/stack slot. We need
344 Location output = locations->Out(); local
345 if (output.IsUnallocated() && output.GetPolicy() == Location::kSameAsFirstInput) {
357 } else if (output.IsRegister() || output.IsFpuRegister()) {
360 current->SetRegister(output.reg());
361 BlockRegister(output, position, position + 1);
362 } else if (output.IsPair()) {
364 current->SetRegister(output
[all...]
/art/dexlayout/
H A Dcompact_dex_writer.cc382 bool CompactDexWriter::Write(DexContainer* output, std::string* error_msg) { argument
385 CHECK(output->IsCompactDexContainer());
391 Container* const container = down_cast<Container*>(output);
393 Stream temp_main_stream(output->GetMainSection());
394 CHECK_EQ(output->GetMainSection()->Size(), 0u);
395 Stream temp_data_stream(output->GetDataSection());
402 static_cast<uint32_t>(output->GetDataSection()->Size()),
516 output->GetMainSection()->Resize(header_->FileSize());
517 output->GetDataSection()->Resize(data_stream->Tell());
521 header_->SetChecksum(CompactDexFile::CalculateChecksum(output
[all...]
H A Ddex_verify.cc35 dex_ir::Collections& output = output_header->GetCollections(); local
38 if (!VerifyIds(orig.StringIds(), output.StringIds(), "string ids", error_msg) ||
39 !VerifyIds(orig.TypeIds(), output.TypeIds(), "type ids", error_msg) ||
40 !VerifyIds(orig.ProtoIds(), output.ProtoIds(), "proto ids", error_msg) ||
41 !VerifyIds(orig.FieldIds(), output.FieldIds(), "field ids", error_msg) ||
42 !VerifyIds(orig.MethodIds(), output.MethodIds(), "method ids", error_msg)) {
46 if (!VerifyClassDefs(orig.ClassDefs(), output.ClassDefs(), error_msg)) {
53 std::vector<std::unique_ptr<T>>& output,
56 if (orig.size() != output.size()) {
58 "Mismatched size for %s section: %zu vs %zu.", section_name, orig.size(), output
52 VerifyIds(std::vector<std::unique_ptr<T>>& orig, std::vector<std::unique_ptr<T>>& output, const char* section_name, std::string* error_msg) argument
69 VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg) argument
81 VerifyId(dex_ir::TypeId* orig, dex_ir::TypeId* output, std::string* error_msg) argument
93 VerifyId(dex_ir::ProtoId* orig, dex_ir::ProtoId* output, std::string* error_msg) argument
118 VerifyId(dex_ir::FieldId* orig, dex_ir::FieldId* output, std::string* error_msg) argument
147 VerifyId(dex_ir::MethodId* orig, dex_ir::MethodId* output, std::string* error_msg) argument
184 VerifyClassDefs(std::vector<std::unique_ptr<dex_ir::ClassDef>>& orig, std::vector<std::unique_ptr<dex_ir::ClassDef>>& output, std::string* error_msg) argument
211 VerifyClassDef(dex_ir::ClassDef* orig, dex_ir::ClassDef* output, std::string* error_msg) argument
266 VerifyTypeList(const dex_ir::TypeList* orig, const dex_ir::TypeList* output) argument
283 VerifyAnnotationsDirectory(dex_ir::AnnotationsDirectoryItem* orig, dex_ir::AnnotationsDirectoryItem* output, std::string* error_msg) argument
314 VerifyFieldAnnotations(dex_ir::FieldAnnotationVector* orig, dex_ir::FieldAnnotationVector* output, uint32_t orig_offset, std::string* error_msg) argument
355 VerifyMethodAnnotations(dex_ir::MethodAnnotationVector* orig, dex_ir::MethodAnnotationVector* output, uint32_t orig_offset, std::string* error_msg) argument
396 VerifyParameterAnnotations(dex_ir::ParameterAnnotationVector* orig, dex_ir::ParameterAnnotationVector* output, uint32_t orig_offset, std::string* error_msg) argument
437 VerifyAnnotationSetRefList(dex_ir::AnnotationSetRefList* orig, dex_ir::AnnotationSetRefList* output, std::string* error_msg) argument
458 VerifyAnnotationSet(dex_ir::AnnotationSetItem* orig, dex_ir::AnnotationSetItem* output, std::string* error_msg) argument
485 VerifyAnnotation(dex_ir::AnnotationItem* orig, dex_ir::AnnotationItem* output, std::string* error_msg) argument
501 VerifyEncodedAnnotation(dex_ir::EncodedAnnotation* orig, dex_ir::EncodedAnnotation* output, uint32_t orig_offset, std::string* error_msg) argument
534 VerifyAnnotationElement(dex_ir::AnnotationElement* orig, dex_ir::AnnotationElement* output, uint32_t orig_offset, std::string* error_msg) argument
549 VerifyEncodedValue(dex_ir::EncodedValue* orig, dex_ir::EncodedValue* output, uint32_t orig_offset, std::string* error_msg) argument
701 VerifyEncodedArray(dex_ir::EncodedArrayItem* orig, dex_ir::EncodedArrayItem* output, std::string* error_msg) argument
731 VerifyClassData(dex_ir::ClassData* orig, dex_ir::ClassData* output, std::string* error_msg) argument
760 VerifyFields(dex_ir::FieldItemVector* orig, dex_ir::FieldItemVector* output, uint32_t orig_offset, std::string* error_msg) argument
793 VerifyMethods(dex_ir::MethodItemVector* orig, dex_ir::MethodItemVector* output, uint32_t orig_offset, std::string* error_msg) argument
829 VerifyCode(dex_ir::CodeItem* orig, dex_ir::CodeItem* output, std::string* error_msg) argument
886 VerifyDebugInfo(dex_ir::DebugInfoItem* orig, dex_ir::DebugInfoItem* output, std::string* error_msg) argument
917 VerifyTries(dex_ir::TryItemVector* orig, dex_ir::TryItemVector* output, uint32_t orig_offset, std::string* error_msg) argument
964 VerifyHandlers(dex_ir::CatchHandlerVector* orig, dex_ir::CatchHandlerVector* output, uint32_t orig_offset, std::string* error_msg) argument
991 VerifyHandler(const dex_ir::CatchHandler* orig, const dex_ir::CatchHandler* output, uint32_t orig_offset, std::string* error_msg) argument
[all...]
H A Ddex_writer.cc791 bool DexWriter::Write(DexContainer* output, std::string* error_msg) { argument
794 Stream stream_storage(output->GetMainSection());
909 output->GetMainSection()->Resize(header_->FileSize());
/art/runtime/native/
H A Ddalvik_system_VMDebug.cc449 std::string output = std::to_string(heap->GetGcCount()); local
450 return env->NewStringUTF(output.c_str());
453 std::string output = std::to_string(NsToMs(heap->GetGcTime())); local
454 return env->NewStringUTF(output.c_str());
457 std::string output = std::to_string(heap->GetBytesAllocatedEver()); local
458 return env->NewStringUTF(output.c_str());
461 std::string output = std::to_string(heap->GetBytesFreedEver()); local
462 return env->NewStringUTF(output.c_str());
465 std::string output = std::to_string(heap->GetBlockingGcCount()); local
466 return env->NewStringUTF(output
469 std::string output = std::to_string(NsToMs(heap->GetBlockingGcTime())); local
473 std::ostringstream output; local
478 std::ostringstream output; local
533 std::ostringstream output; local
541 std::ostringstream output; local
[all...]
/art/sigchainlib/
H A Dsigchain.cc123 static void lookup_next_symbol(T* output, T wrapper, const char* name) { argument
131 *output = reinterpret_cast<T>(sym);
/art/openjdkjvmti/
H A Dti_class.cc365 art::mirror::Class* output = klass.Get(); local
367 FixupGlobalReferenceTables(input, output);
368 FixupLocalReferenceTables(self, input, output);
369 FixupHeap(input, output);
378 RootUpdater(const art::mirror::Class* input, art::mirror::Class* output) argument
379 : input_(input), output_(output) {}
408 void FixupGlobalReferenceTables(art::mirror::Class* input, art::mirror::Class* output)
413 RootUpdater global_update(input, output);
432 WeakGlobalUpdate weak_global_update(input, output);
438 art::mirror::Class* output)
[all...]
/art/profman/
H A Dprofile_assistant_test.cc266 std::string* output) {
275 argv_str.push_back("--dump-output-to-fd=" + std::to_string(GetFd(output_file)));
284 *output = std::string(buf.get(), length);
1126 std::string output; local
1127 DumpOnly(profile.GetFilename(), &output);
1128 const size_t hot_offset = output.find("hot methods:");
1129 const size_t startup_offset = output.find("startup methods:");
1130 const size_t post_startup_offset = output.find("post startup methods:");
1131 const size_t classes_offset = output.find("classes:");
1139 const size_t pos = output
264 RunProfman(const std::string& filename, std::vector<std::string>& extra_args, std::string* output) argument
[all...]

Completed in 1114 milliseconds

12