Home
last modified time | relevance | path

Searched refs:curs (Results 1 – 6 of 6) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCursorAdapterTest.java33 private Cursor curs; field in CursorAdapterTest
57 curs = new SQLiteCursor(null, null, null, null); in setUp()
58 Robolectric.shadowOf((SQLiteCursor)curs).setResultSet(resultSet,sql); in setUp()
60 adapter = new TestAdapter(curs); in setUp()
66 assertThat(adapter.getCursor(), sameInstance(curs)); in testChangeCursor()
70 assertThat(curs.isClosed(), equalTo( true ) ); in testChangeCursor()
76 assertThat(adapter.getCount(), equalTo(curs.getCount())); in testCount()
104 public TestAdapter( Cursor curs ) { in TestAdapter() argument
105 super( Robolectric.application, curs, false ); in TestAdapter()
/external/clang/bindings/python/tests/cindex/
Dtest_cursor.py134 curs = get_cursors(tu, 'f')
136 assert(len(curs) == 2)
137 assert(curs[0].semantic_parent == curs[1].semantic_parent)
138 assert(curs[0].semantic_parent == decl)
142 curs = get_cursors(tu, 'f')
144 assert(len(curs) == 2)
145 assert(curs[0].lexical_parent != curs[1].lexical_parent)
146 assert(curs[0].lexical_parent == decl)
147 assert(curs[1].lexical_parent == tu.cursor)
/external/freetype/src/truetype/
Dttinterp.c6774 FT_Vector* curs; /* arrays */ member
6791 dx = worker->curs[p].x - worker->orgs[p].x; in _iup_worker_shift()
6795 worker->curs[i].x += dx; in _iup_worker_shift()
6798 worker->curs[i].x += dx; in _iup_worker_shift()
6841 cur1 = worker->curs[ref1].x; in _iup_worker_interpolate()
6842 cur2 = worker->curs[ref2].x; in _iup_worker_interpolate()
6864 worker->curs[i].x = x; in _iup_worker_interpolate()
6895 worker->curs[i].x = x; in _iup_worker_interpolate()
6931 V.curs = exc->pts.cur; in Ins_IUP()
6938 V.curs = (FT_Vector*)( (FT_Pos*)exc->pts.cur + 1 ); in Ins_IUP()
/external/pdfium/third_party/freetype/src/truetype/
Dttinterp.c7217 FT_Vector* curs; /* arrays */ member
7234 dx = worker->curs[p].x - worker->orgs[p].x; in _iup_worker_shift()
7238 worker->curs[i].x += dx; in _iup_worker_shift()
7241 worker->curs[i].x += dx; in _iup_worker_shift()
7284 delta1 = worker->curs[ref1].x - org1; in _iup_worker_interpolate()
7285 delta2 = worker->curs[ref2].x - org2; in _iup_worker_interpolate()
7300 worker->curs[i].x = x; in _iup_worker_interpolate()
7333 worker->curs[i].x = x; in _iup_worker_interpolate()
7371 V.curs = CUR.pts.cur; in Ins_IUP()
7378 V.curs = (FT_Vector*)( (FT_Pos*)CUR.pts.cur + 1 ); in Ins_IUP()
/external/pdfium/core/src/reflow/
Dlayoutprocessor_reflow.cpp1345 int curs = m_pCurrLine->GetSize(); in ProcessTextObject() local
1354 } else if(logic == 3 && curs) { in ProcessTextObject()
1355 m_fCurrLineWidth -= (*m_pCurrLine)[curs - 1]->m_Width; in ProcessTextObject()
1356 m_pCurrLine->Delete(curs - 1); in ProcessTextObject()
/external/mksh/src/
Dedit.c1981 size_t curs = xcp - xbuf; in x_search_dir() local
1984 if (strncmp(xbuf, *hp, curs) == 0) { in x_search_dir()
1986 x_goto(xbuf + curs); in x_search_dir()