Searched refs:token (Results 176 - 200 of 1600) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DRecognitionException.pm23 has 'token' => (
69 my $token = $input->LT(1);
70 $new_args->{token} = $token;
71 $new_args->{line} = $token->get_line();
72 $new_args->{char_position_in_line} = $token->get_char_position_in_line();
94 return $self->token->get_type();
117 return $self->token;
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
H A Dif_test.cpp619 pp::Token token; local
620 mPreprocessor.lex(&token);
633 pp::Token token; local
634 mPreprocessor.lex(&token);
647 pp::Token token; local
648 mPreprocessor.lex(&token);
661 pp::Token token; local
662 mPreprocessor.lex(&token);
675 pp::Token token; local
676 mPreprocessor.lex(&token);
689 pp::Token token; local
708 pp::Token token; local
742 pp::Token token; local
756 pp::Token token; local
770 pp::Token token; local
787 pp::Token token; local
804 pp::Token token; local
818 pp::Token token; local
832 pp::Token token; local
[all...]
/external/smack/asmack-master/static-src/novell-openldap-jldap/com/novell/sasl/client/
H A DTokenParser.java48 * This function parses the next token from the tokens string and returns
51 * @return the parsed token or a null reference if there are no more
59 String token = null;
65 while (m_curPos < m_tokens.length() && (token == null))
84 throw new SaslException("Invalid token character at position " + m_curPos);
95 token = m_tokens.substring(m_scanStart, m_curPos);
100 token = m_tokens.substring(m_scanStart, m_curPos);
106 throw new SaslException("Invalid token character at position " + m_curPos);
128 if (token == null)
133 token
[all...]
/external/smack/src/com/novell/sasl/client/
H A DTokenParser.java48 * This function parses the next token from the tokens string and returns
51 * @return the parsed token or a null reference if there are no more
59 String token = null;
65 while (m_curPos < m_tokens.length() && (token == null))
84 throw new SaslException("Invalid token character at position " + m_curPos);
95 token = m_tokens.substring(m_scanStart, m_curPos);
100 token = m_tokens.substring(m_scanStart, m_curPos);
106 throw new SaslException("Invalid token character at position " + m_curPos);
128 if (token == null)
133 token
[all...]
/external/srec/srec/EventLog/include/
H A DSR_EventLogImpl.h76 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_Token(SR_EventLog* self, const LCHAR* token, const LCHAR *value);
78 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenInt(SR_EventLog* self, const LCHAR* token, int value);
80 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenPointer(SR_EventLog* self, const LCHAR* token, void* value);
82 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenUint16_t(SR_EventLog* self, const LCHAR* token, asr_uint16_t value);
84 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenSize_t(SR_EventLog* self, const LCHAR* token, size_t value);
86 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenBool(SR_EventLog* self, const LCHAR* token, ESR_BOOL value);
88 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_TokenFloat(SR_EventLog* self, const LCHAR* token, float value);
/external/chromium_org/media/video/capture/
H A Dfile_video_capture_device.cc19 int ParseY4MInt(const base::StringPiece& token) { argument
21 CHECK(base::StringToInt(token, &temp_int)) << token;
25 // Extract numerator and denominator out of a token that must have the aspect
27 void ParseY4MRational(const base::StringPiece& token, argument
30 size_t index_divider = token.find(':');
31 CHECK_NE(index_divider, token.npos);
32 *numerator = ParseY4MInt(token.substr(0, index_divider));
33 *denominator = ParseY4MInt(token.substr(index_divider + 1, token
55 base::StringPiece token; local
[all...]
/external/chromium_org/tools/gn/
H A Dparser.h18 typedef scoped_ptr<ParseNode> (Parser::*PrefixFunc)(Token token);
20 Token token);
52 scoped_ptr<ParseNode> Literal(Token token);
53 scoped_ptr<ParseNode> Name(Token token);
54 scoped_ptr<ParseNode> Group(Token token);
55 scoped_ptr<ParseNode> Not(Token token);
56 scoped_ptr<ParseNode> List(Token token);
57 scoped_ptr<ParseNode> BlockComment(Token token);
60 scoped_ptr<ParseNode> BinaryOperator(scoped_ptr<ParseNode> left, Token token);
62 Token token);
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DRecognitionException.as40 * exceptions are built with the expected token type.
57 * state can change before the exception is reported so current token index
59 * perhaps print an entire line of input not just a single token, for example.
67 /** What is index of token/char were we looking at when the error occurred? */
72 * For parsers. Even when it's a tree parser, token might be set.
74 public var token:Token; variable
94 * for most recent token with line/col info, but notify getErrorHeader()
106 this.token = TokenStream(input).LT(1);
107 this.line = token.line;
108 this.charPositionInLine = token
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DRecognitionException.java39 * exceptions are built with the expected token type.
56 * state can change before the exception is reported so current token index
58 * perhaps print an entire line of input not just a single token, for example.
66 /** What is index of token/char were we looking at when the error occurred? */
71 * For parsers. Even when it's a tree parser, token might be set.
73 public Token token; field in class:RecognitionException
93 * for most recent token with line/col info, but notify getErrorHeader()
106 this.token = ((TokenStream)input).LT(1);
107 this.line = token.getLine();
108 this.charPositionInLine = token
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DRecognitionException.js8 * exceptions are built with the expected token type.
20 * state can change before the exception is reported so current token index
22 * perhaps print an entire line of input not just a single token, for example.
36 this.token = input.LT(1);
37 this.line = this.token.getLine();
38 this.charPositionInLine = this.token.getCharPositionInLine();
65 /** What is index of token/char were we looking at when the error occurred?
72 * For parsers. Even when it's a tree parser, token might be set.
75 token: null,
107 * for most recent token wit
[all...]
/external/chromium_org/sandbox/win/src/
H A Dpolicy_target.cc84 HANDLE token; local
85 if (sizeof(token) > thread_information_bytes)
88 NTSTATUS ret = CopyData(&token, thread_information, sizeof(token));
89 if (!NT_SUCCESS(ret) || NULL != token)
102 // FALSE if we are still running with the impersonation token. open_as_self set
103 // to TRUE means that the token will be open using the process token instead of
104 // the impersonation token. This is bad because the process token doe
106 TargetNtOpenThreadToken( NtOpenThreadTokenFunction orig_OpenThreadToken, HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, PHANDLE token) argument
116 TargetNtOpenThreadTokenEx( NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, ULONG handle_attributes, PHANDLE token) argument
[all...]
/external/chromium_org/components/copresence/public/
H A Dwhispernet_client.h22 AudioToken(const std::string& token, bool audible) argument
23 : token(token), audible(audible) {}
24 std::string token; member in struct:copresence::AudioToken
38 // Callback that returns encoded samples for a given token.
50 // Fires an event to request a token encode.
51 virtual void EncodeToken(const std::string& token, bool audible) = 0;
/external/smack/src/org/xbill/DNS/
H A DOptions.java46 String token = st.nextToken();
47 int index = token.indexOf('=');
49 set(token);
51 String option = token.substring(0, index);
52 String value = token.substring(index + 1);
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
H A Dstatetracker.py37 flag_token: The flag token.
38 type_start_token: The first token specifying the flag type,
40 type_end_token: The last token specifying the flag type,
43 name_token: The token specifying the flag name.
45 description_start_token: The first token in the description.
46 description_end_token: The end token in the description.
148 """Creates the DocFlag object and attaches it to the given start token.
151 flag_token: The starting token of the flag.
180 # Handle bad case, name could be immediately after flag token.
183 # Handle good case, if found token i
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DJSONParser.cpp63 bool parseConstToken(const CharType* start, const CharType* end, const CharType** tokenEnd, const char* token) argument
65 while (start < end && *token != '\0' && *start++ == *token++) { }
66 if (*token != '\0')
349 Token token = parseToken(start, end, &tokenStart, &tokenEnd); local
350 switch (token) {
381 token = parseToken(start, end, &tokenStart, &tokenEnd);
382 while (token != ArrayEnd) {
390 token = parseToken(start, end, &tokenStart, &tokenEnd);
391 if (token
[all...]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dsync_task_manager.cc99 scoped_ptr<SyncTaskToken> token(GetToken(from_here, callback));
100 if (!token) {
107 RunTask(token.Pass(), task.Pass());
128 scoped_ptr<SyncTaskToken> token(GetToken(from_here, callback));
129 if (!token)
131 RunTask(token.Pass(), task.Pass());
136 void SyncTaskManager::NotifyTaskDone(scoped_ptr<SyncTaskToken> token, argument
138 DCHECK(token);
140 SyncTaskManager* manager = token->manager();
141 if (token
202 NotifyTaskDoneBody(scoped_ptr<SyncTaskToken> token, SyncStatusCode status) argument
363 RunTask(scoped_ptr<SyncTaskToken> token, scoped_ptr<SyncTask> task) argument
372 MaybeStartNextForegroundTask( scoped_ptr<SyncTaskToken> token) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLTreeBuilderSimulator.cpp40 static bool tokenExitsForeignContent(const CompactHTMLToken& token) argument
43 const String& tagName = token.data();
88 || (threadSafeMatch(tagName, fontTag) && (token.getAttributeItem(colorAttr) || token.getAttributeItem(faceAttr) || token.getAttributeItem(sizeAttr)));
91 static bool tokenExitsSVG(const CompactHTMLToken& token) argument
94 return equalIgnoringCaseNonNull(token.data().impl(), SVGNames::foreignObjectTag.localName().impl());
97 static bool tokenExitsMath(const CompactHTMLToken& token) argument
100 const String& tagName = token.data();
132 bool HTMLTreeBuilderSimulator::simulate(const CompactHTMLToken& token, HTMLTokenize argument
[all...]
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
H A Drest_api.py83 token = ndb.StringProperty() variable in class:_AE_TokenStorage_
89 """Get a fresh authentication token.
96 An tuple (token, expiration_time) where expiration_time is
101 token, expires_at = yield rpc
102 raise ndb.Return((token, expires_at))
126 (scopes, service_account_id) -> (token, expires).
137 self.token = None
144 return {'token': self.token,
157 self.token
[all...]
/external/chromium_org/chromeos/network/
H A Dnetwork_util.cc67 std::string token = t.token();
71 if (token != "0")
73 } else if (token == "255") {
75 } else if (token == "254") {
77 } else if (token == "252") {
79 } else if (token == "248") {
81 } else if (token == "240") {
83 } else if (token == "224") {
85 } else if (token
[all...]
/external/chromium_org/third_party/closure_linter/closure_linter/
H A Dtestutil.py38 The first token of the resulting token stream.
55 The first token of the resulting token stream.
78 for token in start_token:
79 tracker.HandleToken(token, tracker.GetLastNonSpaceToken())
89 tracker.HandleAfterToken(token)
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_treewriter.h43 const struct vp9_token *token) {
44 vp9_write_tree(w, tree, probs, token->value, token->len, 0);
41 vp9_write_token(vp9_writer *w, const vp9_tree_index *tree, const vp9_prob *probs, const struct vp9_token *token) argument
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dfeedback.h47 _mesa_feedback_token( struct gl_context *ctx, GLfloat token )
50 ctx->Feedback.Buffer[ctx->Feedback.Count] = token;
79 _mesa_feedback_token( struct gl_context *ctx, GLfloat token )
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_treewriter.h43 const struct vp9_token *token) {
44 vp9_write_tree(w, tree, probs, token->value, token->len, 0);
41 vp9_write_token(vp9_writer *w, const vp9_tree_index *tree, const vp9_prob *probs, const struct vp9_token *token) argument
/external/mesa3d/src/mesa/main/
H A Dfeedback.h47 _mesa_feedback_token( struct gl_context *ctx, GLfloat token )
50 ctx->Feedback.Buffer[ctx->Feedback.Count] = token;
79 _mesa_feedback_token( struct gl_context *ctx, GLfloat token )
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3commontree.c61 static pANTLR3_BASE_TREE newFromToken (pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TOKEN token);
108 // Factory space is good, we now want to initialize our cheating token
188 // We have our token pointer now, so we can initialize it to the predefined model.
226 ((pANTLR3_COMMON_TREE)(newTree->super))->token = tree->token;
233 newFromToken(pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TOKEN token) argument
246 ((pANTLR3_COMMON_TREE)(newTree->super))->token = token;
323 tree->token = NULL; // No token a
353 antlr3CommonTreeNewFromToken(pANTLR3_COMMON_TOKEN token) argument
448 pANTLR3_COMMON_TOKEN token; local
470 pANTLR3_COMMON_TOKEN token; local
[all...]

Completed in 1025 milliseconds

1234567891011>>