Home
last modified time | relevance | path

Searched refs:cm (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DCookiesMCompatibilityTest.java37 CookieManager cm = new CookieManager(createCookieStore(), null); in testCookiesWithoutLeadingPeriod() local
42 cm.put(uri, responseHeaders); in testCookiesWithoutLeadingPeriod()
44 Map<String, List<String>> cookies = cm.get( in testCookiesWithoutLeadingPeriod()
52 CookieManager cm = new CookieManager(createCookieStore(), null); in testCookiesWithLeadingPeriod() local
57 cm.put(uri, responseHeaders); in testCookiesWithLeadingPeriod()
58 Map<String, List<String>> cookies = cm.get( in testCookiesWithLeadingPeriod()
DCookiesTest.java37 CookieManager cm = new CookieManager(createCookieStore(), null); in testCookiesWithLeadingPeriod() local
42 cm.put(uri, responseHeaders); in testCookiesWithLeadingPeriod()
44 Map<String, List<String>> cookies = cm.get( in testCookiesWithLeadingPeriod()
DAbstractCookiesTest.java1480 CookieManager cm = new CookieManager(fscs, CookiePolicy.ACCEPT_ALL); in testCookieWithNullPath() local
1488 Map<String, List<String>> cookieHeaders = cm.get( in testCookieWithNullPath()
1540 CookieManager cm = new CookieManager(createCookieStore(), null); in testCookieWithNoPeriod() local
1545 cm.put(uri, responseHeaders); in testCookieWithNoPeriod()
1547 Map<String, List<String>> cookies = cm.get( in testCookieWithNoPeriod()
1558 CookieManager cm = new CookieManager(createCookieStore(), null); in testLenientExpiresParsing() local
1567 cm.put(uri, header); in testLenientExpiresParsing()
1569 List<HttpCookie> cookies = cm.getCookieStore().getCookies(); in testLenientExpiresParsing()
1581 CookieManager cm = new CookieManager(createCookieStore(), null); in testClearingWithMaxAge0() local
1590 cm.put(uri, header); in testClearingWithMaxAge0()
[all …]
/libcore/luni/src/main/native/
DNetworkUtilities.cpp218 struct cmsghdr *cm = NULL; in structCmsghdrArrayToMsgcontrol() local
256 for (cm = CMSG_FIRSTHDR(&mhdr), i = 0; (cm != NULL); cm = CMSG_NXTHDR(&mhdr, cm), ++i) in structCmsghdrArrayToMsgcontrol()
263 cm->cmsg_level = env->GetIntField(cmsg.get(), cmsgLevelFid); in structCmsghdrArrayToMsgcontrol()
264 cm->cmsg_type = env->GetIntField(cmsg.get(), cmsgTypeFid); in structCmsghdrArrayToMsgcontrol()
266 cm->cmsg_len = CMSG_LEN(data_len); in structCmsghdrArrayToMsgcontrol()
268 data_len, reinterpret_cast<jbyte*>CMSG_DATA(cm)); in structCmsghdrArrayToMsgcontrol()
277 struct cmsghdr *cm = NULL; in msgcontrolToStructCmsghdrArray() local
293 for (cm = CMSG_FIRSTHDR(&mhdr); (cm != NULL); cm = CMSG_NXTHDR(&mhdr, cm)) { in msgcontrolToStructCmsghdrArray()
306 for (cm = CMSG_FIRSTHDR(&mhdr),i=0; (cm!=NULL); cm = CMSG_NXTHDR(&mhdr, cm),i++) { in msgcontrolToStructCmsghdrArray()
309 env->NewByteArray(cm->cmsg_len - sizeof(struct cmsghdr))); in msgcontrolToStructCmsghdrArray()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DConcurrentModificationExceptionTest.java59 CollectionModifier cm = new CollectionModifier(myCollection); in test_Constructor() local
60 Thread collectionSlapper = new Thread(cm); in test_Constructor()
66 cm.stopNow(); in test_Constructor()
69 cm.stopNow(); in test_Constructor()
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpClientProvider.java65 String cm = System.getProperty("sun.net.ftpClientProvider"); in loadProviderFromProperty() local
66 if (cm == null) { in loadProviderFromProperty()
70 Class<?> c = Class.forName(cm, true, null); in loadProviderFromProperty()
/libcore/ojluni/src/test/java/util/Collection/
DMOAT.java1403 final ConcurrentMap<T,Integer> cm = (m instanceof ConcurrentMap) in checkNPEConsistency() local
1410 if (cm != null) in checkNPEConsistency()
1411 fs.add(() -> check(! cm.remove(null,null))); in checkNPEConsistency()
1418 if (cm != null) { in checkNPEConsistency()
1419 fs.add(() -> check(! cm.remove(null,null))); in checkNPEConsistency()
1420 fs.add(() -> equal(cm.putIfAbsent(null,1), 1)); in checkNPEConsistency()
1421 fs.add(() -> equal(cm.replace(null,1), null)); in checkNPEConsistency()
1422 fs.add(() -> equal(cm.replace(null,1, 1), 1)); in checkNPEConsistency()