/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 | 99 MatrixCursor cursor1 = local 101 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY}); 102 mProvider.mCursors.offer(cursor1); 130 MatrixCursor cursor1 = local 132 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY}); 133 mProvider.mCursors.offer(cursor1); 149 MatrixCursor cursor1 = local 151 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY}); 152 mProvider.mCursors.offer(cursor1);
|
/external/chromium_org/content/test/data/indexeddb/ |
cursor_prefetch.js | 267 // Test stepping two cursors simultaneously. First cursor1 steps 268 // for a while, then cursor2, then back to cursor1, etc. 275 cursor1 = null; 289 if (cursor1 === null) { 290 cursor1 = cursor; 293 if (cursor1.key !== count1) 294 shouldBe("cursor1.key", "count1"); 295 if (cursor1.value !== count1) 296 shouldBe("cursor1.value", "count1"); 309 cursor1.continue() [all...] |
/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
|