Searched defs:rtype (Results 1 - 24 of 24) sorted by relevance

/openjdk7/hotspot/src/share/vm/ci/
H A DciMethodType.hpp53 ciType* rtype() const { function in class:ciMethodType
55 oop rtype = java_lang_invoke_MethodType::rtype(get_oop());
56 return class_to_citype(rtype);
/openjdk7/jdk/src/share/classes/sun/invoke/util/
H A DBytecodeDescriptor.java63 Class<?> rtype = parseSig(str, i, end, loader);
64 if (rtype == null || i[0] != end)
66 ptypes.add(rtype);
115 public static String unparseMethod(Class<?> rtype, List<Class<?>> ptypes) { argument
121 unparseSig(rtype, sb);
H A DValueConversions.java901 private static MethodHandle findCollector(String name, int nargs, Class<?> rtype, Class<?>... ptypes) { argument
903 .changeReturnType(rtype)
/openjdk7/hotspot/src/share/vm/opto/
H A Dsplit_if.cpp192 const Type* rtype = NULL; local
194 rtype = TypeLong::INT;
202 if (rtype != NULL) x->as_Type()->set_type(rtype);
H A DdoCall.cpp519 ciType* rtype = cg->method()->return_type(); local
524 if (ctype != rtype) {
525 BasicType rt = rtype->basic_type();
538 const TypeOopPtr* arg_type = TypeOopPtr::make_from_klass(rtype->as_klass());
554 rtype = ctype;
562 assert(!rtype->is_loaded() || !ctype->is_loaded() || rtype == ctype,
563 err_msg_res("mismatched return types: rtype=%s, ctype=%s", rtype->name(), ctype->name()));
568 if (!rtype
[all...]
H A DgraphKit.cpp993 BasicType rtype = T_ILLEGAL; local
998 rtype = Bytecodes::result_type(code); // checkcast=P, athrow=V
999 if (rtype < T_CONFLICT)
1000 rsize = type2size[rtype];
H A Dlibrary_call.cpp2287 BasicType rtype = sig->return_type()->basic_type(); local
2288 if (rtype == T_ADDRESS_HOLDER && callee()->name() == ciSymbol::getAddress_name())
2289 rtype = T_ADDRESS; // it is really a C void*
2290 assert(rtype == type, "getter must return the expected value");
2512 BasicType rtype = sig->return_type()->basic_type(); local
2597 BasicType rtype;
2602 rtype = sig->return_type()->basic_type();
2606 assert(rtype == type, "get and set must return the expected type");
2615 assert(rtype == T_BOOLEAN, "CAS must return boolean");
2776 assert(type2size[load_store->bottom_type()->basic_type()] == type2size[rtype], "resul
2798 BasicType rtype = sig->return_type()->basic_type(); local
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/
H A DGLXGraphicsConfig.c259 int dtype, rtype, depth, stencil, db, alpha, gamma; local
265 GLX_RENDER_TYPE, &rtype);
306 (rtype & GLX_RGBA_BIT) &&
/openjdk7/jdk/test/java/lang/invoke/
H A DMethodTypeTest.java46 private Class<?> rtype; field in class:MethodTypeTest
58 rtype = void.class;
119 MethodType result = MethodType.methodType(rtype, ptypes);
129 MethodType result = MethodType.methodType(rtype, Arrays.asList(ptypes));
139 MethodType result = MethodType.methodType(rtype, ptypes[0], ptypes[1]);
169 System.out.println("make (from rtype, MethodType)");
H A DRicochetTest.java517 Class<?> rtype,
520 return LOOKUP.findStatic(LOOKUP.lookupClass(), name, methodType(rtype, ptypes));
526 Class<?> rtype,
528 return findStatic(name, rtype, ptypes.toArray(new Class<?>[ptypes.size()]));
516 findStatic(String name, Class<?> rtype, Class<?>... ptypes) argument
525 findStatic(String name, Class<?> rtype, List<?> ptypes) argument
H A DMethodHandlesTest.java300 /** Variation of varargsList, but with the given rtype. */
301 static MethodHandle varargsList(int arity, Class<?> rtype) { argument
303 MethodType listType = list.type().changeReturnType(rtype);
304 if (List.class.isAssignableFrom(rtype) || rtype == void.class || rtype == Object.class) {
306 } else if (rtype.isAssignableFrom(String.class)) {
313 } else if (rtype.isPrimitive()) {
322 throw new RuntimeException("varargsList: "+rtype);
1421 static MethodHandle ofType(Class<?> rtype, in argument
1426 ofType(Class<?> rtype, Class<?>... ptypes) argument
1455 testConvert(MethodHandle id, Class<?> rtype, String name, Class<?>... params) argument
1459 testConvert(boolean positive, MethodHandle id, Class<?> rtype, String name, Class<?>... params) argument
1857 testFilterReturnValue(int nargs, Class<?> rtype) argument
[all...]
/openjdk7/hotspot/src/share/vm/asm/
H A Dassembler.hpp328 void relocate( relocInfo::relocType rtype, int format = 0) { argument
329 if (rtype != relocInfo::none)
330 relocate(Relocation::spec_simple(rtype), format);
H A DcodeBuffer.cpp298 relocInfo::relocType rtype = (relocInfo::relocType) reloc->type(); local
299 if (rtype == relocInfo::none) return;
312 assert(rtype == relocInfo::none ||
313 rtype == relocInfo::runtime_call_type ||
314 rtype == relocInfo::internal_word_type||
315 rtype == relocInfo::section_word_type ||
316 rtype == relocInfo::external_word_type,
349 // If it's a simple reloc with no data, we'll just write (rtype | offset).
350 (*end) = relocInfo(rtype, offset, format);
H A DcodeBuffer.hpp210 void relocate(address at, relocInfo::relocType rtype, int format = 0) { argument
211 if (rtype != relocInfo::none)
212 relocate(at, Relocation::spec_simple(rtype), format);
526 void relocate(address at, relocInfo::relocType rtype, int format = 0) { argument
527 _insts.relocate(at, rtype, format);
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DMethodHandleNatives.java306 static MethodType findMethodHandleType(Class<?> rtype, Class<?>[] ptypes) { argument
307 return MethodType.makeImpl(rtype, ptypes, true);
H A DMethodType.java87 private static final long serialVersionUID = 292L; // {rtype, {ptype...}}
89 // The rtype and ptypes fields define the structural identity of the method type:
90 private final Class<?> rtype; field in class:MethodType
101 private MethodType(Class<?> rtype, Class<?>[] ptypes) { argument
102 checkRtype(rtype);
104 this.rtype = rtype;
109 /*trusted*/ Class<?> rtype() { return rtype; } method in class:MethodType
144 private static void checkRtype(Class<?> rtype) { argument
187 methodType(Class<?> rtype, Class<?>[] ptypes) argument
199 methodType(Class<?> rtype, List<Class<?>> ptypes) argument
219 methodType(Class<?> rtype, Class<?> ptype0, Class<?>... ptypes) argument
234 methodType(Class<?> rtype) argument
247 methodType(Class<?> rtype, Class<?> ptype0) argument
259 methodType(Class<?> rtype, MethodType ptypes) argument
271 makeImpl(Class<?> rtype, Class<?>[] ptypes, boolean trusted) argument
981 MethodType_init(Class<?> rtype, Class<?>[] ptypes) argument
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DrelocInfo.cpp466 RelocationHolder Relocation::spec_simple(relocInfo::relocType rtype) { argument
467 if (rtype == relocInfo::none) return RelocationHolder::none;
468 relocInfo ri = relocInfo(rtype, 0);
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dassembler_sparc.inline.hpp68 inline void Assembler::emit_data(int x, relocInfo::relocType rtype) { argument
69 relocate(rtype);
80 inline void Assembler::add(Register s1, int simm13a, Register d, relocInfo::relocType rtype ) { emit_data( op(arith_op) | rd(d) | op3(add_op3) | rs1(s1) | immed(true) | simm(simm13a, 13), rtype ); }
H A Dc1_LIRAssembler_sparc.cpp763 void LIR_Assembler::call(LIR_OpJavaCall* op, relocInfo::relocType rtype) { argument
764 __ call(op->addr(), rtype);
H A Dassembler_sparc.hpp321 const relocInfo::relocType rtype() { return _rspec.type(); } function in class:VALUE_OBJ_CLASS_SPEC
365 RelocationHolder rspec_from_rtype(relocInfo::relocType rtype, address addr) { argument
366 switch (rtype) {
405 AddressLiteral(address addr, relocInfo::relocType rtype = relocInfo::none)
407 _rspec(rspec_from_rtype(rtype, (address) addr)) {}
410 AddressLiteral(address* addr, relocInfo::relocType rtype = relocInfo::none)
412 _rspec(rspec_from_rtype(rtype, (address) addr)) {}
414 AddressLiteral(bool* addr, relocInfo::relocType rtype = relocInfo::none)
416 _rspec(rspec_from_rtype(rtype, (address) addr)) {}
418 AddressLiteral(const bool* addr, relocInfo::relocType rtype
460 const relocInfo::relocType rtype() const { return _rspec.type(); } function in class:VALUE_OBJ_CLASS_SPEC
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dreflection.cpp855 BasicType rtype, objArrayHandle args, bool is_method_invoke, TRAPS) {
1020 JavaValue result(rtype);
1032 if (rtype == T_BOOLEAN || rtype == T_BYTE || rtype == T_CHAR || rtype == T_SHORT)
1033 narrow((jvalue*) result.get_value_addr(), rtype, CHECK_NULL);
1034 return box((jvalue*) result.get_value_addr(), rtype, CHECK_NULL);
1075 BasicType rtype; local
1077 rtype
853 invoke(instanceKlassHandle klass, methodHandle reflected_method, Handle receiver, bool override, objArrayHandle ptypes, BasicType rtype, objArrayHandle args, bool is_method_invoke, TRAPS) argument
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_LIRAssembler_x86.cpp2858 void LIR_Assembler::call(LIR_OpJavaCall* op, relocInfo::relocType rtype) { argument
2861 __ call(AddressLiteral(op->addr(), rtype));
H A Dassembler_x86.cpp55 AddressLiteral::AddressLiteral(address target, relocInfo::relocType rtype) { argument
58 switch (rtype) {
82 _rspec = Relocation::spec_simple(rtype);
104 Address::Address(int disp, address loc, relocInfo::relocType rtype) { argument
109 switch (rtype) {
122 _rspec = Relocation::spec_simple(rtype);
181 void Assembler::emit_data(jint data, relocInfo::relocType rtype, int format) { argument
182 if (rtype == relocInfo::none)
184 else emit_data(data, Relocation::spec_simple(rtype), format);
296 relocInfo::relocType rtype local
1127 call(Label& L, relocInfo::relocType rtype) argument
4455 emit_data64(jlong data, relocInfo::relocType rtype, int format) argument
6806 call(Label& L, relocInfo::relocType rtype) argument
[all...]
/openjdk7/hotspot/src/share/vm/classfile/
H A DjavaClasses.cpp2559 java_lang_Class::print_signature(rtype(mt), st);
2580 if (rtype(mt1) != rtype(mt2))
2591 oop java_lang_invoke_MethodType::rtype(oop mt) { function in class:java_lang_invoke_MethodType
2621 BasicType bt = java_lang_Class::as_BasicType(rtype(mt));

Completed in 144 milliseconds