Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp35 class Cursor { class
40 Cursor(NoneType) {} in Cursor() function in __anon4b81fc250111::Cursor
42 explicit Cursor(StringRef Str) { in Cursor() function in __anon4b81fc250111::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(Value.substr(1, Value.size() - 2)); in unescapeQuotedString()
145 static Cursor lexStringConstant(Cursor C, ErrorCallbackType ErrorCallback) { in lexStringConstant()
159 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type, in lexName()
164 if (Cursor R = lexStringConstant(C, ErrorCallback)) { in lexName()
[all …]
/third_party/rust/crates/syn/src/
Dbuffer.rs77 pub fn begin(&self) -> Cursor { in begin() argument
79 unsafe { Cursor::create(ptr, ptr.add(self.entries.len() - 1)) } in begin()
91 pub struct Cursor<'a> { struct
102 impl<'a> Cursor<'a> { implementation
116 Cursor { in empty()
138 Cursor { in create()
156 unsafe fn bump_ignore_group(self) -> Cursor<'a> { in bump_ignore_group()
157 unsafe { Cursor::create(self.ptr.offset(1), self.scope) } in bump_ignore_group()
184 pub fn group(mut self, delim: Delimiter) -> Option<(Cursor<'a>, DelimSpan, Cursor<'a>)> { in group()
196 let inside_of_group = unsafe { Cursor::create(self.ptr.add(1), end_of_group) }; in group()
[all …]
Dparse.rs185 use crate::buffer::{Cursor, TokenBuffer};
258 cell: Cell<Cursor<'static>>,
259 marker: PhantomData<Cursor<'a>>,
333 cursor: Cursor<'c>,
342 marker: PhantomData<fn(Cursor<'c>) -> Cursor<'a>>,
346 type Target = Cursor<'c>;
371 pub(crate) fn advance_step_cursor<'c, 'a>(proof: StepCursor<'c, 'a>, to: Cursor<'c>) -> Cursor<'a> { in advance_step_cursor()
377 unsafe { mem::transmute::<Cursor<'c>, Cursor<'a>>(to) } in advance_step_cursor()
382 cursor: Cursor, in new_parse_buffer() argument
388 cell: Cell::new(unsafe { mem::transmute::<Cursor, Cursor<'static>>(cursor) }), in new_parse_buffer()
[all …]
Dlookahead.rs1 use crate::buffer::Cursor;
64 cursor: Cursor<'a>,
68 pub(crate) fn new(scope: Span, cursor: Cursor) -> Lookahead1 { in new()
78 peek: fn(Cursor) -> bool, in peek_impl()
165 pub(crate) fn is_delimiter(cursor: Cursor, delimiter: Delimiter) -> bool { in is_delimiter() argument
Dtoken.rs95 use crate::buffer::Cursor;
132 fn peek(cursor: Cursor) -> bool; in peek()
141 use crate::buffer::Cursor;
159 fn peek(cursor: Cursor) -> bool; in peek()
168 fn peek_impl(cursor: Cursor, peek: fn(ParseStream) -> bool) -> bool { in peek_impl() argument
183 fn peek(cursor: Cursor) -> bool {
215 fn peek(cursor: Cursor) -> bool {
238 fn peek(cursor: Cursor) -> bool { in peek()
334 fn peek(cursor: Cursor) -> bool {
473 fn peek(cursor: Cursor) -> bool {
[all …]
Dext.rs3 use crate::buffer::Cursor;
108 fn peek(cursor: Cursor) -> bool { in peek()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
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 += 4; in readFunctionTag()
130 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readBlockTag()
135 Cursor += 4; in readBlockTag()
[all …]
/third_party/rust/crates/proc-macro2/src/
Dparse.rs10 pub(crate) struct Cursor<'a> { struct
16 impl<'a> Cursor<'a> { impl
17 pub fn advance(&self, bytes: usize) -> Cursor<'a> { in advance()
19 Cursor { in advance()
65 fn parse(&self, tag: &str) -> Result<Cursor<'a>, Reject> { in parse()
75 type PResult<'a, O> = Result<(Cursor<'a>, O), Reject>;
77 fn skip_whitespace(input: Cursor) -> Cursor { in skip_whitespace() argument
125 fn block_comment(input: Cursor) -> PResult<&str> { in block_comment()
157 fn word_break(input: Cursor) -> Result<Cursor, Reject> { in word_break() argument
168 pub(crate) fn token_stream(mut input: Cursor) -> Result<TokenStream, LexError> { in token_stream()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
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;
165 NaClBitcodeBlock(unsigned BlockID, NaClBitstreamCursor &Cursor) in NaClBitcodeBlock() argument
166 : NaClBitcodeData(Cursor), BlockID(BlockID), EnclosingBlock(0) { in NaClBitcodeBlock()
381 ErrorHandler(NaClBitcodeParser *Parser, NaClBitstreamCursor &Cursor) in ErrorHandler() argument
382 : NaClBitstreamCursor::ErrorHandler(Cursor), Parser(Parser) {} in ErrorHandler()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DDataExtractor.h54 class Cursor {
62 explicit Cursor(uint64_t Offset) : Offset(Offset), Err(Error::success()) {} in Cursor() function
180 uint64_t getUnsigned(Cursor &C, uint32_t Size) const { in getUnsigned()
233 uint64_t getAddress(Cursor &C) const { return getUnsigned(C, AddressSize); } in getAddress()
260 uint8_t getU8(Cursor &C) const { return getU8(&C.Offset, &C.Err); } in getU8()
291 uint8_t *getU8(Cursor &C, uint8_t *Dst, uint32_t Count) const;
298 void getU8(Cursor &C, SmallVectorImpl<uint8_t> &Dst, uint32_t Count) const { in getU8()
334 uint16_t getU16(Cursor &C) const { return getU16(&C.Offset, &C.Err); } in getU16()
403 uint32_t getU32(Cursor &C) const { return getU32(&C.Offset, &C.Err); } in getU32()
455 uint64_t getU64(Cursor &C) const { return getU64(&C.Offset, &C.Err); } in getU64()
[all …]
/third_party/skia/experimental/sktext/editor/
DCursor.cpp9 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()
DCursor.h21 class Cursor {
23 static std::unique_ptr<Cursor> Make();
24 Cursor();
25 virtual ~Cursor() = default;
/third_party/rust/crates/bindgen/bindgen/
Dclang.rs53 pub struct Cursor { struct
57 impl fmt::Debug for Cursor { implementation
70 impl Cursor { impl
156 pub fn lexical_parent(&self) -> Cursor { in lexical_parent() argument
158 Cursor { in lexical_parent()
168 pub fn fallible_semantic_parent(&self) -> Option<Cursor> { in fallible_semantic_parent() argument
170 Cursor { in fallible_semantic_parent()
184 pub fn semantic_parent(&self) -> Cursor { in semantic_parent() argument
228 pub fn translation_unit(&self) -> Cursor { in translation_unit() argument
232 let cursor = Cursor { in translation_unit()
[all …]
Dparse.rs26 New(T, Option<clang::Cursor>),
37 cursor: clang::Cursor, in parse() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterferenceCache.h160 friend class Cursor;
180 class Cursor {
198 Cursor() = default;
200 Cursor(const Cursor &O) { in Cursor() function
204 Cursor &operator=(const Cursor &O) {
209 ~Cursor() { setEntry(nullptr); } in ~Cursor()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
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; variable
222 uintptr_t cursor() const { return Cursor; } in cursor()
DIceCompileServer.cpp67 size_t Cursor = 0; member in Ice::__anon2c33b4620111::TextDataStreamer
90 if (Cursor >= BitcodeBuffer.size()) in GetBytes()
95 Buf[i] = BitcodeBuffer[Cursor + i]; in GetBytes()
96 Cursor += Len; in GetBytes()
/third_party/python/Lib/sqlite3/test/
Dregression.py197 class Cursor(sqlite.Cursor): class
202 cur = Cursor(con)
236 return Cursor(self)
238 class Cursor(sqlite.Cursor): class
240 sqlite.Cursor.__init__(self, con)
386 cur = sqlite.Cursor(con)
/third_party/skia/third_party/externals/angle2/src/android_system_settings/src/com/android/angle/common/
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/llvm-10.0/llvm/lib/Transforms/Scalar/
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/
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/
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/rust/crates/bindgen/bindgen/ir/
Dcontext.rs22 use crate::clang::{self, Cursor};
303 Declaration(Cursor),
318 type_params: HashMap<clang::Cursor, TypeId>,
321 modules: HashMap<Cursor, ModuleId>,
335 semantic_parents: HashMap<clang::Cursor, ItemId>,
659 declaration: Option<Cursor>, in add_item() argument
660 location: Option<Cursor>, in add_item() argument
781 pub fn add_type_param(&mut self, item: Item, definition: clang::Cursor) { in add_type_param() argument
816 pub fn get_type_param(&self, definition: &clang::Cursor) -> Option<TypeId> { in get_type_param()
890 ) -> Vec<(ItemId, clang::Type, clang::Cursor, Option<ItemId>)> { in collect_typerefs() argument
[all …]
Dvar.rs153 cursor: &clang::Cursor, in handle_function_macro() argument
175 cursor: clang::Cursor, in parse() argument
378 cursor: &clang::Cursor, in parse_macro() argument
392 fn parse_int_literal_tokens(cursor: &clang::Cursor) -> Option<i64> { in parse_int_literal_tokens()
405 fn get_integer_literal_from_cursor(cursor: &clang::Cursor) -> Option<i64> { in get_integer_literal_from_cursor()
/third_party/glfw/src/
Dx11_platform.h140 Cursor cursor;
277 Cursor handle;
285 Cursor _glfwCreateCursorX11(const GLFWimage* image, int xhot, int yhot);

1234