Home
last modified time | relevance | path

Searched refs:first_token (Results 1 – 9 of 9) sorted by relevance

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Drequireprovidesorter.py121 first_token = tokens[0]
124 while i != first_token and i is not None:
240 first_token = token
241 previous_first_token = tokenutil.GetFirstTokenInPreviousLine(first_token)
244 first_token = previous_first_token
246 first_token)
251 all_tokens = self._GetTokenList(first_token, last_token)
255 def _GetTokenList(self, first_token, last_token): argument
270 token = first_token
Dtokenutil.py87 first_token = GetFirstTokenInSameLine(token)
91 while first_token != last_token:
92 tokens_in_line.append(first_token)
93 first_token = first_token.next
Derror_fixer.py80 def HandleFile(self, filename, first_token): argument
89 self._file_token = first_token
127 first_token = js_type.FirstToken()
128 question_mark = Token('?', Type.DOC_TYPE_MODIFIER, first_token.line,
129 first_token.line_number)
130 tokenutil.InsertTokenBefore(question_mark, first_token)
Decmametadatapass.py462 def Process(self, first_token): argument
464 self._token = first_token
/external/chromium-trace/catapult/catapult_base/catapult_base/refactor/
Doffset_token.py94 first_token = offset_tokens.popleft()
96 first_token = OffsetToken(first_token.type, first_token.string,
97 (0, first_token.offset[1]))
98 offset_tokens.appendleft(first_token)
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dstreams.rb800 if first_token = @tokens.find { |t| t.channel == @channel }
801 @tokens.index( first_token )
824 if first_token = @tokens.find { |t| t.channel == @channel }
825 @tokens.index( first_token )
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/common/
Derrorhandler.py35 def HandleFile(self, filename, first_token): argument
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dast.py597 first_token = None
607 parameter_type = Type(first_token.start, first_token.end,
610 p = Parameter(first_token.start, end, name,
616 if not first_token:
617 first_token = s
631 first_token = None
/external/libevent/
Devdns.c3478 char *const first_token = strtok_r(start, delims, &strtok_state); in resolv_conf_parse_line() local
3480 if (!first_token) return; in resolv_conf_parse_line()
3482 if (!strcmp(first_token, "nameserver") && (flags & DNS_OPTION_NAMESERVERS)) { in resolv_conf_parse_line()
3487 } else if (!strcmp(first_token, "domain") && (flags & DNS_OPTION_SEARCH)) { in resolv_conf_parse_line()
3493 } else if (!strcmp(first_token, "search") && (flags & DNS_OPTION_SEARCH)) { in resolv_conf_parse_line()
3501 } else if (!strcmp(first_token, "options")) { in resolv_conf_parse_line()