/art/runtime/ |
H A D | indenter_test.cc | 26 std::ostream input(&indent_filter); 30 input << "hello"; 33 input << "\nhello again"; 36 input << "\n";
|
/art/tools/dmtracedump/ |
H A D | dmtracedump.pl | 8 $input = $_; 9 $input =~ s/\.data$//; 11 $output = "$input.html"; 13 print("dmtracedump -h -p $input > $output\n"); 14 system("dmtracedump -h -p '$input' > '$output'");
|
/art/libartbase/base/ |
H A D | transform_iterator_test.cc | 45 std::vector<ValueHolder> input({ 1, 7, 3, 8 }); 48 using vector_titer = decltype(MakeTransformIterator(input.begin(), add1)); 55 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1)); 62 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1)); 69 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1)); 76 std::copy(MakeTransformIterator(input.begin(), add1), 77 MakeTransformIterator(input.end(), add1), 82 std::copy(MakeTransformIterator(input.cbegin(), add1), 83 MakeTransformIterator(input.cend(), add1), 88 std::copy(MakeTransformIterator(input [all...] |
H A D | transform_array_ref_test.cc | 42 std::vector<ValueHolder> input({ 7, 6, 4, 0 }); 45 auto taref = MakeTransformArrayRef(input, add1); 71 ASSERT_EQ(input.size(), taref.size()); 72 ASSERT_EQ(input.empty(), taref.empty()); 73 ASSERT_EQ(input.front().value + 1, taref.front()); 74 ASSERT_EQ(input.back().value + 1, taref.back()); 76 for (size_t i = 0; i != input.size(); ++i) { 77 ASSERT_EQ(input[i].value + 1, taref[i]); 83 std::vector<ValueHolder> input({ 4, 4, 5, 7, 10 }); 86 auto taref = MakeTransformArrayRef(input, sub [all...] |
/art/test/517-checker-builder-fallthrough/src/ |
H A D | Main.java | 21 public static int runTest(int input) throws Exception { argument 24 return (Integer) m.invoke(null, input);
|
/art/tools/ |
H A D | stream-trace-converter.py | 63 def Copy(input, output, length): 64 buf = input.read(length) 78 def ProcessDataHeader(self, input, body): 79 magic = ReadIntLE(input) 85 version = ReadShortLE(input) 96 offsetToData = ReadShortLE(input) - 16 100 Copy(input, body, 8) 107 self._mRecordSize = ReadShortLE(input) 112 Copy(input, body, offsetToData) 114 def ProcessMethod(self, input) [all...] |
H A D | symbolize.sh | 33 read -e input 34 if [ "x$input" = "xn" ] ; then 37 if [ "x$input" = "xq" ] ; then
|
/art/test/468-checker-bool-simplif-regression/src/ |
H A D | Main.java | 21 public static boolean runTest(boolean input) throws Exception { argument 25 f.set(null, (Boolean) input);
|
/art/compiler/optimizing/ |
H A D | ssa_phi_elimination.cc | 78 HPhi* input = raw_input->AsPhi(); local 79 if (input != nullptr && input->IsDead()) { 82 DCHECK(ContainsElement(initially_live, input)); 83 input->SetLive(); 84 worklist.push_back(input); 173 for (HInstruction* input : phi->GetInputs()) { 174 if (input == phi) { 177 candidate = input; 178 } else if (candidate != input) { [all...] |
H A D | licm.cc | 34 for (const HInstruction* input : instruction->GetInputs()) { 35 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation(); 36 // We only need to check whether the input is defined in the loop. If it is not 47 HInstruction* input = environment->GetInstructionAt(i); local 48 if (input != nullptr) { 49 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation(); 52 // we will just replace that phi with its first input later in `UpdateLoopPhisIn`. 53 bool is_loop_header_phi = IsPhiOf(input, info->GetHeader()); 65 * If `environment` has a loop header phi, we replace it with its first input. 70 HInstruction* input local [all...] |
H A D | nodes_x86.h | 72 HInstruction* input, 77 SetRawInputAt(0, input); 96 HInstruction* input, 102 SetRawInputAt(0, input); 71 HX86FPNeg(DataType::Type result_type, HInstruction* input, HX86ComputeBaseMethodAddress* method_base, uint32_t dex_pc) argument 94 HX86PackedSwitch(int32_t start_value, int32_t num_entries, HInstruction* input, HX86ComputeBaseMethodAddress* method_base, uint32_t dex_pc) argument
|
H A D | graph_checker.cc | 352 for (HInstruction* input : instruction->GetInputs()) { 353 if (input->GetBlock() == nullptr) { 356 input->GetId(), 359 const HInstructionList& list = input->IsPhi() 360 ? input->GetBlock()->GetPhis() 361 : input->GetBlock()->GetInstructions(); 362 if (!list.Contains(input)) { 365 input->GetId(), 413 HInstruction* input = input_record.GetInstruction(); local 414 if ((input_record.GetBeforeUseNode() == input 553 HInstruction* input = check->InputAt(1); local 565 HInstruction* input = instruction->InputAt(1); local 735 HInstruction* input = input_records[i].GetInstruction(); local 791 HInstruction* input = input_records[i].GetInstruction(); local 867 HInstruction* input = instruction->InputAt(input_index); local [all...] |
H A D | nodes_mips.h | 46 HInstruction* input, 52 SetRawInputAt(0, input); 44 HMipsPackedSwitch(int32_t start_value, int32_t num_entries, HInstruction* input, HMipsComputeBaseMethodAddress* method_base, uint32_t dex_pc) argument
|
H A D | ssa_builder.cc | 129 for (HInstruction* input : phi->GetInputs()) { 130 if (input->IsPhi() && input->AsPhi()->IsDead()) { 131 // Phis are constructed live so if an input is a dead phi, it must have 136 DataType::Type input_type = HPhi::ToPhiType(input->GetType()); 176 for (HInstruction* input : phi->GetInputs()) { 177 DCHECK(HPhi::ToPhiType(input->GetType()) == common_type); 187 HInstruction* input = inputs[i]; local 188 if (input->GetType() != common_type) { 189 // Input type does not match phi's type. Try to retype the input o 462 HInstruction* input = new_instance->InputAt(0); local [all...] |
H A D | nodes_vector.h | 206 HInstruction* input, 217 SetRawInputAt(0, input); 305 inline static bool HasConsistentPackedTypes(HInstruction* input, DataType::Type type) { argument 306 if (input->IsPhi()) { 307 return input->GetType() == HVecOperation::kSIMDType; // carries SIMD 309 DCHECK(input->IsVecOperation()); 310 DataType::Type input_type = input->AsVecOperation()->GetPackedType(); 351 HInstruction* input, 357 kVecExtractScalar, allocator, input, packed_type, vector_length, dex_pc) { 358 DCHECK(HasConsistentPackedTypes(input, packed_typ 204 HVecUnaryOperation(InstructionKind kind, ArenaAllocator* allocator, HInstruction* input, DataType::Type packed_type, size_t vector_length, uint32_t dex_pc) argument 350 HVecExtractScalar(ArenaAllocator* allocator, HInstruction* input, DataType::Type packed_type, size_t vector_length, size_t index, uint32_t dex_pc) argument 389 HVecReduce(ArenaAllocator* allocator, HInstruction* input, DataType::Type packed_type, size_t vector_length, ReductionKind kind, uint32_t dex_pc) argument 423 HVecCnv(ArenaAllocator* allocator, HInstruction* input, DataType::Type packed_type, size_t vector_length, uint32_t dex_pc) argument 448 HVecNeg(ArenaAllocator* allocator, HInstruction* input, DataType::Type packed_type, size_t vector_length, uint32_t dex_pc) argument 470 HVecAbs(ArenaAllocator* allocator, HInstruction* input, DataType::Type packed_type, size_t vector_length, uint32_t dex_pc) argument 492 HVecNot(ArenaAllocator* allocator, HInstruction* input, DataType::Type packed_type, size_t vector_length, uint32_t dex_pc) argument [all...] |
H A D | prepare_for_register_allocation.h | 54 bool CanMoveClinitCheck(HInstruction* input, HInstruction* user) const;
|
H A D | ssa_liveness_analysis.cc | 111 HInstruction* input = inputs[i]; local 113 bool has_out_location = input->GetLocations()->Out().IsValid(); 118 << " expects an input value at index " << i << " but " 119 << input->DebugName() << input->GetId() << " does not produce one."; 120 DCHECK(input->HasSsaIndex()); 121 // `input` generates a result used by `current`. Add use and update 123 input->GetLiveInterval()->AddUse(current, /* environment */ nullptr, i, actual_user); 124 live_in->SetBit(input->GetSsaIndex()); 126 // `input` generate 163 HInstruction* input = phi->InputAt(phi_input_index); local [all...] |
H A D | prepare_for_register_allocation.cc | 79 // BoundType (as value input of this ArraySet) with a NullConstant. 190 // If this was done in an earlier pass, we would want to match that `previous` was an input 218 << "Last input is not HLoadClass. It is " << last_input->DebugName(); 230 bool PrepareForRegisterAllocation::CanMoveClinitCheck(HInstruction* input, argument 232 // Determine if input and user come from the same dex instruction, so that we can move 234 // to HLoadClass (input), or from HClinitCheck (input) to HInvokeStaticOrDirect (user), 235 // or from HLoadClass (input) to HNewInstance (user). 238 if (user->GetDexPc() != input->GetDexPc()) { 245 HEnvironment* input_environment = input [all...] |
H A D | dead_code_elimination.cc | 103 static bool HasInput(HCondition* instruction, HInstruction* input) { argument 104 return (instruction->InputAt(0) == input) || 105 (instruction->InputAt(1) == input); 291 // i1 = phi(input, input) 314 // predecessor corresponds to a given statically evaluated input. 350 HInstruction* input = phi->InputAt(i); local 353 if (input->IsIntConstant()) { 354 value_to_check = input; 359 value_to_check = Evaluate(first->AsCondition(), input, firs [all...] |
H A D | pretty_printer.h | 47 for (const HInstruction* input : inputs) { 53 PrintInt(input->GetId());
|
/art/tools/cpp-define-generator/ |
H A D | main.cc | 28 std::string to_upper(std::string input) { argument 29 std::transform(input.begin(), input.end(), input.begin(), ::toupper); 30 return input;
|
/art/test/633-checker-rtp-getclass/src/ |
H A D | Main.java | 36 public static int $noinline$runSmaliTest(String name, Main input) { argument 40 return (Integer) m.invoke(null, input);
|
/art/test/910-methods/src/art/ |
H A D | Test910.java | 169 Class<?>[] input = new Class<?>[count + 1]; 170 input[0] = Runnable.class; 175 input[inputIndex++] = Class.forName("art.Test910$I" + bitIndex); 180 return Proxy.getProxyClass(Test910.class.getClassLoader(), input);
|
/art/test/593-checker-boolean-2-integral-conv/src/ |
H A D | Main.java | 178 public static long $noinline$runSmaliTest(String name, boolean input) { argument 182 return (Long) m.invoke(null, input);
|
/art/test/093-serialization/src/ |
H A D | Main.java | 59 static void checkStream(byte[] input) throws IOException { argument 60 ByteArrayInputStream byteStream = new ByteArrayInputStream(input);
|