/external/llvm/unittests/Bitcode/ |
D | BitstreamReaderTest.cpp | 40 BitstreamCursor Cursor(Reader); in TEST() local 42 EXPECT_FALSE(Cursor.AtEndOfStream()); in TEST() 43 (void)Cursor.Read(8); in TEST() 44 EXPECT_FALSE(Cursor.AtEndOfStream()); in TEST() 45 (void)Cursor.Read(24); in TEST() 46 EXPECT_TRUE(Cursor.AtEndOfStream()); in TEST() 48 Cursor.JumpToBit(0); in TEST() 49 EXPECT_FALSE(Cursor.AtEndOfStream()); in TEST() 51 Cursor.JumpToBit(32); in TEST() 52 EXPECT_TRUE(Cursor.AtEndOfStream()); in TEST() [all …]
|
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/ |
D | linq_last.hpp | 9 template <class Cursor> 10 typename Cursor::element_type 11 linq_last_(Cursor c, onepass_cursor_tag) in linq_last_() 14 typename Cursor::element_type elem = c.get(); in linq_last_() 25 template <class Cursor> 26 typename Cursor::reference_type 27 linq_last_(Cursor c, forward_cursor_tag) in linq_last_() 30 Cursor best = c; in linq_last_() 39 template <class Cursor> 40 typename Cursor::reference_type [all …]
|
/external/llvm/lib/CodeGen/MIRParser/ |
D | MILexer.cpp | 30 class Cursor { class 35 Cursor(NoneType) : Ptr(nullptr), End(nullptr) {} in Cursor() function in __anon8e8127f90111::Cursor 37 explicit Cursor(StringRef Str) { in Cursor() function in __anon8e8127f90111::Cursor 50 StringRef upto(Cursor C) const { in upto() 85 static Cursor skipWhitespace(Cursor C) { in skipWhitespace() 94 static Cursor skipComment(Cursor C) { in skipComment() 114 Cursor C = Cursor(Value.substr(1, Value.size() - 2)); in unescapeQuotedString() 140 static Cursor lexStringConstant(Cursor C, ErrorCallbackType ErrorCallback) { in lexStringConstant() 154 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type, in lexName() 159 if (Cursor R = lexStringConstant(C, ErrorCallback)) { in lexName() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/ |
D | MILexer.cpp | 36 class Cursor { class 41 Cursor(NoneType) {} in Cursor() function in __anon1554d6510111::Cursor 43 explicit Cursor(StringRef Str) { in Cursor() function in __anon1554d6510111::Cursor 56 StringRef upto(Cursor C) const { in upto() 91 static Cursor skipWhitespace(Cursor C) { in skipWhitespace() 100 static Cursor skipComment(Cursor C) { in skipComment() 120 Cursor C = Cursor(Value.substr(1, Value.size() - 2)); in unescapeQuotedString() 146 static Cursor lexStringConstant(Cursor C, ErrorCallbackType ErrorCallback) { in lexStringConstant() 160 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type, in lexName() 165 if (Cursor R = lexStringConstant(C, ErrorCallback)) { in lexName() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | GCOV.h | 42 GCOVBuffer(MemoryBuffer *B) : Buffer(B), Cursor(0) {} in GCOVBuffer() 47 Cursor = 12; in readGCOVFormat() 57 Cursor = 0; in readGCOVFormat() 64 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readFunctionTag() 70 Cursor += 4; in readFunctionTag() 77 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readBlockTag() 83 Cursor += 4; in readBlockTag() 90 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readEdgeTag() 96 Cursor += 4; in readEdgeTag() 103 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readLineTag() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Bitcode/ |
D | BitstreamReaderTest.cpp | 23 BitstreamCursor Cursor(Bytes); in TEST() local 25 EXPECT_FALSE(Cursor.AtEndOfStream()); in TEST() 26 (void)Cursor.Read(8); in TEST() 27 EXPECT_FALSE(Cursor.AtEndOfStream()); in TEST() 28 (void)Cursor.Read(24); in TEST() 29 EXPECT_TRUE(Cursor.AtEndOfStream()); in TEST() 31 Cursor.JumpToBit(0); in TEST() 32 EXPECT_FALSE(Cursor.AtEndOfStream()); in TEST() 34 Cursor.JumpToBit(32); in TEST() 35 EXPECT_TRUE(Cursor.AtEndOfStream()); in TEST() [all …]
|
/external/llvm/include/llvm/Support/ |
D | GCOV.h | 56 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/ |
D | GCOV.h | 75 Cursor = 4; in readGCNOFormat() 86 Cursor = 4; in readGCDAFormat() 92 StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readGCOVVersion() 94 Cursor += 4; in readGCOVVersion() 99 Cursor += 4; in readGCOVVersion() 104 Cursor += 4; in readGCOVVersion() 115 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readFunctionTag() 120 Cursor += 4; in readFunctionTag() 127 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readBlockTag() 132 Cursor += 4; in readBlockTag() [all …]
|
/external/perfetto/src/trace_processor/ |
D | string_table.h | 39 class Cursor : public Table::Cursor { 41 Cursor(StringTable*); 42 ~Cursor() override; 51 Cursor(Cursor&) = delete; 52 Cursor& operator=(const Cursor&) = delete; 54 Cursor(Cursor&&) noexcept = default; 55 Cursor& operator=(Cursor&&) = default; 70 std::unique_ptr<Table::Cursor> CreateCursor() override;
|
D | sql_stats_table.h | 44 class Cursor : public Table::Cursor { 46 Cursor(SqlStatsTable* storage); 47 ~Cursor() override; 56 Cursor(Cursor&) = delete; 57 Cursor& operator=(const Cursor&) = delete; 59 Cursor(Cursor&&) noexcept = default; 60 Cursor& operator=(Cursor&&) = default; 74 std::unique_ptr<Table::Cursor> CreateCursor() override;
|
D | stats_table.h | 36 class Cursor : public Table::Cursor { 38 Cursor(StatsTable*); 47 Cursor(Cursor&) = delete; 48 Cursor& operator=(const Cursor&) = delete; 50 Cursor(Cursor&&) noexcept = default; 51 Cursor& operator=(Cursor&&) = default; 65 std::unique_ptr<Table::Cursor> CreateCursor() override;
|
D | thread_table.h | 34 class Cursor : public Table::Cursor { 36 Cursor(ThreadTable* table); 45 Cursor(Cursor&) = delete; 46 Cursor& operator=(const Cursor&) = delete; 48 Cursor(Cursor&&) noexcept = default; 49 Cursor& operator=(Cursor&&) = default; 66 std::unique_ptr<Table::Cursor> CreateCursor() override;
|
D | string_table.cc | 48 std::unique_ptr<Table::Cursor> StringTable::CreateCursor() { in CreateCursor() 49 return std::unique_ptr<Table::Cursor>(new Cursor(this)); in CreateCursor() 58 StringTable::Cursor::Cursor(StringTable* table) in Cursor() function in perfetto::trace_processor::StringTable::Cursor 59 : Table::Cursor(table), storage_(table->storage_), table_(table) {} in Cursor() 61 StringTable::Cursor::~Cursor() = default; 63 int StringTable::Cursor::Filter(const QueryConstraints&, sqlite3_value**) { in Filter() 64 *this = Cursor(table_); in Filter() 69 int StringTable::Cursor::Next() { in Next() 74 int StringTable::Cursor::Eof() { in Eof() 78 int StringTable::Cursor::Column(sqlite3_context* context, int col) { in Column()
|
D | sql_stats_table.cc | 51 std::unique_ptr<Table::Cursor> SqlStatsTable::CreateCursor() { in CreateCursor() 52 return std::unique_ptr<Table::Cursor>(new Cursor(this)); in CreateCursor() 60 SqlStatsTable::Cursor::Cursor(SqlStatsTable* table) in Cursor() function in perfetto::trace_processor::SqlStatsTable::Cursor 61 : Table::Cursor(table), storage_(table->storage_), table_(table) {} in Cursor() 63 SqlStatsTable::Cursor::~Cursor() = default; 65 int SqlStatsTable::Cursor::Filter(const QueryConstraints&, sqlite3_value**) { in Filter() 66 *this = Cursor(table_); in Filter() 71 int SqlStatsTable::Cursor::Next() { in Next() 76 int SqlStatsTable::Cursor::Eof() { in Eof() 80 int SqlStatsTable::Cursor::Column(sqlite3_context* context, int col) { in Column()
|
D | stats_table.cc | 44 std::unique_ptr<Table::Cursor> StatsTable::CreateCursor() { in CreateCursor() 45 return std::unique_ptr<Table::Cursor>(new Cursor(this)); in CreateCursor() 52 StatsTable::Cursor::Cursor(StatsTable* table) in Cursor() function in perfetto::trace_processor::StatsTable::Cursor 53 : Table::Cursor(table), table_(table), storage_(table->storage_) {} in Cursor() 55 int StatsTable::Cursor::Filter(const QueryConstraints&, sqlite3_value**) { in Filter() 56 *this = Cursor(table_); in Filter() 60 int StatsTable::Cursor::Column(sqlite3_context* ctx, int N) { in Column() 107 int StatsTable::Cursor::Next() { in Next() 127 int StatsTable::Cursor::Eof() { in Eof()
|
D | thread_table.cc | 51 std::unique_ptr<Table::Cursor> ThreadTable::CreateCursor() { in CreateCursor() 52 return std::unique_ptr<Table::Cursor>(new Cursor(this)); in CreateCursor() 69 ThreadTable::Cursor::Cursor(ThreadTable* table) in Cursor() function in perfetto::trace_processor::ThreadTable::Cursor 70 : Table::Cursor(table), storage_(table->storage_), table_(table) {} in Cursor() 72 int ThreadTable::Cursor::Filter(const QueryConstraints& qc, in Filter() 74 *this = Cursor(table_); in Filter() 107 int ThreadTable::Cursor::Column(sqlite3_context* context, int N) { in Column() 147 int ThreadTable::Cursor::Next() { in Next() 156 int ThreadTable::Cursor::Eof() { in Eof()
|
D | window_operator_table.cc | 56 std::unique_ptr<Table::Cursor> WindowOperatorTable::CreateCursor() { in CreateCursor() 57 return std::unique_ptr<Table::Cursor>(new Cursor(this)); in CreateCursor() 95 WindowOperatorTable::Cursor::Cursor(WindowOperatorTable* table) in Cursor() function in perfetto::trace_processor::WindowOperatorTable::Cursor 96 : Table::Cursor(table), table_(table) {} in Cursor() 98 int WindowOperatorTable::Cursor::Filter(const QueryConstraints& qc, in Filter() 100 *this = Cursor(table_); in Filter() 121 int WindowOperatorTable::Cursor::Column(sqlite3_context* context, int N) { in Column() 161 int WindowOperatorTable::Cursor::Next() { in Next() 175 int WindowOperatorTable::Cursor::Eof() { in Eof()
|
D | process_table.cc | 50 std::unique_ptr<Table::Cursor> ProcessTable::CreateCursor() { in CreateCursor() 51 return std::unique_ptr<Table::Cursor>(new Cursor(this)); in CreateCursor() 67 ProcessTable::Cursor::Cursor(ProcessTable* table) in Cursor() function in perfetto::trace_processor::ProcessTable::Cursor 68 : Table::Cursor(table), storage_(table->storage_) {} in Cursor() 70 int ProcessTable::Cursor::Filter(const QueryConstraints& qc, in Filter() 103 int ProcessTable::Cursor::Column(sqlite3_context* context, int N) { in Column() 136 int ProcessTable::Cursor::Next() { in Next() 145 int ProcessTable::Cursor::Eof() { in Eof()
|
D | span_join_operator_table.h | 222 class Cursor : public Table::Cursor { 224 Cursor(SpanJoinOperatorTable*, sqlite3* db); 225 ~Cursor() override = default; 233 Cursor(Cursor&) = delete; 234 Cursor& operator=(const Cursor&) = delete; 236 Cursor(Cursor&&) noexcept = default; 237 Cursor& operator=(Cursor&&) = default; 255 std::unique_ptr<Table::Cursor> CreateCursor() override;
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMergeCursorTest.java | 5 import android.database.Cursor; 64 Cursor cursor = database.rawQuery(selectSql, null); in setupTable() 78 cursor = new MergeCursor( new Cursor[1] ); in testEmptyCursors() 84 Cursor[] cursors = new Cursor[2]; in testEmptyCursors() 95 Cursor[] cursors = new Cursor[2]; in testMoveToPositionEmptyCursor() 110 Cursor[] cursors = new Cursor[1]; in testBoundsSingleCursor() 118 Cursor[] cursors = new Cursor[2]; in testBoundsMultipleCursor() 125 private void assertBounds( Cursor[] cursors, int expectedLength ) { in assertBounds() 142 Cursor[] cursors = new Cursor[1]; in testGetDataSingleCursor() 152 Cursor[] cursors = new Cursor[2]; in testGetDataMultipleCursor() [all …]
|
D | ShadowCursorAdapterTest.java | 6 import android.database.Cursor; 20 private Cursor curs; 62 Cursor oldCursor = adapter.swapCursor(null); in testSwapCursor() 91 public TestAdapter(Cursor curs) { in TestAdapter() 96 public void bindView(View view, Context context, Cursor cursor) { in bindView() 100 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() 106 public TestAdapterWithFlags(Cursor c, int flags) { in TestAdapterWithFlags() 110 @Override public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() 114 @Override public void bindView(View view, Context context, Cursor cursor) { in bindView()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitcodeParser.h | 118 explicit NaClBitcodeData(NaClBitstreamCursor &Cursor) in NaClBitcodeData() argument 119 : Cursor(Cursor), StartBit(Cursor.GetCurrentBitNo()) in NaClBitcodeData() 124 : Cursor(Data.Cursor), StartBit(Data.StartBit) in NaClBitcodeData() 129 return *Cursor.getBitStreamReader(); in GetReader() 134 return Cursor; in GetCursor() 155 NaClBitstreamCursor &Cursor; 173 NaClBitcodeBlock(unsigned BlockID, NaClBitstreamCursor &Cursor) in NaClBitcodeBlock() argument 174 : NaClBitcodeData(Cursor), in NaClBitcodeBlock() 416 NaClBitstreamCursor &Cursor): in ErrorHandler() argument 417 NaClBitstreamCursor::ErrorHandler(Cursor), Parser(Parser) {} in ErrorHandler() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowCursorWindow.java | 8 import android.database.Cursor; 50 case Cursor.FIELD_TYPE_NULL: in nativeGetBlob() 52 case Cursor.FIELD_TYPE_BLOB: in nativeGetBlob() 56 case Cursor.FIELD_TYPE_STRING: in nativeGetBlob() 71 if (val.type == Cursor.FIELD_TYPE_BLOB) { in nativeGetString() 135 … return WINDOW_DATA.get(windowPtr).putValue(new Value(value, Cursor.FIELD_TYPE_BLOB), row, column); in nativePutBlob() 145 …return WINDOW_DATA.get(windowPtr).putValue(new Value(value, Cursor.FIELD_TYPE_STRING), row, column… in nativePutString() 155 …return WINDOW_DATA.get(windowPtr).putValue(new Value(value, Cursor.FIELD_TYPE_INTEGER), row, colum… in nativePutLong() 165 …return WINDOW_DATA.get(windowPtr).putValue(new Value(value, Cursor.FIELD_TYPE_FLOAT), row, column); in nativePutDouble() 175 … return WINDOW_DATA.get(windowPtr).putValue(new Value(null, Cursor.FIELD_TYPE_NULL), row, column); in nativePutNull() [all …]
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 1162 class Cursor(Structure): class 1581 assert isinstance(res, Cursor) 1605 assert isinstance(res, Cursor) 2888 cursor = Cursor() 2899 callbacks['cursor_visit'] = CFUNCTYPE(c_int, Cursor, Cursor, py_object) 2900 callbacks['fields_visit'] = CFUNCTYPE(c_int, Cursor, py_object) 2905 [TranslationUnit, POINTER(Token), c_uint, POINTER(Cursor)]), 2976 [Cursor], 2980 [Cursor], 2984 [Cursor], [all …]
|
/external/clang/lib/Frontend/ |
D | SerializedDiagnosticReader.cpp | 69 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 …]
|