Searched refs:Token (Results 26 - 50 of 198) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessorLexer.cpp9 // This file implements the PreprocessorLexer and Token interfaces.
17 #include "clang/Lex/Token.h"
32 void PreprocessorLexer::LexIncludeFilename(Token &FilenameTok) {
H A DPragma.cpp34 #include "clang/Lex/Token.h"
68 Token &FirstToken) {}
107 PragmaIntroducer Introducer, Token &Tok) {
137 SmallVector<Token, 3> Tokens;
138 Token &Tok;
151 auto Toks = std::make_unique<Token[]>(Tokens.size());
176 Token Tok;
188 void Preprocessor::Handle_Pragma(Token &Tok) {
247 Token StrTok = Tok;
320 Token TmpTo
[all...]
H A DPPMacroExpansion.cpp33 #include "clang/Lex/Token.h"
470 bool Preprocessor::HandleMacroExpandedIdentifier(Token &Identifier,
570 Identifier.setFlag(Token::LeadingEmptyMacro);
593 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine);
594 Identifier.setFlagValue(Token::LeadingSpace, hasLeadingSpace);
608 Identifier.setFlag(Token::DisableExpand);
634 static bool CheckMatchedBrackets(const SmallVectorImpl<Token> &Tokens) {
636 for (SmallVectorImpl<Token>::const_iterator I = Tokens.begin(),
664 SmallVectorImpl<Token> &OldTokens,
665 SmallVectorImpl<Token>
[all...]
H A DPPDirectives.cpp33 #include "clang/Lex/Token.h"
83 Token Tmp;
241 bool Preprocessor::CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef,
310 /// \param MacroNameTok Token that is expected to be a macro name.
313 void Preprocessor::ReadMacroName(Token &MacroNameTok, MacroUse isDefineUndef,
344 Token Tmp;
429 Token Tok;
874 void Preprocessor::HandleSkippedDirectiveWhileUsingPCH(Token &Result,
899 void Preprocessor::HandleDirective(Token &Result) {
920 Token SavedHas
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DCommentBriefParser.h35 Token Tok;
H A DCommentParser.h55 Token Tok;
58 SmallVector<Token, 8> MoreLATokens;
67 void putBack(const Token &OldTok) {
72 void putBack(ArrayRef<Token> Toks) {
/freebsd-13-stable/contrib/lua/src/
H A Dllex.h56 typedef struct Token { struct
59 } Token; typedef in typeref:struct:Token
68 Token t; /* current token */
69 Token lookahead; /* look ahead token */
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.h102 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok,
110 void MacroDefined(const Token &MacroNameTok,
116 void MacroUndefined(const Token &MacroNameTok, const MacroDefinition &MD,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.cpp73 void TokenRole::precomputeFormattingInfos(const FormatToken *Token) {} argument
152 void CommaSeparatedList::precomputeFormattingInfos(const FormatToken *Token) { argument
154 if (!Token->MatchingParen ||
155 !Token->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare))
168 if (Token->is(TT_ArrayInitializerLSquare) && Commas.size() < 19)
175 FormatToken *ItemBegin = Token->Next;
197 ItemEnd = Token->MatchingParen;
208 ItemEnd = Token->MatchingParen->Previous;
223 if (ItemEnd->getNextNonComment() == Token->MatchingParen)
233 if (Token
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DTokenRewriter.cpp1 //===- TokenRewriter.cpp - Token-based code rewriting interface -----------===//
18 #include "clang/Lex/Token.h"
38 Token RawTok;
72 TokenRewriter::AddToken(const Token &T, TokenRefTy Where) {
77 assert(InsertSuccess && "Token location already in rewriter!");
88 Token Tok;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DCOFFModuleDefinition.cpp53 struct Token { struct in namespace:llvm::object
54 explicit Token(Kind T = Unknown, StringRef S = "") : K(T), Value(S) {} function in struct:llvm::object::Token
92 Token lex() {
95 return Token(Eof);
99 return Token(Eof);
109 return Token(EqualEqual, "==");
111 return Token(Equal, "=");
114 return Token(Comma, ",");
118 return Token(Identifier, S);
137 return Token(
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp30 Token &FirstToken) override;
36 Token &FirstToken) override;
42 Token &FirstToken) override;
48 Token &FirstToken) override;
55 Token &FirstToken) override;
64 Token &FirstToken) override;
70 Token &FirstToken) override;
76 Token &FirstToken) override;
82 Token &FirstToken) override;
88 Token
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTree.h53 std::pair<FileID, llvm::ArrayRef<syntax::Token>>
61 llvm::DenseMap<FileID, std::vector<syntax::Token>> ExtraTokens;
142 Leaf(const syntax::Token *T);
145 const syntax::Token *token() const { return Tok; }
148 const syntax::Token *Tok;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DStatepoint.h270 const Value *Token = getArgOperand(0); local
272 return isa<LandingPadInst>(Token) || isa<InvokeInst>(Token);
277 const Value *Token = getArgOperand(0); local
281 if (!isa<LandingPadInst>(Token))
282 return cast<GCStatepointInst>(Token);
286 cast<Instruction>(Token)->getParent()->getUniquePredecessor();
/freebsd-13-stable/stand/efi/include/Protocol/
H A DHttp.h374 @param[in] Token Pointer to storage containing HTTP request token.
382 Token is NULL.
383 Token->Message is NULL.
384 Token->Message->Body is not NULL,
385 Token->Message->BodyLength is non-zero, and
386 Token->Message->Data is NULL, but a previous call to
395 IN EFI_HTTP_TOKEN *Token
402 Token is not NULL and the token is in transmit or receive queues when it is being
403 cancelled, its Token->Status will be set to EFI_ABORTED and then Token
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h25 class Token;
61 const Token &FilenameTok,
123 const Token &IncludeTok,
281 virtual void MacroExpands(const Token &MacroNameTok,
286 virtual void MacroDefined(const Token &MacroNameTok,
291 /// \param MacroNameTok The active Token
296 virtual void MacroUndefined(const Token &MacroNameTok,
303 virtual void Defined(const Token &MacroNameTok, const MacroDefinition &MD,
350 virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
358 virtual void Ifndef(SourceLocation Loc, const Token
[all...]
H A DPPConditionalDirectiveRecord.h92 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
94 void Ifndef(SourceLocation Loc, const Token &MacroNameTok,
H A DPreprocessorLexer.h18 #include "clang/Lex/Token.h"
81 virtual void IndirectLex(Token& Result) = 0;
132 void LexIncludeFilename(Token &FilenameTok);
H A DLiteralSupport.h30 class Token;
225 StringLiteralParser(ArrayRef<Token> StringToks,
227 StringLiteralParser(ArrayRef<Token> StringToks,
250 /// specified byte of the string data represented by Token. This handles
255 unsigned getOffsetOfStringByte(const Token &TheTok, unsigned ByteNo) const;
280 void init(ArrayRef<Token> StringToks);
281 bool CopyStringFragment(const Token &Tok, const char *TokBegin,
/freebsd-13-stable/sys/contrib/dev/acpica/compiler/
H A Daslsupport.l210 char *Token;
230 Token = strtok (AslGbl_CurrentLineBuffer, " ");
231 if (!Token)
238 LineNumber = (UINT32) UtDoConstant (Token);
256 Token = strtok (NULL, " \"");
257 if (Token)
259 Filename = UtLocalCacheCalloc (strlen (Token) + 1);
260 strcpy (Filename, Token);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DVFABIDemangling.cpp106 const StringRef Token) {
107 if (ParseString.consume_front(Token)) {
108 PKind = VFABI::getVFParamKindFromString(Token);
169 const StringRef Token) {
170 if (ParseString.consume_front(Token)) {
171 PKind = VFABI::getVFParamKindFromString(Token);
461 VFParamKind VFABI::getVFParamKindFromString(const StringRef Token) {
462 const VFParamKind ParamKind = StringSwitch<VFParamKind>(Token)
104 tryParseLinearTokenWithRuntimeStep(StringRef &ParseString, VFParamKind &PKind, int &Pos, const StringRef Token) argument
167 tryParseCompileTimeLinearToken(StringRef &ParseString, VFParamKind &PKind, int &LinearStep, const StringRef Token) argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DIssueHash.cpp154 Token Token; local
160 while (!Lexer.LexFromRawLexer(Token) && NextStart < 2) {
161 if (Token.isAtStartOfLine() && NextStart++ > 0)
163 LineBuff << std::string(SM.getCharacterData(Token.getLocation()),
164 Token.getLength());
/freebsd-13-stable/stand/efi/include/
H A Defiudp.h126 IN EFI_UDP4_COMPLETION_TOKEN *Token
133 IN EFI_UDP4_COMPLETION_TOKEN *Token
140 IN EFI_UDP4_COMPLETION_TOKEN *Token OPTIONAL
240 IN EFI_UDP6_COMPLETION_TOKEN *Token
247 IN EFI_UDP6_COMPLETION_TOKEN *Token
254 IN EFI_UDP6_COMPLETION_TOKEN *Token OPTIONAL
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp41 llvm::function_ref<unsigned(const SourceManager &, Lexer &, Token &)>
47 Token Tok;
58 Lexer &Lex, StringRef Name, Token &Tok,
70 void skipComments(Lexer &Lex, Token &Tok) {
87 Token Tok)>
91 [&Consume](const SourceManager &SM, Lexer &Lex, Token Tok) {
100 [](const SourceManager &SM, Lexer &Lex, Token Tok) -> unsigned {
110 [](const SourceManager &SM, Lexer &Lex, Token Tok) -> unsigned {
122 bool checkAndConsumeInclusiveDirective(Lexer &Lex, Token &Tok) {
160 [](const SourceManager &SM, Lexer &Lex, Token To
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DMemory.inc65 HANDLE Token = 0;
69 &Token);
70 if (!Token)
74 CloseHandle(Token);
81 if (!AdjustTokenPrivileges(Token, FALSE, &TP, 0, 0, 0)) {
82 CloseHandle(Token);
86 CloseHandle(Token);

Completed in 225 milliseconds

12345678