Home
last modified time | relevance | path

Searched +full:id +full:- +full:token (Results 1 – 25 of 1239) sorted by relevance

12345678910>>...50

/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/
DParserImpl.java7 * http://www.apache.org/licenses/LICENSE-2.0
53 import org.yaml.snakeyaml.tokens.Token;
60 * stream ::= STREAM-START implicit_document? explicit_document* STREAM-END
61 * implicit_document ::= block_node DOCUMENT-END*
62 * explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
79 * block_sequence ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END
80 * indentless_sequence ::= (BLOCK-ENTRY block_node?)+
81 * block_mapping ::= BLOCK-MAPPING_START
84 * BLOCK-END
85 * flow_sequence ::= FLOW-SEQUENCE-START
[all …]
/external/libxml2/doc/
Dapibuild.py247 for id in list(idx.functions.keys()):
252 if id in self.macros:
253 del self.macros[id]
254 if id in self.functions:
256 id, self.functions[id].header, idx.functions[id].header))
258 self.functions[id] = idx.functions[id]
259 self.identifiers[id] = idx.functions[id]
260 for id in list(idx.variables.keys()):
265 if id in self.macros:
266 del self.macros[id]
[all …]
/external/snakeyaml/src/test/java/org/pyyaml/
DCanonicalParser.java7 * http://www.apache.org/licenses/LICENSE-2.0
37 import org.yaml.snakeyaml.tokens.Token;
51 // stream: STREAM-START document* STREAM-END
53 scanner.getToken(Token.ID.StreamStart); in parseStream()
55 while (!scanner.checkToken(Token.ID.StreamEnd)) { in parseStream()
56 if (scanner.checkToken(Token.ID.Directive, Token.ID.DocumentStart)) { in parseStream()
62 scanner.getToken(Token.ID.StreamEnd); in parseStream()
66 // document: DIRECTIVE? DOCUMENT-START node
68 if (scanner.checkToken(Token.ID.Directive)) { in parseDocument()
69 scanner.getToken(Token.ID.Directive); in parseDocument()
[all …]
DPyTokensTest.java7 * http://www.apache.org/licenses/LICENSE-2.0
32 import org.yaml.snakeyaml.tokens.Token;
40 Map<Token.ID, String> replaces = new HashMap<Token.ID, String>(); in testTokens()
41 replaces.put(Token.ID.Directive, "%"); in testTokens()
42 replaces.put(Token.ID.DocumentStart, "---"); in testTokens()
43 replaces.put(Token.ID.DocumentEnd, "..."); in testTokens()
44 replaces.put(Token.ID.Alias, "*"); in testTokens()
45 replaces.put(Token.ID.Anchor, "&"); in testTokens()
46 replaces.put(Token.ID.Tag, "!"); in testTokens()
47 replaces.put(Token.ID.Scalar, "_"); in testTokens()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/tokens/
DTokenTest.java7 * http://www.apache.org/licenses/LICENSE-2.0
21 assertEquals("<alias>", Token.ID.Alias.toString()); in testTokenID()
22 assertEquals("<anchor>", Token.ID.Anchor.toString()); in testTokenID()
23 assertEquals("<block end>", Token.ID.BlockEnd.toString()); in testTokenID()
24 assertEquals("-", Token.ID.BlockEntry.toString()); in testTokenID()
25 assertEquals("<block mapping start>", Token.ID.BlockMappingStart.toString()); in testTokenID()
26 assertEquals("<block sequence start>", Token.ID.BlockSequenceStart.toString()); in testTokenID()
27 assertEquals("<directive>", Token.ID.Directive.toString()); in testTokenID()
28 assertEquals("<document end>", Token.ID.DocumentEnd.toString()); in testTokenID()
29 assertEquals("<document start>", Token.ID.DocumentStart.toString()); in testTokenID()
[all …]
/external/antlr/runtime/Ruby/test/functional/ast-output/
Dhetero-nodes.rb2 # encoding: utf-8
9 inline_grammar( <<-'END' )
18 return @token.text + "<V>"
22 a : ID<V> ;
23 ID : 'a'..'z'+ ;
28 inline_grammar( <<-'END' )
37 return @token.text + "<V>"
41 a : ID<TokenWithQualifiedType.Parser.V> ;
42 ID : 'a'..'z'+ ;
47 inline_grammar( <<-'END' )
[all …]
/external/antlr/tool/src/test/java/org/antlr/test/
DTestHeteroAST.java38 // PARSERS -- AUTO AST
45 " public V(Token t) { token=t;}\n" + in testToken()
46 " public String toString() { return token.getText()+\"<V>\";}\n" + in testToken()
49 "a : ID<V> ;\n"+ in testToken()
50 "ID : 'a'..'z'+ ;\n" + in testToken()
61 "a : ID<CommonTree> ;\n"+ in testTokenCommonTree()
62 "ID : 'a'..'z'+ ;\n" + in testTokenCommonTree()
74 " public V(Token t) { token=t;}\n" + in testTokenWithQualifiedType()
75 " public String toString() { return token.getText()+\"<V>\";}\n" + in testTokenWithQualifiedType()
78 "a : ID<TParser.V> ;\n"+ // TParser.V is qualified name in testTokenWithQualifiedType()
[all …]
/external/python/google-auth-library-python/google/oauth2/
Did_token.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Google ID Token helpers.
17 Provides support for verifying `OpenID Connect ID Tokens`_, especially ones
20 To parse and verify an ID Token issued by Google's OAuth 2.0 authorization
21 server use :func:`verify_oauth2_token`. To verify an ID Token issued by
24 A general purpose ID Token verifier is available as :func:`verify_token`.
34 token, request, 'my-client-id.example.com')
38 By default, this will re-fetch certificates for each verification. Because
42 library like `CacheControl`_ to create a cache-aware
53 .. _OpenID Connect ID Tokens:
[all …]
D_id_token_async.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Google ID Token helpers.
17 Provides support for verifying `OpenID Connect ID Tokens`_, especially ones
20 To parse and verify an ID Token issued by Google's OAuth 2.0 authorization
21 server use :func:`verify_oauth2_token`. To verify an ID Token issued by
24 A general purpose ID Token verifier is available as :func:`verify_token`.
34 token, request, 'my-client-id.example.com')
41 By default, this will re-fetch certificates for each verification. Because
45 library like `CacheControl`_ to create a cache-aware
56 .. _OpenID Connect ID Token:
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/
DLexer.java11 protected Token token; field in Lexer
32 public Token peek() throws LexerException, IOException in peek()
34 while(this.token == null) in peek()
36 this.token = getToken(); in peek()
40 return this.token; in peek()
43 public Token next() throws LexerException, IOException in next()
45 while(this.token == null) in next()
47 this.token = getToken(); in next()
51 Token result = this.token; in next()
52 this.token = null; in next()
[all …]
/external/python/pyyaml/lib/yaml/
Dtokens.py2 class Token(object): class
14 #class BOMToken(Token):
15 # id = '<byte order mark>'
17 class DirectiveToken(Token):
18 id = '<directive>' variable in DirectiveToken
25 class DocumentStartToken(Token):
26 id = '<document start>' variable in DocumentStartToken
28 class DocumentEndToken(Token):
29 id = '<document end>' variable in DocumentEndToken
31 class StreamStartToken(Token):
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dparser.ml1 (*===---------------------------------------------------------------------===
3 *===---------------------------------------------------------------------===*)
5 (* binop_precedence - This holds the precedence for each binary operator that is
9 (* precedence - Get the precedence of the pending binary operator token. *)
10 let precedence c = try Hashtbl.find binop_precedence c with Not_found -> -1
21 | [< 'Token.Number n >] -> Ast.Number n
24 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
29 | [< 'Token.Ident id; stream >] ->
31 | [< e=parse_expr; stream >] ->
33 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
[all …]
/external/antlr/runtime/ObjC/Framework/
DCommonTreeAdaptor.m2 // Copyright (c) 2006-2007 Kay Roepke 2010 Alan Condit
41 - (id) init
55 - (id) dupNode:(id<BaseTree>)t
62 /** Tell me how to create a token for use with imaginary token nodes.
64 * token DECL, but you need to create it as a payload or whatever for
65 * the DECL node as in ^(DECL type ID).
67 * This is a variant of createToken where the new token is derived from
68 * an actual real input token. Typically this is for converting '{'
71 * r : lc='{' ID+ '}' -> ^(BLOCK[$lc] ID+) ;
73 * If you care what the token payload objects' type is, you should
[all …]
DRecognitionException.m2 // Copyright (c) 2006-2007 Kay Roepke 2010 Alan Condit
37 @synthesize token;
44 + (id) newException
49 + (id) newException:(id<IntStream>) anInputStream
54 + (id) newException:(id<IntStream>) anInputStream reason:(NSString *)aReason
59 - (id) init
67 - (id) initWithStream:(id<IntStream>)anInputStream reason:(NSString *)aReason
76 [self setToken:[(id<TokenStream>)input LT:1]];
77 line = token.line;
78 charPositionInLine = token.charPositionInLine;
[all …]
DTreeAdaptor.m2 // Copyright (c) 2006-2007 Kay Roepke
34 + (id) newEmptyTree
39 + (id) newAdaptor
44 - (id) init
50 - (id) initWithPayload:(id<Token>)payload argument
58 /** Create a tree node from Token object; for CommonTree type trees,
59 * then the token just becomes the payload. This is the most
64 - (id) create:(id<Token>) payload argument
69 /** Create a new node derived from a token, with a new token type.
73 * This should invoke createToken(Token).
[all …]
DBaseTreeAdaptor.h37 - (id) init;
39 - (id) copyWithZone:(NSZone *)aZone;
41 - (id) emptyNode;
43 - (id) createNil;
49 * override this method. CommonTree returns Token.INVALID_TOKEN_TYPE
50 * if no token payload but you might have to set token type for diff
56 - (id) errorNode:(id<TokenStream>)anInput
57 From:(id<Token>)startToken
58 To:(id<Token>)stopToken
61 - (BOOL) isNil:(id<BaseTree>) aTree;
[all …]
DBaseTreeAdaptor.m38 + (id<Tree>) newEmptyTree
43 - (id) init
51 - (id) copyWithZone:(NSZone *)aZone
63 - (id) createNil
68 - (id) emptyNode
77 * override this method. CommonTree returns Token.INVALID_TOKEN_TYPE
78 * if no token payload but you might have to set token type for diff
84 - (id) errorNode:(id<TokenStream>)anInput
85 From:(id<Token>)startToken
86 To:(id<Token>)stopToken
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dparser.ml1 (*===---------------------------------------------------------------------===
3 *===---------------------------------------------------------------------===*)
5 (* binop_precedence - This holds the precedence for each binary operator that is
9 (* precedence - Get the precedence of the pending binary operator token. *)
10 let precedence c = try Hashtbl.find binop_precedence c with Not_found -> -1
20 | [< 'Token.Number n >] -> Ast.Number n
23 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
28 | [< 'Token.Ident id; stream >] ->
30 | [< e=parse_expr; stream >] ->
32 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dparser.ml1 (*===---------------------------------------------------------------------===
3 *===---------------------------------------------------------------------===*)
5 (* binop_precedence - This holds the precedence for each binary operator that is
9 (* precedence - Get the precedence of the pending binary operator token. *)
10 let precedence c = try Hashtbl.find binop_precedence c with Not_found -> -1
20 | [< 'Token.Number n >] -> Ast.Number n
23 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
28 | [< 'Token.Ident id; stream >] ->
30 | [< e=parse_expr; stream >] ->
32 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/comment/
DScannerWithCommentEnabledTest.java7 * http://www.apache.org/licenses/LICENSE-2.0
32 import org.yaml.snakeyaml.tokens.Token;
33 import org.yaml.snakeyaml.tokens.Token.ID;
37 private void assertTokensEqual(List<ID> expected, Scanner sut) { in assertTokensEqual()
41 private void printToken(Token token) { in printToken() argument
43 switch (token.getTokenId()) { in printToken()
45 value = "(value='" + ((ScalarToken) token).getValue() + "')"; in printToken()
48 CommentToken commentToken = (CommentToken) token; in printToken()
56 // System.out.println(token.getTokenId().name() + value); in printToken()
59 private void assertTokenEquals(Iterator<ID> expectedIdIterator, in assertTokenEquals()
[all …]
/external/python/uritemplates/tests/fixtures/
Dextended-tests.json5 "id" : "person", string
6 "token" : "12345", string
7 "fields" : ["id", "name", "picture"],
12 "geocode" : ["37.76","-122.427"],
18 "lat" : -122.427,
30 [ "{/id*}" , "/person" ],
31 [ "{/id*}{?fields,first_name,last.name,token}" , [
32 "/person?fields=id,name,picture&first_name=John&last.name=Doe&token=12345",
33 "/person?fields=id,picture,name&first_name=John&last.name=Doe&token=12345",
34 "/person?fields=picture,name,id&first_name=John&last.name=Doe&token=12345",
[all …]
/external/tink/go/jwt/
Djwt_key_templates.go7 // http://www.apache.org/licenses/LICENSE-2.0
101 // HMAC-SHA256 with a 32 byte key. It will set a key ID header "kid" in the token.
107 // HMAC-SHA256 with a 32 byte key. It will not set a key ID header "kid" in the token.
113 // HMAC-SHA384 with a 48 byte key. It will set a key ID header "kid" in the token.
119 // HMAC-SHA384 with a 48 byte key. It will not set a key ID header "kid" in the token.
125 // HMAC-SHA512 with a 64 byte key. It will set a key ID header "kid" in the token.
131 // HMAC-SHA512 with a 64 byte key. It will not set a key ID header "kid" in the token.
137 // signature with the NIST P-256 curve. It will set a key ID header "kid" in the token.
143 // signature with the NIST P-256 curve. It will not set a key ID header "kid" in the token.
149 // signature with the NIST P-384 curve. It will set a key ID header "kid" in the token.
[all …]
/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Didentitytoolkit.v3.json5 "https://www.googleapis.com/auth/cloud-platform": {
20 "documentationLink": "https://developers.google.com/identity-toolkit/v3/",
21 "etag": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/taa97NuhcHSAt0fUktvGBcH-OqE\"",
26 "id": "identitytoolkit:v3", string
39 "Responses with Content-Type of application/json"
50 …provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
55 "description": "OAuth 2.0 token for the current user.",
83 "id": "identitytoolkit.relyingparty.createAuthUri", string
92 "https://www.googleapis.com/auth/cloud-platform"
98 "id": "identitytoolkit.relyingparty.deleteAccount", string
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/lex/lexer/lexertl/
Dtoken.hpp1 // Copyright (c) 2001-2011 Hartmut Kaiser
48 // The token is the type of the objects returned by default by the
55 // required different token values to be supported
56 // by this token type.
57 // HasState A mpl::bool_ indicating, whether this token type
59 // Idtype The type to use for the token id (defaults to
62 // It is possible to use other token types with the spirit::lex
63 // framework as well. If you plan to use a different type as your token
64 // type, you'll need to expose the following things from your token type
71 // id_type The type of the token id used.
[all …]
/external/linux-kselftest/tools/testing/selftests/net/mptcp/
Duserspace_pm.sh2 # SPDX-License-Identifier: GPL-2.0
4 ip -Version > /dev/null 2>&1
5 if [ $? -ne 0 ];then
36 rndh=$(stdbuf -o0 -e0 printf %x "$sec")-$(mktemp -u XXXXXX)
37 ns1="ns1-$rndh"
38 ns2="ns2-$rndh"
50 rm -rf $file
53 if [ $client4_pid -ne 0 ]; then
54 kill -SIGUSR1 $client4_pid > /dev/null 2>&1
56 if [ $server4_pid -ne 0 ]; then
[all …]

12345678910>>...50