/external/srec/tools/cmd/ |
H A D | srecres2utd.pl | 51 if(defined %token) { 52 process(\%token, \%results); 53 dump_record($hUTD, \%token); 57 undef %token; 58 $token{file} = $file; 60 $token{gender} = $gender{$1}; 61 $token{"snr"} = get_snr($file) if($additional_fieldh{"snr"}); 62 $token{"snrr"} = sprintf("%.2d",int(get_snr($file)/5+0.5)*5) if($additional_fieldh{"snrr"}); 64 $token{ortho} = normalize($1); 68 $token{parsed_orth [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
H A D | MissingTokenException.pm | 23 if (defined (my $inserted = $self->inserted) && defined (my $token = $self->token)) { 24 return "MissingTokenException(inserted $inserted at " . $token->get_text() . ")"; 26 if (defined $self->token) { 27 return "MissingTokenException(at " . $self->token->get_text() . ")";
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | OIDTokenizer.java | 33 String token; 38 token = oid.substring(index); 40 return token; 43 token = oid.substring(index, end); 46 return token;
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | error_fixer.py | 73 first_token: The first token in the file. 84 tokens: The token or sequence of tokens changed to fix an error. 90 for token in tokens: 91 self._file_changed_lines.add(token.line_number) 100 token = error.token 103 iterator = token.attached_object.type_start_token 111 # Cover the no outer brace case where the end token is part of the type. 112 while iterator and iterator != token.attached_object.type_end_token.next: 118 token [all...] |
H A D | closurizednamespacesinfo_test.py | 76 token = self._GetRequireTokens('package.Something') 81 self.assertFalse(namespaces_info.IsExtraRequire(token), 87 self.assertTrue(namespaces_info.IsExtraRequire(token), 96 token = self._tokenizer.TokenizeFile(input_lines) 97 namespaces_info = self._GetInitializedNamespacesInfo(token, ['package'], []) 99 self.assertFalse(namespaces_info.IsExtraProvide(token), 108 token = self._tokenizer.TokenizeFile(input_lines) 109 namespaces_info = self._GetInitializedNamespacesInfo(token, ['package'], []) 111 self.assertFalse(namespaces_info.IsExtraProvide(token), 117 token [all...] |
H A D | ecmalintrules.py | 101 def HandleMissingParameterDoc(self, token, param_name): 109 last_token: The last token in the line. 111 # Start from the last token so that we have the flag object attached to 114 token = last_token 119 while token and token.line_number == line_number: 120 if state.IsTypeToken(token): 121 line.insert(0, 'x' * len(token.string)) 122 elif token.type in (Type.IDENTIFIER, Type.NORMAL): 124 line.insert(0, token [all...] |
H A D | requireprovidesorter_test.py | 52 token = self._tokenizer.TokenizeFile(input_lines) 54 self._metadata_pass.Process(token) 57 sorter.FixRequires(token) 59 self.assertEquals(expected_lines, self._GetLines(token)) 61 def _GetLines(self, token): 62 """Returns an array of lines based on the specified token stream.""" 65 while token: 66 line += token.string 67 if token.IsLastInLine(): 70 token [all...] |
H A D | javascriptlintrules.py | 57 def HandleMissingParameterDoc(self, token, param_name): 60 'Missing docs for parameter: "%s"' % param_name, token) 62 def __ContainsRecordType(self, token): 63 """Check whether the given token contains a record type. 66 token: The token being checked 69 True if the token contains a record type, False otherwise. 71 # If we see more than one left-brace in the string of an annotation token, 74 token and token [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | Parser.java | 81 Token token = (Token) tokens[0]; 82 if (token.getTokenType() == INVITE 83 || token.getTokenType() == ACK 84 || token.getTokenType() == OPTIONS 85 || token.getTokenType() == BYE 86 || token.getTokenType() == REGISTER 87 || token.getTokenType() == CANCEL 88 || token.getTokenType() == SUBSCRIBE 89 || token.getTokenType() == NOTIFY 90 || token [all...] |
/external/chromium/base/json/ |
H A D | json_reader.cc | 24 // token. The method returns false if there is no valid integer at the end of 25 // the token. 26 bool ReadInt(JSONReader::Token& token, bool can_have_leading_zeros) { argument 27 wchar_t first = token.NextChar(); 33 ++token.length; 35 c = token.NextChar(); 48 // token. If the sequence if digits is not valid (contains other characters), 50 bool ReadHexDigits(JSONReader::Token& token, int digits) { argument 52 wchar_t c = *(token.begin + token 205 Token token = ParseToken(); local 389 DecodeNumber(const Token& token) argument 449 DecodeString(const Token& token) argument [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/ |
H A D | cpp.c | 153 int token, name, args[MAX_MACRO_ARGS], argc; local 159 token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); 160 if (token != CPP_IDENTIFIER) { 162 return token; 165 token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); 166 if (token == '(' && !yylvalpp->sc_int) { 170 token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); 171 if (argc == 0 && token == ')') break; 172 if (token != CPP_IDENTIFIER) { 174 return token; 241 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 269 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 363 int token, prec, (*op)(int, int); member in struct:__anon14465 386 int token, (*op)(int); member in struct:__anon14466 396 eval(int token, int prec, int *res, int *err, yystypepp * yylvalpp) argument 470 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 500 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 531 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 565 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 600 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 663 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 697 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 739 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 872 int token; local 905 int token = ReadToken(in->mac->body, yylvalpp); local 936 int i,j, token, depth=0; local [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
H A D | CommonTree.java | 39 /** A single token is the payload */ 40 public Token token; field in class:CommonTree 42 /** What token indexes bracket all tokens associated with this node 57 this.token = node.token; 63 this.token = t; 67 return token; 75 return token==null; 79 if ( token==null ) { 82 return token [all...] |
/external/webkit/Source/WebCore/html/ |
H A D | ClassList.cpp | 67 bool ClassList::contains(const AtomicString& token, ExceptionCode& ec) const argument 69 if (!validateToken(token, ec)) 71 return containsInternal(token); 74 bool ClassList::containsInternal(const AtomicString& token) const 76 return m_element->hasClass() && classNames().contains(token); 79 void ClassList::add(const AtomicString& token, ExceptionCode& ec) argument 81 if (!validateToken(token, ec)) 83 addInternal(token); 86 void ClassList::addInternal(const AtomicString& token) argument 90 m_element->setAttribute(classAttr, token); 97 remove(const AtomicString& token, ExceptionCode& ec) argument 104 removeInternal(const AtomicString& token) argument 114 toggle(const AtomicString& token, ExceptionCode& ec) argument [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
H A D | StylesheetPIHandler.java | 156 String token = ""; 160 token = tokenizer.nextToken(); 164 (token.equals(" ") || token.equals("\t") || token.equals("="))) 167 String name = token; 170 token = tokenizer.nextToken(); 172 (token.equals(" " ) || token.equals("\t") || token [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/examples/zero-one/ |
H A D | t-error.pl | 16 my $token = eval { $lexer->next_token(); }; 22 last if $token->get_type() == $TLexer::EOF; 24 print "type: ", $token->get_type(), "\n"; 25 print "text: ", $token->get_text(), "\n";
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
H A D | MissingTokenException.java | 30 /** We were expecting a token but it's not found. The current token 48 if ( inserted!=null && token!=null ) { 49 return "MissingTokenException(inserted "+inserted+" at "+token.getText()+")"; 51 if ( token!=null ) { 52 return "MissingTokenException(at "+token.getText()+")";
|
H A D | UnwantedTokenException.java | 30 /** An extra token while parsing a TokenStream */ 40 return token; 48 if ( token==null ) { 51 return "UnwantedTokenException(found="+token.getText()+exp+")";
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
H A D | PMediaAuthorization.java | 72 private String token; field in class:PMediaAuthorization 85 * Get the media authorization token. 87 * @return token 91 return token; 96 * Set the media authorization token. 98 * @param token - media authorization token to set 99 * @throws InvalidArgumentException - if token is null or empty 101 public void setMediaAuthorizationToken(String token) throws InvalidArgumentException argument 103 if (token [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | GrammarSpelunker.java | 49 protected String token; field in class:GrammarSpelunker 65 void consume() throws IOException { token = scanner.nextToken(); } 68 //System.out.println("match "+expecting+"; is "+token); 69 if ( token.equals(expecting) ) consume(); 70 else throw new Error("Error parsing "+grammarFileName+": '"+token+ 82 while ( token!=null && !token.equals("@") && !token.equals(":") && 83 !token.equals("import") && !token [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
H A D | error.py | 26 def __init__(self, code, message, token, position, fix_data): 32 token: The tokens.Token where the error occurred. 33 position: The position of the error within the token. 40 self.token = token 42 if token: 43 self.start_index = token.start_index 60 line_diff = a.token.line_number - b.token.line_number
|
/external/webkit/Source/JavaScriptCore/parser/ |
H A D | SourceProviderCacheItem.h | 50 JSToken token; local 51 token.m_type = CLOSEBRACE; 52 token.m_data.intValue = closeBracePos; 53 token.m_info.startOffset = closeBracePos; 54 token.m_info.endOffset = closeBracePos + 1; 55 token.m_info.line = closeBraceLine; 56 return token;
|
/external/chromium/base/ |
H A D | string_tokenizer_unittest.cc | 19 EXPECT_EQ(string("this"), t.token()); 22 EXPECT_EQ(string("is"), t.token()); 25 EXPECT_EQ(string("a"), t.token()); 28 EXPECT_EQ(string("test"), t.token()); 39 EXPECT_EQ(string("this"), t.token()); 42 EXPECT_EQ(string("is"), t.token()); 45 EXPECT_EQ(string("a"), t.token()); 48 EXPECT_EQ(string("test"), t.token()); 61 EXPECT_EQ(string("this"), t.token()); 64 EXPECT_EQ(string(" "), t.token()); [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
H A D | antlr3commontoken.h | 2 * \brief Defines the interface for a common token. 4 * All token streams should provide their tokens using an instance 5 * of this common token. A custom pointer is provided, wher you may attach 6 * a further structure to enhance the common token if you feel the need 7 * to do so. The C runtime will assume that a token provides implementations 45 /** How many tokens to allocate at once in the token factory 49 /* Base token types, which all lexer/parser tokens come after in sequence. 52 /** Indicator of an invalid token 58 /** Imaginary token type to cause a traversal of child nodes in a tree parser 62 /** Imaginary token typ [all...] |
/external/webkit/Source/WebCore/html/parser/ |
H A D | HTMLSourceTracker.cpp | 35 void HTMLSourceTracker::start(const HTMLInputStream& input, HTMLToken& token) argument 37 m_sourceFromPreviousSegments = token.type() == HTMLToken::Uninitialized ? String() : m_sourceFromPreviousSegments + m_source.toString(); 39 token.setBaseOffset(input.current().numberOfCharactersConsumed() - m_sourceFromPreviousSegments.length()); 42 void HTMLSourceTracker::end(const HTMLInputStream& input, HTMLToken& token) argument 46 token.end(input.current().numberOfCharactersConsumed()); 49 String HTMLSourceTracker::sourceForToken(const HTMLToken& token) argument 51 if (token.type() == HTMLToken::EndOfFile) 57 ASSERT(!token.startIndex()); 59 int length = token.endIndex() - token [all...] |
/external/chromium/testing/gmock/scripts/generator/cpp/ |
H A D | keywords.py | 52 def IsKeyword(token): 53 return token in ALL 55 def IsBuiltinType(token): 56 if token in ('virtual', 'inline'): 59 return token in TYPES or token in TYPE_MODIFIERS
|