Searched refs:token (Results 201 - 225 of 781) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DStrip.java100 tokens.delete(a.token.getTokenIndex());
101 killTrailingNewline(tokens, a.token.getTokenIndex());
109 tokens.delete(a.token.getTokenIndex(),
110 ret.token.getTokenIndex());
117 tokens.replace(a.token.getTokenIndex(), "/*"+a.getText()+"*/");
156 tokens.delete(a.token.getTokenIndex()); // kill "id="
157 tokens.delete(child.token.getTokenIndex());
166 tokens.delete(a.token.getTokenIndex()); // kill "id+="
167 tokens.delete(child.token.getTokenIndex());
183 tokens.delete(a.token
[all...]
/external/elfutils/src/
H A Dldscript.y86 %token kADD_OP
87 %token kALIGN
88 %token kAS_NEEDED
89 %token kENTRY
90 %token kEXCLUDE_FILE
91 %token <str> kFILENAME
92 %token kGLOBAL
93 %token kGROUP
94 %token <str> kID
95 %token kINPU
[all...]
/external/libpcap/
H A Dgrammar.y169 %token DST SRC HOST GATEWAY
170 %token NET NETMASK PORT PORTRANGE LESS GREATER PROTO PROTOCHAIN CBYTE
171 %token ARP RARP IP SCTP TCP UDP ICMP IGMP IGRP PIM VRRP
172 %token ATALK AARP DECNET LAT SCA MOPRC MOPDL
173 %token TK_BROADCAST TK_MULTICAST
174 %token NUM INBOUND OUTBOUND
175 %token PF_IFNAME PF_RSET PF_RNR PF_SRNR PF_REASON PF_ACTION
176 %token LINK
177 %token GEQ LEQ NEQ
178 %token I
[all...]
/external/webkit/Source/WebCore/inspector/
H A DInspectorValues.cpp63 bool parseConstToken(const UChar* start, const UChar* end, const UChar** tokenEnd, const char* token) argument
65 while (start < end && *token != '\0' && *start++ == *token++) { }
66 if (*token != '\0')
334 Token token = parseToken(start, end, &tokenEnd); local
335 switch (token) {
366 token = parseToken(start, end, &tokenEnd);
367 while (token != ARRAY_END) {
375 token = parseToken(start, end, &tokenEnd);
376 if (token
[all...]
/external/freetype/src/psaux/
H A Dpsobjs.c508 /* the first character which isn't part of the just handled token. */
595 " current token is `%c' which is self-delimiting\n"
615 /* `token' here means either something between balanced delimiters */
616 /* or the next token; the delimiters are not removed. */
620 T1_Token token )
627 token->type = T1_TOKEN_TYPE_NONE;
628 token->start = 0;
629 token->limit = 0;
644 token->type = T1_TOKEN_TYPE_STRING;
645 token
749 T1_TokenRec token; local
1030 T1_TokenRec token; local
1246 T1_Token token; local
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3treeparser.c117 /* Now update it to indicate this is a Mismatched token exception
185 // Default implementation is for parser and assumes a token stream as supplied by the runtime.
200 // Default implementation is for parser and assumes a token stream as supplied by the runtime.
211 pANTLR3_COMMON_TOKEN token; local
237 // Find the newly dupicated token
239 token = node->getToken(node);
241 // Create the token text that shows it has been inserted
243 token->setText8 (token, (pANTLR3_UINT8)"<missing ");
244 text = token
[all...]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
H A Dtoplevel.ml18 | Some token ->
20 try match token with
44 (* Skip token for error recovery. *)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
H A Dtoplevel.ml18 | Some token ->
20 try match token with
44 (* Skip token for error recovery. *)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
H A Dtoplevel.ml18 | Some token ->
20 try match token with
44 (* Skip token for error recovery. *)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
H A Dtoplevel.ml18 | Some token ->
20 try match token with
44 (* Skip token for error recovery. *)
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DBaseRecognizer.as54 * single token insertion or deletion error recovery. If
57 * To turn off single token insertion or deletion error
95 // a single token and hope for the best
106 // if current token is consistent with what could come after set
107 // then we know we're missing a token; error recovery is free to
108 // "insert" the missing token
122 /** Factor out what to do upon token mismatch so tree parsers can behave
124 * to get single token insertion and deletion. Use this to turn of
125 * single token insertion and deletion. Override mismatchRecover
144 * a token (afte
[all...]
H A DLexer.as53 state.token = null;
62 /** Return a token from this source; i.e., match a token on the char
67 state.token = null;
78 if ( state.token==null ) {
81 else if ( state.token==TokenConstants.SKIP_TOKEN ) {
84 return state.token;
99 /** Instruct the lexer to skip creating a token for current lexer rule
100 * and look for another token. nextToken() knows to keep looking when
101 * a lexer rule finishes with token se
[all...]
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DTokenSource.pm29 to keep going or you do not upon token recognition error. If you do not
34 requested a token. Keep lexing until you get a valid one. Just report
35 errors and keep going, looking for a valid token.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DASTParser.stg35 * token, set, rule, wildcard
50 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
59 tokenRefBang(token,label,elementIndex) ::= "<super.tokenRef(...)>"
62 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
71 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
77 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
83 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
H A DASTParser.stg7 * token, set, rule, wildcard
21 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
30 tokenRefBang(token,label,elementIndex) ::= "<super.tokenRef(...)>"
33 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
42 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
48 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
54 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
/external/apache-http/src/org/apache/http/impl/
H A DDefaultConnectionReuseStrategy.java56 * it's role. A token "close" indicates that the connection cannot
57 * be reused. If there is no such token, a token "keep-alive" indicates
58 * that the connection should be re-used. If neither token is found,
119 // documented in RFC 2068, section 19.7.1. A token "keep-alive" is
125 // RFC 2616 specifies "close" as the only connection token with a
129 // but is commonly used to carry one token, "close" or "keep-alive".
131 // sequence of tokens, where each token is a header name, and the
132 // token "close" has the above-mentioned additional meaning.
146 final String token
[all...]
/external/chromium/chrome/browser/chromeos/
H A Dname_value_pairs_parser.cc38 // Process token pairs.
40 std::string pair(pair_toks.token());
48 TrimString(keyvalue.token(), kQuoteChars, &key);
50 TrimString(keyvalue.token(), kQuoteChars, &value);
58 LOG(WARNING) << "Invalid token pair: '" << pair << "'. Aborting.";
/external/chromium/chrome/browser/policy/
H A Dmock_device_management_backend.h58 std::string token("FAKE_DEVICE_TOKEN_");
60 token += next_token_suffix++;
61 response.set_device_management_token(token);
/external/chromium/chrome/browser/sync/tools/
H A Dsync_listen_notifications.cc79 std::string token = command_line.GetSwitchValueASCII("token"); local
80 // TODO(akalin): Write a wrapper script that gets a token for an
82 if (email.empty() || token.empty()) {
83 std::printf("Usage: %s --email=foo@bar.com --token=token\n\n"
87 "after logging into sync to get the token to pass into this "
104 sync_notifier->UpdateCredentials(email, token);
/external/v8/src/
H A Ddateparser-inl.h99 for (DateToken token = next_unhandled_token;
100 !token.IsEndOfInput();
101 token = scanner.Next()) {
102 if (token.IsNumber()) {
104 int n = token.number();
137 } else if (token.IsKeyword()) {
139 KeywordType type = token.keyword_type();
140 int value = token.keyword_value();
152 } else if (token.IsAsciiSign() && (tz.IsUTC() || !time.IsEmpty())) {
154 tz.SetSign(token
[all...]
H A Dscanner.cc54 // after a newline and scan first token.
229 Token::Value token = static_cast<Token::Value>(one_char_tokens[c0_]); local
230 if (token != Token::ILLEGAL) {
232 next_.token = token;
236 return current_.token;
240 return current_.token;
355 Token::Value token; local
357 // Remember the position of the next token
364 token
[all...]
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/
H A Dscanner.py2 Iterator based sre token scanner
19 for idx, token in enumerate(lexicon):
20 phrase = token.pattern
27 self.actions.append(token)
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DLexer.cs61 /** <summary>Return the text matched so far for the current token or any text override.</summary> */
68 /** <summary>Set the complete text of this token; it wipes any previous changes to the text.</summary> */
100 state.token = null;
109 /** <summary>Return a token from this source; i.e., match a token on the char stream.</summary> */
112 state.token = null;
126 if (state.token == null) {
128 } else if (state.token == Tokens.Skip) {
131 return state.token;
143 * Instruct the lexer to skip creating a token fo
182 Emit(IToken token) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DLexer.cs67 /** <summary>Return the text matched so far for the current token or any text override.</summary> */
76 /** <summary>Set the complete text of this token; it wipes any previous changes to the text.</summary> */
118 state.token = null;
127 /** <summary>Return a token from this source; i.e., match a token on the char stream.</summary> */
132 state.token = null;
148 if ( state.token == null )
152 else if ( state.token == Tokens.Skip )
156 return state.token;
177 * Instruct the lexer to skip creating a token fo
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DLexer.java60 state.token = null;
69 /** Return a token from this source; i.e., match a token on the char
74 state.token = null;
90 if ( state.token==null ) {
93 else if ( state.token==Token.SKIP_TOKEN ) {
96 return state.token;
113 /** Instruct the lexer to skip creating a token for current lexer rule
114 * and look for another token. nextToken() knows to keep looking when
115 * a lexer rule finishes with token se
146 emit(Token token) argument
[all...]

Completed in 567 milliseconds

1234567891011>>