Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java538 TypeVariable [] tv = TempTestClass1.class.getTypeParameters(); in test_getTypeParameters() local
539 assertEquals(1, tv.length); in test_getTypeParameters()
540 assertEquals(Object.class, tv[0].getBounds()[0]); in test_getTypeParameters()
543 tv = tc.getClass().getTypeParameters(); in test_getTypeParameters()
544 assertEquals(1, tv.length); in test_getTypeParameters()
545 assertEquals(String.class, tv[0].getBounds()[0]); in test_getTypeParameters()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DVectorTest.java44 Vector tv = new Vector(100); in test_Constructor() local
46 tv.addElement(new Integer(i)); in test_Constructor()
47 new Support_ListTest("", tv).runTest(); in test_Constructor()
49 tv = new Vector(200); in test_Constructor()
51 tv.addElement(new Integer(i)); in test_Constructor()
52 new Support_ListTest("", tv.subList(50, 150)).runTest(); in test_Constructor()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DMethodTest.java466 TypeVariable<Class<ExceptionTest<?>>> tv = in test_getGenericExceptionTypes() local
468 assertEquals("T", tv.getName()); in test_getGenericExceptionTypes()
481 TypeVariable<Class<ExceptionTest<?>>> tv = in test_getGenericReturnType() local
483 assertEquals("T", tv.getName()); in test_getGenericReturnType()
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp333 static jobject makeStructTimeval(JNIEnv* env, const struct timeval& tv) { in makeStructTimeval() argument
336 static_cast<jlong>(tv.tv_sec), static_cast<jlong>(tv.tv_usec)); in makeStructTimeval()
838 struct timeval tv; in Posix_getsockoptTimeval() local
839 socklen_t size = sizeof(tv); in Posix_getsockoptTimeval()
840 memset(&tv, 0, size); in Posix_getsockoptTimeval()
841 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &tv, &size)); in Posix_getsockoptTimeval()
846 return makeStructTimeval(env, tv); in Posix_getsockoptTimeval()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java383 StructTimeval tv = StructTimeval.fromMillis(millis); in setSocketOptionErrno() local
384 Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, tv); in setSocketOptionErrno()