/external/clang/bindings/python/tests/cindex/ |
util.py | 52 """Obtain all cursors from a source object with a specific spelling. 54 This provides a convenient search mechanism to find all cursors with 58 If no cursors are found, an empty list is returned. 63 cursors = [] 66 cursors.append(cursor) 68 return cursors
|
test_cursor.py | 72 cursors = list(tu.cursor.get_children()) 73 assert len(cursors) > 0 75 cursor = cursors[0] 90 cursors = [] 93 cursors.append(cursor) 95 assert len(cursors) == 3 96 assert cursors[1].canonical == cursors[2].canonical 229 """Ensure we can map cursors back to tokens."""
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ProfileAndContactsLoader.java | 55 List<Cursor> cursors = Lists.newArrayList(); local 57 cursors.add(loadProfile()); 60 // correctly handles null cursors. 68 cursors.add(contactsCursor); 69 return new MergeCursor(cursors.toArray(new Cursor[cursors.size()])) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
SuggestionsProvider.java | 93 ArrayList<Cursor> cursors = new ArrayList<Cursor>(); local 98 cursors.add(c); 102 cursors.add(new ContactsCursor().query(query)); 105 if (cursors.size() > 0) { 106 mergeCursor = new MergeCursor(cursors.toArray(new Cursor[cursors.size()]));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_early_close.py | 76 # The "close" should close the child db handle also, with cursors 103 cursors=[] 113 cursors.extend([i.cursor() for j in xrange(32)]) 117 for i in cursors[::3] : 124 self.assertRaises(db.DBError, cursors[101].first) 126 cursors[80].first() 127 cursors[80].next() 130 self.assertRaises(db.DBError, cursors[80].next)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_early_close.py | 76 # The "close" should close the child db handle also, with cursors 103 cursors=[] 113 cursors.extend([i.cursor() for j in xrange(32)]) 117 for i in cursors[::3] : 124 self.assertRaises(db.DBError, cursors[101].first) 126 cursors[80].first() 127 cursors[80].next() 130 self.assertRaises(db.DBError, cursors[80].next)
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RecentLoader.java | 59 // previously returned cursors for filtering/sorting; this currently races 199 List<Cursor> cursors = Lists.newArrayList(); local 213 cursors.add(filtered); 225 Log.d(TAG, "Found " + cursors.size() + " of " + mTasks.size() + " recent queries done"); 238 if (cursors.size() > 0) { 239 merged = new MergeCursor(cursors.toArray(new Cursor[cursors.size()]));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/ |
regression.py | 55 cursors = [con.cursor() for x in xrange(5)] 56 cursors[0].execute("create table test(x)") 58 cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in xrange(10)]) 61 cursors[i].execute(" " * i + "select x from test") 76 # referenced in cursors weren't closed an could provoke " 79 cursors = [] 83 cursors.append(cur)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/ |
regression.py | 55 cursors = [con.cursor() for x in xrange(5)] 56 cursors[0].execute("create table test(x)") 58 cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in xrange(10)]) 61 cursors[i].execute(" " * i + "select x from test") 76 # referenced in cursors weren't closed an could provoke " 79 cursors = [] 83 cursors.append(cur)
|
/frameworks/base/core/java/android/database/ |
MergeCursor.java | 20 * A convience class that lets you present an array of Cursors as a single linear Cursor. 21 * The schema of the cursors presented is entirely up to the creator of the MergeCursor, and 42 public MergeCursor(Cursor[] cursors) 44 mCursors = cursors; 45 mCursor = cursors[0];
|
/cts/tests/tests/database/src/android/database/cts/ |
MergeCursorTest.java | 83 // if the items are not null, getCount() will return the sum of all cursors' count. 105 Cursor[] cursors = new Cursor[2]; local 106 cursors[0] = mDatabase.query(TABLE5_NAME, null, null, null, null, null, null); 107 assertEquals(1, cursors[0].getCount()); 109 cursors[1] = mCursors[1]; 110 assertTrue(cursors[1].getCount() > 0); 111 MergeCursor mergeCursor = new MergeCursor(cursors); 112 // MergeCursor should points to cursors[0] after moveToFirst. 119 // MergeCursor should points to cursors[1] moveToNext. 145 // Get cursors [all...] |
/external/chromium_org/ui/base/cursor/ |
cursors_aura.cc | 30 const CursorData* cursors; member in struct:ui::__anon332::CursorSet 80 // The 2x hotspots should be double of the 1x, even though the cursors are 144 // TODO(yoshiki): Replace animated cursors with big assets. crbug.com/247254 189 SearchTable(cursor_set->cursors, 198 return SearchTable(cursor_set->cursors,
|
/external/chromium_org/third_party/skia/experimental/webtry/res/css/cm/ |
codemirror.css | 243 div.CodeMirror-cursors { 248 .CodeMirror-focused div.CodeMirror-cursors { 269 .CodeMirror div.CodeMirror-cursors {
|
/external/skia/experimental/webtry/res/css/cm/ |
codemirror.css | 243 div.CodeMirror-cursors { 248 .CodeMirror-focused div.CodeMirror-cursors { 269 .CodeMirror div.CodeMirror-cursors {
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
SuggestionCursorUtil.java | 138 public static ListSuggestionCursor concat(SuggestionCursor... cursors) { 139 ListSuggestionCursor out = new ListSuggestionCursor(cursors[0].getUserQuery()); 140 for (SuggestionCursor cursor : cursors) {
|
/frameworks/base/core/java/com/android/internal/database/ |
SortCursor.java | 25 * A variant of MergeCursor that sorts the cursors being merged. If decent 55 public SortCursor(Cursor[] cursors, String sortcolumn) 57 mCursors = cursors; 112 * is used to avoid having to search all cursors from the start. 243 // All of the cursors may be empty, but they can still return
|
/packages/apps/Music/src/com/android/music/ |
SortCursor.java | 25 * A variant of MergeCursor that sorts the cursors being merged. If decent 55 public SortCursor(Cursor[] cursors, String sortcolumn) 57 mCursors = cursors; 112 * is used to avoid having to search all cursors from the start. 243 // All of the cursors may be empty, but they can still return
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
codemirror.css | 272 div.CodeMirror-cursors { 277 .CodeMirror-focused div.CodeMirror-cursors { 298 .CodeMirror div.CodeMirror-cursors {
|
/frameworks/ex/common/java/com/android/common/contacts/ |
BaseEmailAddressAdapter.java | 195 Cursor[] cursors = (Cursor[]) results.values; local 196 onDirectoryLoadFinished(constraint, cursors[0], cursors[1]);
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
StyleResourceLoader.cpp | 148 if (CursorList* cursorList = style->cursors()) {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderObject.cpp | [all...] |
/external/chromium_org/content/ |
content_common.target.darwin-arm.mk | 103 content/common/cursors/webcursor.cc \ 104 content/common/cursors/webcursor_android.cc \
|
content_common.target.darwin-arm64.mk | 103 content/common/cursors/webcursor.cc \ 104 content/common/cursors/webcursor_android.cc \
|
content_common.target.darwin-mips.mk | 103 content/common/cursors/webcursor.cc \ 104 content/common/cursors/webcursor_android.cc \
|
content_common.target.darwin-mips64.mk | 103 content/common/cursors/webcursor.cc \ 104 content/common/cursors/webcursor_android.cc \
|