Home
last modified time | relevance | path

Searched refs:cm (Results 1 – 6 of 6) 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.java1473 CookieManager cm = new CookieManager(fscs, CookiePolicy.ACCEPT_ALL); in testCookieWithNullPath() local
1481 Map<String, List<String>> cookieHeaders = cm.get( in testCookieWithNullPath()
1533 CookieManager cm = new CookieManager(createCookieStore(), null); in testCookieWithNoPeriod() local
1538 cm.put(uri, responseHeaders); in testCookieWithNoPeriod()
1540 Map<String, List<String>> cookies = cm.get( in testCookieWithNoPeriod()
1551 CookieManager cm = new CookieManager(createCookieStore(), null); in testLenientExpiresParsing() local
1560 cm.put(uri, header); in testLenientExpiresParsing()
1562 List<HttpCookie> cookies = cm.getCookieStore().getCookies(); in testLenientExpiresParsing()
1574 CookieManager cm = new CookieManager(createCookieStore(), null); in testClearingWithMaxAge0() local
1583 cm.put(uri, header); in testClearingWithMaxAge0()
[all …]
/libcore/luni/src/main/native/
DNetworkUtilities.cpp210 struct cmsghdr *cm = NULL; in structCmsghdrArrayToMsgcontrol() local
248 for (cm = CMSG_FIRSTHDR(&mhdr), i = 0; (cm != NULL); cm = CMSG_NXTHDR(&mhdr, cm), ++i) in structCmsghdrArrayToMsgcontrol()
255 cm->cmsg_level = env->GetIntField(cmsg.get(), cmsgLevelFid); in structCmsghdrArrayToMsgcontrol()
256 cm->cmsg_type = env->GetIntField(cmsg.get(), cmsgTypeFid); in structCmsghdrArrayToMsgcontrol()
258 cm->cmsg_len = CMSG_LEN(data_len); in structCmsghdrArrayToMsgcontrol()
260 data_len, reinterpret_cast<jbyte*>CMSG_DATA(cm)); in structCmsghdrArrayToMsgcontrol()
269 struct cmsghdr *cm = NULL; in msgcontrolToStructCmsghdrArray() local
285 for (cm = CMSG_FIRSTHDR(&mhdr); (cm != NULL); cm = CMSG_NXTHDR(&mhdr, cm)) { in msgcontrolToStructCmsghdrArray()
298 for (cm = CMSG_FIRSTHDR(&mhdr),i=0; (cm!=NULL); cm = CMSG_NXTHDR(&mhdr, cm),i++) { in msgcontrolToStructCmsghdrArray()
301 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()