/external/chromium_org/components/autofill/core/browser/ |
H A D | address_field.cc | 22 FormField* AddressField::Parse(AutofillScanner* scanner) { argument 23 if (scanner->IsEnd()) 27 const AutofillField* const initial_field = scanner->Cursor(); 28 size_t saved_cursor = scanner->SaveCursor(); 36 while (!scanner->IsEnd()) { 37 const size_t cursor = scanner->SaveCursor(); 38 if (address_field->ParseAddressLines(scanner) || 39 address_field->ParseCity(scanner) || 40 address_field->ParseState(scanner) || 41 address_field->ParseZipCode(scanner) || 124 ParseCompany(AutofillScanner* scanner) argument 131 ParseAddressLines(AutofillScanner* scanner) argument 179 ParseCountry(AutofillScanner* scanner) argument 191 ParseZipCode(AutofillScanner* scanner) argument 207 ParseCity(AutofillScanner* scanner) argument 220 ParseState(AutofillScanner* scanner) argument [all...] |
H A D | name_field.cc | 22 static FullNameField* Parse(AutofillScanner* scanner); 39 static FirstLastNameField* ParseSpecificName(AutofillScanner* scanner); 40 static FirstLastNameField* ParseComponentNames(AutofillScanner* scanner); 41 static FirstLastNameField* Parse(AutofillScanner* scanner); 60 FormField* NameField::Parse(AutofillScanner* scanner) { argument 61 if (scanner->IsEnd()) 65 NameField* field = FirstLastNameField::Parse(scanner); 67 field = FullNameField::Parse(scanner); 76 FullNameField* FullNameField::Parse(AutofillScanner* scanner) { argument 78 scanner 103 ParseSpecificName( AutofillScanner* scanner) argument 130 ParseComponentNames( AutofillScanner* scanner) argument 195 Parse(AutofillScanner* scanner) argument [all...] |
H A D | credit_card_field.cc | 23 FormField* CreditCardField::Parse(AutofillScanner* scanner) { argument 24 if (scanner->IsEnd()) 28 size_t saved_cursor = scanner->SaveCursor(); 33 for (int fields = 0; !scanner->IsEnd(); ++fields) { 35 if (ParseField(scanner, UTF8ToUTF16(autofill::kGiftCardRe), NULL)) 53 if (ParseField(scanner, name_pattern, &credit_card_field->cardholder_)) 60 scanner->SaveCursor(); 62 if (ParseField(scanner, ASCIIToUTF16("^cfnm"), &first) && 63 ParseField(scanner, ASCIIToUTF16("^clnm"), 68 scanner [all...] |
H A D | address_field.h | 24 static FormField* Parse(AutofillScanner* scanner); 45 bool ParseCompany(AutofillScanner* scanner); 46 bool ParseAddressLines(AutofillScanner* scanner); 47 bool ParseCountry(AutofillScanner* scanner); 48 bool ParseZipCode(AutofillScanner* scanner); 49 bool ParseCity(AutofillScanner* scanner); 50 bool ParseState(AutofillScanner* scanner);
|
H A D | form_field.cc | 68 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 const AutofillField* field = scanner [all...] |
H A D | email_field.cc | 15 FormField* EmailField::Parse(AutofillScanner* scanner) { argument 17 if (ParseFieldSpecifics(scanner, UTF8ToUTF16(autofill::kEmailRe),
|
H A D | address_field_unittest.cc | 27 static AddressField* Parse(AutofillScanner* scanner) { argument 28 return static_cast<AddressField*>(AddressField::Parse(scanner)); 36 AutofillScanner scanner(list_.get()); 37 field_.reset(Parse(&scanner)); 43 AutofillScanner scanner(list_.get()); 44 field_.reset(Parse(&scanner)); 56 AutofillScanner scanner(list_.get()); 57 field_.reset(Parse(&scanner)); 77 AutofillScanner scanner(list_.get()); 78 field_.reset(Parse(&scanner)); [all...] |
H A D | form_field.h | 60 static bool ParseField(AutofillScanner* scanner, 64 // Parses the stream of fields in |scanner| with regular expression |pattern| 69 static bool ParseFieldSpecifics(AutofillScanner* scanner, 76 static bool ParseEmptyLabel(AutofillScanner* scanner, 95 typedef FormField* ParseFunction(AutofillScanner* scanner); 98 // |scanner|. 101 static bool MatchAndAdvance(AutofillScanner* scanner,
|
H A D | email_field.h | 16 static FormField* Parse(AutofillScanner* scanner);
|
H A D | phone_field_unittest.cc | 26 static PhoneField* Parse(AutofillScanner* scanner) { argument 27 return static_cast<PhoneField*>(PhoneField::Parse(scanner)); 35 AutofillScanner scanner(list_.get()); 36 field_.reset(Parse(&scanner)); 42 AutofillScanner scanner(list_.get()); 43 field_.reset(Parse(&scanner)); 55 AutofillScanner scanner(list_.get()); 56 field_.reset(Parse(&scanner)); 76 AutofillScanner scanner(list_.get()); 77 field_.reset(Parse(&scanner)); [all...] |
H A D | name_field_unittest.cc | 26 static NameField* Parse(AutofillScanner* scanner) { argument 27 return static_cast<NameField*>(NameField::Parse(scanner)); 50 AutofillScanner scanner(list_.get()); 51 field_.reset(Parse(&scanner)); 81 AutofillScanner scanner(list_.get()); 82 field_.reset(Parse(&scanner)); 108 AutofillScanner scanner(list_.get()); 109 field_.reset(Parse(&scanner)); 132 AutofillScanner scanner(list_.get()); 133 field_.reset(Parse(&scanner)); [all...] |
H A D | phone_field.cc | 121 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, UTF8ToUTF1 [all...] |
/external/chromium_org/v8/src/ |
H A D | dateparser-inl.h | 42 DateStringTokenizer<Char> scanner(&in); 96 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); 102 token = scanner.Next()) { 106 if (scanner.SkipSymbol(':')) { 107 if (scanner.SkipSymbol(':')) { 115 if (scanner.Peek().IsSymbol('.')) scanner.Next(); 117 } else if (scanner.SkipSymbol('.') && time.IsExpecting(n)) { 119 if (!scanner.Peek().IsNumber()) return false; 120 int n = ReadMilliseconds(scanner 221 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) argument [all...] |
H A D | preparser.cc | 66 ASSERT_EQ(Token::LBRACE, scanner()->current_token()); 72 ReportUnexpectedToken(scanner()->current_token()); 74 ASSERT_EQ(Token::RBRACE, scanner()->peek()); 76 int end_pos = scanner()->location().end_pos; 107 Scanner::Location source_location = scanner()->location(); 265 Scanner::Location start_location = scanner()->peek_location(); 267 Scanner::Location end_location = scanner()->location(); 297 Scanner::Location location = scanner()->location(); 393 Scanner::Location location = scanner()->peek_location(); 401 Scanner::Location location = scanner() [all...] |
H A D | preparser.h | 33 #include "scanner.h" 41 ParserBase(Scanner* scanner, uintptr_t stack_limit) argument 42 : scanner_(scanner), 58 bool allow_modules() const { return scanner()->HarmonyModules(); } 59 bool allow_harmony_scoping() const { return scanner()->HarmonyScoping(); } 61 return scanner()->HarmonyNumericLiterals(); 70 void set_allow_modules(bool allow) { scanner()->SetHarmonyModules(allow); } 72 scanner()->SetHarmonyScoping(allow); 75 scanner()->SetHarmonyNumericLiterals(allow); 79 Scanner* scanner() cons function in class:v8::internal::ParserBase 176 Scanner* scanner() const { return parser_->scanner(); } function in class:v8::internal::ParserBase::ObjectLiteralChecker 228 PreParser(Scanner* scanner, ParserRecorder* log, uintptr_t stack_limit) argument [all...] |
/external/v8/src/ |
H A D | dateparser-inl.h | 42 DateStringTokenizer<Char> scanner(&in); 95 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); 101 token = scanner.Next()) { 105 if (scanner.SkipSymbol(':')) { 106 if (scanner.SkipSymbol(':')) { 114 if (scanner.Peek().IsSymbol('.')) scanner.Next(); 116 } else if (scanner.SkipSymbol('.') && time.IsExpecting(n)) { 118 if (!scanner.Peek().IsNumber()) return false; 119 int n = ReadMilliseconds(scanner 217 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) argument [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/ |
H A D | nasm-eval.h | 15 yasm_expr *nasm_evaluate (scanner sc, void *scprivate, struct tokenval *tv,
|
/external/opencv/cv/src/ |
H A D | cvcontours.cpp | 160 CvPoint pt; /* current scanner position */ 189 Initializes scanner structure. 201 CvContourScanner scanner = 0; local 226 scanner = (CvContourScanner)cvAlloc( sizeof( *scanner )); 227 if( !scanner ) 230 memset( scanner, 0, sizeof( *scanner )); 232 scanner->storage1 = scanner 500 cvSubstituteContour( CvContourScanner scanner, CvSeq * new_contour ) argument 1087 CvContourScanner scanner; local 1515 CvContourScanner scanner = 0; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/bootstrap/ |
H A D | scanner.c | 3 #line 1 "scanner.re" 6 #include "tools/re2c/scanner.h" 71 #line 79 "scanner.re" 87 #line 87 "scanner.c" 110 #line 117 "scanner.re" 112 #line 112 "scanner.c" 119 #line 112 "scanner.re" 123 #line 123 "scanner.c" 127 #line 115 "scanner.re" 130 #line 130 "scanner [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
H A D | scanner.c | 3 #line 1 "scanner.re" 6 #include "tools/re2c/scanner.h" 71 #line 79 "scanner.re" 87 #line 87 "scanner.c" 110 #line 117 "scanner.re" 112 #line 112 "scanner.c" 119 #line 112 "scanner.re" 123 #line 123 "scanner.c" 127 #line 115 "scanner.re" 130 #line 130 "scanner [all...] |
/external/chromium_org/chrome_frame/test/ |
H A D | html_util_unittests.cc | 83 HTMLScanner scanner(test_data.c_str()); 87 scanner.GetTagsByName(L"meta", &tag_list, L"body"); 104 HTMLScanner scanner(test_data.c_str()); 108 scanner.GetTagsByName(L"meta", &tag_list, L"body"); 125 HTMLScanner scanner(test_data.c_str()); 130 scanner.GetTagsByName(L"meta", &tag_list, L"body"); 138 HTMLScanner scanner(test_data.c_str()); 142 scanner.GetTagsByName(L"meta", &tag_list, L"body"); 166 HTMLScanner scanner(test_data.c_str()); 171 scanner [all...] |
/external/bison/build-aux/ |
H A D | cross-options.pl | 9 my $scanner = `grep -i '"%[a-z]' $ARGV[0]`; 10 $scanner =~ s/"\[-_\]"/-/g; 25 if (index ($scanner, "\"$dir\"") < 0)
|
/external/opencv/cvaux/src/ |
H A D | cvbgfg_common.cpp | 79 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/chromium_org/third_party/mozilla/ |
H A D | NSURL+Utils.m | 119 // NSScanner *scanner = [NSScanner scannerWithString:[NSString stringWithContentsOfFile:inFile]]; 123 NSScanner *scanner = [NSScanner scannerWithString:fileString]; 125 [scanner scanUpToString:@"[InternetShortcut]" intoString:nil]; 127 if ([scanner scanString:@"[InternetShortcut]" intoString:nil]) { 132 while ([scanner scanUpToCharactersFromSet:newlines intoString:&line]) {
|
/external/libpcap/ |
H A D | Android.mk | 18 scanner.c\
|