Searched refs:scanner (Results 1 - 25 of 142) sorted by relevance

123456

/external/v8/src/
H A Ddateparser-inl.h20 DateStringTokenizer<Char> scanner(&in);
74 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz);
81 token = scanner.Next()) {
86 if (scanner.SkipSymbol(':')) {
87 if (scanner.SkipSymbol(':')) {
95 if (scanner.Peek().IsSymbol('.')) scanner.Next();
97 } else if (scanner.SkipSymbol('.') && time.IsExpecting(n)) {
99 if (!scanner.Peek().IsNumber()) return false;
100 int n = ReadMilliseconds(scanner
244 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) argument
[all...]
/external/guice/core/src/com/google/inject/spi/
H A DModuleAnnotatedMethodScannerBinding.java32 private final ModuleAnnotatedMethodScanner scanner; field in class:ModuleAnnotatedMethodScannerBinding
34 public ModuleAnnotatedMethodScannerBinding(Object source, ModuleAnnotatedMethodScanner scanner) { argument
36 this.scanner = checkNotNull(scanner, "scanner");
44 return scanner;
52 binder.withSource(getSource()).scanModulesForAnnotatedMethods(scanner);
56 return scanner + " which scans for " + scanner.annotationClasses()
/external/snakeyaml/src/test/java/org/pyyaml/
H A DCanonicalParser.java43 private CanonicalScanner scanner; field in class:CanonicalParser
48 scanner = new CanonicalScanner(data);
53 scanner.getToken(Token.ID.StreamStart);
55 while (!scanner.checkToken(Token.ID.StreamEnd)) {
56 if (scanner.checkToken(Token.ID.Directive, Token.ID.DocumentStart)) {
59 throw new CanonicalException("document is expected, got " + scanner.tokens.get(0));
62 scanner.getToken(Token.ID.StreamEnd);
68 if (scanner.checkToken(Token.ID.Directive)) {
69 scanner.getToken(Token.ID.Directive);
71 scanner
[all...]
H A DPyCanonicalTest.java51 CanonicalScanner scanner = new CanonicalScanner(buffer.toString());
53 while (scanner.peekToken() != null) {
54 result.add(scanner.getToken());
H A DPyTokensTest.java30 import org.yaml.snakeyaml.scanner.Scanner;
31 import org.yaml.snakeyaml.scanner.ScannerImpl;
97 Scanner scanner = new ScannerImpl(reader);
99 while (scanner.checkToken(new Token.ID[0])) {
100 Token token = scanner.getToken();
128 Scanner scanner = new ScannerImpl(reader);
130 while (scanner.checkToken(new Token.ID[0])) {
131 Token token = scanner.getToken();
/external/opencv/cv/src/
H A Dcvcontours.cpp160 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/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/
H A DParserImpl.java39 import org.yaml.snakeyaml.scanner.Scanner;
40 import org.yaml.snakeyaml.scanner.ScannerImpl;
123 protected final Scanner scanner; field in class:ParserImpl
134 public ParserImpl(Scanner scanner) { argument
135 this.scanner = scanner;
183 StreamStartToken token = (StreamStartToken) scanner.getToken();
194 if (!scanner.checkToken(Token.ID.Directive, Token.ID.DocumentStart, Token.ID.StreamEnd)) {
196 Token token = scanner.peekToken();
214 while (scanner
[all...]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/
H A DScanner.java16 package org.yaml.snakeyaml.scanner;
23 * The parser and the scanner form together the 'Parse' step in the loading
H A DScannerException.java16 package org.yaml.snakeyaml.scanner;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/scanner/
H A DSimpleKeyTest.java16 package org.yaml.snakeyaml.scanner;
H A DScannerImplTest.java16 package org.yaml.snakeyaml.scanner;
39 Scanner scanner = new ScannerImpl(reader);
50 while (!etalonTokens.isEmpty() && scanner.checkToken(etalonTokens.get(0).getTokenId())) {
51 assertEquals(etalonTokens.removeFirst(), scanner.getToken());
53 assertFalse("Must contain no more tokens: " + scanner.getToken(),
54 scanner.checkToken(new Token.ID[0]));
H A DConstantTest.java16 package org.yaml.snakeyaml.scanner;
/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);
H A Dpktloc_syntax.y14 %parse-param {void *scanner}
15 %lex-param {void *scanner}
27 static void yyerror(YYLTYPE *locp, void *scanner, const char *msg)
/external/proguard/src/proguard/ant/
H A DConfigurationElement.java72 DirectoryScanner scanner = fileSet.getDirectoryScanner(getProject());
73 baseDir = scanner.getBasedir();
74 fileNames = scanner.getIncludedFiles();
84 DirectoryScanner scanner = getDirectoryScanner(getProject());
85 baseDir = scanner.getBasedir();
86 fileNames = scanner.getIncludedFiles();
H A DClassPathElement.java84 DirectoryScanner scanner = fileSet.getDirectoryScanner(getProject());
85 baseDir = scanner.getBasedir();
86 fileNames = scanner.getIncludedFiles();
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
H A DCpuMonitor.java96 Scanner scanner = new Scanner(rdr).useDelimiter("[-\n]");
97 scanner.nextInt(); // Skip leading number 0.
98 cpusPresent = 1 + scanner.nextInt();
99 scanner.close();
276 Scanner scanner = new Scanner(rdr);
277 scanner.next();
278 long user = scanner.nextLong();
279 long nice = scanner.nextLong();
280 long sys = scanner.nextLong();
282 idleTime = scanner
[all...]
/external/bison/build-aux/
H A Dcross-options.pl9 my $scanner = `grep -i '"%[a-z]' $ARGV[0]`;
10 $scanner =~ s/"\[-_\]"/-/g;
25 if (index ($scanner, "\"$dir\"") < 0)
/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/guice/core/src/com/google/inject/internal/
H A DProviderMethodsModule.java72 private final ModuleAnnotatedMethodScanner scanner; field in class:ProviderMethodsModule
75 ModuleAnnotatedMethodScanner scanner) {
79 this.scanner = scanner;
90 * Returns a module which creates bindings methods in the module that match the scanner.
92 public static Module forModule(Object module, ModuleAnnotatedMethodScanner scanner) { argument
93 return forObject(module, false, scanner);
108 ModuleAnnotatedMethodScanner scanner) {
114 return new ProviderMethodsModule(object, skipFastClassGeneration, scanner);
186 for (Class<? extends Annotation> annotationClass : scanner
74 ProviderMethodsModule(Object delegate, boolean skipFastClassGeneration, ModuleAnnotatedMethodScanner scanner) argument
107 forObject(Object object, boolean skipFastClassGeneration, ModuleAnnotatedMethodScanner scanner) argument
[all...]
/external/v8/src/parsing/
H A Dpreparser.cc39 PreParserIdentifier PreParserTraits::GetSymbol(Scanner* scanner) { argument
40 if (scanner->current_token() == Token::ENUM) {
42 } else if (scanner->current_token() == Token::AWAIT) {
44 } else if (scanner->current_token() ==
47 } else if (scanner->current_token() == Token::LET) {
49 } else if (scanner->current_token() == Token::STATIC) {
51 } else if (scanner->current_token() == Token::YIELD) {
53 } else if (scanner->current_token() == Token::ASYNC) {
56 if (scanner->UnescapedLiteralMatches("eval", 4)) {
59 if (scanner
75 GetNumberAsSymbol(Scanner* scanner) argument
80 ExpressionFromString( int pos, Scanner* scanner, PreParserFactory* factory) argument
[all...]
H A Dparser-base.h14 #include "src/parsing/scanner.h"
177 ParserBase(Zone* zone, Scanner* scanner, uintptr_t stack_limit, argument
191 scanner_(scanner),
598 Scanner* scanner() const { return scanner_; } function in class:v8::internal::ParseFunctionFlags::MethodKind::ParserBase
609 return scanner()->peek();
614 return scanner()->PeekAhead();
627 return scanner()->Next();
662 if (scanner()->HasAnyLineTerminatorBeforeNext() ||
688 scanner()->is_next_contextual_keyword(keyword);
697 if (!scanner()
1126 Scanner* scanner() const { return parser_->scanner(); } function in class:v8::internal::ParseFunctionFlags::MethodKind::ParserBase::ObjectLiteralCheckerBase
[all...]
/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/autotest/client/site_tests/hardware_UsbMount/
H A Dhardware_UsbMount.py29 self.scanner.unmount_all()
64 self.scanner.umount_volume(storage_dict=storage)
72 self.scanner.mount_volume(storage_dict=storage)
90 self.scanner.mount_volume(storage_dict=storage)
/external/skia/src/ports/
H A DSkFontMgr_custom.cpp345 void loadSystemFonts(const SkTypeface_FreeType::Scanner& scanner,
348 load_directory_fonts(scanner, fBaseDirectory, ".ttf", families);
349 load_directory_fonts(scanner, fBaseDirectory, ".ttc", families);
350 load_directory_fonts(scanner, fBaseDirectory, ".otf", families);
351 load_directory_fonts(scanner, fBaseDirectory, ".pfb", families);
372 static void load_directory_fonts(const SkTypeface_FreeType::Scanner& scanner,
388 if (!scanner.recognizedFont(stream, &numFaces)) {
397 if (!scanner.scanFont(stream, faceIndex, &realname, &style, &isFixedPitch, nullptr)) {
422 load_directory_fonts(scanner, dirname, suffix, families);
442 void loadSystemFonts(const SkTypeface_FreeType::Scanner& scanner,
[all...]

Completed in 558 milliseconds

123456