Searched defs:id (Results 1 - 25 of 31) sorted by relevance

12

/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMErrorMonitor.java57 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 DCertificatePolicyId.java39 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 DUniqueIdentity.java41 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 DCertificateIssuerUniqueIdentity.java44 private UniqueIdentity id; field in class:CertificateIssuerUniqueIdentity
55 public static final String ID = "id";
62 public CertificateIssuerUniqueIdentity(UniqueIdentity id) { argument
63 this.id = id;
74 id = new UniqueIdentity(in);
86 id = new UniqueIdentity(val);
97 id = new UniqueIdentity(val);
104 if (id == null) return "";
105 return (id
[all...]
H A DCertificateSubjectUniqueIdentity.java52 public static final String ID = "id";
54 private UniqueIdentity id; field in class:CertificateSubjectUniqueIdentity
61 public CertificateSubjectUniqueIdentity(UniqueIdentity id) { argument
62 this.id = id;
73 id = new UniqueIdentity(in);
85 id = new UniqueIdentity(val);
96 id = new UniqueIdentity(val);
103 if (id == null) return "";
104 return(id
[all...]
H A DSubjectKeyIdentifierExtension.java70 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 DAuthorityKeyIdentifierExtension.java78 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 DExtension.java37 private String value, id; field in class:Extension
50 this.id = key + LanguageTag.SEP + value;
62 return id;
H A DLocaleExtensions.java50 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/luni/src/main/java/libcore/icu/
H A DTimeZoneNames.java114 public static String getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style) { argument
115 String[] needle = new String[] { id };
/libcore/luni/src/main/native/
H A Dlibcore_icu_TimeZoneNames.cpp33 static bool isUtc(const icu::UnicodeString& id) { argument
44 return id == kEtcUct || id == kEtcUtc || id == kEtcUniversal || id == kEtcZulu ||
45 id == kUct || id == kUtc || id == kUniversal || id == kZulu;
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DBinaryHprofWriter.java33 private int nextStringId = 1; // id 0 => null
144 private void writeId(int id) throws IOException { argument
145 out.writeInt(id);
164 int id = nextStringId++;
165 stringToId.put(string, id);
171 out.writeInt(id);
174 return id;
214 int id = nextClassId++;
215 classNameToId.put(className, id);
221 out.writeInt(id);
[all...]
/libcore/luni/src/main/java/libcore/util/
H A DZoneInfoDB.java73 protected ZoneInfo create(String id) {
74 BufferIterator it = getBufferIterator(id);
79 return ZoneInfo.makeTimeZone(id, it);
103 public BufferIterator getBufferIterator(String id) { argument
105 int index = Arrays.binarySearch(ids, id);
165 // The database reserves 40 bytes for each id.
252 public ZoneInfo makeTimeZone(String id) throws IOException { argument
253 ZoneInfo zoneInfo = cache.get(id);
258 public boolean hasTimeZone(String id) throws IOException { argument
259 return cache.get(id) !
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DIdentityScope2Test.java98 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 DMultiThreadAccessTest.java161 + " 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...]
H A DDatabaseMetaDataTest.java59 private static int id = 1; field in class:DatabaseMetaDataTest
171 + " (id, field1) VALUES( 1234567, 'test1');");
175 result.updateInt("id", 1234567);
339 String[] fields = {"id", "field1", "field2", "field3", "fkey"};
849 assertEquals("Incorrect column name", "id", rs.getString("COLUMN_NAME")
1490 + " ORDER BY id + field3";
1591 statementForward.execute("create table companies(id integer not null);");
1615 + DatabaseCreator.TEST_TABLE1 + " ORDER BY id + field3";
1820 + " (id, field1, field2, field3) VALUES(" + id
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStringBuffer2Test.java499 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 DWeakHashMapTest.java350 private int id = 0; field in class:WeakHashMapTest.ConstantHashClass
352 public ConstantHashClass(int id) { argument
353 this.id = id;
361 return "ConstantHashClass[id=" + id + "]";
/libcore/luni/src/main/java/javax/xml/datatype/
H A DDatatypeConstants.java167 * <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/test/java/libcore/xml/
H A DXsltXPathConformanceTestSuite.java189 * <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/util/
H A DTimeZone.java540 * @param id the ID for a <code>TimeZone</code>, either an abbreviation
548 // Android changed param s/ID/id
549 public static synchronized TimeZone getTimeZone(String id) { argument
550 if (id == null) {
551 throw new NullPointerException("id == null");
555 if (id.length() == 3) {
556 if (id.equals("GMT")) {
559 if (id.equals("UTC")) {
567 zone = ZoneInfoDB.getInstance().makeTimeZone(id);
572 if (zone == null && id
583 getCustomTimeZone(String id) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/www/
H A DMessageHeader.java409 /** Convert a message-id string to canonical form (strips off
411 public static String canonicalID(String id) { argument
412 if (id == null)
415 int len = id.length();
418 while (st < len && ((c = id.charAt(st)) == '<' ||
423 while (st < len && ((c = id.charAt(len - 1)) == '>' ||
428 return substr ? id.substring(st, len) : id;
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DmySSLSession.java31 public mySSLSession(String host, int port, byte[] id) { argument
36 idData = id;
/libcore/dalvik/src/main/java/dalvik/system/
H A DVMDebug.java347 public static native void infopoint(int id); argument
455 int id = runtimeStatsMap.get(name);
456 String value = values[id];
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ldap/
H A DLDAPCertStore.java430 * Gets certificates from an attribute id and location in the LDAP
435 * @param id the attribute identifier
441 String id, X509CertSelector sel) throws CertStoreException {
446 encodedCert = request.getValues(id);
480 * Gets certificate pairs from an attribute id and location in the LDAP
484 * @param id the attribute identifier
489 LDAPRequest request, String id) throws CertStoreException {
494 encodedCertPair = request.getValues(id);
705 * Gets CRLs from an attribute id and location in the LDAP directory.
710 * @param id th
440 getCertificates(LDAPRequest request, String id, X509CertSelector sel) argument
488 getCertPairs( LDAPRequest request, String id) argument
715 getCRLs(LDAPRequest request, String id, X509CRLSelector sel) argument
[all...]

Completed in 3040 milliseconds

12