/external/syslinux/gpxe/src/crypto/ |
asn1.c | 35 * @v cursor ASN.1 object cursor 39 * The object cursor will be updated to point to the start of the 46 * the cursor will be invalidated and a negative value will be 49 static int asn1_start ( struct asn1_cursor *cursor, 56 if ( cursor->len < 2 /* Tag byte and first length byte */ ) { 57 if ( cursor->len ) 58 DBGC ( cursor, "ASN1 %p too short\n", cursor ); 64 if ( *( ( uint8_t * ) cursor->data ) != type ) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationCursorOperationListener.java | 19 import android.database.Cursor; 24 * Marks all contents of this cursor as seen. 35 * Invokes {@link ConversationCursorOperationListener#markContentsSeen(Cursor)} on the 36 * specified {@link Cursor}, recursively calls {@link #markContentsSeen(Cursor)} on a 37 * wrapped cursor, or returns. 39 public static void markContentsSeen(final Cursor cursor) { 40 if (cursor == null) { 44 if (cursor instanceof ConversationCursorOperationListener) [all...] |
/external/libunwind/src/ia64/ |
Gget_proc_info.c | 29 unw_get_proc_info (unw_cursor_t *cursor, unw_proc_info_t *pi) 31 struct cursor *c = (struct cursor *) cursor;
|
mk_Gcursor_i.c | 42 OFFSET("IP_OFF", offsetof (struct cursor, ip)); 43 OFFSET("PR_OFF", offsetof (struct cursor, pr)); 44 OFFSET("BSP_OFF", offsetof (struct cursor, bsp)); 45 OFFSET("PSP_OFF", offsetof (struct cursor, psp)); 46 OFFSET("PFS_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_PFS])); 47 OFFSET("RNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_RNAT])); 48 OFFSET("UNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_UNAT])); 49 OFFSET("LC_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_LC])); 50 OFFSET("FPSR_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_FPSR])); 51 OFFSET("B1_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_B1])) [all...] |
/external/libunwind/src/mi/ |
Gget_fpreg.c | 29 unw_get_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t *valp) 31 struct cursor *c = (struct cursor *) cursor;
|
Gget_reg.c | 29 unw_get_reg (unw_cursor_t *cursor, int regnum, unw_word_t *valp) 31 struct cursor *c = (struct cursor *) cursor;
|
Gset_fpreg.c | 29 unw_set_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t val) 31 struct cursor *c = (struct cursor *) cursor;
|
Gset_reg.c | 29 unw_set_reg (unw_cursor_t *cursor, int regnum, unw_word_t valp) 31 struct cursor *c = (struct cursor *) cursor;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AbstractCursorTest.java | 24 private TestCursor cursor; field in class:AbstractCursorTest 28 cursor = new TestCursor(); 33 cursor.theTable.add("Foobar"); 34 assertThat(cursor.moveToFirst(), equalTo(true)); 35 assertThat(cursor.getCount(), equalTo(1)); 40 assertThat(cursor.moveToFirst(), equalTo(false)); 41 assertThat(cursor.getCount(), equalTo(0)); 46 cursor.theTable.add("Foobar"); 47 cursor.theTable.add("Bletch"); 49 assertThat(cursor.moveToLast(), equalTo(true)) [all...] |
SQLiteCursorTest.java | 27 private SQLiteCursor cursor; field in class:SQLiteCursorTest 49 String[] columnNames = cursor.getColumnNames(); 57 String[] columnNames = cursor.getColumnNames(); 66 assertThat(cursor.getColumnIndex("id"), equalTo(0)); 67 assertThat(cursor.getColumnIndex("name"), equalTo(1)); 72 assertThat(cursor.getColumnIndex("Fred"), equalTo(-1)); 79 assertThat(cursor.getColumnIndex("id"), equalTo(0)); 80 assertThat(cursor.getColumnIndex("name"), equalTo(1)); 85 assertThat(cursor.getColumnIndexOrThrow("id"), equalTo(0)); 86 assertThat(cursor.getColumnIndexOrThrow("name"), equalTo(1)) [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowAbstractCursorTest.java | 19 private TestCursor cursor; field in class:ShadowAbstractCursorTest 23 cursor = new TestCursor(); 28 cursor.theTable.add("Foobar"); 29 assertThat(cursor.moveToFirst()).isTrue(); 30 assertThat(cursor.getCount()).isEqualTo(1); 35 assertThat(cursor.moveToFirst()).isFalse(); 36 assertThat(cursor.getCount()).isEqualTo(0); 41 cursor.theTable.add("Foobar"); 42 cursor.theTable.add("Bletch"); 44 assertThat(cursor.moveToLast()).isTrue() [all...] |
/dalvik/dx/src/com/android/dx/io/instructions/ |
BaseCodeCursor.java | 27 private int cursor; field in class:BaseCodeCursor 34 this.cursor = 0; 39 public final int cursor() { method in class:BaseCodeCursor 40 return cursor; 46 int mapped = baseAddressMap.get(cursor); 47 return (mapped >= 0) ? mapped : cursor; 57 * Advance the cursor by the indicated amount. 60 cursor += amount;
|
/external/libdrm/tests/modetest/ |
cursor.c | 46 #include "cursor.h" 48 struct cursor { struct 61 static struct cursor cursors[MAX_CURSORS]; 69 * the cursor 73 void (*run)(struct cursor *cursor, const struct cursor_step *step); 81 static void set_cursor(struct cursor *cursor, const struct cursor_step *step) 87 handle = cursor->bo_handle; 89 cursor->enabled = enabled 152 struct cursor *cursor = &cursors[i]; local 173 struct cursor *cursor = &cursors[ncursors]; local [all...] |
/external/libunwind/src/aarch64/ |
Ginit_local.c | 32 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) 40 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) 42 struct cursor *c = (struct cursor *) cursor; 47 Debug (1, "(cursor=%p)\n", c);
|
/external/libunwind/src/arm/ |
Ginit_local.c | 32 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) 40 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) 42 struct cursor *c = (struct cursor *) cursor; 47 Debug (1, "(cursor=%p)\n", c);
|
/external/libunwind/src/hppa/ |
Ginit_local.c | 32 unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) 40 unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) 42 struct cursor *c = (struct cursor *) cursor; 47 Debug (1, "(cursor=%p)\n", c);
|
/external/libunwind/src/mips/ |
Ginit_local.c | 31 unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) 39 unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) 41 struct cursor *c = (struct cursor *) cursor; 46 Debug (1, "(cursor=%p)\n", c);
|
/external/libunwind/src/sh/ |
Ginit_local.c | 32 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) 40 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) 42 struct cursor *c = (struct cursor *) cursor; 47 Debug (1, "(cursor=%p)\n", c);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/database/ |
CursorMapper.java | 16 import android.database.Cursor; 19 * Abstract class used to convert the current {@link Cursor} row to a single 24 private Cursor mCursor; 27 * Called once when the associated {@link Cursor} is changed. A subclass 31 protected abstract void bindColumns(Cursor cursor); 38 protected abstract Object bind(Cursor cursor); 41 * Convert a {@link Cursor} at its current position to an Object. 43 public Object convert(Cursor cursor) [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
MatrixCursorTest.java | 28 Cursor cursor = new MatrixCursor(new String[] { "a" }); local 29 assertEquals(0, cursor.getCount()); 33 MatrixCursor cursor = new MatrixCursor(new String[] { "a" }); local 34 cursor.newRow().add(null); 35 cursor.moveToNext(); 36 assertTrue(cursor.isNull(0)); 37 assertNull(cursor.getString(0)); 38 assertNull(cursor.getBlob(0)); 39 assertEquals(0, cursor.getShort(0)) 47 MatrixCursor cursor = newMatrixCursor(); local 79 MatrixCursor cursor = newMatrixCursor(); local 92 MatrixCursor cursor = newMatrixCursor(); local 111 MatrixCursor cursor = newMatrixCursor(); local 132 MatrixCursor cursor = newMatrixCursor(); local [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
MatrixCursor_RowBuilderTest.java | 34 MatrixCursor cursor = new MatrixCursor(new String[] { "column0", "column1", "column2" }); local 35 assertEquals(0, cursor.getCount()); 36 RowBuilder builder = cursor.newRow(); 38 assertEquals(1, cursor.getCount()); 39 cursor.moveToFirst(); 40 assertTrue(cursor.isNull(COLUMN0_INDEX)); 41 assertTrue(cursor.isNull(COLUMN1_INDEX)); 42 assertTrue(cursor.isNull(COLUMN2_INDEX)); 45 assertFalse(cursor.isNull(COLUMN0_INDEX)); 46 assertEquals(Integer.MIN_VALUE, cursor.getInt(COLUMN0_INDEX)) [all...] |
/external/brotli/csharp/org/brotli/dec/ |
Utils.cs | 28 int cursor = 0;
29 while (cursor < length)
31 int step = System.Math.Min(cursor + 1024, length) - cursor;
32 System.Array.Copy(ByteZeroes, 0, dest, offset + cursor, step);
33 cursor += step;
50 int cursor = 0;
51 while (cursor < length)
53 int step = System.Math.Min(cursor + 1024, length) - cursor;
[all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
CloseUtils.java | 18 import android.database.Cursor; 27 /** If the argument is non-null, close the cursor. */ 28 public static void closeQuietly(Cursor cursor) { 29 if (cursor != null) { 30 cursor.close();
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/ |
RoboCursorTest.java | 8 import android.database.Cursor; 29 private final RoboCursor cursor = new RoboCursor(); field in class:RoboCursorTest 35 shadowOf(contentResolver).setCursor(uri, cursor); 37 cursor.setColumnNames(asList( 52 assertThat(cursor.uri).isEqualTo(uri); 53 assertThat(cursor.projection[0]).isEqualTo("projection"); 54 assertThat(cursor.selection).isEqualTo("selection"); 55 assertThat(cursor.selectionArgs[0]).isEqualTo("selection"); 56 assertThat(cursor.sortOrder).isEqualTo("sortOrder"); 61 RoboCursor cursor = new RoboCursor() local [all...] |
/packages/apps/Dialer/java/com/android/dialer/voicemailstatus/ |
VoicemailStatusHelper.java | 19 import android.database.Cursor; 40 * @param cursor The caller is responsible for the life cycle of the cursor and resetting the 43 public static int getNumberActivityVoicemailSources(Cursor cursor) { 45 if (!cursor.moveToFirst()) { 49 if (isVoicemailSourceActive(cursor)) { 52 } while (cursor.moveToNext()); 57 * Returns whether the source status in the cursor corresponds to an active source. A source is 64 private static boolean isVoicemailSourceActive(Cursor cursor) [all...] |