/art/runtime/ |
D | reflection_test.cc | 146 jvalue args[1]; in InvokeIdentityByteMethod() local 148 args[0].b = 0; in InvokeIdentityByteMethod() 149 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() 152 args[0].b = -1; in InvokeIdentityByteMethod() 153 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() 156 args[0].b = SCHAR_MAX; in InvokeIdentityByteMethod() 157 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() 161 args[0].b = SCHAR_MIN; in InvokeIdentityByteMethod() 162 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() 172 jvalue args[1]; in InvokeIdentityIntMethod() local [all …]
|
D | common_throws.cc | 50 mirror::Class* referrer, const char* fmt, va_list* args = nullptr) in ThrowException() argument 53 if (args != nullptr) { in ThrowException() 55 StringAppendV(&vmsg, fmt, *args); in ThrowException() 66 mirror::Class* referrer, const char* fmt, va_list* args = nullptr) in ThrowWrappedException() argument 69 if (args != nullptr) { in ThrowWrappedException() 71 StringAppendV(&vmsg, fmt, *args); in ThrowWrappedException() 141 va_list args; in ThrowClassCircularityError() local 142 va_start(args, fmt); in ThrowClassCircularityError() 143 ThrowException("Ljava/lang/ClassCircularityError;", c, fmt, &args); in ThrowClassCircularityError() 144 va_end(args); in ThrowClassCircularityError() [all …]
|
D | parsed_options.cc | 464 RuntimeArgumentMap args = parser->ReleaseArgumentsMap(); in DoParse() local 467 if (args.Exists(M::Help)) { in DoParse() 470 } else if (args.Exists(M::ShowVersion)) { in DoParse() 473 } else if (args.Exists(M::BootClassPath)) { in DoParse() 474 LOG(INFO) << "setting boot class path to " << *args.Get(M::BootClassPath); in DoParse() 477 if (args.GetOrDefault(M::UseJitCompilation) && args.GetOrDefault(M::Interpret)) { in DoParse() 484 args.SetIfMissing(M::BootClassPath, std::string(getenv("BOOTCLASSPATH"))); in DoParse() 489 args.SetIfMissing(M::ClassPath, std::string(getenv("CLASSPATH"))); in DoParse() 493 args.SetIfMissing(M::ParallelGCThreads, gc::Heap::kDefaultEnableParallelGC ? in DoParse() 498 LogVerbosity *log_verbosity = args.Get(M::Verbose); in DoParse() [all …]
|
D | check_jni.cc | 458 bool Check(ScopedObjectAccess& soa, bool entry, const char* fmt, JniValueType* args) in Check() argument 474 TracePossibleHeapValue(soa, entry, fmt[i], args[i], &msg); in Check() 499 if (!CheckPossibleHeapValue(soa, fmt[i], args[i])) { in Check() 507 bool CheckNonHeap(JavaVMExt* vm, bool entry, const char* fmt, JniValueType* args) { in CheckNonHeap() argument 522 TraceNonHeapValue(fmt[i], args[i], &msg); in CheckNonHeap() 550 if (!CheckNonHeapValue(fmt[i], args[i])) { in CheckNonHeap() 861 VarArgs args(args_p->Clone()); in CheckVarArgs() local 862 ArtMethod* m = CheckMethodID(soa, args.GetMethodID()); in CheckVarArgs() 873 if (!CheckPossibleHeapValue(soa, shorty[i], args.GetValue(shorty[i]))) { in CheckVarArgs() 974 VarArgs args(va->Clone()); in TracePossibleHeapValue() local [all …]
|
/art/disassembler/ |
D | disassembler_arm.cc | 254 std::ostringstream args; in DumpArm() local 263 args << '#' << ((imm12 << 4) | imm4); in DumpArm() 268 args << ArmRegister(instruction & 0xf); in DumpArm() 282 args << ArmRegister(instruction, 12) << ", "; in DumpArm() 284 args << ShiftedImmediate(instruction); in DumpArm() 287 args << ArmRegister(instruction, 16) << ", " << ArmRegister(instruction, 0); in DumpArm() 296 args << ArmRegister(instruction, 12) << ", "; in DumpArm() 299 args << ArmRegister(instruction, 16) << ", " << ShiftedImmediate(instruction); in DumpArm() 302 args << ArmRegister(instruction, 16) << ", " << ArmRegister(instruction, 0); in DumpArm() 314 args << ArmRegister(instruction, 12) << ", "; in DumpArm() [all …]
|
D | disassembler_mips.cc | 420 std::ostringstream args; in Dump() local 433 args << sa; in Dump() 440 args << FormatInstructionPointer(instr_ptr + offset) in Dump() 449 args << FormatInstructionPointer(instr_ptr + offset) in Dump() 454 args << "cc" << (sa >> 2); in Dump() 457 args << "cc" << (rt >> 2); in Dump() 459 case 'D': args << 'r' << rd; break; in Dump() 460 case 'd': args << 'f' << rd; break; in Dump() 461 case 'a': args << 'f' << sa; break; in Dump() 476 args << reinterpret_cast<void*>((instruction & 0xffff) << 16); in Dump() [all …]
|
/art/test/412-new-array/src/ |
D | Main.java | 24 public static void main(String[] args) throws Exception { in main() argument 153 Object[] args = {new Integer(1), new Integer(2), new Integer(3)}; in testSmaliFilledNewArray() local 154 int[] result = (int[])m.invoke(null, args); in testSmaliFilledNewArray() 163 Object[] args = {new Integer(1), new Integer(2)}; in testSmaliFilledNewArray() local 164 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray() 166 assertEquals(args[0], result[0]); in testSmaliFilledNewArray() 167 assertEquals(args[1], result[1]); in testSmaliFilledNewArray() 172 Object[] args = {new int[0], new int[1]}; in testSmaliFilledNewArray() local 173 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray() 175 assertEquals(args[0], result[0]); in testSmaliFilledNewArray() [all …]
|
/art/compiler/utils/ |
D | assembler_test_base.h | 213 std::vector<std::string> args; in Assemble() local 218 args.push_back(GetAssemblerCommand()); in Assemble() 219 args.push_back("-o"); in Assemble() 220 args.push_back(to_file); in Assemble() 221 args.push_back(from_file); in Assemble() 222 std::string cmd = Join(args, ' '); in Assemble() 224 args.clear(); in Assemble() 225 args.push_back("/bin/sh"); in Assemble() 226 args.push_back("-c"); in Assemble() 227 args.push_back(cmd); in Assemble() [all …]
|
D | test_dex_file_builder.h | 69 for (const auto& arg_type : proto_key.args) { in AddMethod() 126 size_t num_args = entry.first.args.size(); in Build() 181 size_t num_args = entry.first.args.size(); in Build() 193 GetTypeIdx(entry.first.args[i])); in Build() 292 std::vector<std::string> args; member 299 size_t min_args = std::min(lhs.args.size(), rhs.args.size()); in operator() 301 if (lhs.args[i] != rhs.args[i]) { in operator() 302 return lhs.args[i] < rhs.args[i]; in operator() 305 return lhs.args.size() < rhs.args.size(); in operator() 328 const char* args = signature.c_str() + 1; in CreateProtoKey() local [all …]
|
/art/test/955-lambda-smali/ |
D | expected.txt | 2 Hello world! (0-args, no closure) 3 ABCD Hello world! (4-args, no closure) 5 (BoxUnbox) Hello boxing world! (0-args, no closure) 19 (CaptureVariables) (0-args, 1 captured variable 'Z'): value is true 20 (CaptureVariables) (0-args, 1 captured variable 'B'): value is R 21 (CaptureVariables) (0-args, 1 captured variable 'C'): value is ∂ 22 (CaptureVariables) (0-args, 1 captured variable 'S'): value is 1000 23 (CaptureVariables) (0-args, 1 captured variable 'I'): value is 12345678 24 (CaptureVariables) (0-args, 1 captured variable 'J'): value is 3287471278325742 25 (CaptureVariables) (0-args, 1 captured variable 'F'): value is Infinity [all …]
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_cc_arm.cc | 28 static void quick_invoke_reg_setup(ArtMethod* method, uint32_t* args, uint32_t args_size, in quick_invoke_reg_setup() argument 42 core_reg_args[gpr_index++] = args[arg_index++]; in quick_invoke_reg_setup() 57 fp_reg_args[fpr_double_index++] = args[arg_index]; in quick_invoke_reg_setup() 58 fp_reg_args[fpr_double_index++] = args[arg_index + 1]; in quick_invoke_reg_setup() 74 fp_reg_args[fpr_index++] = args[arg_index]; in quick_invoke_reg_setup() 86 core_reg_args[gpr_index++] = args[arg_index]; in quick_invoke_reg_setup() 92 core_reg_args[gpr_index++] = args[arg_index]; in quick_invoke_reg_setup() 98 art_quick_invoke_stub_internal(method, args, args_size, self, result, result_in_float, in quick_invoke_reg_setup() 104 extern "C" void art_quick_invoke_stub(ArtMethod* method, uint32_t* args, uint32_t args_size, in art_quick_invoke_stub() argument 106 quick_invoke_reg_setup<false>(method, args, args_size, self, result, shorty); in art_quick_invoke_stub() [all …]
|
/art/tools/ |
D | run-jdwp-tests.sh | 45 args=$@ 80 args=${args/$1} 85 args=${args/$1} 89 args=${args/$1} 93 args=${args/$1} 121 $args \
|
/art/runtime/lambda/ |
D | closure_test.cc | 94 Args&& ... args) { in CreateClosureStaticVariables() 96 const size_t static_size = GetArgsSize(args ...) + header_size; in CreateClosureStaticVariables() 105 CopyArgs(closure_ptr->captured_[0].static_variables_, args ...); in CreateClosureStaticVariables() 113 static void CopyArgs(uint8_t destination[], T&& arg, Args&& ... args) { in CopyArgs() argument 115 CopyArgs(destination + sizeof(arg), args ...); in CopyArgs() 129 Args&& ... args) { in CreateClosureStaticVariablesFromBuilder() 134 CaptureVariableFromArgsList(/*out*/closure_builder, args ...); in CreateClosureStaticVariablesFromBuilder() 136 EXPECT_EQ(sizeof...(args), closure_builder.GetCaptureCount()); in CreateClosureStaticVariablesFromBuilder() 139 const size_t static_size = GetArgsSize(args ...) + header_size; in CreateClosureStaticVariablesFromBuilder() 159 static void CaptureVariableFromArgsList(/*out*/ClosureBuilder& closure_builder, Args ... args) { in CaptureVariableFromArgsList() argument [all …]
|
D | leaking_allocator.h | 55 static T* MakeFlexibleInstance(Thread* self, size_t byte_size, Args&&... args) { in MakeFlexibleInstance() argument 56 return new (AllocateMemory<T>(self, byte_size)) T(std::forward<Args>(args)...); in MakeFlexibleInstance() 61 static T* MakeInstance(Thread* self, Args&&... args) { in MakeInstance() argument 62 return new (AllocateMemory<T>(self, sizeof(T))) T(std::forward<Args>(args)...); in MakeInstance()
|
/art/tools/checker/ |
D | checker.py | 98 args = ParseArguments() variable 100 if args.quiet: 103 if args.list_passes: 104 ListPasses(args.tested_file) 105 elif args.dump_pass: 106 DumpPass(args.tested_file, args.dump_pass) 108 RunTests(args.check_prefix, args.source_path, args.tested_file, args.arch, args.debuggable)
|
/art/tools/ahat/test/ |
D | Tests.java | 22 public static void main(String[] args) { in main() argument 23 if (args.length == 0) { in main() 24 args = new String[]{ in main() 32 JUnitCore.main(args); in main()
|
/art/test/137-cfi/ |
D | run | 20 --args --full-signatures --args --test-local --args --test-remote 25 ${RUN} "$@" -Xcompiler-option --generate-mini-debug-info --args --test-remote
|
/art/tools/ahat/src/ |
D | Main.java | 40 public static void main(String[] args) throws IOException { in main() argument 42 for (String arg : args) { in main() 50 for (int i = 0; i < args.length; i++) { in main() 51 if ("-p".equals(args[i]) && i + 1 < args.length) { in main() 53 port = Integer.parseInt(args[i]); in main() 60 hprof = new File(args[i]); in main()
|
D | DocString.java | 45 public static DocString format(String format, Object... args) { in format() argument 47 return doc.appendFormat(format, args); in format() 79 public DocString appendFormat(String format, Object... args) { in appendFormat() argument 80 append(String.format(format, args)); in appendFormat() 132 public static URI formattedUri(String format, Object... args) { in formattedUri() argument 133 return uri(String.format(format, args)); in formattedUri()
|
/art/test/023-many-interfaces/src/ |
D | Main.java | 2 static public void main(String[] args) throws Exception { in main() argument 3 boolean timing = (args.length >= 1) && args[0].equals("--timing"); in main()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 36 Object* receiver, uint32_t* args, JValue* result) in InterpreterJni() argument 73 result->SetB(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni() 80 result->SetI(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni() 88 reinterpret_cast<Object*>(args[0]))); in InterpreterJni() 101 result->SetI(fn(soa.Env(), klass.get(), args[0], args[1])); in InterpreterJni() 110 reinterpret_cast<Object*>(args[0]))); in InterpreterJni() 112 result->SetI(fn(soa.Env(), klass.get(), arg0.get(), args[1])); in InterpreterJni() 120 result->SetS(fn(soa.Env(), klass.get(), args[0], args[1])); in InterpreterJni() 127 fn(soa.Env(), klass.get(), args[0], args[1]); in InterpreterJni() 135 reinterpret_cast<Object*>(args[0]))); in InterpreterJni() [all …]
|
/art/test/137-cfi/src/ |
D | Main.java | 38 public Main(String[] args) throws Exception { in Main() argument 39 System.loadLibrary(args[0]); in Main() 40 for (String arg : args) { in Main() 59 public static void main(String[] args) throws Exception { in main() argument 60 new Main(args).run(); in main() 122 private static Process exec(String[] args) { in exec() argument 124 return Runtime.getRuntime().exec(args); in exec()
|
/art/test/002-sleep/src/ |
D | Main.java | 2 static public void main(String[] args) throws Exception { in main() argument 5 if (args.length > 1) { in main() 6 millis = Integer.parseInt(args[1]); in main()
|
/art/test/044-proxy/ |
D | expected.txt | 15 (no args) 42 (no args) 47 (no args) 50 (no args) 64 (no args) 67 (no args) 70 (no args) 73 (no args) 76 (no args) 79 (no args) [all …]
|
/art/test/044-proxy/src/ |
D | FloatSelect.java | 29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { in invoke() argument 30 return args[1]; in invoke() 34 public static void main(String[] args) { in main() argument
|