/external/v8/src/ |
D | dateparser-inl.h | 20 DateStringTokenizer<Char> scanner(&in); in Parse() 74 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); in Parse() 81 token = scanner.Next()) { in Parse() 86 if (scanner.SkipSymbol(':')) { in Parse() 87 if (scanner.SkipSymbol(':')) { in Parse() 95 if (scanner.Peek().IsSymbol('.')) scanner.Next(); in Parse() 97 } else if (scanner.SkipSymbol('.') && time.IsExpecting(n)) { in Parse() 99 if (!scanner.Peek().IsNumber()) return false; in Parse() 100 int n = ReadMilliseconds(scanner.Next()); in Parse() 109 DateToken peek = scanner.Peek(); in Parse() [all …]
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/ |
D | ParserImpl.java | 39 import org.yaml.snakeyaml.scanner.Scanner; 40 import org.yaml.snakeyaml.scanner.ScannerImpl; 123 protected final Scanner scanner; field in ParserImpl 134 public ParserImpl(Scanner scanner) { in ParserImpl() argument 135 this.scanner = scanner; in ParserImpl() 183 StreamStartToken token = (StreamStartToken) scanner.getToken(); in produce() 194 … if (!scanner.checkToken(Token.ID.Directive, Token.ID.DocumentStart, Token.ID.StreamEnd)) { in produce() 196 Token token = scanner.peekToken(); in produce() 214 while (scanner.checkToken(Token.ID.DocumentEnd)) { in produce() 215 scanner.getToken(); in produce() [all …]
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
D | CanonicalParser.java | 43 private CanonicalScanner scanner; field in CanonicalParser 48 scanner = new CanonicalScanner(data); in CanonicalParser() 53 scanner.getToken(Token.ID.StreamStart); in parseStream() 55 while (!scanner.checkToken(Token.ID.StreamEnd)) { in parseStream() 56 if (scanner.checkToken(Token.ID.Directive, Token.ID.DocumentStart)) { in parseStream() 59 throw new CanonicalException("document is expected, got " + scanner.tokens.get(0)); in parseStream() 62 scanner.getToken(Token.ID.StreamEnd); in parseStream() 68 if (scanner.checkToken(Token.ID.Directive)) { in parseDocument() 69 scanner.getToken(Token.ID.Directive); in parseDocument() 71 scanner.getToken(Token.ID.DocumentStart); in parseDocument() [all …]
|
/external/wayland-protocols/chromium.org/ |
D | README.chromium | 19 …wayland-scanner code < src/unstable/xdg-shell/xdg-shell-unstable-v5.xml > protocol/xdg-shell-v5-pr… 20 …wayland-scanner server-header < src/unstable/xdg-shell/xdg-shell-unstable-v5.xml > include/protoco… 21 …wayland-scanner client-header < src/unstable/xdg-shell/xdg-shell-unstable-v5.xml > include/protoco… 22 …wayland-scanner code < src/unstable/xdg-shell/xdg-shell-unstable-v6.xml > protocol/xdg-shell-v6-pr… 23 …wayland-scanner server-header < src/unstable/xdg-shell/xdg-shell-unstable-v6.xml > include/protoco… 24 …wayland-scanner client-header < src/unstable/xdg-shell/xdg-shell-unstable-v6.xml > include/protoco… 25 …wayland-scanner code < src/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml > protocol/linux-dma… 26 …wayland-scanner server-header < src/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml > include/p… 27 …wayland-scanner client-header < src/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml > include/p… 28 wayland-scanner code < src/stable/viewporter/viewporter.xml > protocol/viewporter-protocol.c [all …]
|
/external/libxkbcommon/xkbcommon/src/ |
D | scanner-utils.h | 46 struct scanner { struct 60 #define scanner_log(scanner, level, fmt, ...) \ argument 61 xkb_log((scanner)->ctx, (level), 0, \ 63 (scanner)->file_name, \ 64 (scanner)->token_line, (scanner)->token_column, ##__VA_ARGS__) 66 #define scanner_err(scanner, fmt, ...) \ argument 67 scanner_log(scanner, XKB_LOG_LEVEL_ERROR, fmt, ##__VA_ARGS__) 69 #define scanner_warn(scanner, fmt, ...) \ argument 70 scanner_log(scanner, XKB_LOG_LEVEL_WARNING, fmt, ##__VA_ARGS__) 73 scanner_init(struct scanner *s, struct xkb_context *ctx, in scanner_init() [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test_to_fuzzer.go | 38 scanner *bufio.Scanner member 45 return &testScanner{scanner: bufio.NewScanner(r)} 49 if !s.scanner.Scan() { 89 if len(s.scanner.Text()) != 0 && s.scanner.Text()[0] != '#' { 95 s.test.Type, ok = s.addAttribute(s.scanner.Text()) 102 if len(s.scanner.Text()) == 0 { 106 if s.scanner.Text()[0] == '#' { 110 if _, ok := s.addAttribute(s.scanner.Text()); !ok { 114 return s.scanner.Err() == nil 125 return s.scanner.Err() [all …]
|
D | check_bn_tests.go | 34 scanner *bufio.Scanner member 41 return &testScanner{scanner: bufio.NewScanner(r)} 45 if !s.scanner.Scan() { 85 if len(s.scanner.Text()) != 0 && s.scanner.Text()[0] != '#' { 91 s.test.Type, ok = s.addAttribute(s.scanner.Text()) 98 if len(s.scanner.Text()) == 0 { 102 if s.scanner.Text()[0] == '#' { 106 if _, ok := s.addAttribute(s.scanner.Text()); !ok { 110 return s.scanner.Err() == nil 121 return s.scanner.Err() [all …]
|
/external/v8/src/parsing/ |
D | preparser.cc | 43 PreParserIdentifier GetSymbolHelper(Scanner* scanner) { in GetSymbolHelper() argument 44 switch (scanner->current_token()) { in GetSymbolHelper() 60 if (scanner->UnescapedLiteralMatches("eval", 4)) in GetSymbolHelper() 62 if (scanner->UnescapedLiteralMatches("arguments", 9)) in GetSymbolHelper() 64 if (scanner->UnescapedLiteralMatches("undefined", 9)) in GetSymbolHelper() 66 if (scanner->LiteralMatches("prototype", 9)) in GetSymbolHelper() 68 if (scanner->LiteralMatches("constructor", 11)) in GetSymbolHelper() 70 if (scanner->LiteralMatches("name", 4)) in GetSymbolHelper() 79 PreParserIdentifier symbol = GetSymbolHelper(scanner()); in GetSymbol() 81 const AstRawString* result = scanner()->CurrentSymbol(ast_value_factory()); in GetSymbol() [all …]
|
D | parser-base.h | 200 ParserBase(Zone* zone, Scanner* scanner, uintptr_t stack_limit, 216 scanner_(scanner), in scope_() 706 Scanner* scanner() const { return scanner_; } in scanner() function 715 return scanner()->peek(); in INLINE() 720 return scanner()->PeekAhead(); in INLINE() 733 return scanner()->Next(); in INLINE() 768 if (scanner()->HasAnyLineTerminatorBeforeNext() || in ExpectSemicolon() 802 scanner()->is_next_contextual_keyword(keyword); in PeekContextualKeyword() 810 if (!scanner()->is_literal_contextual_keyword(keyword)) { in ExpectContextualKeyword() 811 ReportUnexpectedToken(scanner()->current_token()); in ExpectContextualKeyword() [all …]
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | proto_text_util.h | 121 inline void ProtoSpaceAndComments(Scanner* scanner) { in ProtoSpaceAndComments() argument 123 scanner->AnySpace(); in ProtoSpaceAndComments() 124 if (scanner->Peek() != '#') return; in ProtoSpaceAndComments() 126 while (scanner->Peek('\n') != '\n') scanner->One(Scanner::ALL); in ProtoSpaceAndComments() 133 bool ProtoParseNumericFromScanner(Scanner* scanner, T* value) { in ProtoParseNumericFromScanner() argument 135 scanner->RestartCapture(); in ProtoParseNumericFromScanner() 136 if (!scanner->Many(Scanner::LETTER_DIGIT_DOT_PLUS_MINUS) in ProtoParseNumericFromScanner() 152 ProtoSpaceAndComments(scanner); in ProtoParseNumericFromScanner() 158 bool ProtoParseBoolFromScanner(Scanner* scanner, bool* value); 162 bool ProtoParseStringLiteralFromScanner(Scanner* scanner, string* value);
|
D | proto_text_util.cc | 21 bool ProtoParseBoolFromScanner(Scanner* scanner, bool* value) { in ProtoParseBoolFromScanner() argument 23 if (!scanner->RestartCapture() in ProtoParseBoolFromScanner() 28 ProtoSpaceAndComments(scanner); in ProtoParseBoolFromScanner() 40 bool ProtoParseStringLiteralFromScanner(Scanner* scanner, string* value) { in ProtoParseStringLiteralFromScanner() argument 41 const char quote = scanner->Peek(); in ProtoParseStringLiteralFromScanner() 45 if (!scanner->One(Scanner::ALL) in ProtoParseStringLiteralFromScanner() 53 ProtoSpaceAndComments(scanner); in ProtoParseStringLiteralFromScanner()
|
/external/guice/core/src/com/google/inject/spi/ |
D | ModuleAnnotatedMethodScannerBinding.java | 32 private final ModuleAnnotatedMethodScanner scanner; field in ModuleAnnotatedMethodScannerBinding 34 public ModuleAnnotatedMethodScannerBinding(Object source, ModuleAnnotatedMethodScanner scanner) { in ModuleAnnotatedMethodScannerBinding() argument 36 this.scanner = checkNotNull(scanner, "scanner"); in ModuleAnnotatedMethodScannerBinding() 44 return scanner; in getScanner() 52 binder.withSource(getSource()).scanModulesForAnnotatedMethods(scanner); in applyTo() 56 return scanner + " which scans for " + scanner.annotationClasses() in toString()
|
/external/skia/src/ports/ |
D | SkFontMgr_custom_directory.cpp | 18 void loadSystemFonts(const SkTypeface_FreeType::Scanner& scanner, in loadSystemFonts() argument 21 load_directory_fonts(scanner, fBaseDirectory, ".ttf", families); in loadSystemFonts() 22 load_directory_fonts(scanner, fBaseDirectory, ".ttc", families); in loadSystemFonts() 23 load_directory_fonts(scanner, fBaseDirectory, ".otf", families); in loadSystemFonts() 24 load_directory_fonts(scanner, fBaseDirectory, ".pfb", families); in loadSystemFonts() 45 static void load_directory_fonts(const SkTypeface_FreeType::Scanner& scanner, in load_directory_fonts() argument 61 if (!scanner.recognizedFont(stream.get(), &numFaces)) { in load_directory_fonts() 70 if (!scanner.scanFont(stream.get(), faceIndex, in load_directory_fonts() 95 load_directory_fonts(scanner, dirname, suffix, families); in load_directory_fonts()
|
/external/skqp/src/ports/ |
D | SkFontMgr_custom_directory.cpp | 18 void loadSystemFonts(const SkTypeface_FreeType::Scanner& scanner, in loadSystemFonts() argument 21 load_directory_fonts(scanner, fBaseDirectory, ".ttf", families); in loadSystemFonts() 22 load_directory_fonts(scanner, fBaseDirectory, ".ttc", families); in loadSystemFonts() 23 load_directory_fonts(scanner, fBaseDirectory, ".otf", families); in loadSystemFonts() 24 load_directory_fonts(scanner, fBaseDirectory, ".pfb", families); in loadSystemFonts() 45 static void load_directory_fonts(const SkTypeface_FreeType::Scanner& scanner, in load_directory_fonts() argument 61 if (!scanner.recognizedFont(stream.get(), &numFaces)) { in load_directory_fonts() 70 if (!scanner.scanFont(stream.get(), faceIndex, in load_directory_fonts() 95 load_directory_fonts(scanner, dirname, suffix, families); in load_directory_fonts()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | CpuMonitor.java | 96 Scanner scanner = new Scanner(rdr).useDelimiter("[-\n]"); in init() local 97 scanner.nextInt(); // Skip leading number 0. in init() 98 cpusPresent = 1 + scanner.nextInt(); in init() 99 scanner.close(); in init() 276 Scanner scanner = new Scanner(rdr); in readIdleAndRunTime() local 277 scanner.next(); in readIdleAndRunTime() 278 long user = scanner.nextLong(); in readIdleAndRunTime() 279 long nice = scanner.nextLong(); in readIdleAndRunTime() 280 long sys = scanner.nextLong(); in readIdleAndRunTime() 282 idleTime = scanner.nextLong(); in readIdleAndRunTime() [all …]
|
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | parser-priv.h | 31 struct scanner; 36 _xkbcommon_lex(YYSTYPE *yylval, struct scanner *scanner); 39 parse(struct xkb_context *ctx, struct scanner *scanner, const char *map);
|
/external/guice/core/src/com/google/inject/internal/ |
D | ProviderMethodsModule.java | 72 private final ModuleAnnotatedMethodScanner scanner; field in ProviderMethodsModule 75 ModuleAnnotatedMethodScanner scanner) { in ProviderMethodsModule() argument 79 this.scanner = scanner; in ProviderMethodsModule() 92 public static Module forModule(Object module, ModuleAnnotatedMethodScanner scanner) { in forModule() argument 93 return forObject(module, false, scanner); in forModule() 108 ModuleAnnotatedMethodScanner scanner) { in forObject() argument 114 return new ProviderMethodsModule(object, skipFastClassGeneration, scanner); in forObject() 186 for (Class<? extends Annotation> annotationClass : scanner.annotationClasses()) { in isProvider() 192 scanner, method); in isProvider() 266 key = scanner.prepareMethod(binder, annotation, key, point); in createProviderMethod() [all …]
|
/external/libnl/lib/route/ |
D | pktloc.c | 77 extern int pktloc_parse(void *scanner); 91 yyscan_t scanner = NULL; in read_pktlocs() local 124 if ((err = pktloc_lex_init(&scanner)) < 0) { in read_pktlocs() 129 buf = pktloc__create_buffer(fd, YY_BUF_SIZE, scanner); in read_pktlocs() 130 pktloc__switch_to_buffer(buf, scanner); in read_pktlocs() 132 if ((err = pktloc_parse(scanner)) != 0) { in read_pktlocs() 133 pktloc__delete_buffer(buf, scanner); in read_pktlocs() 141 pktloc_lex_destroy(scanner); in read_pktlocs()
|
/external/python/cpython2/Mac/Modules/qd/ |
D | qdscan.py | 13 scanner = MyScanner(input, output, defsoutput) 14 scanner.scan() 15 scanner.close() 23 scanner = MyScanner(input, output, defsoutput) 24 scanner.scan() 25 scanner.close()
|
/external/proguard/src/proguard/ant/ |
D | ConfigurationElement.java | 72 DirectoryScanner scanner = fileSet.getDirectoryScanner(getProject()); in appendTo() local 73 baseDir = scanner.getBasedir(); in appendTo() 74 fileNames = scanner.getIncludedFiles(); in appendTo() 84 DirectoryScanner scanner = getDirectoryScanner(getProject()); in appendTo() local 85 baseDir = scanner.getBasedir(); in appendTo() 86 fileNames = scanner.getIncludedFiles(); in appendTo()
|
/external/tensorflow/tensorflow/core/framework/ |
D | shape_inference_testutil.cc | 238 strings::Scanner scanner(spec); in MakeShapeFromString() local 239 scanner.OneLiteral("["); in MakeShapeFromString() 240 while (scanner.Peek() != ']') { in MakeShapeFromString() 241 if (scanner.Peek() == '?') { in MakeShapeFromString() 242 scanner.OneLiteral("?"); in MakeShapeFromString() 245 scanner.RestartCapture().Many(strings::Scanner::DIGIT); in MakeShapeFromString() 249 if (!scanner.GetResult(nullptr, &match) || in MakeShapeFromString() 257 if (scanner.Peek() == ',') { in MakeShapeFromString() 258 scanner.OneLiteral(","); in MakeShapeFromString() 259 } else if (scanner.Peek() != ']') { in MakeShapeFromString() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/scanner/ |
D | ScannerImplTest.java | 16 package org.yaml.snakeyaml.scanner; 39 Scanner scanner = new ScannerImpl(reader); in testGetToken() local 50 while (!etalonTokens.isEmpty() && scanner.checkToken(etalonTokens.get(0).getTokenId())) { in testGetToken() 51 assertEquals(etalonTokens.removeFirst(), scanner.getToken()); in testGetToken() 53 assertFalse("Must contain no more tokens: " + scanner.getToken(), in testGetToken() 54 scanner.checkToken(new Token.ID[0])); in testGetToken()
|
/external/boringssl/src/util/ |
D | make_errors.go | 235 scanner := bufio.NewScanner(headerFile) 236 for scanner.Scan() { 237 line := scanner.Text() 258 if err := scanner.Err(); err != nil { 353 scanner := bufio.NewScanner(file) 354 for scanner.Scan() { 355 line := scanner.Text() 385 return scanner.Err() 391 scanner := bufio.NewScanner(file) 392 for scanner.Scan() { [all …]
|
/external/wayland/ |
D | wayland-scanner.m4 | 4 PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner]) 6 wayland_scanner=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner` 9 wayland_scanner_rules=`$PKG_CONFIG --variable=pkgdatadir wayland-scanner`/wayland-scanner.mk
|
/external/wayland-protocols/freedesktop.org/ |
D | configure.ac | 18 AC_ARG_VAR([wayland_scanner], [The wayland-scanner executable]) 19 AC_PATH_PROG([wayland_scanner], [wayland-scanner]) 22 PKG_CHECK_MODULES(WAYLAND_SCANNER, [wayland-scanner]) 23 wayland_scanner=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner` 25 …AC_MSG_WARN([You are cross compiling without wayland-scanner in your path. make check will fail.])
|