Searched defs:scanner (Results 1 - 25 of 73) sorted by relevance

123

/external/chromium_org/components/autofill/core/browser/
H A Demail_field.cc15 FormField* EmailField::Parse(AutofillScanner* scanner) { argument
17 if (ParseFieldSpecifics(scanner, base::UTF8ToUTF16(autofill::kEmailRe),
H A Daddress_field_unittest.cc29 static AddressField* Parse(AutofillScanner* scanner) { argument
30 return static_cast<AddressField*>(AddressField::Parse(scanner));
38 AutofillScanner scanner(list_.get());
39 field_.reset(Parse(&scanner));
45 AutofillScanner scanner(list_.get());
46 field_.reset(Parse(&scanner));
58 AutofillScanner scanner(list_.get());
59 field_.reset(Parse(&scanner));
79 AutofillScanner scanner(list_.get());
80 field_.reset(Parse(&scanner));
[all...]
H A Dname_field_unittest.cc28 static NameField* Parse(AutofillScanner* scanner) { argument
29 return static_cast<NameField*>(NameField::Parse(scanner));
52 AutofillScanner scanner(list_.get());
53 field_.reset(Parse(&scanner));
83 AutofillScanner scanner(list_.get());
84 field_.reset(Parse(&scanner));
110 AutofillScanner scanner(list_.get());
111 field_.reset(Parse(&scanner));
134 AutofillScanner scanner(list_.get());
135 field_.reset(Parse(&scanner));
[all...]
H A Dphone_field_unittest.cc28 static PhoneField* Parse(AutofillScanner* scanner) { argument
29 return static_cast<PhoneField*>(PhoneField::Parse(scanner));
37 AutofillScanner scanner(list_.get());
38 field_.reset(Parse(&scanner));
44 AutofillScanner scanner(list_.get());
45 field_.reset(Parse(&scanner));
57 AutofillScanner scanner(list_.get());
58 field_.reset(Parse(&scanner));
78 AutofillScanner scanner(list_.get());
79 field_.reset(Parse(&scanner));
[all...]
H A Dphone_field.cc121 FormField* PhoneField::Parse(AutofillScanner* scanner) { argument
122 if (scanner->IsEnd())
125 scanner->SaveCursor();
132 scanner->SaveCursor();
138 scanner,
152 scanner->Rewind();
165 scanner->Rewind();
169 scanner->Rewind();
173 scanner->Rewind();
185 if (!ParseField(scanner, bas
[all...]
H A Daddress_field.cc24 FormField* AddressField::Parse(AutofillScanner* scanner) { argument
25 if (scanner->IsEnd())
29 const AutofillField* const initial_field = scanner->Cursor();
30 size_t saved_cursor = scanner->SaveCursor();
38 while (!scanner->IsEnd()) {
39 const size_t cursor = scanner->SaveCursor();
40 if (address_field->ParseAddressLines(scanner) ||
41 address_field->ParseCity(scanner) ||
42 address_field->ParseState(scanner) ||
43 address_field->ParseZipCode(scanner) ||
126 ParseCompany(AutofillScanner* scanner) argument
133 ParseAddressLines(AutofillScanner* scanner) argument
181 ParseCountry(AutofillScanner* scanner) argument
193 ParseZipCode(AutofillScanner* scanner) argument
209 ParseCity(AutofillScanner* scanner) argument
222 ParseState(AutofillScanner* scanner) argument
[all...]
H A Dcredit_card_field.cc27 FormField* CreditCardField::Parse(AutofillScanner* scanner) { argument
28 if (scanner->IsEnd())
32 size_t saved_cursor = scanner->SaveCursor();
38 for (int fields = 0; !scanner->IsEnd(); ++fields) {
40 if (ParseField(scanner, base::UTF8ToUTF16(autofill::kGiftCardRe), NULL))
58 if (ParseField(scanner, name_pattern, &credit_card_field->cardholder_))
65 scanner->SaveCursor();
67 if (ParseField(scanner, base::ASCIIToUTF16("^cfnm"), &first) &&
68 ParseField(scanner,
74 scanner
[all...]
H A Dname_field.cc24 static FullNameField* Parse(AutofillScanner* scanner);
41 static FirstLastNameField* ParseSpecificName(AutofillScanner* scanner);
42 static FirstLastNameField* ParseComponentNames(AutofillScanner* scanner);
43 static FirstLastNameField* Parse(AutofillScanner* scanner);
62 FormField* NameField::Parse(AutofillScanner* scanner) { argument
63 if (scanner->IsEnd())
67 NameField* field = FirstLastNameField::Parse(scanner);
69 field = FullNameField::Parse(scanner);
78 FullNameField* FullNameField::Parse(AutofillScanner* scanner) { argument
80 scanner
104 ParseSpecificName( AutofillScanner* scanner) argument
131 ParseComponentNames( AutofillScanner* scanner) argument
196 Parse(AutofillScanner* scanner) argument
[all...]
H A Dform_field.cc68 bool FormField::ParseField(AutofillScanner* scanner, argument
71 return ParseFieldSpecifics(scanner, pattern, MATCH_DEFAULT, match);
75 bool FormField::ParseFieldSpecifics(AutofillScanner* scanner, argument
79 if (scanner->IsEnd())
82 const AutofillField* field = scanner->Cursor();
87 return MatchAndAdvance(scanner, pattern, match_type, match);
91 bool FormField::ParseEmptyLabel(AutofillScanner* scanner, argument
93 return ParseFieldSpecifics(scanner,
111 bool FormField::MatchAndAdvance(AutofillScanner* scanner, argument
115 AutofillField* field = scanner
[all...]
/external/chromium_org/third_party/cython/src/Cython/Plex/
H A DErrors.py36 scanner = None variable in class:UnrecognizedInput
40 def __init__(self, scanner, state_name):
41 self.scanner = scanner
42 self.position = scanner.get_position()
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/
H A DInjectMocksScanner.java5 package org.mockito.internal.configuration.injection.scanner;
H A DMockScanner.java5 package org.mockito.internal.configuration.injection.scanner;
/external/apache-http/src/org/apache/http/client/utils/
H A DURLEncodedUtils.java125 * example, a scanner containing the string <code>a=1&b=2&c=3</code> would
131 * @param scanner
138 final Scanner scanner,
140 scanner.useDelimiter(PARAMETER_SEPARATOR);
141 while (scanner.hasNext()) {
142 final String[] nameValue = scanner.next().split(NAME_VALUE_SEPARATOR);
136 parse( final List <NameValuePair> parameters, final Scanner scanner, final String encoding) argument
/external/libnl/lib/route/
H A Dpktloc.c65 extern int pktloc_parse(void *scanner);
81 yyscan_t scanner = NULL; local
109 if ((err = pktloc_lex_init(&scanner)) < 0)
112 buf = pktloc__create_buffer(fd, YY_BUF_SIZE, scanner);
113 pktloc__switch_to_buffer(buf, scanner);
115 if ((err = pktloc_parse(scanner)) < 0)
118 if (scanner)
119 pktloc_lex_destroy(scanner);
/external/opencv/cvaux/src/
H A Dcvbgfg_common.cpp79 CvContourScanner scanner; local
86 scanner = cvStartFindContours( mask, tempStorage,
89 while( (c = cvFindNextContour( scanner )) != 0 )
94 cvSubstituteContour( scanner, 0 );
102 cvSubstituteContour( scanner, newC );
106 contours = cvEndFindContours( &scanner );
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammarSpelunker.java50 protected Scanner scanner; field in class:GrammarSpelunker
65 void consume() throws IOException { token = scanner.nextToken(); }
78 scanner = new Scanner(br);
/external/chromium_org/ppapi/proxy/
H A Dnacl_message_scanner_unittest.cc27 const NaClMessageScanner& scanner,
30 scanner.file_systems_.find(file_system);
31 return (it != scanner.file_systems_.end()) ? it->second : NULL;
35 const NaClMessageScanner& scanner,
38 scanner.files_.find(file_io);
39 return (it != scanner.files_.end()) ? it->second : NULL;
42 void OpenQuotaFile(NaClMessageScanner* scanner, argument
48 scanner->ScanMessage(
26 FindFileSystem( const NaClMessageScanner& scanner, PP_Resource file_system) argument
34 FindFileIO( const NaClMessageScanner& scanner, PP_Resource file_io) argument
/external/chromium_org/v8/src/
H A Ddateparser-inl.h19 DateStringTokenizer<Char> scanner(&in);
73 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz);
79 token = scanner.Next()) {
83 if (scanner.SkipSymbol(':')) {
84 if (scanner.SkipSymbol(':')) {
92 if (scanner.Peek().IsSymbol('.')) scanner.Next();
94 } else if (scanner.SkipSymbol('.') && time.IsExpecting(n)) {
96 if (!scanner.Peek().IsNumber()) return false;
97 int n = ReadMilliseconds(scanner
198 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) argument
[all...]
/external/qemu/android/
H A Dmain-common.c116 DirScanner* scanner = dirScanner_new(temp); local
117 if (scanner != NULL) {
122 subdir = dirScanner_next(scanner);
133 dirScanner_free(scanner);
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DParseContext.h47 scanner(NULL) { }
68 void* scanner; member in struct:TParseContext
/external/javassist/src/main/javassist/bytecode/analysis/
H A DAnalyzer.java86 private final SubroutineScanner scanner = new SubroutineScanner(); field in class:Analyzer
136 subroutines = scanner.scan(method);
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprogram_parser.h153 void *scanner; member in struct:asm_parser_state
246 extern void _mesa_program_lexer_dtor(void *scanner);
248 extern void _mesa_program_lexer_ctor(void **scanner,
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/
H A Dnasm.h146 * The expression evaluator must be passed a scanner function; a
147 * standard scanner is provided as part of nasmlib.c. The
151 * The return value from the scanner is always a copy of the
159 typedef int (*scanner) (void *private_data, struct tokenval *tv); typedef
162 * Token types returned by the scanner, in addition to ordinary
186 * it will start by calling the scanner.
201 typedef yasm_expr *(*evalfunc) (scanner sc, void *scprivate, struct tokenval *tv,
/external/mesa3d/src/mesa/program/
H A Dprogram_parser.h153 void *scanner; member in struct:asm_parser_state
246 extern void _mesa_program_lexer_dtor(void *scanner);
248 extern void _mesa_program_lexer_ctor(void **scanner,
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/
H A Dglcpp.h165 yyscan_t scanner; member in struct:glcpp_parser
213 glcpp_lex_init_extra (glcpp_parser_t *parser, yyscan_t* scanner);
219 glcpp_lex (YYSTYPE *lvalp, YYLTYPE *llocp, yyscan_t scanner);
222 glcpp_lex_destroy (yyscan_t scanner);

Completed in 968 milliseconds

123