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

12

/openjdk9/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();
/openjdk9/jdk/src/java.base/share/classes/sun/reflect/generics/scope/
H A DAbstractScope.java92 for (TypeVariable<?> tv : tas) {
93 if (tv.getName().equals(name)) {return tv;}
/openjdk9/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/
H A DGraph.java137 public void traverseBFS(Node<N, E> startingNode, BFSTraversalVisitor tv, boolean longestPath) { argument
158 tv.visitNode(current, layer);
191 public void traverseDFS(DFSTraversalVisitor tv) { argument
192 traverseDFS(getNodes(), tv);
195 public void traverseDFS(Collection<Node<N, E>> startingNodes, DFSTraversalVisitor tv) { argument
204 traverse(tv, n);
208 private void traverse(DFSTraversalVisitor tv, Node<N, E> n) { argument
213 tv.visitNode(n);
219 tv.visitEdge(e, true);
221 if (tv
[all...]
/openjdk9/jdk/test/java/lang/annotation/
H A DTypeVariableBounds.java48 TypeVariable[] tv = c.getTypeParameters();
50 for(TypeVariable t : tv)
58 TypeVariable[] tv = m.getTypeParameters();
60 for(TypeVariable t : tv)
65 public void testTv(TypeVariable<?> tv) { argument
66 Type[] t = tv.getBounds();
67 AnnotatedType[] at = tv.getAnnotatedBounds();
/openjdk9/jdk/src/java.base/windows/native/libnio/ch/
H A DWindowsSelectorImpl.c65 struct timeval timevalue, *tv; local
74 tv = &zerotime;
76 tv = NULL;
79 tv = &timevalue;
85 tv->tv_sec = INT_MAX;
86 tv->tv_usec = 0;
88 tv->tv_sec = (long)sec;
89 tv->tv_usec = (long)((timeout % 1000) * 1000);
113 if ((result = select(0 , &readfds, &writefds, &exceptfds, tv))
/openjdk9/jdk/src/jdk.attach/aix/native/libattach/
H A DVirtualMachineImpl.c72 struct timeval tv; local
73 tv.tv_sec = 2 * 60;
74 tv.tv_usec = 0;
76 setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, (char*)&tv, sizeof(tv));
77 setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, (char*)&tv, sizeof(tv));
/openjdk9/jdk/test/javax/crypto/CipherSpi/
H A DDirectBBRemaining.java121 for (TestVariant tv : TestVariant.values()) {
123 System.out.print(" " + tv);
126 switch (tv) {
/openjdk9/langtools/test/tools/javac/api/6421111/
H A DT6421111.java91 TypeVariable tv = (TypeVariable)type.getTypeArguments().get(0);
92 if (tv.asElement() != tpe)
93 throw error("%s != %s", tv.asElement(), tpe);
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/
H A DAnnotationValueImpl.java122 ToStringVisitor tv = new ToStringVisitor();
123 attr.accept(tv);
124 return tv.toString();
/openjdk9/jdk/src/java.base/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());
/openjdk9/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]);
/openjdk9/hotspot/src/os/aix/vm/
H A DattachListener_aix.cpp375 struct timeval tv; local
376 tv.tv_sec = 0;
377 tv.tv_usec = AttachListenerTimeout * 1000;
378 ::setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, (char*)&tv, sizeof(tv));
379 ::setsockopt(s, SOL_SOCKET, SO_SNDTIMEO, (char*)&tv, sizeof(tv));
/openjdk9/jdk/src/java.desktop/unix/native/libjsound/
H A DPLATFORM_API_SolarisOS_Utils.c42 struct timeval tv; local
43 gettimeofday(&tv, NULL);
44 return tv.tv_sec;
/openjdk9/langtools/test/tools/javadoc/
H A DCompletionError.java126 for (TypeVariable tv : tm.typeParameters()) {
127 tv.bounds();
/openjdk9/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/
H A DLdapName.java602 void add(TypeAndValue tv) { argument
604 // Set i to index of first element greater than tv, or to
608 int diff = tv.compareTo(tvs.elementAt(i));
610 return; // tv is a duplicate: ignore it
616 tvs.insertElementAt(tv, i);
641 TypeAndValue tv = tvs.elementAt(i);
642 int diff = tv.compareTo(that.tvs.elementAt(i));
663 TypeAndValue tv;
667 tv = tvs.elementAt(i);
668 if ((attr = attrs.get(tv
[all...]
/openjdk9/jdk/src/java.base/unix/native/libjava/
H A DUnixFileSystem_md.c413 struct timeval tv[2]; local
416 tv[0].tv_sec = sb.st_atime;
417 tv[0].tv_usec = 0;
420 tv[1].tv_sec = time / 1000;
421 tv[1].tv_usec = (time % 1000) * 1000;
423 if (utimes(path, tv) == 0)
/openjdk9/jdk/src/demo/share/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);
/openjdk9/jdk/src/demo/share/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);
/openjdk9/jdk/src/java.base/unix/native/libnet/
H A DInet4AddressImpl.c311 struct timeval tv; local
349 gettimeofday(&tv, NULL);
350 memcpy(icmp->icmp_data, &tv, sizeof(tv));
351 plen = ICMP_ADVLENMIN + sizeof(tv);
/openjdk9/jdk/test/java/util/Arrays/
H A DCopyMethods.java153 * int tv = testValues[i]
154 * (C)tv C is byte, short, char, long, float, double
155 * (tv&1)!=0 C is boolean
156 * (Integer)tv C is Object and tv%16 != 0
157 * null C is Object and tv%16 == 0
158 * Integer.toHexString(tv) C is String and tv != 0
159 * null C is String and tv == 0
168 int tv
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/lang/
H A DString.java1308 byte tv[] = value;
1323 if (tv[toffset++] != ov[ooffset++]) {
1330 if (StringLatin1.getChar(tv, toffset++) !=
1337 if (StringUTF16.getChar(tv, toffset++) !=
1408 byte tv[] = value;
1412 ? StringLatin1.regionMatchesCI(tv, toffset, ov, ooffset, len)
1413 : StringUTF16.regionMatchesCI(tv, toffset, ov, ooffset, len);
1416 ? StringLatin1.regionMatchesCI_UTF16(tv, toffset, ov, ooffset, len)
1417 : StringUTF16.regionMatchesCI_Latin1(tv, toffset, ov, ooffset, len);

Completed in 119 milliseconds

12