Home | History | Annotate | Download | only in Lex

Lines Matching defs:Length

235   size_t Length = 0;
242 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
245 if (Spelling[Length - 1] == '"')
252 if (Length >= 2 &&
253 Spelling[Length - 2] == 'R' && Spelling[Length - 1] == '"') {
261 memcpy(Spelling + Length, BufPtr, RawLength);
262 Length += RawLength;
271 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
275 assert(Length < Tok.getLength() &&
277 return Length;
309 unsigned length = token.getLength();
313 return StringRef(tokenBegin, length);
316 buffer.resize(length);
351 /// Tok.getLength() bytes long. The actual length of the token is returned.
403 /// its length in bytes in the input file. If the token needs cleaning (e.g.