/cts/tests/tests/database/src/android/database/cts/ |
CursorJoinerTest.java | 61 Cursor cursor1 = getCursor(TABLE_NAME_1, null, null); local 65 new CursorJoiner(cursor1, cursor1.getColumnNames(), cursor2, cursor2.getColumnNames()); 70 closeCursor(cursor1); 74 cursor1 = getCursor(TABLE_NAME_1, null, columnNames); 77 CursorJoiner cursorJoiner = new CursorJoiner(cursor1, cursor1.getColumnNames(), cursor2, 88 assertEquals(TEST_ITEM_COUNT, cursor1.getCount()); 96 assertTrue(cursor1.getString(0).compareTo(cursor2.getString(0)) < 0); 97 addValueIntoTable(TABLE_NAME_2, cursor1.getString(0)) 136 Cursor cursor1 = getCursor(TABLE_NAME_1, null, columnNames); local [all...] |
/libcore/luni/src/main/java/java/util/ |
ComparableTimSort.java | 622 int cursor1 = 0; // Indexes into tmp array 629 System.arraycopy(tmp, cursor1, a, dest, len1); 634 a[dest + len2] = tmp[cursor1]; // Last elt of run 1 to end of merge 650 if (((Comparable) a[cursor2]).compareTo(tmp[cursor1]) < 0) { 657 a[dest++] = tmp[cursor1++]; 672 count1 = gallopRight((Comparable) a[cursor2], tmp, cursor1, len1, 0); 674 System.arraycopy(tmp, cursor1, a, dest, count1); 676 cursor1 += count1; 685 count2 = gallopLeft((Comparable) tmp[cursor1], a, cursor2, len2, 0); 694 a[dest++] = tmp[cursor1++] [all...] |
TimSort.java | 654 int cursor1 = 0; // Indexes into tmp array 661 System.arraycopy(tmp, cursor1, a, dest, len1); 666 a[dest + len2] = tmp[cursor1]; // Last elt of run 1 to end of merge 683 if (c.compare(a[cursor2], tmp[cursor1]) < 0) { 690 a[dest++] = tmp[cursor1++]; 705 count1 = gallopRight(a[cursor2], tmp, cursor1, len1, 0, c); 707 System.arraycopy(tmp, cursor1, a, dest, count1); 709 cursor1 += count1; 718 count2 = gallopLeft(tmp[cursor1], a, cursor2, len2, 0, c); 727 a[dest++] = tmp[cursor1++] 771 int cursor1 = base1 + len1 - 1; \/\/ Indexes into a local [all...] |
/packages/apps/Email/tests/src/com/android/email/activity/ |
ContactStatusLoaderTest.java | 98 MatrixCursor cursor1 = new MatrixCursor(ContactStatusLoader.PROJECTION_PHOTO_ID_PRESENCE); local 99 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY}); 100 mProvider.mCursors.offer(cursor1); 127 MatrixCursor cursor1 = new MatrixCursor(ContactStatusLoader.PROJECTION_PHOTO_ID_PRESENCE); local 128 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY}); 129 mProvider.mCursors.offer(cursor1); 145 MatrixCursor cursor1 = new MatrixCursor(ContactStatusLoader.PROJECTION_PHOTO_ID_PRESENCE); local 146 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY}); 147 mProvider.mCursors.offer(cursor1);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
ContentCacheTests.java | 208 Cursor cursor1 = getOneRowCursor(); local 212 cache.putCursor(cursor1, "1", SIMPLE_PROJECTION, token); 220 cache.putCursor(cursor1, "2", SIMPLE_PROJECTION, token); 232 assertFalse(cursor1.isClosed()); 240 cache.putCursor(cursor1, "3", SIMPLE_PROJECTION, token); 255 // Even cursor1 should be open, since all cached cursors are in mActiveCursors until closed 256 assertFalse(cursor1.isClosed());
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 364 protected void compareCursors(Cursor cursor1, Cursor cursor2, 366 String[] cols = cursor1.getColumnNames(); 369 assertEquals(tableName + " count failed to match", cursor1.getCount(), 372 while (cursor1.moveToNext() && cursor2.moveToNext()) { 378 row.put(col, cursor1.getString(i)); 381 " failed to match", cursor1.getString(i),
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
riva_mmio.h | 426 U032 cursor1; member in struct:_riva_hw_state
|