Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/x509/
DCertificatePolicySet.java43 private final Vector<CertificatePolicyId> ids; field in CertificatePolicySet
50 public CertificatePolicySet(Vector<CertificatePolicyId> ids) { in CertificatePolicySet() argument
51 this.ids = ids; in CertificatePolicySet()
61 ids = new Vector<CertificatePolicyId>(); in CertificatePolicySet()
66 ids.addElement(id); in CertificatePolicySet()
75 + ids.toString() in toString()
89 for (int i = 0; i < ids.size(); i++) { in encode()
90 ids.elementAt(i).encode(tmp); in encode()
102 return Collections.unmodifiableList(ids); in getCertPolicyIds()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimeZoneTest.java227 List<String> ids = Arrays.asList(TimeZone.getAvailableIDs(rawOffset)); in test_getAvailableIDs_I_16947622() local
231 assertTrue(ids.toString(), ids.contains("America/Los_Angeles")); in test_getAvailableIDs_I_16947622()
235 assertTrue(ids.toString(), ids.contains("America/Dawson")); in test_getAvailableIDs_I_16947622()
236 assertTrue(ids.toString(), ids.contains("America/Tijuana")); in test_getAvailableIDs_I_16947622()
237 assertTrue(ids.toString(), ids.contains("America/Vancouver")); in test_getAvailableIDs_I_16947622()
238 assertTrue(ids.toString(), ids.contains("Canada/Pacific")); in test_getAvailableIDs_I_16947622()
239 assertTrue(ids.toString(), ids.contains("Canada/Yukon")); in test_getAvailableIDs_I_16947622()
240 assertTrue(ids.toString(), ids.contains("Pacific/Pitcairn")); in test_getAvailableIDs_I_16947622()
246 String[] ids = TimeZone.getAvailableIDs(rawoffset); in test_getAvailableIDs_I() local
247 List<String> idList = Arrays.asList(ids); in test_getAvailableIDs_I()
[all …]
DGregorianCalendarTest.java342 String[] ids = TimeZone.getAvailableIDs(); in test_getActualMaximumI() local
343 for (int i = 0; i < ids.length; i++) { in test_getActualMaximumI()
344 TimeZone tz = TimeZone.getTimeZone(ids[i]); in test_getActualMaximumI()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneId.java100 Map<String, String> ids = ZoneId.SHORT_IDS; in test_constant_OLD_IDS_POST_2005() local
101 assertEquals(ids.get("EST"), "-05:00"); in test_constant_OLD_IDS_POST_2005()
102 assertEquals(ids.get("MST"), "-07:00"); in test_constant_OLD_IDS_POST_2005()
103 assertEquals(ids.get("HST"), "-10:00"); in test_constant_OLD_IDS_POST_2005()
104 assertEquals(ids.get("ACT"), "Australia/Darwin"); in test_constant_OLD_IDS_POST_2005()
105 assertEquals(ids.get("AET"), "Australia/Sydney"); in test_constant_OLD_IDS_POST_2005()
106 assertEquals(ids.get("AGT"), "America/Argentina/Buenos_Aires"); in test_constant_OLD_IDS_POST_2005()
107 assertEquals(ids.get("ART"), "Africa/Cairo"); in test_constant_OLD_IDS_POST_2005()
108 assertEquals(ids.get("AST"), "America/Anchorage"); in test_constant_OLD_IDS_POST_2005()
109 assertEquals(ids.get("BET"), "America/Sao_Paulo"); in test_constant_OLD_IDS_POST_2005()
[all …]
/libcore/luni/src/main/java/libcore/timezone/
DZoneInfoDB.java91 private String[] ids; field in ZoneInfoDB.TzData
161 int index = Arrays.binarySearch(ids, id); in getBufferIterator()
175 ids = new String[] { "GMT" }; in populateFallback()
265 ids = new String[entryCount]; in readIndex()
289 ids[i] = new String(idBytes, 0, len, StandardCharsets.US_ASCII); in readIndex()
291 if (ids[i].compareTo(ids[i - 1]) <= 0) { in readIndex()
293 + ", index=" + i + ", ids[i]=" + ids[i] + ", ids[i - 1]=" + ids[i - 1]); in readIndex()
322 return ids.clone(); in getAvailableIDs()
331 matches.add(ids[i]); in getAvailableIDs()
341 rawUtcOffsetsCache = new int[ids.length]; in getRawUtcOffsets()
[all …]
/libcore/ojluni/src/main/java/sun/security/jca/
DProviderList.java360 List<ServiceId> ids = new ArrayList<>();
362 ids.add(new ServiceId(type, alg));
364 return getServices(ids);
367 public List<Service> getServices(List<ServiceId> ids) {
368 return new ServiceList(ids);
385 private final List<ServiceId> ids;
402 this.ids = null;
405 ServiceList(List<ServiceId> ids) {
408 this.ids = ids;
443 for (ServiceId id : ids) {
DGetInstance.java133 public static List<Service> getServices(List<ServiceId> ids) { in getServices() argument
135 return list.getServices(ids); in getServices()
/libcore/ojluni/src/main/native/
DUnixFileSystem_md.c62 } ids; variable
73 ids.path = (*env)->GetFieldID(env, fileClass, in Java_java_io_UnixFileSystem_initIDs()
182 WITH_FIELD_PLATFORM_STRING(env, file, ids.path, path) { in Java_java_io_UnixFileSystem_setPermission0()
227 WITH_FIELD_PLATFORM_STRING(env, file, ids.path, path) { in Java_java_io_UnixFileSystem_getLastModifiedTime0()
319 WITH_FIELD_PLATFORM_STRING(env, file, ids.path, path) { in Java_java_io_UnixFileSystem_list0()
392 WITH_FIELD_PLATFORM_STRING(env, file, ids.path, path) { in Java_java_io_UnixFileSystem_createDirectory0()
428 WITH_FIELD_PLATFORM_STRING(env, file, ids.path, path) { in Java_java_io_UnixFileSystem_setLastModifiedTime0()
457 WITH_FIELD_PLATFORM_STRING(env, file, ids.path, path) { in Java_java_io_UnixFileSystem_setReadOnly0()
475 WITH_FIELD_PLATFORM_STRING(env, file, ids.path, path) { in Java_java_io_UnixFileSystem_getSpace0()
/libcore/luni/src/test/java/libcore/libcore/icu/
DTransliteratorTest.java25 Enumeration<String> ids = Transliterator.getAvailableIDs(); in testAll() local
26 while (ids.hasMoreElements()) { in testAll()
27 String id = ids.nextElement(); in testAll()
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DProviderList.java126 java.util.List<sun.security.jca.ServiceId> ids) { in getServices() argument
181 ServiceList(java.util.List<sun.security.jca.ServiceId> ids) { in ServiceList() argument
217 private final java.util.List<sun.security.jca.ServiceId> ids; field in ProviderList.ServiceList
220 ids = null;
DGetInstance.java68 java.util.List<sun.security.jca.ServiceId> ids) { in getServices() argument
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java149 String[] ids = new String[] { "Africa/Bujumbura", "Indian/Cocos", "Pacific/Wake", "UTC" }; in testMinimalTransitionZones() local
150 for (String id : ids) { in testMinimalTransitionZones()
/libcore/luni/src/test/java/libcore/libcore/timezone/
DCountryTimeZonesTest.java730 private static List<TimeZone> zones(String... ids) { in zones() argument
731 return Arrays.stream(ids).map(TimeZone::getTimeZone).collect(Collectors.toList()); in zones()