/art/runtime/ |
D | reflection_test.cc | 144 jvalue args[1]; in InvokeIdentityByteMethod() local 146 args[0].b = 0; in InvokeIdentityByteMethod() 147 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() 150 args[0].b = -1; in InvokeIdentityByteMethod() 151 result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() 154 args[0].b = SCHAR_MAX; in InvokeIdentityByteMethod() 155 result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() 158 args[0].b = (SCHAR_MIN << 24) >> 24; in InvokeIdentityByteMethod() 159 result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() 168 jvalue args[1]; in InvokeIdentityIntMethod() local [all …]
|
D | common_throws.cc | 47 mirror::Class* referrer, const char* fmt, va_list* args = NULL) in ThrowException() argument 50 if (args != NULL) { in ThrowException() 52 StringAppendV(&vmsg, fmt, *args); in ThrowException() 69 mirror::Class* referrer, const char* fmt, va_list* args = NULL) in ThrowWrappedException() argument 72 if (args != NULL) { in ThrowWrappedException() 74 StringAppendV(&vmsg, fmt, *args); in ThrowWrappedException() 143 va_list args; in ThrowClassFormatError() local 144 va_start(args, fmt); in ThrowClassFormatError() 145 ThrowException(NULL, "Ljava/lang/ClassFormatError;", referrer, fmt, &args); in ThrowClassFormatError() 146 va_end(args);} in ThrowClassFormatError() [all …]
|
D | jni_internal.cc | 273 jvalue args[2]; in ThrowNewException() local 279 args[0].l = s.get(); in ThrowNewException() 282 args[0].l = cause; in ThrowNewException() 285 args[0].l = s.get(); in ThrowNewException() 286 args[1].l = cause; in ThrowNewException() 297 env, reinterpret_cast<jthrowable>(env->NewObjectA(exception_class, mid, args))); in ThrowNewException() 327 JavaVMAttachArgs* args = static_cast<JavaVMAttachArgs*>(raw_args); in JII_AttachCurrentThread() local 330 if (args != nullptr) { in JII_AttachCurrentThread() 331 if (IsBadJniVersion(args->version)) { in JII_AttachCurrentThread() 334 << args->version; in JII_AttachCurrentThread() [all …]
|
D | reflection.h | 51 va_list args) 55 jmethodID mid, jvalue* args) 59 mirror::Object* receiver, jmethodID mid, jvalue* args) 63 jobject obj, jmethodID mid, va_list args) 71 jobject args, bool accessible)
|
D | reflection.cc | 140 mirror::Object* receiver, jvalue* args) in BuildArgArrayFromJValues() argument 149 Append(args[args_offset].z); in BuildArgArrayFromJValues() 152 Append(args[args_offset].b); in BuildArgArrayFromJValues() 155 Append(args[args_offset].c); in BuildArgArrayFromJValues() 158 Append(args[args_offset].s); in BuildArgArrayFromJValues() 162 Append(args[args_offset].i); in BuildArgArrayFromJValues() 165 Append(soa.Decode<mirror::Object*>(args[args_offset].l)); in BuildArgArrayFromJValues() 169 AppendWide(args[args_offset].j); in BuildArgArrayFromJValues() 223 mirror::ObjectArray<mirror::Object>* args, MethodHelper& mh) in BuildArgArrayFromObjectArray() argument 231 mirror::Object* arg = args->Get(args_offset); in BuildArgArrayFromObjectArray() [all …]
|
/art/disassembler/ |
D | disassembler_arm.cc | 250 std::ostringstream args; in DumpArm() local 259 args << '#' << ((imm12 << 4) | imm4); in DumpArm() 264 args << ArmRegister(instruction & 0xf); in DumpArm() 278 args << ArmRegister(instruction, 12) << ", "; in DumpArm() 280 args << ShiftedImmediate(instruction); in DumpArm() 283 args << ArmRegister(instruction, 16) << ", " << ArmRegister(instruction, 0); in DumpArm() 292 args << ArmRegister(instruction, 12) << ", "; in DumpArm() 295 args << ArmRegister(instruction, 16) << ", " << ShiftedImmediate(instruction); in DumpArm() 298 args << ArmRegister(instruction, 16) << ", " << ArmRegister(instruction, 0); in DumpArm() 310 args << ArmRegister(instruction, 12) << ", "; in DumpArm() [all …]
|
D | disassembler_mips.cc | 180 std::ostringstream args; in Dump() local 193 args << sa; in Dump() 200 args << FormatInstructionPointer(instr_ptr + offset) in Dump() 204 case 'D': args << 'r' << rd; break; in Dump() 205 case 'd': args << 'f' << rd; break; in Dump() 221 args << reinterpret_cast<void*>((instruction & 0xffff) << 16); in Dump() 224 args << static_cast<int16_t>(instruction & 0xffff); in Dump() 232 args << reinterpret_cast<void*>(target); in Dump() 238 args << StringPrintf("%+d(r%d)", offset, rs); in Dump() 240 args << " ; "; in Dump() [all …]
|
D | disassembler_x86.cc | 1076 std::ostringstream args; in DumpInstruction() local 1084 DumpOpcodeReg(args, rex_w, *instr & 0x7, byte_operand, prefix[2]); in DumpInstruction() 1176 DumpReg(args, rex, reg_or_opcode, byte_operand, prefix[2], dst_reg_file); in DumpInstruction() 1177 args << ", "; in DumpInstruction() 1179 DumpSegmentOverride(args, prefix[1]); in DumpInstruction() 1180 args << address.str(); in DumpInstruction() 1183 DumpSegmentOverride(args, prefix[1]); in DumpInstruction() 1184 args << address.str(); in DumpInstruction() 1186 args << ", "; in DumpInstruction() 1187 DumpReg(args, rex, reg_or_opcode, byte_operand, prefix[2], src_reg_file); in DumpInstruction() [all …]
|
/art/compiler/utils/ |
D | assembler_test.h | 398 std::vector<std::string> args; in Assemble() local 400 args.push_back(GetAssemblerCommand()); in Assemble() 401 args.push_back("-o"); in Assemble() 402 args.push_back(to_file); in Assemble() 403 args.push_back(from_file); in Assemble() 405 return Exec(args, error_msg); in Assemble() 418 std::vector<std::string> args; in Objdump() local 420 args.push_back(GetObjdumpCommand()); in Objdump() 421 args.push_back(file); in Objdump() 422 args.push_back(">"); in Objdump() [all …]
|
/art/runtime/interpreter/ |
D | interpreter.cc | 28 Object* receiver, uint32_t* args, JValue* result) in UnstartedRuntimeJni() argument 32 int32_t length = args[1]; in UnstartedRuntimeJni() 34 mirror::Class* element_class = reinterpret_cast<Object*>(args[0])->AsClass(); in UnstartedRuntimeJni() 49 value.SetJ((static_cast<uint64_t>(args[1]) << 32) | args[0]); in UnstartedRuntimeJni() 55 result->SetI(args[0]); in UnstartedRuntimeJni() 57 result->SetI(args[0]); in UnstartedRuntimeJni() 60 value.SetJ((static_cast<uint64_t>(args[1]) << 32) | args[0]); in UnstartedRuntimeJni() 67 String* rhs = reinterpret_cast<Object*>(args[0])->AsString(); in UnstartedRuntimeJni() 73 result->SetI(receiver->AsString()->FastIndexOf(args[0], args[1])); in UnstartedRuntimeJni() 76 auto h_class(hs.NewHandle(reinterpret_cast<mirror::Class*>(args[0])->AsClass())); in UnstartedRuntimeJni() [all …]
|
/art/compiler/jni/portable/ |
D | jni_compiler.cc | 143 std::vector< ::llvm::Value*> args; in Compile() local 146 args.push_back(jni_env_object_addr); in Compile() 164 args.push_back(this_object_or_class_object); in Compile() 180 args.push_back(arg); in Compile() 182 args.push_back(arg_iter); in Compile() 190 ::llvm::SmallVector< ::llvm::Value*, 2> args; in Compile() 192 args.push_back(this_object_or_class_object); in Compile() 194 args.push_back(irb_.Runtime().EmitGetCurrentThread()); in Compile() 196 irb_.CreateCall(irb_.GetRuntime(func_id), args); in Compile() 200 ::llvm::Value* retval = irb_.CreateCall(code_addr, args); in Compile() [all …]
|
/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/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/compiler/dex/ |
D | pass.h | 96 va_list args; in BasePrintMessage() local 97 va_start(args, message); in BasePrintMessage() 99 StringAppendV(&stringified_message, message, args); in BasePrintMessage() 100 va_end(args); in BasePrintMessage()
|
/art/test/044-proxy/src/ |
D | WrappedThrow.java | 28 public static void main(String[] args) { in main() argument 188 public Object invoke(Object proxy, Method method, Object[] args) in invoke() argument 202 return Boolean.valueOf(super.equals(args[0])); in invoke() 208 if (args == null || args.length == 0) { in invoke() 211 for (int i = 0; i < args.length; i++) in invoke() 212 System.out.println(" " + i + ": " + args[i]); in invoke() 232 result = method.invoke(mObj, args); in invoke()
|
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
|
D | BasicTest.java | 32 public static void main(String[] args) { in main() argument 239 public Object invoke(Object proxy, Method method, Object[] args) in invoke() argument 253 return Boolean.valueOf(super.equals(args[0])); in invoke() 288 if (args == null || args.length == 0) { in invoke() 291 for (int i = 0; i < args.length; i++) in invoke() 292 System.out.println(" " + i + ": " + args[i]); in invoke() 297 result = method.invoke(mObj, args); in invoke()
|
/art/test/002-sleep/src/ |
D | Main.java | 2 static public void main(String[] args) throws Exception { in main() argument 5 if (args.length != 0) { in main() 6 millis = Integer.parseInt(args[0]); in main()
|
/art/compiler/dex/portable/ |
D | mir_to_gbc.cc | 76 ::llvm::Value* args[] = { table_slot, val }; in SetVregOnValue() 77 irb_->CreateCall(func, args); in SetVregOnValue() 204 ::llvm::SmallVector< ::llvm::Value*, 2> args; in ConvertSput() 205 args.push_back(irb_->getInt32(field_index)); in ConvertSput() 206 args.push_back(GetLLVMValue(rl_src.orig_sreg)); in ConvertSput() 208 irb_->CreateCall(intr, args); in ConvertSput() 214 ::llvm::SmallVector< ::llvm::Value*, 2> args; in ConvertFillArrayData() 215 args.push_back(irb_->getInt32(offset)); in ConvertFillArrayData() 216 args.push_back(GetLLVMValue(rl_array.orig_sreg)); in ConvertFillArrayData() 218 irb_->CreateCall(intr, args); in ConvertFillArrayData() [all …]
|
/art/test/101-fibonacci/src/ |
D | Main.java | 45 public static void main(String[] args) { in main() argument 46 String arg = (args.length > 0) ? args[0] : "10"; in main()
|
/art/test/401-optimizing-compiler/ |
D | expected.txt | 2 In static method with 2 args 1 2 3 In static method with 5 args 1 2 3 4 5 4 In static method with 7 args 1 2 3 4 5 6 7
|
/art/runtime/native/ |
D | java_lang_DexCache.cc | 41 jvalue args[1]; in DexCache_getDexNative() local 42 args[0].l = byte_buffer; in DexCache_getDexNative() 45 args); in DexCache_getDexNative()
|
/art/test/028-array-write/src/ |
D | Main.java | 79 public static void main(String[] args) { in main() argument 80 if ((args.length >= 1) && args[0].equals("--timing")) { in main()
|
/art/test/053-wait-some/src/ |
D | Main.java | 26 public static void main(String[] args) { in main() argument 27 boolean timing = (args.length >= 1) && args[0].equals("--timing"); in main()
|
/art/test/005-annotations/src/ |
D | Main.java | 4 static public void main(String[] args) { in main() argument 5 TestAnnotations.main(args); in main()
|