Searched refs:col (Results 1 - 25 of 26) sorted by relevance

12

/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_CollectionTest.java30 Collection<Integer> col; // must contain the Integers 0 to 99 field in class:Support_CollectionTest
38 col = c;
43 new Support_UnmodifiableCollectionTest("", col).runTest();
52 assertTrue("CollectionTest - a) add did not work", col.add(new Integer(
54 assertTrue("CollectionTest - b) add did not work", col
58 assertTrue("CollectionTest - a) remove did not work", col
60 assertTrue("CollectionTest - b) remove did not work", !col
64 assertTrue("CollectionTest - a) addAll failed", col
66 assertTrue("CollectionTest - b) addAll failed", col
70 assertTrue("CollectionTest - a) containsAll failed", col
[all...]
H A DSupport_UnmodifiableCollectionTest.java32 Collection<Integer> col; field in class:Support_UnmodifiableCollectionTest
43 col = c;
50 assertTrue("UnmodifiableCollectionTest - should contain 0", col
52 assertTrue("UnmodifiableCollectionTest - should contain 50", col
54 assertTrue("UnmodifiableCollectionTest - should not contain 100", !col
64 col.containsAll(hs));
68 !col.containsAll(hs));
71 assertTrue("UnmodifiableCollectionTest - should not be empty", !col
75 Iterator<Integer> it = col.iterator();
92 + col
[all...]
/dalvik/libcore/sql/src/main/java/SQLite/
H A DStmt.java173 * @param col column number, 0-based
177 public native int column_int(int col) throws SQLite.Exception; argument
181 * @param col column number, 0-based
184 public native long column_long(int col) throws SQLite.Exception; argument
188 * @param col column number, 0-based
191 public native double column_double(int col) throws SQLite.Exception; argument
195 * @param col column number, 0-based
198 public native byte[] column_bytes(int col) throws SQLite.Exception; argument
202 * @param col column number, 0-based
205 public native String column_string(int col) throw argument
212 column_type(int col) argument
227 column(int col) argument
247 column_table_name(int col) argument
255 column_database_name(int col) argument
263 column_decltype(int col) argument
271 column_origin_name(int col) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DCertStoreCollectionSpi.java38 Set col = new HashSet();
49 col.add(obj);
61 col.add(obj);
66 return col;
74 Set col = new HashSet();
85 col.add(obj);
97 col.add(obj);
102 return col;
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/
H A DCharset_TestGenerator.java110 int row = 0, col = 0; field in class:Charset_TestGenerator.CodesGenerator
124 col++;
125 if (col == 16) {
128 col = 0;
145 col++;
146 if (col == 80) {
149 col = 0;
159 buf[col] = (char) code;
162 col++;
163 if (col
196 int row = 0, col = 0; field in class:Charset_TestGenerator.Dumper
[all...]
H A DCharset_AbstractTest.java334 int row = 0, col = 0; field in class:Charset_AbstractTest.CodesGenerator
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DConcurrentModificationExceptionTest.java35 Collection col; field in class:ConcurrentModificationExceptionTest.CollectionModifier
40 col = c;
50 col.add(someItem);
51 col.remove(someItem);
H A DCollectionsTest.java86 Collection col; field in class:CollectionsTest.SynchCollectionChecker
106 synchronized (col) {
107 if (!(col.isEmpty() || col.containsAll(normalCountingList) || col
110 col.clear();
113 col.addAll(offsetCountingList);
115 col.addAll(normalCountingList);
125 col = c;
133 col
247 Collection col; // must contain the Integers 0 to 99 field in class:CollectionsTest.CollectionTest
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DHex.java270 int col = 0;
273 if (col == 0) {
283 } else if ((col & 1) == 0) {
289 col++;
290 if (col == bpl) {
292 col = 0;
297 if (col != 0) {
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/
H A DJDBCDatabaseMetaData.java635 int col = ((Integer) h.get("name")).intValue();
637 if (r0[col].compareTo(columnNamePattern) != 0) {
645 row[3] = r0[col];
646 col = ((Integer) h.get("type")).intValue();
647 String typeStr = r0[col];
656 col = ((Integer) h.get("dflt_value")).intValue();
657 row[12] = r0[col];
661 col = ((Integer) h.get("cid")).intValue();
662 Integer cid = new Integer(r0[col]);
664 col
[all...]
H A DJDBCResultSet.java124 int col = findColumn(columnName);
125 return getString(col);
151 int col = findColumn(columnName);
152 return getInt(col);
193 int col = findColumn(columnName);
194 return getShort(col);
218 int col = findColumn(columnName);
219 return getTime(col);
229 int col = findColumn(columnName);
230 return getTime(col, ca
[all...]
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DPermissionCollectionTest.java47 public RealPermissionCollection(Set <Permission> col) argument
49 if (col != null) {
50 setCol.addAll(col);
/dalvik/libcore/sql/src/test/java/tests/java/sql/
H A DDatabaseMetaDataTest.java202 int col = rsmd.getColumnCount();
203 assertEquals("Incorrect number of columns", 8, col);
208 for (int c = 1; c <= col; ++c) {
491 int col = rsmd.getColumnCount();
492 assertEquals("Incorrect number of columns", 14, col);
498 for (int c = 1; c <= col; ++c) {
794 int col = rsmd.getColumnCount();
795 assertEquals("Incorrect number of columns", 14, col);
801 for (int c = 1; c <= col; ++c) {
970 int col
[all...]
H A DDatabaseMetaDataNotSupportedTest.java355 int col = rsmd.getColumnCount();
356 assertEquals("Incorrect number of columns", 13, col);
361 for (int c = 1; c <= col; ++c) {
421 int col = rsmd.getColumnCount();
422 assertEquals("Incorrect number of columns", 8, col);
426 for (int c = 1; c <= col; ++c) {
471 int col = rsmd.getColumnCount();
472 assertEquals("Incorrect number of columns", 14, col);
478 for (int c = 1; c <= col; ++c) {
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DSerializationStressTest3.java731 Object col = Collections.synchronizedMap(TABLE);
732 objToSave = col;
737 assertTrue(MSG_TEST_FAILED + objToSave, col.equals(objLoaded));
766 Object col = Collections.unmodifiableMap(TABLE);
767 objToSave = col;
772 assertTrue(MSG_TEST_FAILED + objToSave, col.equals(objLoaded));
835 Object col = Collections.synchronizedMap(MAP);
836 objToSave = col;
841 assertTrue(MSG_TEST_FAILED + objToSave, col.equals(objLoaded));
870 Object col
[all...]
/dalvik/libcore/security/src/test/java/tests/security/cert/
H A DCertificateFactory3Test.java126 Collection<? extends Certificate> col = null;
127 col = certFs[i].generateCertificates(new ByteArrayInputStream(
129 Iterator<? extends Certificate> it = col.iterator();
130 assertEquals("Incorrect Collection size", col.size(), 1);
H A DCertificateFactorySpiTest.java97 Collection<? extends Certificate> col = certFactorySpi.engineGenerateCertificates(bais);
98 assertNull("Not null Collection", col);
177 Collection<? extends Certificate> col = certFactorySpi
179 assertNull("Result must be null", col);
253 Collection<? extends Certificate> col = certFactorySpi
255 assertNull("Result must be null", col);
H A DCertificateFactory2Test.java139 Collection<? extends Certificate> col = certFactory.generateCertificates(dis);
140 assertNull("Result must be null", col);
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DSocketPermissionTest.java231 PermissionCollection col = perm1.newPermissionCollection();
232 col.add(perm1);
233 assertTrue("collection should imply port 80", col.implies(perm2));
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestCertUtils.java722 // @param col
726 private static String getData(int col, int startRow) { argument
729 if (datas[i][col] != null) {
730 return datas[i][col];
735 if (datas[i][col] != null) {
736 return datas[i][col];
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A DSerializerBase.java308 final int col = qname.lastIndexOf(':');
309 return (col > 0) ? qname.substring(col + 1) : qname;
821 final int col = qname.indexOf(':');
822 return (col > 0) ? qname.substring(0, col) : null;
823 //return (col > 0) ? qname.substring(0,col) : "";
859 int col = qname.lastIndexOf(':');
860 final String prefix = (col >
[all...]
/dalvik/libcore/sql/src/main/native/
H A Dsqlite_jni.c487 transstr col; local
489 trans2utf(env, h->haveutf, h->enc, cols[i], &col);
490 (*env)->SetObjectArrayElement(env, arr, i, col.jstr);
496 (*env)->DeleteLocalRef(env, col.jstr);
3833 Java_SQLite_Stmt_column_1int(JNIEnv *env, jobject obj, jint col) argument
3841 if (col < 0 || col >= ncol) {
3845 return sqlite3_column_int((sqlite3_stmt *) v->vm, col);
3855 Java_SQLite_Stmt_column_1long(JNIEnv *env, jobject obj, jint col) argument
3863 if (col <
3877 Java_SQLite_Stmt_column_1double(JNIEnv *env, jobject obj, jint col) argument
3899 Java_SQLite_Stmt_column_1bytes(JNIEnv *env, jobject obj, jint col) argument
3936 Java_SQLite_Stmt_column_1string(JNIEnv *env, jobject obj, jint col) argument
3973 Java_SQLite_Stmt_column_1type(JNIEnv *env, jobject obj, jint col) argument
4011 Java_SQLite_Stmt_column_1table_1name(JNIEnv *env, jobject obj, jint col) argument
4038 Java_SQLite_Stmt_column_1database_1name(JNIEnv *env, jobject obj, jint col) argument
4065 Java_SQLite_Stmt_column_1decltype(JNIEnv *env, jobject obj, jint col) argument
4092 Java_SQLite_Stmt_column_1origin_1name(JNIEnv *env, jobject obj, jint col) argument
4136 transstr dbn, tbl, col; local
[all...]
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
H A DClassLoader.java737 Collection<Package> col = packages.values();
738 Package[] result = new Package[col.size()];
739 col.toArray(result);
/dalvik/libcore/sql/src/test/java/tests/sql/
H A DResultSetGetterTests.java1623 String col = it.next();
1626 Time timeRes = res.getTime(col);
1647 col = it.next();
1650 Time timeRes = res.getTime(col);
1663 assertNull(res.getTime(col));
1719 String col = it.next();
1722 Time timeRes = res.getTime(col, new GregorianCalendar());
1726 assertEquals(t1, res.getTime(col));
1731 col = it.next();
1734 Time timeRes = res.getTime(col, ne
[all...]
/dalvik/libcore/security/src/test/java/tests/api/java/security/
H A DAccessControlContextTest.java80 PermissionCollection col = perm.newPermissionCollection();
81 col.add(perm);
82 final ProtectionDomain pd = new ProtectionDomain(null, col);

Completed in 1085 milliseconds

12