/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMErrorMonitor.java | 57 public void assertLowerSeverity(DOMTestCase testCase, String id, int severity) { argument 62 testCase.fail(id + error.getMessage());
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | CertificatePolicyId.java | 39 private ObjectIdentifier id; field in class:CertificatePolicyId 44 * @param id the ObjectIdentifier for the policy id. 46 public CertificatePolicyId(ObjectIdentifier id) { argument 47 this.id = id; 56 this.id = val.getOID(); 63 return (id); 71 + id.toString() 84 out.putOID(id); [all...] |
H A D | UniqueIdentity.java | 41 private BitArray id; field in class:UniqueIdentity 46 * @param id the byte array containing the unique identifier. 48 public UniqueIdentity(BitArray id) { argument 49 this.id = id; 55 * @param id the byte array containing the unique identifier. 57 public UniqueIdentity(byte[] id) { argument 58 this.id = new BitArray(id.length*8, id); [all...] |
H A D | SubjectKeyIdentifierExtension.java | 70 private KeyIdentifier id = null; field in class:SubjectKeyIdentifierExtension 74 if (id == null) { 79 id.encode(os); 90 id = new KeyIdentifier(octetString); 111 this.id = new KeyIdentifier(val); 119 + String.valueOf(id) + "]\n"; 148 id = (KeyIdentifier)obj; 161 return (id); 173 id = null;
|
H A D | AuthorityKeyIdentifierExtension.java | 78 private KeyIdentifier id = null; field in class:AuthorityKeyIdentifierExtension 84 if (id == null && names == null && serialNum == null) { 90 if (id != null) { 92 id.encode(tmp1); 120 * @param id the KeyIdentifier associated with this extension. 129 this.id = kid; 168 if (id != null) 172 id = new KeyIdentifier(opt); 200 if (id != null) { 201 s += id [all...] |
/libcore/ojluni/src/main/java/sun/util/locale/ |
H A D | Extension.java | 37 private String value, id; field in class:Extension 50 this.id = key + LanguageTag.SEP + value; 62 return id;
|
H A D | LocaleExtensions.java | 50 private final String id; field in class:LocaleExtensions 62 private LocaleExtensions(String id, Character key, Extension value) { argument 63 this.id = id; 78 id = ""; 128 id = ""; 131 id = toID(map); 220 return id; 224 return id; 229 return id [all...] |
/libcore/ojluni/src/main/java/java/time/ |
H A D | ZoneRegion.java | 99 private final String id; field in class:ZoneRegion 159 * @param id the time-zone ID, not null 162 ZoneRegion(String id, ZoneRules rules) { argument 163 this.id = id; 170 return id; 177 return (rules != null ? rules : ZoneRulesProvider.getRules(id, false)); 213 out.writeUTF(id); 217 String id = in.readUTF(); 218 return ZoneId.of(id, fals [all...] |
H A D | ZoneOffset.java | 162 private final transient String id; field in class:ZoneOffset 435 id = buildId(totalSeconds); 486 return id; 740 return id;
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
H A D | TCKZoneIdSerialization.java | 102 String id = "QWERTYUIOPASDFGHJKLZXCVBNM~/._+-"; 103 ZoneId deser = deserialize(id); 105 assertEquals(deser.getId(), id); 106 assertEquals(deser.toString(), id); 154 private ZoneId deserialize(String id) throws Exception { argument 173 dos.writeByte(1 + 2 + id.length()); // length of data (1 byte + 2 bytes UTF length + 32 bytes UTF) 175 dos.writeUTF(id);
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | TimeZoneNames.java | 131 public static String getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style) { argument 132 String[] needle = new String[] { id };
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | UnixUserPrincipals.java | 44 private final int id; // uid or gid field in class:UnixUserPrincipals.User 48 private User(int id, boolean isGroup, String name) { argument 49 this.id = id; 54 User(int id, String name) { argument 55 this(id, false, name); 61 return id; 66 return id; 71 return id == -1; 91 if ((this.id ! 109 Group(int id, String name) argument [all...] |
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
H A D | CalendarDataUtility.java | 74 public static String retrieveFieldValueName(String id, int field, int value, int style, argument 79 switch (normalizeCalendarType(id)) { 99 String[] names = getNames(id, field, style, locale); 106 public static String retrieveJavaTimeFieldValueName(String id, int field, int value, int style, argument 109 return retrieveFieldValueName(id, field, value, style, locale); 112 public static Map<String, Integer> retrieveFieldValueNames(String id, int field, int style, argument 117 names = retrieveFieldValueNamesImpl(id, field, SHORT_FORMAT, locale); 119 names.putAll(retrieveFieldValueNamesImpl(id, field, st, locale)); 123 names = retrieveFieldValueNamesImpl(id, field, style, locale); 128 public static Map<String, Integer> retrieveJavaTimeFieldValueNames(String id, in argument 149 retrieveFieldValueNamesImpl(String id, int field, int style, Locale locale) argument 185 getNames(String id, int field, int style, Locale locale) argument 212 getDateFormatSymbols(String id, Locale locale) argument [all...] |
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
H A D | ChronologyTest.java | 57 // note that this message is not strictly true: if two chronologies with the same id but 71 /** Dummy chronology that supports only returning an id and a type. */ 74 private final String id; field in class:ChronologyTest.DummyChronology 78 public DummyChronology(String id, String type) { argument 79 this.id = id; 86 return id;
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | IdentityScope2Test.java | 98 public void addIdentity(Identity id) throws KeyManagementException { argument 99 if (identities.containsKey(id)) 102 if (getIdentity(id.getPublicKey()) != null) 105 identities.put(id, id); 108 public void removeIdentity(Identity id) throws KeyManagementException { argument 109 if (!identities.containsKey(id)) 112 identities.remove(id); 185 Identity id = new IdentitySubclass("id1"); 186 id [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
H A D | MultiThreadAccessTest.java | 161 + " WHERE id="; 202 int id = 1; 206 + " WHERE id=" + id; 210 assertTrue("There is no records with id = " + id, result.next()); 212 // assertEquals("Wrong value of field " + field, BigDecimal.valueOf(id), 217 threadPool.runTask(createTask7(id, field)); 222 double expectedVal = id + numThreads; 224 assertTrue("There is no records with id 349 createTask4(final int id) argument 369 createTask5(final int id) argument 418 createTask7(final int id, final String field) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | StringBuffer2Test.java | 499 private void reverseTest(String id, String org, String rev, String back) { argument 504 assertTrue("reversed surrogate " + id + ": " + writeString(reversed), 510 assertTrue("reversed surrogate " + id + "a: " + writeString(reversed), 519 assertTrue("reversed surrogate " + id + ": " + writeString(reversed), 526 assertTrue("reversed surrogate " + id + "a: " + writeString(reversed),
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | WeakHashMapTest.java | 356 private int id = 0; field in class:WeakHashMapTest.ConstantHashClass 358 public ConstantHashClass(int id) { argument 359 this.id = id; 367 return "ConstantHashClass[id=" + id + "]";
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | DatatypeConstants.java | 167 * <p>Unique id of the field.</p> 172 private final int id; field in class:DatatypeConstants.Field 177 * @param id <code>int</code> representation of <code>Field</code> 179 private Field(final String str, final int id) { argument 181 this.id = id; 194 * <p>Get id of this Field.</p> 199 return id;
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | ZoneInfoDB.java | 50 // The database reserves 40 bytes for each id. 98 protected ZoneInfo create(String id) { 100 return makeTimeZoneUncached(id); 102 throw new IllegalStateException("Unable to load timezone for ID=" + id, e); 151 public BufferIterator getBufferIterator(String id) { argument 155 int index = Arrays.binarySearch(ids, id); 296 for (String id : getAvailableIDs()) { 297 ZoneInfo zoneInfo = makeTimeZoneUncached(id); 299 throw new IOException("Unable to find data for ID=" + id); 304 ZoneInfo makeTimeZoneUncached(String id) throw argument 356 makeTimeZone(String id) argument 363 hasTimeZone(String id) argument [all...] |
/libcore/luni/src/test/java/libcore/libcore/util/ |
H A D | CountryTimeZonesTest.java | 716 private static TimeZone zone(String id) { argument 717 return TimeZone.getTimeZone(id);
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | XsltXPathConformanceTestSuite.java | 189 * <test-case category="XSLT-Result-Tree" id="attribset_attribset01"> 209 String id = testCaseElement.getAttribute("id"); 210 String name = category + "." + id; 263 return new XsltTest(category, id, purpose, spec, principalData, 312 private final String id; field in class:XsltXPathConformanceTestSuite.XsltTest 329 XsltTest(String category, String id, String purpose, String spec, argument 334 this.id = id; 404 return category + "." + id; [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | AbstractChronology.java | 186 * @param id the ID to register the chronology; not null 189 static Chronology registerChrono(Chronology chrono, String id) { argument 190 Chronology prev = CHRONOS_BY_ID.putIfAbsent(id, chrono); 201 * Initialization of the maps from id and type to Chronology. 229 String id = chrono.getId(); 230 if (id.equals("ISO") || registerChrono(chrono) != null) { 233 logger.warning("Ignoring duplicate Chronology, from ServiceLoader configuration " + id); 288 * @param id the chronology ID or calendar system type, not null 292 static Chronology of(String id) { argument 293 Objects.requireNonNull(id, "i 321 of0(String id) argument [all...] |
H A D | Chronology.java | 131 * <h3 id="addcalendars">Adding New Calendars</h3> 143 * For lookup by id or calendarType, the system provided calendars are found 245 * @param id the chronology ID or calendar system type, not null 249 static Chronology of(String id) { argument 250 return AbstractChronology.of(id);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | TimeZone.java | 550 * @param id the ID for a <code>TimeZone</code>, either an abbreviation 558 // Android-changed: param s/ID/id; use ZoneInfoDB instead of ZoneInfo class. 559 public static synchronized TimeZone getTimeZone(String id) { argument 560 if (id == null) { 561 throw new NullPointerException("id == null"); 565 if (id.length() == 3) { 566 if (id.equals("GMT")) { 569 if (id.equals("UTC")) { 577 zone = ZoneInfoDB.getInstance().makeTimeZone(id); 582 if (zone == null && id 625 getCustomTimeZone(String id) argument [all...] |