Home | History | Annotate | Download | only in AST

Lines Matching defs:Length

172     const unsigned Length = WordText.size();
173 if (Length == 0) {
178 char *TextPtr = Allocator.Allocate<char>(Length + 1);
180 memcpy(TextPtr, WordText.c_str(), Length + 1);
181 StringRef Text = StringRef(TextPtr, Length);
183 formTokenWithChars(Tok, Loc, WordBegin, Length, Text);
222 const unsigned Length = WordText.size();
223 char *TextPtr = Allocator.Allocate<char>(Length + 1);
225 memcpy(TextPtr, WordText.c_str(), Length + 1);
226 StringRef Text = StringRef(TextPtr, Length);