Searched defs:id (Results 1 - 25 of 26) sorted by path

12

/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...
/libcore/dalvik/src/main/java/dalvik/system/
H A DVMDebug.java345 public static native void infopoint(int id); argument
/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/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DSerializationStressTest2.java504 public float id; field in class:SerializationStressTest2.DeepNesting
512 public DeepNesting(float id) { argument
513 this.id = id;
551 public float id; field in class:SerializationStressTest2.DeepNestingWithWriteObject
559 public DeepNestingWithWriteObject(float id) { argument
560 this.id = id;
/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.java352 private int id = 0; field in class:WeakHashMapTest.ConstantHashClass
354 public ConstantHashClass(int id) { argument
355 this.id = id;
363 return "ConstantHashClass[id=" + id + "]";
/libcore/libart/src/main/java/java/lang/
H A DThread.java141 private long id; field in class:Thread
362 id = ++Thread.count;
366 this.name = "Thread-" + id;
415 id = ++Thread.count;
419 this.name = "Thread-" + id;
559 return id;
/libcore/luni/src/main/java/java/net/
H A DSocks4Message.java108 * Returns the user id for authentication.
115 * Set the user id for authentication.
117 public void setUserId(String id) { argument
118 setString(INDEX_USER_ID, MAX_USER_ID_LENGTH, id);
139 * searches for the end of the user id, then searches for the end of the
145 // Look for the end of the user id.
148 * Finds the end of the user id by searching for the null
149 * termination of the user id string.
/libcore/luni/src/main/java/java/util/
H A DTimeZone.java329 * Returns a {@code TimeZone} corresponding to the given {@code id}, or {@code GMT}
347 public static synchronized TimeZone getTimeZone(String id) { argument
348 if (id == null) {
349 throw new NullPointerException("id == null");
353 if (id.length() == 3) {
354 if (id.equals("GMT")) {
357 if (id.equals("UTC")) {
365 zone = ZoneInfoDB.getInstance().makeTimeZone(id);
370 if (zone == null && id.length() > 3 && id
381 getCustomTimeZone(String id) argument
449 setID(String id) argument
[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/main/java/libcore/icu/
H A DTimeZoneNames.java113 public static String getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style) { argument
114 String[] needle = new String[] { id };
H A DTransliterator.java26 * Creates a new Transliterator for the given id.
28 public Transliterator(String id) { argument
29 peer = create(id);
53 private static native long create(String id); argument
/libcore/luni/src/main/java/libcore/util/
H A DZoneInfo.java62 public static ZoneInfo makeTimeZone(String id, BufferIterator it) { argument
100 return new ZoneInfo(id, transitions, type, gmtOffsets, isDsts);
161 // See http://code.google.com/p/android/issues/detail?id=877.
237 // http://code.google.com/p/android/issues/detail?id=14395
303 return getClass().getName() + "[id=\"" + getID() + "\"" +
H A DZoneInfoDB.java79 protected ZoneInfo create(String id) {
81 int index = Arrays.binarySearch(ids, id);
89 return ZoneInfo.makeTimeZone(id, it);
160 // The database reserves 40 bytes for each id.
247 public ZoneInfo makeTimeZone(String id) throws IOException { argument
248 ZoneInfo zoneInfo = cache.get(id);
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1Type.java37 public final int id; field in class:ASN1Type
73 this.id = tagClass + tagNumber;
78 this.constrId = this.id + PC_CONSTRUCTED;
168 return getClass().getName() + "(tag: 0x" + Integer.toHexString(0xff & this.id) + ")";
/libcore/luni/src/main/native/
H A Dlibcore_icu_TimeZoneNames.cpp32 static bool isUtc(const UnicodeString& id) { argument
43 return id == kEtcUct || id == kEtcUtc || id == kEtcUniversal || id == kEtcZulu ||
44 id == kUct || id == kUtc || id == kUniversal || id == kZulu;
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldAndroidMonitorTest.java314 int id; field in class:OldAndroidMonitorTest.Worker
316 Worker(int id, Object lock) { argument
317 super("Worker(" + id + ")");
318 this.id = id;
326 OldAndroidMonitorTest.deepWait(id, lock);
/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/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 DDatabaseMetaDataNotSupportedTest.java54 private static int id = 1; field in class:DatabaseMetaDataNotSupportedTest
286 assertEquals("Incorrect column name", "id", rs.getString("COLUMN_NAME"));
300 DatabaseCreator.TEST_TABLE1, "id");
305 String query = "GRANT REFERENCES(id) ON " + DatabaseCreator.TEST_TABLE1
310 DatabaseCreator.TEST_TABLE1, "id");
328 assertEquals("Incorrect column name", "id", rs.getString("COLUMN_NAME")
337 query = "REVOKE REFERENCES(id) ON " + DatabaseCreator.TEST_TABLE1
570 + " SET field1='fffff' WHERE id=1";
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...]
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/test/native/
H A Dtest_openssl_engine.cpp114 static int test_engine_bind_fn(ENGINE *e, const char *id) { argument
115 if (id && (strcmp(id, TEST_ENGINE_ID) != 0)) {
/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;

Completed in 2410 milliseconds

12