Searched defs:mt (Results 1 - 19 of 19) sorted by relevance

/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DSimpleMethodHandle.java66 MethodHandle copyWith(MethodType mt, LambdaForm lf) { argument
67 return new SimpleMethodHandle(mt, lf);
H A DMethodHandle.java256 MethodType mt; MethodHandle mh;
258 // mt is (char,char)String
259 mt = MethodType.methodType(String.class, char.class, char.class);
260 mh = lookup.findVirtual(String.class, "replace", mt);
267 // mt is (Object[])List
268 mt = MethodType.methodType(java.util.List.class, Object[].class);
269 mh = lookup.findStatic(java.util.Arrays.class, "asList", mt);
274 // mt is (Object,Object,Object)Object
275 mt = MethodType.genericMethodType(3);
276 mh = mh.asType(mt);
1317 copyWith(MethodType mt, LambdaForm lf) argument
[all...]
H A DMethodTypeForm.java255 static MethodTypeForm findForm(MethodType mt) { argument
256 MethodType erased = canonicalize(mt, ERASE, ERASE);
259 return new MethodTypeForm(mt);
282 public static MethodType canonicalize(MethodType mt, int howRet, int howArgs) { argument
283 Class<?>[] ptypes = mt.ptypes();
285 Class<?> rtype = mt.returnType();
H A DDirectMethodHandle.java117 MethodHandle copyWith(MethodType mt, LambdaForm lf) { argument
118 return new DirectMethodHandle(mt, lf, member);
H A DBoundMethodHandle.java183 public abstract BoundMethodHandle clone(MethodType mt, LambdaForm lf) throws Throwable; argument
184 public abstract BoundMethodHandle cloneExtendL(MethodType mt, LambdaForm lf, Object narg) throws Throwable; argument
185 public abstract BoundMethodHandle cloneExtendI(MethodType mt, LambdaForm lf, int narg) throws Throwable; argument
186 public abstract BoundMethodHandle cloneExtendJ(MethodType mt, LambdaForm lf, long narg) throws Throwable; argument
187 public abstract BoundMethodHandle cloneExtendF(MethodType mt, LambdaForm lf, float narg) throws Throwable; argument
188 public abstract BoundMethodHandle cloneExtendD(MethodType mt, LambdaForm lf, double narg) throws Throwable; argument
206 public Species_L(MethodType mt, LambdaForm lf, Object argL0) { argument
207 super(mt, lf);
218 public final BoundMethodHandle clone(MethodType mt, LambdaForm lf) throws Throwable { argument
219 return new Species_L(mt, l
222 cloneExtendL(MethodType mt, LambdaForm lf, Object narg) argument
226 cloneExtendI(MethodType mt, LambdaForm lf, int narg) argument
230 cloneExtendJ(MethodType mt, LambdaForm lf, long narg) argument
234 cloneExtendF(MethodType mt, LambdaForm lf, float narg) argument
238 cloneExtendD(MethodType mt, LambdaForm lf, double narg) argument
[all...]
/openjdk7/jdk/test/java/lang/reflect/Generics/
H A DTestC1.java49 public abstract T mt(T t); method in class:C1
115 Method mt = cls.getMethod("mt", params3);
119 Type rt_mt = mt.getGenericReturnType();
189 Type[] pt_mt = mt.getGenericParameterTypes();
192 "C1.mt has one parameter";
196 "The generic type of the parameter of mt(T) is a type variable";
200 "The name of the type parameter of mt is T, not " + tv.getName();
219 Type[] et_mt = mt.getGenericExceptionTypes();
223 "Method C1.mt shoul
[all...]
H A DTestC2.java50 public abstract T mt(T t); method in class:C0
92 public abstract T1 mt(T2 t); method in class:C2
326 Method mt = cls.getMethod("mt", params3);
351 Type rt_mt = mt.getGenericReturnType();
354 "Return type of mt is a type variable";
422 Type[] pt_mt = mt.getGenericParameterTypes();
425 "C2.mt has one parameter";
429 "The generic type of the parameter of mt(T) is a type variable";
433 "The name of the type parameter of mt i
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DMediaTracker.java820 MediaEntry(MediaTracker mt, int id) { argument
821 tracker = mt;
891 ImageMediaEntry(MediaTracker mt, Image img, int c, int w, int h) { argument
892 super(mt, c);
H A DDialog.java1608 private void checkModalityPermission(ModalityType mt) { argument
1609 if (mt == ModalityType.TOOLKIT_MODAL) {
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DMimeEntry.java219 public Object launch(java.net.URLConnection urlc, InputStream is, MimeTable mt) throws ApplicationLaunchException { argument
250 mt.getTempFileTemplate(), threadName);
/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DDataFlavor.java157 static private DataFlavor createConstant(String mt, String prn) { argument
159 return new DataFlavor(mt, prn);
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DPaints.cpp176 D3DMATRIX mt;
177 ZeroMemory(&mt, sizeof(mt));
178 mt._11 = (float)p0;
179 mt._21 = (float)p1;
180 mt._31 = (float)0.0;
181 mt._41 = (float)p3;
182 mt._12 = 0.0f;
183 mt._22 = 1.0f;
184 mt
229 D3DMATRIX mt; local
282 D3DMATRIX mt; local
408 D3DMATRIX mt; local
[all...]
H A DD3DContext.cpp1437 D3DMATRIX mt, tx; local
1466 mt._31 = (1.0f / (2.0f * texDesc.Width * tx._11));
1467 mt._32 = (1.0f / (2.0f * texDesc.Height * tx._22));
1469 mt._31, mt._32);
1474 res = pd3dDevice->SetTransform(state, &mt);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DInfer.java366 /** Instantiate method type `mt' by finding instantiations of
371 MethodType mt,
377 //-System.err.println("instantiateMethod(" + tvars + ", " + mt + ", " + argtypes + ")"); //DEBUG
379 List<Type> formals = mt.argtypes;
467 mt = (MethodType)types.subst(mt, tvars, insttypes.toList());
474 return new UninferredMethodType(mt, restvars.toList()) {
504 checkArgumentsAcceptable(env, capturedArgs, mt.getParameterTypes(), allowBoxing, useVarargs, warn);
506 return mt;
369 instantiateMethod(final Env<AttrContext> env, List<Type> tvars, MethodType mt, final Symbol msym, final List<Type> argtypes, final boolean allowBoxing, final boolean useVarargs, final Warner warn) argument
/openjdk7/jdk/test/java/lang/invoke/
H A DRicochetTest.java625 private static MethodType subst(MethodType mt, Class<?> from, Class<?> to) { argument
626 for (int i = 0; i < mt.parameterCount(); i++) {
627 if (mt.parameterType(i) == from)
628 mt = mt.changeParameterType(i, to);
630 if (mt.returnType() == from)
631 mt = mt.changeReturnType(to);
632 return mt;
/openjdk7/hotspot/src/share/vm/memory/
H A DreferenceProcessor.hpp493 void set_mt_discovery(bool mt) { _discovery_is_mt = mt; } argument
497 void set_mt_processing(bool mt) { _processing_is_mt = mt; } argument
588 bool mt):
591 _rp->set_mt_discovery(mt);
653 bool mt):
656 _rp->set_mt_processing(mt);
587 ReferenceProcessorMTDiscoveryMutator(ReferenceProcessor* rp, bool mt) argument
652 ReferenceProcessorMTProcMutator(ReferenceProcessor* rp, bool mt) argument
/openjdk7/langtools/test/tools/javah/6572945/
H A DTestClass1.java185 void mt(String t) { } method in class:TestClass1
322 void mt(String t) { } method in class:TestClass1.Inner1
460 void mt(String t) { } method in class:TestClass1.Inner2
/openjdk7/hotspot/src/share/vm/opto/
H A Dtype.cpp562 const Type *mt = xmeet(t); local
563 if (isa_narrowoop() || t->isa_narrowoop()) return mt;
565 assert( mt == t->xmeet(this), "meet not commutative" );
566 const Type* dual_join = mt->_dual;
578 tty->print("mt=(t meet this)= "); mt->dump(); tty->cr();
582 tty->print("mt_dual= "); mt->_dual->dump(); tty->cr();
590 return mt;
/openjdk7/hotspot/src/share/vm/classfile/
H A DjavaClasses.cpp2552 void java_lang_invoke_MethodType::print_signature(oop mt, outputStream* st) { argument
2554 objArrayOop pts = ptypes(mt);
2559 java_lang_Class::print_signature(rtype(mt), st);
2562 Symbol* java_lang_invoke_MethodType::as_signature(oop mt, bool intern_if_not_found, TRAPS) { argument
2565 print_signature(mt, &buffer);
2591 oop java_lang_invoke_MethodType::rtype(oop mt) { argument
2592 assert(is_instance(mt), "must be a MethodType");
2593 return mt->obj_field(_rtype_offset);
2596 objArrayOop java_lang_invoke_MethodType::ptypes(oop mt) { argument
2597 assert(is_instance(mt), "mus
2601 ptype(oop mt, int idx) argument
2605 ptype_count(oop mt) argument
2609 ptype_slot_count(oop mt) argument
2620 rtype_slot_count(oop mt) argument
[all...]

Completed in 108 milliseconds