Searched refs:cursor (Results 1 - 25 of 778) sorted by relevance

1234567891011>>

/external/syslinux/gpxe/src/crypto/
H A Dasn1.c35 * @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, argument
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
122 asn1_enter( struct asn1_cursor *cursor, unsigned int type ) argument
147 asn1_skip( struct asn1_cursor *cursor, unsigned int type ) argument
[all...]
/external/brotli/csharp/org/brotli/dec/
H A DUtils.cs28 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...]
/external/libunwind/src/ia64/
H A DGget_proc_info.c29 unw_get_proc_info (unw_cursor_t *cursor, unw_proc_info_t *pi) argument
31 struct cursor *c = (struct cursor *) cursor;
H A Dmk_Gcursor_i.c42 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, lo
[all...]
/external/libunwind/src/mi/
H A DGget_fpreg.c29 unw_get_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t *valp) argument
31 struct cursor *c = (struct cursor *) cursor;
H A DGget_reg.c29 unw_get_reg (unw_cursor_t *cursor, int regnum, unw_word_t *valp) argument
31 struct cursor *c = (struct cursor *) cursor;
H A DGset_fpreg.c29 unw_set_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t val) argument
31 struct cursor *c = (struct cursor *) cursor;
H A DGset_reg.c29 unw_set_reg (unw_cursor_t *cursor, int regnum, unw_word_t valp) argument
31 struct cursor *c = (struct cursor *) cursor;
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DAbstractCursorTest.java24 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
[all...]
H A DSQLiteCursorTest.java27 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
[all...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowAbstractCursorTest.java19 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
[all...]
H A DShadowMatrixCursorTest.java29 MatrixCursor cursor = new MatrixCursor(new String[]{"a", "b", "c"});
30 cursor.addRow(new Object[]{"foo", 10L, 0.1f});
31 cursor.addRow(new Object[]{"baz", 20L, null});
32 assertThat(cursor.getCount()).isEqualTo(2);
34 assertTrue(cursor.moveToFirst());
36 assertThat(cursor.getString(0)).isEqualTo("foo");
37 assertThat(cursor.getLong(1)).isEqualTo(10L);
38 assertThat(cursor.getFloat(2)).isEqualTo(0.1f);
40 assertTrue(cursor.moveToNext());
42 assertThat(cursor
[all...]
/external/libdrm/tests/modetest/
H A Dcursor.c46 #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) argument
87 handle = cursor->bo_handle;
89 cursor
94 move_cursor(struct cursor *cursor, const struct cursor_step *step) argument
152 struct cursor *cursor = &cursors[i]; local
173 struct cursor *cursor = &cursors[ncursors]; local
[all...]
/external/libunwind/src/aarch64/
H A DGinit_local.c32 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) argument
40 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) argument
42 struct cursor *c = (struct cursor *) cursor;
47 Debug (1, "(cursor=%p)\n", c);
H A DGget_proc_info.c28 unw_get_proc_info (unw_cursor_t *cursor, unw_proc_info_t *pi) argument
30 struct cursor *c = (struct cursor *) cursor;
H A DGinit_remote.c29 unw_init_remote (unw_cursor_t *cursor, unw_addr_space_t as, void *as_arg) argument
34 struct cursor *c = (struct cursor *) cursor;
39 Debug (1, "(cursor=%p)\n", c);
/external/libunwind/src/arm/
H A DGinit_local.c32 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) argument
40 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) argument
42 struct cursor *c = (struct cursor *) cursor;
47 Debug (1, "(cursor=%p)\n", c);
H A DGget_proc_info.c28 unw_get_proc_info (unw_cursor_t *cursor, unw_proc_info_t *pi) argument
30 struct cursor *c = (struct cursor *) cursor;
H A DGinit_remote.c29 unw_init_remote (unw_cursor_t *cursor, unw_addr_space_t as, void *as_arg) argument
34 struct cursor *c = (struct cursor *) cursor;
39 Debug (1, "(cursor=%p)\n", c);
/external/libunwind/src/hppa/
H A DGinit_local.c32 unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) argument
40 unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) argument
42 struct cursor *c = (struct cursor *) cursor;
47 Debug (1, "(cursor=%p)\n", c);
H A DGget_proc_info.c29 unw_get_proc_info (unw_cursor_t *cursor, unw_proc_info_t *pi) argument
31 struct cursor *c = (struct cursor *) cursor;
H A DGinit_remote.c30 unw_init_remote (unw_cursor_t *cursor, unw_addr_space_t as, void *as_arg) argument
35 struct cursor *c = (struct cursor *) cursor;
40 Debug (1, "(cursor=%p)\n", c);
/external/libunwind/src/mips/
H A DGinit_local.c31 unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) argument
39 unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) argument
41 struct cursor *c = (struct cursor *) cursor;
46 Debug (1, "(cursor=%p)\n", c);
/external/libunwind/src/sh/
H A DGinit_local.c32 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) argument
40 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) argument
42 struct cursor *c = (struct cursor *) cursor;
47 Debug (1, "(cursor=%p)\n", c);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
H A DRoboCursorTest.java29 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();
62 cursor
[all...]

Completed in 469 milliseconds

1234567891011>>