Searched refs:id (Results 1 - 25 of 65) sorted by relevance

123

/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...]
H A DCertificatePolicySet.java65 CertificatePolicyId id = new CertificatePolicyId(seq[i]);
66 ids.addElement(id);
/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/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/test/java/libcore/java/util/
H A DOldLinkedHashMapTest.java36 String id = (String) iterator.next();
37 map.get(id);
52 id = (String) iterator.next();
53 mapClone.get(id);
H A DTimeZoneTest.java28 // http://code.google.com/p/android/issues/detail?id=877
34 // http://code.google.com/p/android/issues/detail?id=8016
40 // http://code.google.com/p/android/issues/detail?id=11542
58 // http://code.google.com/p/android/issues/detail?id=14395
111 for (String id : ids) {
112 TimeZone tz = TimeZone.getTimeZone(id);
123 // http://code.google.com/p/android/issues/detail?id=16608
133 // http://code.google.com/p/android/issues/detail?id=11918
140 // http://code.google.com/p/android/issues/detail?id=24036
149 // http://b.corp.google.com/issue?id
[all...]
/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/tests/support/
H A DDatabaseCreator.java63 + " (id INTEGER NOT NULL," + " field1 CHAR(100) DEFAULT NULL,"
66 + " PRIMARY KEY (id) FOREIGN KEY (fkey) REFERENCES "
101 + PARENT_TABLE + "(id INTEGER NOT NULL, "
102 + "name CHAR(200), PRIMARY KEY(id))";
105 + FKSTRICT_TABLE + "(id INTEGER NOT NULL," + "name_id INTEGER,"
106 + "value CHAR(200), PRIMARY KEY(id), "
108 + PARENT_TABLE + " (id) " + "ON DELETE RESTRICT "
112 + FKCASCADE_TABLE + "(id INTEGER NOT NULL," + "name_id INTEGER,"
113 + "value CHAR(200), PRIMARY KEY(id), "
115 + PARENT_TABLE + " (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...]
/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/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DSequentialOpTest.java54 Function<Integer, Integer> id = LambdaTestHelpers.identity();
60 (UnaryOperator<Stream<Integer>>) s -> s.map(id).peek(e -> { counter.incrementAndGet(); }).sequential().map(id),
61 (UnaryOperator<Stream<Integer>>) s -> s.map(id).peek(e -> { counter.incrementAndGet(); }).parallel().map(id),
62 (UnaryOperator<Stream<Integer>>) s -> s.sequential().map(id).peek(e -> {
64 }).map(id),
65 (UnaryOperator<Stream<Integer>>) s -> s.parallel().map(id).peek(e -> { counter.incrementAndGet(); }).map(id)
100 Function<Integer, Integer> id
[all...]
/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/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/security/ssl/
H A DSignatureAndHashAlgorithm.java83 // id in 16 bit MSB format, i.e. 0x0603 for SHA512withECDSA
84 private int id; field in class:SignatureAndHashAlgorithm
101 this.id = ((hash.value & 0xFF) << 8) | (signature.value & 0xFF);
106 private SignatureAndHashAlgorithm(String algorithm, int id, int sequence) { argument
107 this.hash = HashAlgorithm.valueOf((id >> 8) & 0xFF);
108 this.signature = SignatureAlgorithm.valueOf(id & 0xFF);
110 this.id = id;
124 int id = (hash << 8) | signature;
125 SignatureAndHashAlgorithm signAlg = supportedMap.get(id);
[all...]
H A DHelloExtensions.java160 final int id; field in class:ExtensionType
163 private ExtensionType(int id, String name) { argument
164 this.id = id;
174 static ExtensionType get(int id) { argument
176 if (ext.id == id) {
180 return new ExtensionType(id, "type_" + id);
183 private static ExtensionType e(int id, Strin argument
[all...]
/libcore/luni/src/test/java/libcore/icu/
H A DTransliteratorTest.java27 String id = ids.nextElement();
28 System.err.println(id);
29 Transliterator t = Transliterator.getInstance(id);
H A DTimeZoneNamesTest.java31 for (String id : ids) {
32 assertTrue(allIds.contains(id));
/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...]

Completed in 994 milliseconds

123