/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 | 101 MatrixCursor cursor1 = local 103 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY}); 104 mProvider.mCursors.offer(cursor1); 132 MatrixCursor cursor1 = local 134 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY}); 135 mProvider.mCursors.offer(cursor1); 151 MatrixCursor cursor1 = local 153 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY}); 154 mProvider.mCursors.offer(cursor1);
|
/external/chromium_org/content/child/indexed_db/ |
indexed_db_dispatcher_unittest.cc | 281 scoped_ptr<MockCursor> cursor1( 291 dispatcher.cursors_[cursor1_ipc_id] = cursor1.get(); 294 EXPECT_EQ(0, cursor1->reset_count()); 306 EXPECT_EQ(0, cursor1->reset_count()); 318 EXPECT_EQ(1, cursor1->reset_count()); 328 EXPECT_EQ(1, cursor1->reset_count()); 338 EXPECT_EQ(2, cursor1->reset_count()); 341 cursor1.reset();
|
/external/libcxxabi/src/Unwind/ |
UnwindLevel1.c | 29 unw_cursor_t cursor1; local 30 unw_init_local(&cursor1, uc); 37 int stepResult = unw_step(&cursor1); 53 if (unw_get_proc_info(&cursor1, &frameInfo) != UNW_ESUCCESS) { 64 if ((unw_get_proc_name(&cursor1, functionName, 512, &offset) != 68 unw_get_reg(&cursor1, UNW_REG_IP, &pc); 86 exception_object, (struct _Unwind_Context *)(&cursor1)); 92 unw_get_reg(&cursor1, UNW_REG_SP, &sp);
|
Unwind-EHABI.cpp | 444 unw_cursor_t cursor1; local 445 unw_init_local(&cursor1, uc); 452 int stepResult = unw_step(&cursor1); 467 if (unw_get_proc_info(&cursor1, &frameInfo) != UNW_ESUCCESS) { 478 if ((unw_get_proc_name(&cursor1, functionName, 512, &offset) != 482 unw_get_reg(&cursor1, UNW_REG_IP, &pc); 499 struct _Unwind_Context *context = (struct _Unwind_Context *)(&cursor1); [all...] |
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/ |
UnwindLevel1.c | 29 unw_cursor_t cursor1; local 30 unw_init_local(&cursor1, uc); 38 int stepResult = unw_step(&cursor1); 54 if (unw_get_proc_info(&cursor1, &frameInfo) != UNW_ESUCCESS) { 65 if ((unw_get_proc_name(&cursor1, functionName, 512, &offset) != 69 unw_get_reg(&cursor1, UNW_REG_IP, &pc); 87 exception_object, (struct _Unwind_Context *)(&cursor1)); 93 unw_get_reg(&cursor1, UNW_REG_SP, &sp);
|
Unwind-EHABI.cpp | 410 unw_cursor_t cursor1; local 411 unw_init_local(&cursor1, uc); 418 int stepResult = unw_step(&cursor1); 434 if (unw_get_proc_info(&cursor1, &frameInfo) != UNW_ESUCCESS) { 445 if ((unw_get_proc_name(&cursor1, functionName, 512, &offset) != 449 unw_get_reg(&cursor1, UNW_REG_IP, &pc); 466 struct _Unwind_Context *context = (struct _Unwind_Context *)(&cursor1); [all...] |
/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 | 211 Cursor cursor1 = getOneRowCursor(); local 215 cache.putCursor(cursor1, "1", SIMPLE_PROJECTION, token); 223 cache.putCursor(cursor1, "2", SIMPLE_PROJECTION, token); 235 assertFalse(cursor1.isClosed()); 243 cache.putCursor(cursor1, "3", SIMPLE_PROJECTION, token); 258 // Even cursor1 should be open, since all cached cursors are in mActiveCursors until closed 259 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
|