Home
last modified time | relevance | path

Searched full:token (Results 1 – 25 of 1775) sorted by relevance

12345678910>>...71

/freebsd/sys/contrib/dev/acpica/compiler/
H A Dasltokens.y4 * Module Name: asltokens.y - Bison/Yacc token types
157 * Token types: These are returned by the lexer
174 %token <i> PARSEOP_ACCESSAS
175 %token <i> PARSEOP_ACCESSATTRIB_BLOCK
176 %token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL
177 %token <i> PARSEOP_ACCESSATTRIB_BYTE
178 %token <i> PARSEOP_ACCESSATTRIB_BYTES
179 %token <i> PARSEOP_ACCESSATTRIB_QUICK
180 %token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES
181 %token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS
[all …]
/freebsd/contrib/openbsm/man/
H A Daudit.log.537 token-based record stream to represent system audit data.
42 BSM token streams typically begin and end with a
44 token, which provides time stamp and file name information for the stream;
45 when processing a BSM token stream from a stream as opposed to a single file
51 token, and ends with a
53 token, which describe the audit record.
58 The BSM file format defines specific token orders for each record event type;
62 This manual page documents the common token types and their binary format, and
68 .Ss File Token
71 token is used at the beginning and end of an audit log file to indicate
[all …]
/freebsd/sys/contrib/edk2/Include/Library/
H A DPcdLib.h27 Retrieves a token number based on a token name.
29 Returns the token number associated with the PCD token specified by TokenName.
30 If TokenName is not a valid token in the token space, then the module will not build.
32 @param TokenName The name of the PCD token to retrieve the token number for.
34 @return The token number associated with the PCD.
41 Retrieves a Boolean PCD feature flag based on a token name.
44 If TokenName is not a valid token in the token space, then the module will not build.
47 @param TokenName The name of the PCD token to retrieve a current value for.
56 Retrieves an 8-bit fixed PCD token value based on a token name.
58 Returns the 8-bit value for the token specified by TokenName.
[all …]
/freebsd/usr.bin/localedef/
H A Dparser.y45 char *token; member
50 %token T_CODE_SET
51 %token T_MB_CUR_MAX
52 %token T_MB_CUR_MIN
53 %token T_COM_CHAR
54 %token T_ESC_CHAR
55 %token T_LT
56 %token T_GT
57 %token T_NL
58 %token T_SEMI
[all …]
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DMacroCallReconstructor.cpp29 // Call \p Call for each token in the unwrapped line given, passing
30 // the token, its parent and whether it is the first token in the line.
55 forEachToken(Line, [&](FormatToken *Token, FormatToken *Parent, bool First, in addLine()
56 unsigned Level) { add(Token, Parent, First, Level); }); in addLine()
70 // Reconstruct the position of the next \p Token, given its parent \p
72 // is the first token in a given unwrapped line.
73 void MacroCallReconstructor::add(FormatToken *Token, in add() argument
77 llvm::dbgs() << "MCR: Token: " << Token->TokenText << ", Parent: " in add()
80 // In order to be able to find the correct parent in the reconstructed token in add()
82 // given token if it is part of the reconstructed token stream. in add()
[all …]
H A DFormatTokenSource.h10 /// This file defines the \c FormatTokenSource interface, which provides a token
11 /// stream as well as the ability to manipulate the token stream.
20 #define DEBUG_TYPE "format-token-source"
25 // Navigate a token stream.
27 // Enables traversal of a token stream, resetting the position in a token
33 // Returns the next token in the token stream.
36 // Returns the token preceding the token returned by the last call to
37 // getNextToken() in the token stream, or nullptr if no such token exists.
43 // Returns the token that would be returned by the next call to
48 // This can be different from whether getNextToken() returned an eof token
[all …]
/freebsd/sbin/dhclient/
H A Dparse.c54 * leaving the brace in the token buffer for the caller. If we see a
68 int brace_count = 0, token; in skip_to_semi() local
72 token = peek_token(&val, cfile); in skip_to_semi()
73 if (token == RBRACE) { in skip_to_semi()
75 token = next_token(&val, cfile); in skip_to_semi()
80 } else if (token == LBRACE) { in skip_to_semi()
82 } else if (token == SEMI && !brace_count) { in skip_to_semi()
83 token = next_token(&val, cfile); in skip_to_semi()
85 } else if (token == '\n') { in skip_to_semi()
92 token = next_token(&val, cfile); in skip_to_semi()
[all …]
H A Dclparse.c65 int token; in read_client_conf() local
110 token = peek_token(&val, cfile); in read_client_conf()
111 if (token == EOF) in read_client_conf()
115 token = next_token(&val, cfile); /* Clear the peek buffer */ in read_client_conf()
154 int token; in read_client_leases() local
163 token = next_token(&val, cfile); in read_client_leases()
164 if (token == EOF) in read_client_leases()
166 if (token != LEASE) { in read_client_leases()
304 int token; in parse_X() local
308 token = peek_token(&val, cfile); in parse_X()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp396 MIToken Token; member in __anoneabaa95b0111::MIParser
408 /// for the next token.
522 /// Convert the integer literal in the current token into an unsigned integer.
527 /// Convert the integer literal in the current token into an uint64.
532 /// Convert the hexadecimal literal in the current token into an unsigned
538 /// If the current token is of the given kind, consume it and return false.
542 /// If the current token is of the given kind, consume it and return true.
583 CurrentSource.slice(SkipChar, StringRef::npos), Token, in lex()
587 bool MIParser::error(const Twine &Msg) { return error(Token.location(), Msg); } in error()
629 return "<unknown token>"; in toString()
[all …]
H A DMILexer.cpp168 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type, in lexName() argument
175 Token.reset(Type, String) in lexName()
180 Token.reset(MIToken::Error, Range.remaining()); in lexName()
185 Token.reset(Type, Range.upto(C)) in lexName()
293 static Cursor maybeLexIdentifier(Cursor C, MIToken &Token) { in maybeLexIdentifier() argument
300 Token.reset(getIdentifierKind(Identifier), Identifier) in maybeLexIdentifier()
305 static Cursor maybeLexMachineBasicBlock(Cursor C, MIToken &Token, in maybeLexMachineBasicBlock() argument
314 Token.reset(MIToken::Error, C.remaining()); in maybeLexMachineBasicBlock()
332 Token.reset(IsReference ? MIToken::MachineBasicBlock in maybeLexMachineBasicBlock()
340 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndex() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp1 //===- TokenLexer.cpp - Lex from a token stream ---------------------------===//
25 #include "clang/Lex/Token.h"
40 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, in Init()
74 // creating separate source location entries for each token. in Init()
94 /// Create a TokenLexer for the specified token stream. This does not
95 /// take ownership of the specified token vector.
96 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, in Init()
118 // Set HasLeadingSpace/AtStartOfLine so that the first token will be in Init()
140 SmallVectorImpl<Token> &ResultToks, bool HasPasteOperator, MacroInfo *Macro, in MaybeRemoveCommaBeforeVaArgs()
174 // then removal of the comma should produce a placemarker token (in C99 in MaybeRemoveCommaBeforeVaArgs()
[all …]
/freebsd/crypto/heimdal/lib/gssapi/krb5/
H A Dcfx.c291 gss_cfx_wrap_token token;
422 token = (gss_cfx_wrap_token)header->buffer.value;
424 token->TOK_ID[0] = 0x05;
425 token->TOK_ID[1] = 0x04;
426 token->Flags = 0;
427 token->Filler = 0xFF;
430 token->Flags |= CFXSentByAcceptor;
433 token->Flags |= CFXAcceptorSubkey;
445 token->Flags |= CFXSealed;
446 token->EC[0] = (ec >> 8) & 0xFF;
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dasn1parse.y86 %token kw_ABSENT
87 %token kw_ABSTRACT_SYNTAX
88 %token kw_ALL
89 %token kw_APPLICATION
90 %token kw_AUTOMATIC
91 %token kw_BEGIN
92 %token kw_BIT
93 %token kw_BMPString
94 %token kw_BOOLEAN
95 %token kw_B
[all...]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DTokenLexer.h1 //===- TokenLexer.h - Lex from a token buffer -------------------*- C++ -*-===//
24 class Token; variable
28 /// or token stream instead of lexing from a character buffer. This is used for
33 /// The macro we are expanding from. This is null if expanding a token stream.
45 /// a token stream, these are the tokens we are returning. This points into
51 const Token *Tokens;
56 /// This is the index of the next token that Lex will return.
81 // When this is true, the next token appended to the
85 // leading space will be applied to the first token following the macro
91 /// macros (for example) we just point into the token buffer of the macro
[all …]
H A DToken.h1 //===--- Token.h - Token interface ------------------------------*- C++ -*-===//
9 // This file defines the Token interface.
27 /// Token - This structure provides full information about a lexed token.
29 /// information as possible about each returned token. This is expected to be
32 /// The parser can create a special "annotation token" representing a stream of
34 /// can be represented by a single typename annotation token that carries
36 class Token {
37 /// The location of the token. This is actually a SourceLocation.
45 /// UintData - This holds either the length of the token text, when
46 /// a normal token, or the end of the SourceRange when an annotation
[all …]
/freebsd/contrib/wpa/src/utils/
H A Djson.c191 static int json_check_tree_state(struct json_token *token) in json_check_tree_state() argument
193 if (!token) in json_check_tree_state()
195 if (json_check_tree_state(token->child) < 0 || in json_check_tree_state()
196 json_check_tree_state(token->sibling) < 0) in json_check_tree_state()
198 if (token->state != JSON_COMPLETED) { in json_check_tree_state()
200 "JSON: Unexpected token state %d (name=%s type=%d)", in json_check_tree_state()
201 token->state, token->name ? token->name : "N/A", in json_check_tree_state()
202 token->type); in json_check_tree_state()
213 wpa_printf(MSG_DEBUG, "JSON: Maximum token limit exceeded"); in json_alloc_token()
222 struct json_token *root = NULL, *curr_token = NULL, *token = NULL; in json_parse() local
[all …]
/freebsd/contrib/ntp/libjsmn/
H A Djsmn.c6 * Allocates a fresh unused token from the token pull.
24 * Fills token type and boundaries.
26 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token() argument
28 token->type = type; in jsmn_fill_token()
29 token->start = start; in jsmn_fill_token()
30 token->end = end; in jsmn_fill_token()
31 token->size = 0; in jsmn_fill_token()
35 * Fills next available token with JSON primitive.
39 jsmntok_t *token; in jsmn_parse_primitive() local
70 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTokens.h11 // When running the compiler, there are two token streams we are interested in:
15 // this token stream to produce the AST.
18 // to find subranges of the token stream covered by various AST nodes. Spelled
34 #include "clang/Lex/Token.h"
81 /// never a token range.
100 /// A token coming directly from a file or from a macro invocation. Has just
101 /// enough information to locate the token in the source code.
103 class Token {
105 Token(SourceLocation Location, unsigned Length, tok::TokenKind Kind);
106 /// EXPECTS: clang::Token is not an annotation token.
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_grammar.y50 %token DT_TOK_COMMA DT_TOK_ELLIPSIS
51 %token DT_TOK_ASGN DT_TOK_ADD_EQ DT_TOK_SUB_EQ DT_TOK_MUL_EQ
52 %token DT_TOK_DIV_EQ DT_TOK_MOD_EQ DT_TOK_AND_EQ DT_TOK_XOR_EQ DT_TOK_OR_EQ
53 %token DT_TOK_LSH_EQ DT_TOK_RSH_EQ DT_TOK_QUESTION DT_TOK_COLON
54 %token DT_TOK_LOR DT_TOK_LXOR DT_TOK_LAND
55 %token DT_TOK_BOR DT_TOK_XOR DT_TOK_BAND DT_TOK_EQU DT_TOK_NEQ
56 %token DT_TOK_LT DT_TOK_LE DT_TOK_GT DT_TOK_GE DT_TOK_LSH DT_TOK_RSH
57 %token DT_TOK_ADD DT_TOK_SUB DT_TOK_MUL DT_TOK_DIV DT_TOK_MOD
58 %token DT_TOK_LNEG DT_TOK_BNEG DT_TOK_ADDADD DT_TOK_SUBSUB
59 %token DT_TOK_PREINC DT_TOK_POSTINC DT_TOK_PREDEC DT_TOK_POSTDEC
[all …]
/freebsd/libexec/nuageinit/
H A Dyaml.lua147 local token
166 token = table_clone(tokens[i])
167 token[2] = captures
169 token.raw = str:sub(1, #str - #str2)
172 if token[1] == "{" or token[1] == "[" then
174 elseif token.const then
176 str = token[2][2] .. str
177 token.raw = token.raw:sub(1, #token.raw - #token[2][2])
178 elseif token[1] == "id" then
180 str = token[2][2] .. str
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.cpp21 enum class Token {
41 template <> Token stringTo<Token>(llvm::StringRef Str) { in stringTo()
42 return llvm::StringSwitch<Token>(Str) in stringTo()
43 .Case("MODULE", Token::Module) in stringTo()
44 .Case("INFO", Token::Info) in stringTo()
45 .Case("CODE_ID", Token::CodeID) in stringTo()
46 .Case("FILE", Token::File) in stringTo()
47 .Case("FUNC", Token::Func) in stringTo()
48 .Case("INLINE", Token in stringTo()
20 enum class Token { global() enum
87 llvm::StringRef Token; consume() local
[all...]
/freebsd/share/doc/psd/15.yacc/
H A Dss344 .I "token number" ,
45 representing the kind of token read.
46 If there is a value associated with that token, it should be assigned
50 The parser and the lexical analyzer must agree on these token numbers in order for
55 For example, suppose that the token name DIGIT has been defined in the declarations section of the
78 The intent is to return a token number of DIGIT, and a value equal to the numerical value of the
81 the identifier DIGIT will be defined as the token number associated
82 with the token DIGIT.
86 to avoid using any token names in the grammar that are reserved
88 token names
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DYAMLParser.cpp123 /// Token - A single YAML token.
124 struct Token { struct
126 TK_Error, // Uninitialized token.
152 /// of the token in the input.
158 Token() = default;
164 using TokenQueueT = BumpPtrList<Token>;
170 /// Simple keys are handled by creating an entry in SimpleKeys for each Token
172 /// if the Token To be returned is referenced by a SimpleKey, we continue
175 /// Or when we run into a Value, and then insert a Key token (an
125 TokenKindllvm::yaml::Token global() argument
149 Kindllvm::yaml::Token global() argument
153 Rangellvm::yaml::Token global() argument
156 Valuellvm::yaml::Token global() argument
[all...]
/freebsd/lib/libpmc/pmu-events/
H A Djsmn.c31 * Allocates a fresh unused token from the token pool.
47 * Fills token type and boundaries.
49 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token() argument
52 token->type = type; in jsmn_fill_token()
53 token->start = start; in jsmn_fill_token()
54 token->end = end; in jsmn_fill_token()
55 token->size = 0; in jsmn_fill_token()
59 * Fills next available token with JSON primitive.
65 jsmntok_t *token; in jsmn_parse_primitive() local
105 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive()
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen3/
H A Dother.json22 …patched due to a Token Stall. Also counts cycles when the thread is not selected to dispatch but w…
28 …patched due to a Token Stall. Also counts cycles when the thread is not selected to dispatch but w…
34 …patched due to a Token Stall. Also counts cycles when the thread is not selected to dispatch but w…
40 …patched due to a Token Stall. Also counts cycles when the thread is not selected to dispatch but w…
46 …cles where a dispatch group is valid but does not get dispatched due to a token stall. Integer Sch…
52 …patched due to a Token Stall. Also counts cycles when the thread is not selected to dispatch but w…
58 …patched due to a Token Stall. Also counts cycles when the thread is not selected to dispatch but w…
64 …patched due to a Token Stall. Also counts cycles when the thread is not selected to dispatch but w…
70 …cles where a dispatch group is valid but does not get dispatched due to a token stall. Insufficien…
76 …cles where a dispatch group is valid but does not get dispatched due to a token stall. AGSQ Tokens…
[all …]

12345678910>>...71