Searched refs:tv (Results 1 - 25 of 42) sorted by relevance

12

/openjdk7/jdk/test/java/lang/reflect/Generics/
H A DHashCodeTest.java57 for (TypeVariable<?> tv : clazz.getTypeParameters()) {
58 int hc = tv.hashCode();
59 typeVariables.add(tv);
60 System.out.printf("\t%s 0x%x (%d)%n", tv.getName(), hc, hc);
68 for (TypeVariable<?> tv : clazz.getTypeParameters()) {
69 if (!typeVariables.remove(tv))
70 throw new RuntimeException("Type variable " + tv + " not found.");
H A DTestC1.java93 TypeVariable tv = tvs[0];
94 Type[] bs = tv.getBounds();
131 TypeVariable tv = (TypeVariable) p1_mc1t;
134 tv.getName().equals("T") :
135 "Name of 1st type parameter of mc1t is T, not " + tv.getName();
136 Type[] bs = tv.getBounds();
166 tv = (TypeVariable) ta;
168 tv.getName().equals("T") :
169 "mc1t: Name of the type arg of C1<T> is T, not " + tv.getName();
170 bs = tv
[all...]
H A DTestC2.java133 TypeVariable tv = (TypeVariable) t;
135 tv.getName().equals("T1") :
137 Type[] bs = tv.getBounds();
280 TypeVariable tv = tvs[0];
281 Type[] bs = tv.getBounds();
289 tv = tvs[1];
290 bs = tv.getBounds();
298 tv = tvs[2];
299 bs = tv.getBounds();
366 TypeVariable tv
[all...]
H A DTestPlainArrayNotGeneric.java124 TypeVariable<?> tv = (TypeVariable<?>) t;
125 check(tv.getBounds(), "bound", what);
126 GenericDeclaration gd = tv.getGenericDeclaration();
/openjdk7/jdk/src/share/classes/sun/reflect/generics/scope/
H A DAbstractScope.java87 for (TypeVariable/*<?>*/ tv : tas) {
88 if (tv.getName().equals(name)) {return tv;}
/openjdk7/hotspot/src/share/vm/compiler/
H A DabstractCompiler.cpp35 ThreadInVMfromNative tv(thread);
56 ThreadInVMfromNative tv(thread);
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/
H A DTypeParameterDeclarationImpl.java99 static String toString(AptEnv env, Type.TypeVar tv) { argument
101 s.append(tv);
103 for (Type bound : getExtendsBounds(env, tv)) {
116 Type.TypeVar tv) {
117 return (tv.getUpperBound().tsym == env.symtab.objectType.tsym)
119 : env.jctypes.getBounds(tv);
115 getExtendsBounds(AptEnv env, Type.TypeVar tv) argument
H A DMemberDeclarationImpl.java104 Type.TypeVar tv = (Type.TypeVar) t;
106 .append(TypeParameterDeclarationImpl.toString(env, tv));
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/
H A DGraph.java143 public void traverseBFS(Node<N, E> startingNode, BFSTraversalVisitor tv, boolean longestPath) { argument
164 tv.visitNode(current, layer);
197 public void traverseDFS(DFSTraversalVisitor tv) { argument
198 traverseDFS(getNodes(), tv);
201 public void traverseDFS(Collection<Node<N, E>> startingNodes, DFSTraversalVisitor tv) { argument
210 traverse(tv, n);
214 private void traverse(DFSTraversalVisitor tv, Node<N, E> n) { argument
219 tv.visitNode(n);
225 tv.visitEdge(e, true);
227 if (tv
[all...]
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DWindowsSelectorImpl.c62 struct timeval timevalue, *tv; local
71 tv = &zerotime;
73 tv = NULL;
75 tv = &timevalue;
76 tv->tv_sec = (long)(timeout / 1000);
77 tv->tv_usec = (long)((timeout % 1000) * 1000);
101 if ((result = select(0 , &readfds, &writefds, &exceptfds, tv))
/openjdk7/jdk/test/javax/crypto/CipherSpi/
H A DDirectBBRemaining.java120 for (TestVariant tv : TestVariant.values()) {
122 System.out.print(" " + tv);
125 switch (tv) {
/openjdk7/langtools/test/tools/javac/api/6421111/
H A DT6421111.java88 TypeVariable tv = (TypeVariable)type.getTypeArguments().get(0);
89 if (tv.asElement() != tpe)
90 throw error("%s != %s", tv.asElement(), tpe);
/openjdk7/jdk/test/com/sun/crypto/provider/KeyFactory/
H A DPBKDF2HmacSHA1FactoryTest.java74 TestVector tv = TEST_VECTORS[i];
76 PBEKeySpec keySpec = tv.keySpecs[j];
86 if (!tv.expectedVals[j].equals(toHexString(derivedKey))) {
88 System.out.println("expected: " + tv.expectedVals[j]);
/openjdk7/jdk/src/share/classes/sun/reflect/generics/visitor/
H A DTypeTreeVisitor.java47 void visitTypeVariableSignature(TypeVariableSignature tv); argument
H A DReifier.java164 public void visitTypeVariableSignature(TypeVariableSignature tv){ argument
165 resultType = getFactory().findTypeVariable(tv.getIdentifier());
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_SolarisOS_Utils.c42 struct timeval tv; local
43 gettimeofday(&tv, NULL);
44 return tv.tv_sec;
H A DPLATFORM_API_BsdOS_ALSA_MidiUtils.c35 struct timeval tv; local
37 gettimeofday(&tv, NULL);
38 return (tv.tv_sec * 1000000UL) + tv.tv_usec;
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DAnnotationValueImpl.java118 ToStringVisitor tv = new ToStringVisitor();
119 attr.accept(tv);
120 return tv.toString();
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapName.java600 void add(TypeAndValue tv) { argument
602 // Set i to index of first element greater than tv, or to
606 int diff = tv.compareTo(tvs.elementAt(i));
608 return; // tv is a duplicate: ignore it
614 tvs.insertElementAt(tv, i);
639 TypeAndValue tv = (TypeAndValue)tvs.elementAt(i);
640 int diff = tv.compareTo(that.tvs.elementAt(i));
661 TypeAndValue tv;
665 tv = (TypeAndValue) tvs.elementAt(i);
666 if ((attr = attrs.get(tv
[all...]
/openjdk7/jdk/src/solaris/demo/jvmti/hprof/
H A Dhprof_md.c238 struct timeval tv; local
240 if ( gettimeofday(&tv, (void *)0) != 0 ) {
244 return ((jlong)tv.tv_sec * (jlong)1000) + (jlong)(tv.tv_usec / 1000);
/openjdk7/jdk/src/solaris/native/java/io/
H A DUnixFileSystem_md.c390 struct timeval tv[2]; local
393 tv[0].tv_sec = sb.st_atime;
394 tv[0].tv_usec = 0;
397 tv[1].tv_sec = time / 1000;
398 tv[1].tv_usec = (time % 1000) * 1000;
400 if (utimes(path, tv) == 0)
/openjdk7/jdk/src/macosx/native/sun/awt/splashscreen/
H A Dsplashscreen_sys.m64 struct timeval tv;
68 gettimeofday(&tv, &tz);
69 msec = (unsigned long long) tv.tv_sec * 1000 +
70 (unsigned long long) tv.tv_usec / 1000;
/openjdk7/jdk/src/share/demo/applets/MoleculeViewer/
H A DMatrix3D.java224 /** Transform nvert points from v into tv. v contains the input
226 the array constitute a point. tv ends up holding the transformed
228 void transform(float v[], int tv[], int nvert) { argument
236 tv[i] = (int) (x * lxx + y * lxy + z * lxz + lxo);
237 tv[i + 1] = (int) (x * lyx + y * lyy + z * lyz + lyo);
238 tv[i + 2] = (int) (x * lzx + y * lzy + z * lzz + lzo);
/openjdk7/jdk/src/share/demo/applets/WireFrame/
H A DMatrix3D.java224 /** Transform nvert points from v into tv. v contains the input
226 the array constitute a point. tv ends up holding the transformed
228 void transform(float v[], int tv[], int nvert) { argument
236 tv[i] = (int) (x * lxx + y * lxy + z * lxz + lxo);
237 tv[i + 1] = (int) (x * lyx + y * lyy + z * lyz + lyo);
238 tv[i + 2] = (int) (x * lzx + y * lzy + z * lzz + lzo);
/openjdk7/jdk/test/java/util/Arrays/
H A DCopyMethods.java152 * int tv = testValues[i]
153 * (C)tv C is byte, short, char, long, float, double
154 * (tv&1)!=0 C is boolean
155 * (Integer)tv C is Object and tv%16 != 0
156 * null C is Object and tv%16 == 0
157 * Integer.toHexString(tv) C is String and tv != 0
158 * null C is String and tv == 0
167 int tv
[all...]

Completed in 114 milliseconds

12