/art/runtime/ |
H A D | indenter_test.cc | 23 std::ostringstream output; local 24 Indenter indent_filter(output.rdbuf(), '\t', 2); 27 EXPECT_EQ(output.str(), ""); 30 EXPECT_EQ(output.str(), "\t\thello"); 33 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again"); 36 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again\n");
|
/art/compiler/linker/ |
H A D | error_delaying_output_stream.h | 29 explicit ErrorDelayingOutputStream(OutputStream* output) argument 30 : OutputStream(output->GetLocation()), 31 output_(output), 36 // Use Good() to check the actual status of the output stream. 50 // Use Good() to check the actual status of the output stream. 53 // the expected value even if the output stream failed. 79 // Flush the output and return whether all operations have succeeded. 95 bool output_good_; // True if all writes to output succeeded.
|
H A D | output_stream_test.cc | 95 std::vector<uint8_t> output; local 96 VectorOutputStream output_stream("test vector output", &output); 99 CheckTestOutput(output);
|
H A D | multi_oat_relative_patcher_test.cc | 207 std::vector<uint8_t> output; local 208 VectorOutputStream vos("output", &output); 255 ASSERT_EQ(arraysize(expected_output), output.size()); 257 ASSERT_EQ(expected_output[i], output[i]) << i;
|
/art/test/050-sync-test/src/ |
H A D | Main.java | 109 output(mNumber); 117 void output(int num) { method in class:CpuThread
|
/art/tools/dexfuzz/src/dexfuzz/ |
H A D | ExecutionResult.java | 22 * Stores the output of an executed command. 25 public List<String> output; field in class:ExecutionResult 39 * Get only the output, with all lines concatenated together, excluding newline characters. 44 for (String line : output) { 53 * Get only the output, with all lines concatenated together, including newline characters. 58 for (String line : output) { 95 * Get both the output and error, concatenated together, excluding newline characters.
|
H A D | StreamConsumer.java | 28 * 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 D | cfi_test.h | 84 std::vector<std::string>* output) { 96 output->push_back(line); 100 // Find interesting parts of objdump output and prefix the lines with address. 102 std::vector<std::string>* output) { 124 output->push_back(address + ": " + new_line); 83 ReformatAsm(std::stringstream* stream, std::vector<std::string>* output) argument 101 ReformatCfi(const std::vector<std::string>& lines, std::vector<std::string>* output) argument
|
H A D | elf_builder.h | 211 // This function flushes the output and returns whether it succeeded. 461 ElfBuilder(InstructionSet isa, const InstructionSetFeatures* features, OutputStream* output) argument 464 stream_(output), 733 // Returns true if all writes and seeks on the output stream succeeded.
|
/art/compiler/debug/dwarf/ |
H A D | dwarf_test.h | 52 // Check that the objdump output contains given output. 89 FILE* output = popen(cmd.data(), "r"); local 92 while ((line = fgets(buffer, sizeof(buffer), output)) != nullptr) { 106 pclose(output); 118 // Compare objdump output to the recorded checks. 127 "Seen end of output."; 149 "Not found anywhere in the rest of the output."; 165 // The expected output of objdump.
|
/art/tools/dexfuzz/src/dexfuzz/listeners/ |
H A D | UniqueProgramTrackerListener.java | 105 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/compiler/optimizing/ |
H A D | graph_visualizer.cc | 136 void Disassemble(std::ostream& output, size_t start, size_t end) const { argument 147 disassembler_->Dump(output, base + start, base + end); 164 std::ostream& output, 171 output_(output), 769 HGraphVisualizer::HGraphVisualizer(std::ostream* output, argument 772 : output_(output), graph_(graph), codegen_(codegen) {} 163 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 D | register_allocator.cc | 355 // Some instructions define their output in fixed register/stack slot. We need 362 Location output = locations->Out(); local 363 if (output.IsUnallocated() && output.GetPolicy() == Location::kSameAsFirstInput) { 375 } else if (output.IsRegister() || output.IsFpuRegister()) { 378 current->SetRegister(output.reg()); 379 BlockRegister(output, position, position + 1); 380 } else if (output.IsPair()) { 382 current->SetRegister(output [all...] |
H A D | intrinsics_arm.cc | 86 Location output = locations->Out(); local 88 __ vmovrrd(output.AsRegisterPairLow<Register>(), 89 output.AsRegisterPairHigh<Register>(), 92 __ vmovrs(output.AsRegister<Register>(), input.AsFpuRegister<SRegister>()); 98 Location output = locations->Out(); local 100 __ vmovdrr(FromLowSToD(output.AsFpuRegisterPairLow<SRegister>()), 104 __ vmovsr(output.AsFpuRegister<SRegister>(), input.AsRegister<Register>()); 285 Location output = locations->Out(); local 292 Register out_reg_lo = output.AsRegisterPairLow<Register>(); 293 Register out_reg_hi = output [all...] |
H A D | intrinsics_arm64.cc | 122 // Copy the result back to the expected output. 125 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 187 Location output = locations->Out(); local 188 __ Fmov(is64bit ? XRegisterFrom(output) : WRegisterFrom(output), 194 Location output = locations->Out(); local 195 __ Fmov(is64bit ? DRegisterFrom(output) : SRegisterFrom(output), 450 Location output = locations->Out(); local 453 Register out_reg = is64bit ? XRegisterFrom(output) [all...] |
H A D | intrinsics_x86.cc | 113 Location output = locations->Out(); local 118 __ movd(output.AsRegisterPairLow<Register>(), temp); 120 __ movd(output.AsRegisterPairHigh<Register>(), temp); 122 __ movd(output.AsRegister<Register>(), input.AsFpuRegister<XmmRegister>()); 128 Location output = locations->Out(); local 136 __ movsd(output.AsFpuRegister<XmmRegister>(), temp1); 138 __ movd(output.AsFpuRegister<XmmRegister>(), input.AsRegister<Register>()); 231 Location output = locations->Out(); local 232 Register output_lo = output.AsRegisterPairLow<Register>(); 233 Register output_hi = output 277 Location output = locations->Out(); local 334 Location output = locations->Out(); local 365 Location output = locations->Out(); local 585 Location output = locations->Out(); local 1856 Register output = output_loc.AsRegister<Register>(); local 1862 Register output = output_loc.AsRegister<Register>(); local [all...] |
H A D | intrinsics_x86_64.cc | 100 Location output = locations->Out(); local 101 __ movd(output.AsRegister<CpuRegister>(), input.AsFpuRegister<XmmRegister>(), is64bit); 106 Location output = locations->Out(); local 107 __ movd(output.AsFpuRegister<XmmRegister>(), input.AsRegister<CpuRegister>(), is64bit); 211 Location output = locations->Out(); local 213 DCHECK(output.IsFpuRegister()); 221 __ andpd(output.AsFpuRegister<XmmRegister>(), xmm_temp); 224 __ andps(output.AsFpuRegister<XmmRegister>(), xmm_temp); 254 Location output = locations->Out(); local 255 CpuRegister out = output 1942 CpuRegister output = output_loc.AsRegister<CpuRegister>(); local [all...] |
H A D | code_generator_x86.cc | 1584 // If the condition is true, overwrite the output, which already contains false. 1682 // Clear output register: setb only sets the low byte. 2189 // Make the output overlap to please the register allocator. This greatly simplifies 2201 // Make the output overlap to please the register allocator. This greatly simplifies 2476 Register output = out.AsRegister<Register>(); local 2480 __ movl(output, Immediate(kPrimIntMax)); 2481 // temp = int-to-float(output) 2482 __ cvtsi2ss(temp, output); 2488 // output = float-to-int-truncate(input) 2489 __ cvttss2si(output, inpu 2501 Register output = out.AsRegister<Register>(); local [all...] |
H A D | code_generator_x86_64.cc | 1608 // If the condition is true, overwrite the output, which already contains false. 1680 // Clear output register: setcc only sets the low byte. 1694 // Clear output register: setcc only sets the low byte. 2610 CpuRegister output = out.AsRegister<CpuRegister>(); local 2613 __ movl(output, Immediate(kPrimIntMax)); 2619 // output = float-to-int-truncate(input) 2620 __ cvttss2si(output, input, false); 2623 // output = 0 2624 __ xorl(output, output); 2632 CpuRegister output = out.AsRegister<CpuRegister>(); local 2674 CpuRegister output = out.AsRegister<CpuRegister>(); local 2696 CpuRegister output = out.AsRegister<CpuRegister>(); local [all...] |
/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 378 std::string output = std::to_string(heap->GetGcCount()); local 379 return env->NewStringUTF(output.c_str()); 382 std::string output = std::to_string(NsToMs(heap->GetGcTime())); local 383 return env->NewStringUTF(output.c_str()); 386 std::string output = std::to_string(heap->GetBytesAllocatedEver()); local 387 return env->NewStringUTF(output.c_str()); 390 std::string output = std::to_string(heap->GetBytesFreedEver()); local 391 return env->NewStringUTF(output.c_str()); 394 std::string output = std::to_string(heap->GetBlockingGcCount()); local 395 return env->NewStringUTF(output 398 std::string output = std::to_string(NsToMs(heap->GetBlockingGcTime())); local 402 std::ostringstream output; local 407 std::ostringstream output; local 460 std::ostringstream output; local 468 std::ostringstream output; local [all...] |