Home | History | Annotate | Download | only in Lex

Lines Matching defs:Size

448   static inline char getCharAndSizeNoWarn(const char *Ptr, unsigned &Size,
453 Size = 1;
457 Size = 0;
458 return getCharAndSizeSlowNoWarn(Ptr, Size, LangOpts);
479 /// takes that range and assigns it to the token as its location and size. In
508 // returning it and its size. If the lexer decides that this character is
531 unsigned Size = 0;
532 char C = getCharAndSizeSlow(Ptr, Size, &Tok);
533 Ptr += Size;
541 const char *ConsumeChar(const char *Ptr, unsigned Size, Token &Tok) {
543 if (Size == 1)
544 return Ptr+Size;
548 Size = 0;
549 getCharAndSizeSlow(Ptr, Size, &Tok);
550 return Ptr+Size;
554 /// get its size, and return it. This is tricky in several cases. Here we
557 inline char getCharAndSize(const char *Ptr, unsigned &Size) {
561 Size = 1;
565 Size = 0;
566 return getCharAndSizeSlow(Ptr, Size);
571 char getCharAndSizeSlow(const char *Ptr, unsigned &Size,
574 /// getEscapedNewLineSize - Return the size of the specified escaped newline,
586 static char getCharAndSizeSlowNoWarn(const char *Ptr, unsigned &Size,
646 /// \param Size The number of characters occupied by the '\' (including
652 bool tryConsumeIdentifierUCN(const char *&CurPtr, unsigned Size,