/external/chromium_org/third_party/WebKit/ManualTests/ |
open-close-tokenizer-crash.html | 3 <input type="button" value="Click Here" onclick="window.open('resources/open-close-tokenizer-crash.html', 'foo');">
|
/external/chromium_org/third_party/angle_dx11/src/compiler/preprocessor/ |
DirectiveParser.h | 20 class Tokenizer; 25 DirectiveParser(Tokenizer* tokenizer, 74 Tokenizer* mTokenizer;
|
Tokenizer.h | 19 class Tokenizer : public Lexer 37 Tokenizer(Diagnostics* diagnostics); 38 ~Tokenizer(); 48 PP_DISALLOW_COPY_AND_ASSIGN(Tokenizer);
|
Preprocessor.cpp | 17 #include "Tokenizer.h" 26 Tokenizer tokenizer; member in struct:pp::PreprocessorImpl 33 tokenizer(diag), 34 directiveParser(&tokenizer, ¯oSet, diag, directiveHandler), 63 return mImpl->tokenizer.init(count, string, length);
|
/frameworks/native/include/input/ |
VirtualKeyMap.h | 25 #include <utils/Tokenizer.h> 62 Tokenizer* mTokenizer; 65 Parser(VirtualKeyMap* map, Tokenizer* tokenizer);
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
StylesheetPIHandler.java | 152 StringTokenizer tokenizer = new StringTokenizer(data, " \t=\n", true); local 157 while (tokenizer.hasMoreTokens()) 160 token = tokenizer.nextToken(); 163 if (tokenizer.hasMoreTokens() && 170 token = tokenizer.nextToken(); 171 while (tokenizer.hasMoreTokens() && 173 token = tokenizer.nextToken(); 179 token = tokenizer.nextToken(); 180 while (tokenizer.hasMoreTokens() && 182 token = tokenizer.nextToken() [all...] |
/system/core/include/utils/ |
Tokenizer.h | 28 * A simple tokenizer for loading and parsing ASCII text files line by line. 30 class Tokenizer { 31 Tokenizer(const String8& filename, FileMap* fileMap, char* buffer, 35 ~Tokenizer(); 40 * Returns NO_ERROR and a tokenizer for the file, if successful. 43 static status_t open(const String8& filename, Tokenizer** outTokenizer); 48 * Returns NO_ERROR and a tokenizer for the string, if successful. 52 const char* contents, Tokenizer** outTokenizer); 119 Tokenizer(const Tokenizer& other); // not copyabl [all...] |
/external/chromium_org/content/common/android/ |
address_parser.cc | 79 String16Tokenizer tokenizer(house_number.end, end, delimiters); 80 tokenizer.set_options(String16Tokenizer::RETURN_DELIMS); 95 // Extract a new word from the tokenizer. 98 if (!tokenizer.GetNext()) 102 if (tokenizer.token_is_delim() && newline_delimiters.find( 103 *tokenizer.token_begin()) != string16::npos) { 106 } while (tokenizer.token_is_delim()); 111 words.push_back(Word(tokenizer.token_begin(), tokenizer.token_end())); 163 &tokenizer, &state_index)) [all...] |
/external/chromium_org/tools/gn/ |
tokenizer.cc | 5 #include "tools/gn/tokenizer.h" 44 Tokenizer::Tokenizer(const InputFile* input_file, Err* err) 53 Tokenizer::~Tokenizer() { 57 std::vector<Token> Tokenizer::Tokenize(const InputFile* input_file, Err* err) { 58 Tokenizer t(input_file, err); 62 std::vector<Token> Tokenizer::Run() { 99 size_t Tokenizer::ByteOffsetOfNthLine(const base::StringPiece& buf, int n) { 120 bool Tokenizer::IsNewline(const base::StringPiece& buffer, size_t offset) [all...] |
tokenizer.h | 17 class Tokenizer { 26 // This is a helper function for error output so that the tokenizer's 44 // InputFile must outlive the tokenizer and all generated tokens. 45 explicit Tokenizer(const InputFile* input_file, Err* err); 46 ~Tokenizer(); 83 DISALLOW_COPY_AND_ASSIGN(Tokenizer);
|
/frameworks/native/opengl/libagl/ |
Tokenizer.h | 1 /* libs/opengles/Tokenizer.h 29 class Tokenizer 32 Tokenizer(); 33 Tokenizer(const Tokenizer& other); 34 ~Tokenizer();
|
/external/chromium/base/ |
sys_info_chromeos.cc | 96 StringTokenizer tokenizer(version, "."); 100 for (int i = 0; i < 4 && tokenizer.GetNext(); i++) { 102 StringToInt(tokenizer.token_begin(), 103 tokenizer.token_end(), 107 StringToInt(tokenizer.token_begin(), 108 tokenizer.token_end(), 111 StringToInt(tokenizer.token_begin(), 112 tokenizer.token_end(),
|
/external/chromium_org/base/ |
sys_info_chromeos.cc | 95 StringTokenizer tokenizer(version, "."); 96 for (int i = 0; i < 3 && tokenizer.GetNext(); ++i) { 98 StringToInt(StringPiece(tokenizer.token_begin(), 99 tokenizer.token_end()), 103 StringToInt(StringPiece(tokenizer.token_begin(), 104 tokenizer.token_end()), 107 StringToInt(StringPiece(tokenizer.token_begin(), 108 tokenizer.token_end()),
|
ini_parser.cc | 19 base::StringTokenizer tokenizer(content, "\r\n"); 22 while (tokenizer.GetNext()) { 23 std::string line = tokenizer.token();
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
LowRamDeviceTest.java | 57 StringTokenizer tokenizer = new StringTokenizer(line); local 58 if (tokenizer.countTokens() != 3) { 63 tokenizer.nextToken(); 65 return Integer.parseInt(tokenizer.nextToken());
|
/external/smack/src/org/xbill/DNS/ |
Update.java | 88 * Parses a record from the tokenizer, and inserts a prerequisite that the 96 present(Name name, int type, Tokenizer tokenizer) throws IOException { 97 newPrereq(Record.fromString(name, type, dclass, 0, tokenizer, origin)); 140 * Parses a record from the tokenizer, and indicates that the record 145 add(Name name, int type, long ttl, Tokenizer tokenizer) throws IOException { 146 newUpdate(Record.fromString(name, type, dclass, ttl, tokenizer, 207 * Parses a record from the tokenizer, and indicates that the record 212 delete(Name name, int type, Tokenizer tokenizer) throws IOException [all...] |
/frameworks/native/libs/input/ |
VirtualKeyMap.cpp | 25 #include <utils/Tokenizer.h> 52 Tokenizer* tokenizer; local 53 status_t status = Tokenizer::open(filename, &tokenizer); 65 Parser parser(map, tokenizer); 70 tokenizer->getFilename().string(), tokenizer->getLineNumber(), 79 delete tokenizer; 87 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLSourceTracker.cpp | 38 void HTMLSourceTracker::start(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token) 42 if (tokenizer->numberOfBufferedCharacters()) 43 m_previousSource = tokenizer->bufferedCharacters(); 51 void HTMLSourceTracker::end(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token) 56 token.end(currentInput.numberOfCharactersConsumed() - tokenizer->numberOfBufferedCharacters());
|
/system/core/libutils/ |
PropertyMap.cpp | 121 Tokenizer* tokenizer; local 122 status_t status = Tokenizer::open(filename, &tokenizer); 134 Parser parser(map, tokenizer); 139 tokenizer->getFilename().string(), tokenizer->getLineNumber(), 148 delete tokenizer; 156 PropertyMap::Parser::Parser(PropertyMap* map, Tokenizer* tokenizer) [all...] |
/external/clang/lib/ASTMatchers/Dynamic/ |
Parser.cpp | 55 /// \brief Simple tokenizer for the parser. 236 const TokenInfo NameToken = Tokenizer->consumeNextToken(); 238 const TokenInfo OpenToken = Tokenizer->consumeNextToken(); 247 while (Tokenizer->nextTokenKind() != TokenInfo::TK_Eof) { 248 if (Tokenizer->nextTokenKind() == TokenInfo::TK_CloseParen) { 250 EndToken = Tokenizer->consumeNextToken(); 255 const TokenInfo CommaToken = Tokenizer->consumeNextToken(); 266 ArgValue.Text = Tokenizer->peekNextToken().Text; 267 ArgValue.Range = Tokenizer->peekNextToken().Range; 279 if (Tokenizer->peekNextToken().Kind == TokenInfo::TK_Period) [all...] |
/external/protobuf/python/google/protobuf/ |
text_format.py | 136 tokenizer = _Tokenizer(text) 137 while not tokenizer.AtEnd(): 138 _MergeField(tokenizer, message) 141 def _MergeField(tokenizer, message): 145 tokenizer: A tokenizer to parse the field name and values. 152 if tokenizer.TryConsume('['): 153 name = [tokenizer.ConsumeIdentifier()] 154 while tokenizer.TryConsume('.'): 155 name.append(tokenizer.ConsumeIdentifier() [all...] |
/external/chromium_org/net/http/ |
http_security_headers.cc | 188 base::StringTokenizer tokenizer(value, " \t=;"); 189 tokenizer.set_options(base::StringTokenizer::RETURN_DELIMS); 190 tokenizer.set_quote_chars("\""); 192 while (tokenizer.GetNext()) { 193 DCHECK(!tokenizer.token_is_delim() || tokenizer.token().length() == 1); 197 if (IsAsciiWhitespace(*tokenizer.token_begin())) 199 if (LowerCaseEqualsASCII(tokenizer.token(), "max-age")) { 202 } else if (LowerCaseEqualsASCII(tokenizer.token(), 213 if (IsAsciiWhitespace(*tokenizer.token_begin()) [all...] |
/external/chromium_org/third_party/protobuf/python/google/protobuf/ |
text_format.py | 156 tokenizer = _Tokenizer(text) 157 while not tokenizer.AtEnd(): 158 _MergeField(tokenizer, message) 161 def _MergeField(tokenizer, message): 165 tokenizer: A tokenizer to parse the field name and values. 172 if tokenizer.TryConsume('['): 173 name = [tokenizer.ConsumeIdentifier()] 174 while tokenizer.TryConsume('.'): 175 name.append(tokenizer.ConsumeIdentifier() [all...] |
/frameworks/base/test-runner/src/junit/runner/ |
ClassPathTestCollector.java | 60 StringTokenizer tokenizer= new StringTokenizer(classPath, separator); local 61 while (tokenizer.hasMoreTokens()) 62 result.addElement(tokenizer.nextToken());
|
/external/chromium/chrome/common/ |
auto_start_linux.cc | 79 StringTokenizer tokenizer(contents, "\n"); 81 while (tokenizer.GetNext()) { 82 if (tokenizer.token().substr(0, token.length()) == token) { 83 *value = tokenizer.token().substr(token.length());
|