Searched refs:cast (Results 251 - 275 of 280) sorted by relevance

<<1112

/openjdk7/jdk/test/java/lang/invoke/
H A DInvokeGenericTest.java48 @SuppressWarnings("cast") // various casts help emphasize arguments to invokeExact
147 return dst.cast(value);
/openjdk7/jdk/src/share/classes/sun/util/logging/
H A DPlatformLogger.java229 DefaultLoggerProxy lp = DefaultLoggerProxy.class.cast(this.loggerProxy);
/openjdk7/jdk/test/java/util/logging/
H A DTestAppletLoggerContext.java108 return TestExc.class.cast(o);
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DMethodHandles.java1508 * then the value of type <em>T0</em> is passed as a <em>T1</em> without a cast.
1540 throw new WrongMethodTypeException("cannot explicitly cast "+target+" to "+newType);
1656 return identity(type).bindTo(type.cast(value));
1736 value = ptype.cast(value); // throw CCE if needed
H A DMemberName.java877 throw nsmClass.cast(ex);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DTransTypes.java100 /** Construct an attributed tree for a cast of expression to target type,
105 JCExpression cast(JCExpression tree, Type target) { method in class:TransTypes
128 : cast(tree, btarget);
145 * a cast to Integer. That is, the last assignment becomes:
H A DLower.java2080 JCVariableDecl def = make.VarDef(var, (JCExpression)rval); // XXX cast
3041 final boolean cast = TreeInfo.skipParens(tree.arg).getTag() == JCTree.TYPECAST;
3048 JCTree lhs = cast
3824 JCTypeCast cast = make.TypeCast(castTargetIdent, par1UsageId);
3825 cast.setType(castTargetIdent.type);
3833 JCVariableDecl otherVar = make.VarDef(otherVarSym, cast);
/openjdk7/jdk/test/java/lang/invoke/indify/
H A DIndify.java74 * This call must be cast to {@code CallSite}, and the result must be
956 break; // assume it is a helpful cast
1147 add(itemClass.cast(row));
1178 return dataClass.cast(data);
1235 return c.cast(walk);
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.cpp1033 assert(!instanceKlass::cast(method->method_holder())->is_not_initialized(),
1188 assert(!instanceKlass::cast(method->method_holder())->is_not_initialized(), "method holder must be initialized");
/openjdk7/jdk/src/share/classes/com/sun/jmx/interceptor/
H A DDefaultMBeanServerInterceptor.java1355 return reqClass.cast(instance);
1359 return reqClass.cast(instance);
/openjdk7/hotspot/src/share/vm/code/
H A DcodeCache.cpp655 number_of_marked_CodeBlobs += instanceKlass::cast(d)->mark_dependent_nmethods(changes);
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DheapRegion.cpp87 const char* class_name = instanceKlass::cast(k)->external_name();
328 // The cast to int is safe, given that we've bounded region_size by
/openjdk7/hotspot/src/share/vm/opto/
H A DdoCall.cpp512 Node* cast = cast_not_null(receiver); local
513 // %%% assert(receiver == cast, "should already have cast the receiver");
950 // Calling this method would include an implicit cast to its holder.
956 tty->print_cr("found unique CHA method, but could not cast up");
H A Dmemnode.cpp658 bool MemNode::adr_phi_is_loop_invariant(Node* adr_phi, Node* cast) { argument
661 // includes such a CastPP, and so the original cast, whatever its input,
662 // must be covered by an equivalent cast, with an earlier control input.
670 // Add the phi node and the cast to the worklist.
673 if( cast != NULL ){
674 if( !cast->is_ConstraintCast() ) return false;
675 worklist.push(cast);
688 // - it is a cast of an identical value
690 // Otherwise, the node is not OK, and we presume the cast is not invariant
708 // Find any cast
[all...]
H A Dmemnode.hpp76 static bool adr_phi_is_loop_invariant(Node* adr_phi, Node* cast);
83 // Find any cast-away of null-ness and keep its control.
182 *(const Type**)&_type = t; // cast away const-ness
H A Dlibrary_call.cpp1115 // Properly cast the argument to String
3571 Node* cast = new (C) CastPPNode(klass_node, akls); local
3572 cast->init_req(0, control());
3573 klass_node = _gvn.transform(cast);
5512 // so we cast it here safely.
5518 // cast it to what we know it will be at runtime
H A Dparse1.cpp1229 return Bytecodes::is_defined(i) ? Bytecodes::name(Bytecodes::cast(i)) : "xxxunusedxxx";
2006 // cast from oop to interface allowed by the Verifier. Make it explicit
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/
H A DOptions.java997 a.add(clazz.cast(implClass.newInstance()));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/
H A DWSServiceDelegate.java613 return portInterface.cast(proxy);
/openjdk7/jdk/test/javax/management/mxbean/
H A DMXBeanTest.java238 T impl = c.cast(Proxy.newProxyInstance(c.getClassLoader(),
/openjdk7/hotspot/src/share/vm/interpreter/
H A DbytecodeInterpreter.cpp1285 // this is ugly QQQ (why cast to jlong?? )
2045 const char* objName = Klass::cast(objKlassOop)->external_name();
2046 const char* klassName = Klass::cast(klassOf)->external_name();
2373 // instanceKlass* rcvrKlass = instanceKlass::cast(STACK_OBJECT(-parms)->klass());
2388 but using instanceKlass::cast(STACK_OBJECT(-parms)->klass()) causes in assertion failure
H A DtemplateTable.cpp54 return Bytecodes::cast(i);
/openjdk7/jdk/src/share/classes/java/lang/
H A DClass.java390 * {@code Object} argument is non-null and can be cast to the
3074 * @param obj the object to be cast
3082 public T cast(Object obj) { method in class:Class
3089 return "Cannot cast " + obj.getClass().getName() + " to " + getName();
3094 * represented by the specified class object. Checks that that the cast
3100 * {@code Class} objects that it is willing to accept. A cast would
3101 * generate a compile-time warning, as the correctness of the cast
3105 * @return this {@code Class} object, cast to represent a subclass of
/openjdk7/hotspot/src/share/vm/runtime/
H A Dos.cpp297 instanceKlass::cast(PENDING_EXCEPTION->klass())->
/openjdk7/jdk/make/jpda/jdwp/
H A Djdwp.spec2260 "be safely cast to the given reference type. "

Completed in 197 milliseconds

<<1112