Home
last modified time | relevance | path

Searched refs:Cursor (Results 1 - 25 of 68) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp35 class Cursor { class
40 Cursor(NoneType) {} in Cursor() function in __anon24038::Cursor
42 explicit Cursor(StringRef Str) { in Cursor() function in __anon24038::Cursor
55 StringRef upto(Cursor C) const { in upto()
90 static Cursor skipWhitespace(Cursor C) { in skipWhitespace()
99 static Cursor skipComment(Cursor C) { in skipComment()
119 Cursor C = Cursor(Valu in unescapeQuotedString()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
H A DGCOV.h78 Cursor = 4; in readGCNOFormat()
89 Cursor = 4; in readGCDAFormat()
95 StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readGCOVVersion()
97 Cursor += 4; in readGCOVVersion()
102 Cursor += 4; in readGCOVVersion()
107 Cursor += 4; in readGCOVVersion()
118 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readFunctionTag()
123 Cursor in readFunctionTag()
240 uint64_t Cursor = 0; global() member in llvm::GCOVBuffer
[all...]
/third_party/rust/crates/syn/src/
H A Dbuffer.rs77 pub fn begin(&self) -> Cursor { in begin()
79 unsafe { Cursor::create(ptr, ptr.add(self.entries.len() - 1)) } in begin()
89 /// An empty `Cursor` can be created directly, or one may create a `TokenBuffer`
91 pub struct Cursor<'a> { structure names
92 // The current entry which the `Cursor` is pointing at.
95 // point at. All other `End` objects are skipped over in `Cursor::create`.
97 // Cursor is covariant in 'a. This field ensures that our pointers are still
102 impl<'a> Cursor<'a> { impls
116 Cursor { in empty()
138 Cursor { in create()
[all...]
H A Dparse.rs6 //! [`Cursor`] type. `Cursor` is a cheaply copyable cursor over a range of
10 //! [`Cursor`]: crate::buffer::Cursor
185 use crate::buffer::{Cursor, TokenBuffer};
225 /// Cursor position within a buffered token stream.
247 // Instead of Cell<Cursor<'a>> so that ParseBuffer<'a> is covariant in 'a.
251 // Cell<Cursor<'a>> cannot be covariant in 'a because then we could take a
253 // than 'a, and then assign a Cursor<'short> into the Cell.
256 // Cursor<'
[all...]
H A Dtoken.rs95 use crate::buffer::Cursor;
132 fn peek(cursor: Cursor) -> bool; in peek()
141 use crate::buffer::Cursor; in display()
159 fn peek(cursor: Cursor) -> bool; in display()
168 fn peek_impl(cursor: Cursor, peek: fn(ParseStream) -> bool) -> bool { in peek_impl()
183 fn peek(cursor: Cursor) -> bool { in peek()
215 fn peek(cursor: Cursor) -> bool { in peek()
238 fn peek(cursor: Cursor) -> bool { in peek()
334 fn peek(cursor: Cursor) -> bool { in display()
473 fn peek(cursor: Cursor)
[all...]
H A Dext.rs3 use crate::buffer::Cursor;
108 fn peek(cursor: Cursor) -> bool { in peek()
H A Ddiscouraged.rs193 .set(unsafe { mem::transmute::<Cursor, Cursor<'static>>(fork.cursor()) }); in advance_to()
H A Dident.rs53 use crate::buffer::Cursor;
95 fn peek(cursor: Cursor) -> bool { in peek()
H A Dlookahead.rs1 use crate::buffer::Cursor;
64 cursor: Cursor<'a>,
68 pub(crate) fn new(scope: Span, cursor: Cursor) -> Lookahead1 {
78 peek: fn(Cursor) -> bool, in peek_impl()
165 pub(crate) fn is_delimiter(cursor: Cursor, delimiter: Delimiter) -> bool {
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
H A DNaClBitcodeParser.h118 explicit NaClBitcodeData(NaClBitstreamCursor &Cursor) in NaClBitcodeData() argument
119 : Cursor(Cursor), StartBit(Cursor.GetCurrentBitNo()) {} in NaClBitcodeData()
123 : Cursor(Data.Cursor), StartBit(Data.StartBit) {} in NaClBitcodeData()
127 return *Cursor.getBitStreamReader(); in GetReader()
131 NaClBitstreamCursor &GetCursor() const { return Cursor; } in GetCursor()
147 NaClBitstreamCursor &Cursor; member in llvm::NaClBitcodeData
165 NaClBitcodeBlock(unsigned BlockID, NaClBitstreamCursor &Cursor) in NaClBitcodeBlock() argument
381 ErrorHandler(NaClBitcodeParser *Parser, NaClBitstreamCursor &Cursor) ErrorHandler() argument
395 NaClBitcodeParser(NaClBitstreamCursor &Cursor) NaClBitcodeParser() argument
566 NaClBitcodeParser(unsigned BlockID, NaClBitcodeParser *EnclosingParser, NaClBitstreamCursor &Cursor) NaClBitcodeParser() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DDataExtractor.h52 /// attempting to parse and without updating the Cursor offset. After clearing
53 /// the error flag, one can again use the Cursor object for parsing.
54 class Cursor { class in llvm::DataExtractor
62 explicit Cursor(uint64_t Offset) : Offset(Offset), Err(Error::success()) {} in Cursor() function in llvm::DataExtractor::Cursor
69 /// Return the current position of this Cursor. In the error state this is
70 /// the position of the Cursor before the first error was encountered.
73 /// Return error contained inside this Cursor, if any. Clears the internal
74 /// Cursor state.
180 uint64_t getUnsigned(Cursor &C, uint32_t Size) const { in getUnsigned()
233 uint64_t getAddress(Cursor
[all...]
/third_party/rust/crates/proc-macro2/src/
H A Dparse.rs10 pub(crate) struct Cursor<'a> {
16 impl<'a> Cursor<'a> { impls
17 pub fn advance(&self, bytes: usize) -> Cursor<'a> { in advance()
19 Cursor {
65 fn parse(&self, tag: &str) -> Result<Cursor<'a>, Reject> { in as_bytes()
75 type PResult<'a, O> = Result<(Cursor<'a>, O), Reject>;
77 fn skip_whitespace(input: Cursor) -> Cursor { in skip_whitespace()
125 fn block_comment(input: Cursor) -> PResult<&str> { in block_comment()
157 fn word_break(input: Cursor)
[all...]
/third_party/skia/experimental/sktext/editor/
H A DCursor.cpp2 #include "experimental/sktext/editor/Cursor.h"
9 std::unique_ptr<Cursor> Cursor::Make() { return std::make_unique<Cursor>(); } in Make()
11 Cursor::Cursor() { in Cursor() function in skia::editor::Cursor
25 void Cursor::paint(SkCanvas* canvas) { in paint()
H A DCursor.h21 class Cursor { class
23 static std::unique_ptr<Cursor> Make();
24 Cursor();
25 virtual ~Cursor() = default;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DInterferenceCache.h53 /// RefCount - The total number of Cursor instances referring to this Entry.
160 friend class Cursor;
179 /// Cursor - The primary query interface for the block interference cache.
180 class Cursor { class in llvm::InterferenceCache
197 /// Cursor - Create a dangling cursor.
198 Cursor() = default;
200 Cursor(const Cursor &O) { in Cursor() function in llvm::InterferenceCache::Cursor
204 Cursor &operator=(const Cursor
[all...]
/third_party/rust/crates/bindgen/bindgen/
H A Dclang.rs53 pub struct Cursor { structure names
57 impl fmt::Debug for Cursor {
61 "Cursor({} kind: {}, loc: {}, usr: {:?})", in fmt()
70 impl Cursor { impls
139 /// Get the `Cursor` for this cursor's referent's lexical parent.
156 pub fn lexical_parent(&self) -> Cursor { in lexical_parent()
158 Cursor { in lexical_parent()
168 pub fn fallible_semantic_parent(&self) -> Option<Cursor> { in fallible_semantic_parent()
170 Cursor { in fallible_semantic_parent()
184 pub fn semantic_parent(&self) -> Cursor { in semantic_parent()
[all...]
H A Dparse.rs26 New(T, Option<clang::Cursor>),
37 cursor: clang::Cursor, in parse()
/third_party/skia/third_party/externals/angle2/src/android_system_settings/src/com/android/angle/common/
H A DSearchProvider.java31 import android.database.Cursor;
48 public Cursor queryXmlResources(String[] projection) in queryXmlResources()
54 public Cursor queryRawData(String[] projection) in queryRawData()
73 public Cursor queryNonIndexableKeys(String[] projection) in queryNonIndexableKeys()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceAssembler.h115 memcpy(reinterpret_cast<void *>(Cursor), &Value, sizeof(T)); in emit()
116 Cursor += sizeof(T); in emit()
138 intptr_t size() const { return Cursor - Contents; } in size()
178 intptr_t getPosition() const { return Cursor - Contents; } in getPosition()
202 Cursor = Contents + NewSize; in setSize()
212 uintptr_t Cursor; member in Ice::AssemblerBuffer
222 uintptr_t cursor() const { return Cursor; } in cursor()
H A DIceCompileServer.cpp67 size_t Cursor = 0; member in Ice::__anon25468::TextDataStreamer
90 if (Cursor >= BitcodeBuffer.size()) in GetBytes()
95 Buf[i] = BitcodeBuffer[Cursor + i]; in GetBytes()
96 Cursor += Len; in GetBytes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp413 Instruction *Cursor = nullptr; in findLocationForEntrySafepoint() local
414 for (Cursor = &F.getEntryBlock().front(); HasNextInstruction(Cursor); in findLocationForEntrySafepoint()
415 Cursor = NextInstruction(Cursor)) { in findLocationForEntrySafepoint()
424 if (auto *Call = dyn_cast<CallBase>(Cursor)) { in findLocationForEntrySafepoint()
431 assert((HasNextInstruction(Cursor) || Cursor->isTerminator()) && in findLocationForEntrySafepoint()
434 return Cursor; in findLocationForEntrySafepoint()
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DFrameBuffer.hpp77 struct Cursor struct in sw::FrameBuffer
90 static Cursor cursor;
92 void (*blitFunction)(void *dst, void *src, Cursor *cursor);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp67 static Expected<uint64_t> readAbbreviatedField(BitstreamCursor &Cursor, in readAbbreviatedField() argument
77 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); in readAbbreviatedField()
78 return Cursor.Read((unsigned)Op.getEncodingData()); in readAbbreviatedField()
80 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); in readAbbreviatedField()
81 return Cursor.ReadVBR64((unsigned)Op.getEncodingData()); in readAbbreviatedField()
83 if (Expected<unsigned> Res = Cursor.Read(6)) in readAbbreviatedField()
/third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/contacts/
H A DContactsRead.java5 import android.database.Cursor;
35 Cursor cursor = in getAllPhoneNumbersSorted()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
H A Dtinyxmlparser.cpp177 const TiXmlCursor& Cursor() const { return cursor; } in Cursor() function in TiXmlParsingData
732 location = data.Cursor(); in Parse()
813 errorLocation = data->Cursor(); in SetError()
1057 location = data->Cursor(); in Parse()
1283 location = data->Cursor(); in Parse()
1347 location = data->Cursor(); in Parse()
1400 location = data->Cursor(); in Parse()
1505 location = data->Cursor(); in Parse()
1586 location = data->Cursor(); in Parse()

Completed in 15 milliseconds

123