Searched refs:ct (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/sun/net/www/ |
D | URLConnection.java | 146 String ct = null; in getContentType() local 148 ct = guessContentTypeFromStream(getInputStream()); in getContentType() 152 if (ct == null) { in getContentType() 153 ct = properties.findValue("content-type"); in getContentType() 155 if (ct == null) in getContentType() 157 ct = "text/html"; in getContentType() 159 ct = guessContentTypeFromName(url.getFile()); in getContentType() 171 if (ct == null || ce != null && in getContentType() 175 ct = "content/unknown"; in getContentType() 176 setContentType(ct); in getContentType()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetTest.java | 59 for (CheckerThread ct : threads) { in test_multiThreadedForName() 60 ct.start(); in test_multiThreadedForName() 63 for (CheckerThread ct : threads) { in test_multiThreadedForName() 64 ct.join(); in test_multiThreadedForName() 67 for (CheckerThread ct : threads) { in test_multiThreadedForName() 68 assertTrue(!ct.failed); in test_multiThreadedForName()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 120 Thread st, ct, spinner; field in ThreadTest 127 ct = new Thread(new SimpleThread(10)); in test_ConstructorLjava_lang_Runnable() 128 ct.start(); in test_ConstructorLjava_lang_Runnable() 482 ct = new ChildThread1(Thread.currentThread(), "Interrupt Test1", in test_interrupt() 485 ct.start(); in test_interrupt() 495 ct = new ChildThread1(Thread.currentThread(), "Interrupt Test2", in test_interrupt() 498 ct.start(); in test_interrupt() 864 ct = new Thread(t, "Interrupt Test4"); in test_start() 865 ct.start(); in test_start() 868 assertTrue("Thread is not running1", ct.isAlive()); in test_start() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | EncryptedPrivateKeyInfoTest.java | 208 epki = new EncryptedPrivateKeyInfo(algName[i][0], g.ct()); in test_getAlgName() 210 epki = new EncryptedPrivateKeyInfo(g.ap(), g.ct()); in test_getAlgName() 1125 epki = new EncryptedPrivateKeyInfo(algName[i][0], g.ct()); in test_ROUNDTRIP_GetKeySpecCipher01() 1127 epki = new EncryptedPrivateKeyInfo(g.ap(), g.ct()); in test_ROUNDTRIP_GetKeySpecCipher01() 1164 epki = new EncryptedPrivateKeyInfo(algName[i][0], g.ct()); in test_ROUNDTRIP_GetKeySpecCipher02() 1166 epki = new EncryptedPrivateKeyInfo(g.ap(), g.ct()); in test_ROUNDTRIP_GetKeySpecCipher02() 1227 epki = new EncryptedPrivateKeyInfo(algName[i][0], g.ct()); in test_ROUNDTRIP_GetKeySpecKey01() 1229 epki = new EncryptedPrivateKeyInfo(g.ap(), g.ct()); in test_ROUNDTRIP_GetKeySpecKey01() 1265 epki = new EncryptedPrivateKeyInfo(algName[i][0], g.ct()); in test_ROUNDTRIP_GetKeySpecKey02() 1267 epki = new EncryptedPrivateKeyInfo(g.ap(), g.ct()); in test_ROUNDTRIP_GetKeySpecKey02() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | StreamTokenizer.java | 530 byte ct[] = ctype; in nextToken() 555 int ctype = c < 256 ? ct[c] : CT_ALPHA; in nextToken() 577 ctype = c < 256 ? ct[c] : CT_ALPHA; in nextToken() 626 ctype = c < 0 ? CT_WHITESPACE : c < 256 ? ct[c] : CT_ALPHA; in nextToken() 734 if ((ct['/'] & CT_COMMENT) != 0) { in nextToken()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressSource.java | 119 public void setContentType(String ct) { in setContentType() argument 120 contentType = ct; in setContentType()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodTypeForm.java | 369 Class<?> ct; in canonicalize() local 375 ct = Wrapper.asPrimitiveType(t); in canonicalize() 376 if (ct != t) return ct; in canonicalize()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 460 Thread st, ct, spinner; field in OldThreadTest 475 if (ct != null) in tearDown() 476 ct.interrupt(); in tearDown() 483 ct = null; in tearDown()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
D | ReferenceQueueTest.java | 159 Thread ct = new Thread(new ChildThread()); in test_removeJ() local 160 ct.start(); in test_removeJ()
|