Home
last modified time | relevance | path

Searched refs:Cursor (Results 1 – 25 of 133) sorted by relevance

123456

/external/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp26 class Cursor { class
31 Cursor(NoneType) : Ptr(nullptr), End(nullptr) {} in Cursor() function in __anondf24bfd00111::Cursor
33 explicit Cursor(StringRef Str) { in Cursor() function in __anondf24bfd00111::Cursor
46 StringRef upto(Cursor C) const { in upto()
81 static Cursor skipWhitespace(Cursor C) { in skipWhitespace()
90 static Cursor skipComment(Cursor C) { in skipComment()
110 Cursor C = Cursor(Value.substr(1, Value.size() - 2)); in unescapeQuotedString()
136 static Cursor lexStringConstant( in lexStringConstant()
137 Cursor C, in lexStringConstant()
152 static Cursor lexName( in lexName()
[all …]
/external/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp22 BitstreamCursor Cursor(Reader); in TEST() local
24 EXPECT_FALSE(Cursor.AtEndOfStream()); in TEST()
25 (void)Cursor.Read(8); in TEST()
26 EXPECT_FALSE(Cursor.AtEndOfStream()); in TEST()
27 (void)Cursor.Read(24); in TEST()
28 EXPECT_TRUE(Cursor.AtEndOfStream()); in TEST()
30 Cursor.JumpToBit(0); in TEST()
31 EXPECT_FALSE(Cursor.AtEndOfStream()); in TEST()
33 Cursor.JumpToBit(32); in TEST()
34 EXPECT_TRUE(Cursor.AtEndOfStream()); in TEST()
[all …]
/external/llvm/include/llvm/Support/
DGCOV.h56 GCOVBuffer(MemoryBuffer *B) : Buffer(B), Cursor(0) {} in GCOVBuffer()
65 Cursor = 4; in readGCNOFormat()
76 Cursor = 4; in readGCDAFormat()
82 StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readGCOVVersion()
84 Cursor += 4; in readGCOVVersion()
89 Cursor += 4; in readGCOVVersion()
94 Cursor += 4; in readGCOVVersion()
105 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readFunctionTag()
110 Cursor += 4; in readFunctionTag()
117 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readBlockTag()
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/draw2d/
DICursorConstants.java14 import org.eclipse.swt.graphics.Cursor;
26 Cursor SIZEWE = new Cursor(null, SWT.CURSOR_SIZEWE);
30 Cursor SIZENS = new Cursor(null, SWT.CURSOR_SIZENS);
39 Cursor SIZEALL = new Cursor(null, SWT.CURSOR_HAND);
/external/clang/lib/Frontend/
DSerializedDiagnosticReader.cpp69 enum class SerializedDiagnosticReader::Cursor { enum in SerializedDiagnosticReader
75 llvm::ErrorOr<SerializedDiagnosticReader::Cursor>
86 return Cursor::BlockBegin; in skipUntilRecordOrBlock()
91 return Cursor::BlockEnd; in skipUntilRecordOrBlock()
103 return Cursor::Record; in skipUntilRecordOrBlock()
119 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); in readMetaBlock()
124 case Cursor::Record: in readMetaBlock()
126 case Cursor::BlockBegin: in readMetaBlock()
129 case Cursor::BlockEnd: in readMetaBlock()
160 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); in readDiagnosticBlock()
[all …]
/external/clang/bindings/python/clang/
Dcindex.py1142 class Cursor(Structure): class
1535 assert isinstance(res, Cursor)
1559 assert isinstance(res, Cursor)
2829 cursor = Cursor()
2840 callbacks['cursor_visit'] = CFUNCTYPE(c_int, Cursor, Cursor, py_object)
2841 callbacks['fields_visit'] = CFUNCTYPE(c_int, Cursor, py_object)
2846 [TranslationUnit, POINTER(Token), c_uint, POINTER(Cursor)]),
2912 [Cursor],
2916 [Cursor],
2920 [Cursor],
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowCursorAdapter.java22 import android.database.Cursor;
86 protected Cursor mCursor;
125 public void __constructor__(Context context, Cursor c) { in __constructor__()
138 public void __constructor__(Context context, Cursor c, boolean autoRequery) { in __constructor__()
143 private void initialize(Context context, Cursor c, boolean autoRequery) { in initialize()
163 public Cursor getCursor() { in getCursor()
291 public void changeCursor(Cursor cursor) { in changeCursor()
326 public CharSequence convertToString(Cursor cursor) { in convertToString()
354 public Cursor runQueryOnBackgroundThread(CharSequence constraint) { in runQueryOnBackgroundThread()
DShadowResourceCursorAdapter.java23 import android.database.Cursor;
51 public void __constructor__(Context context, int layout, Cursor c) { in __constructor__()
70 public void __constructor__(Context context, int layout, Cursor c, boolean autoRequery) { in __constructor__()
83 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
88 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
DShadowSimpleCursorAdapter.java20 import android.database.Cursor;
96 public void __constructor__(Context context, int layout, Cursor c, String[] from, int[] to) { in __constructor__()
128 public void bindView(View view, Context context, Cursor cursor) { in bindView()
309 public CharSequence convertToString(Cursor cursor) { in convertToString()
341 public void changeCursor(Cursor c) { in changeCursor()
359 public void changeCursorAndColumns(Cursor c, String[] from, int[] to) { in changeCursorAndColumns()
/external/llvm/lib/CodeGen/
DInterferenceCache.h171 class Cursor {
189 Cursor() : CacheEntry(nullptr), Current(nullptr) {} in Cursor() function
190 ~Cursor() { setEntry(nullptr); } in ~Cursor()
192 Cursor(const Cursor &O) : CacheEntry(nullptr), Current(nullptr) { in Cursor() function
196 Cursor &operator=(const Cursor &O) {
233 friend class Cursor; variable
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDatabaseTestBase.java4 import android.database.Cursor;
93Cursor cursor = database.query("table_name", new String[]{"second_column", "first_column"}, null, … in testInsertAndQuery()
116Cursor cursor = database.rawQuery("select second_column, first_column from table_name", null); in testInsertAndRawQuery()
142Cursor cursor = database.rawQuery("select second_column, first_column from table_name", null); in testInsertOrThrow()
162Cursor cursor = database.rawQuery("select second_column, first_column from rawtable WHERE `id` = ?… in testRawQueryCount()
168 Cursor cursor = database.rawQuery("select second_column, first_column from rawtable", null); in testRawQueryCount2()
174Cursor cursor = database.rawQuery("select second_column, first_column from rawtable", new String[]… in testRawQueryCount3()
218Cursor cursor = database.rawQuery("select second_column, first_column from rawtable WHERE `id` = ?… in testRawQueryCount4()
224Cursor cursor = database.rawQuery("select second_column, first_column from rawtable WHERE `id` = ?… in testRawQueryCount5()
229Cursor cursor = database.rawQuery("select second_column, first_column from rawtable", new String[]… in testRawQueryCount8()
[all …]
DCursorWrapperTest.java25 final Cursor mockCursor;
30 mockCursor = mock(Cursor.class); in ForwardVerifier()
35 for (Method m : Cursor.class.getMethods()) { in ForwardVerifier()
98 Cursor mockCursor = mock(Cursor.class); in getWrappedCursor()
DCursorAdapterTest.java20 import android.database.Cursor;
33 private Cursor curs;
104 public TestAdapter( Cursor curs ) { in TestAdapter()
109 public void bindView(View view, Context context, Cursor cursor) { } in bindView()
112 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp54 static uint64_t readAbbreviatedField(BitstreamCursor &Cursor, in readAbbreviatedField() argument
64 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); in readAbbreviatedField()
65 return Cursor.Read((unsigned)Op.getEncodingData()); in readAbbreviatedField()
67 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); in readAbbreviatedField()
68 return Cursor.ReadVBR64((unsigned)Op.getEncodingData()); in readAbbreviatedField()
70 return BitCodeAbbrevOp::DecodeChar6(Cursor.Read(6)); in readAbbreviatedField()
75 static void skipAbbreviatedField(BitstreamCursor &Cursor, in skipAbbreviatedField() argument
85 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); in skipAbbreviatedField()
86 Cursor.Read((unsigned)Op.getEncodingData()); in skipAbbreviatedField()
89 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); in skipAbbreviatedField()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DWinCodeViewLineTables.cpp50 size_t Cursor = 0; in getFullFilepath() local
51 while ((Cursor = Filepath.find("\\.\\", Cursor)) != std::string::npos) in getFullFilepath()
52 Filepath.erase(Cursor, 2); in getFullFilepath()
56 Cursor = 0; in getFullFilepath()
57 while ((Cursor = Filepath.find("\\..\\", Cursor)) != std::string::npos) { in getFullFilepath()
59 if (Cursor == 0) in getFullFilepath()
62 size_t PrevSlash = Filepath.rfind('\\', Cursor - 1); in getFullFilepath()
67 Filepath.erase(PrevSlash, Cursor + 3 - PrevSlash); in getFullFilepath()
69 Cursor = PrevSlash; in getFullFilepath()
73 Cursor = 0; in getFullFilepath()
[all …]
/external/clang/tools/c-index-test/
Dc-index-test.c601 static void PrintCursorComments(CXCursor Cursor, in PrintCursorComments() argument
609 RawComment = clang_Cursor_getRawCommentText(Cursor); in PrintCursorComments()
613 PrintRange(clang_Cursor_getCommentRange(Cursor), "RawCommentRange"); in PrintCursorComments()
615 BriefComment = clang_Cursor_getBriefCommentText(Cursor); in PrintCursorComments()
625 CXComment Comment = clang_Cursor_getParsedComment(Cursor); in PrintCursorComments()
655 static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) { in PrintCursor() argument
656 CXTranslationUnit TU = clang_Cursor_getTranslationUnit(Cursor); in PrintCursor()
657 if (clang_isInvalid(Cursor.kind)) { in PrintCursor()
658 CXString ks = clang_getCursorKindSpelling(Cursor.kind); in PrintCursor()
680 ks = clang_getCursorKindSpelling(Cursor.kind); in PrintCursor()
[all …]
/external/clang/test/Index/
Dc-index-getCursor-test.m62 // CHECK: [1:1 - 3:1] Invalid Cursor => NoDeclFound
68 // CHECK: [10:5 - 12:1] Invalid Cursor => NoDeclFound
72 // CHECK: [16:5 - 18:1] Invalid Cursor => NoDeclFound
82 // CHECK: [21:5 - 23:1] Invalid Cursor => NoDeclFound
86 // CHECK: [25:5 - 27:1] Invalid Cursor => NoDeclFound
92 // CHECK: [29:5 - 31:1] Invalid Cursor => NoDeclFound
104 // CHECK: [38:5 - 40:1] Invalid Cursor => NoDeclFound
108 // CHECK: [42:2 - 44:1] Invalid Cursor => NoDeclFound
/external/clang/tools/libclang/
DCXCursor.h241 const Decl *getCursorDecl(CXCursor Cursor);
242 const Expr *getCursorExpr(CXCursor Cursor);
243 const Stmt *getCursorStmt(CXCursor Cursor);
244 const Attr *getCursorAttr(CXCursor Cursor);
245 const Decl *getCursorParentDecl(CXCursor Cursor);
247 ASTContext &getCursorContext(CXCursor Cursor);
248 ASTUnit *getCursorASTUnit(CXCursor Cursor);
249 CXTranslationUnit getCursorTU(CXCursor Cursor);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DContactsFacade.java23 import android.database.Cursor;
88 Cursor cursor = mService.getContentResolver().query(phoneData, null, null, null, null); in pickPhone()
102 Cursor cursor = mContentResolver.query(CONTACTS_URI, null, null, null, null); in contactsGetAttributes()
118 Cursor cursor = mContentResolver.query(CONTACTS_URI, columns, null, null, null); in contactsGetIds()
152 Cursor cursor = mContentResolver.query(CONTACTS_URI, query, null, null, null); in contactsGet()
182 Cursor pCur = in findPhone()
216 Cursor cursor = mContentResolver.query(uri, columns, null, null, null); in contactsGetById()
232 Cursor cursor = mContentResolver.query(CONTACTS_URI, null, null, null, null); in contactsGetCount()
267 Cursor cursor = mContentResolver.query(Uri.parse(uri), columns, selection, args, order); in queryContent()
289 Cursor cursor = mContentResolver.query(Uri.parse(uri), null, "1=0", null, null); in queryAttributes()
/external/proguard/src/proguard/gui/
DProGuardRunnable.java65 consoleTextArea.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); in run()
126 consoleTextArea.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); in run()
DReTraceRunnable.java68 consoleTextArea.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); in run()
131 consoleTextArea.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); in run()
/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java158 static private class Cursor { class in SignatureAttribute
648 return parseObjectType(sig, new Cursor(), false); in toFieldSignature()
658 Cursor cur = new Cursor(); in parseSig()
674 Cursor cur = new Cursor(); in parseMethodSig()
703 private static TypeParameter[] parseTypeParams(String sig, Cursor cur) in parseTypeParams()
731 private static ObjectType parseObjectType(String sig, Cursor c, boolean dontThrow) in parseObjectType()
752 private static ClassType parseClassType(String sig, Cursor c) in parseClassType()
761 private static ClassType parseClassType2(String sig, Cursor c, ClassType parent) in parseClassType2()
787 private static TypeArgument[] parseTypeArgs(String sig, Cursor c) throws BadBytecode { in parseTypeArgs()
809 private static ObjectType parseArray(String sig, Cursor c) throws BadBytecode { in parseArray()
[all …]
/external/e2fsprogs/resize/
Dtest_extent.in10 # Num=3, Size=10, Cursor=0, Sorted=1
17 # Num=3, Size=10, Cursor=0, Sorted=1
53 # Num=5, Size=10, Cursor=0, Sorted=1
/external/clang/bindings/python/tests/cindex/
Dutil.py3 from clang.cindex import Cursor
43 root_cursor = source if isinstance(source, Cursor) else source.cursor
61 root_cursor = source if isinstance(source, Cursor) else source.cursor
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DMediaStoreThumbFetcher.java5 import android.database.Cursor;
114 Cursor query(Context context, Uri uri); in query()
135 final Cursor cursor = query.query(context, uri); in open()
161 public Cursor query(Context context, Uri uri) { in query()
173 public Cursor query(Context context, Uri uri) { in query()

123456