/external/v8/src/date/ |
D | dateparser-inl.h | 18 DateStringTokenizer<Char> scanner(&in); in Parse() 72 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); in Parse() 78 token = scanner.Next()) { in Parse() 83 if (scanner.SkipSymbol(':')) { in Parse() 84 if (scanner.SkipSymbol(':')) { in Parse() 92 if (scanner.Peek().IsSymbol('.')) scanner.Next(); in Parse() 94 } else if (scanner.SkipSymbol('.') && time.IsExpecting(n)) { in Parse() 96 if (!scanner.Peek().IsNumber()) return false; in Parse() 97 int n = ReadMilliseconds(scanner.Next()); in Parse() 106 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/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/libiio/src/iiod/ |
D | parser.y | 26 void yyerror(yyscan_t scanner, const char *msg); 42 int yylex_init_extra(void *d, yyscan_t *scanner); 45 void * yyget_extra(yyscan_t scanner); 46 ssize_t yy_input(yyscan_t scanner, char *buf, size_t max_size); 60 %lex-param { yyscan_t scanner } 61 %parse-param { yyscan_t scanner } 108 struct parser_pdata *pdata = yyget_extra(scanner); 113 struct parser_pdata *pdata = yyget_extra(scanner); 146 struct parser_pdata *pdata = yyget_extra(scanner); 154 struct parser_pdata *pdata = yyget_extra(scanner); [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/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/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() 45 return scanner; in getScanner() 55 binder.withSource(getSource()).scanModulesForAnnotatedMethods(scanner); in applyTo() 60 return scanner in toString() 62 + scanner.annotationClasses() in toString()
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | proto_text_util.h | 122 inline void ProtoSpaceAndComments(Scanner* scanner) { in ProtoSpaceAndComments() argument 124 scanner->AnySpace(); in ProtoSpaceAndComments() 125 if (scanner->Peek() != '#') return; in ProtoSpaceAndComments() 127 while (scanner->Peek('\n') != '\n') scanner->One(Scanner::ALL); in ProtoSpaceAndComments() 134 bool ProtoParseNumericFromScanner(Scanner* scanner, T* value) { in ProtoParseNumericFromScanner() argument 136 scanner->RestartCapture(); in ProtoParseNumericFromScanner() 137 if (!scanner->Many(Scanner::LETTER_DIGIT_DOT_PLUS_MINUS) in ProtoParseNumericFromScanner() 153 ProtoSpaceAndComments(scanner); in ProtoParseNumericFromScanner() 159 bool ProtoParseBoolFromScanner(Scanner* scanner, bool* value); 163 bool ProtoParseStringLiteralFromScanner(Scanner* scanner, string* value);
|
D | proto_text_util.cc | 23 bool ProtoParseBoolFromScanner(Scanner* scanner, bool* value) { in ProtoParseBoolFromScanner() argument 25 if (!scanner->RestartCapture() in ProtoParseBoolFromScanner() 30 ProtoSpaceAndComments(scanner); in ProtoParseBoolFromScanner() 42 bool ProtoParseStringLiteralFromScanner(Scanner* scanner, string* value) { in ProtoParseStringLiteralFromScanner() argument 43 const char quote = scanner->Peek(); in ProtoParseStringLiteralFromScanner() 47 if (!scanner->One(Scanner::ALL) in ProtoParseStringLiteralFromScanner() 55 ProtoSpaceAndComments(scanner); in ProtoParseStringLiteralFromScanner()
|
/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/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()
|
D | SkFontMgr_custom_embedded.cpp | 15 static void load_font_from_data(const SkTypeface_FreeType::Scanner& scanner, 23 void loadSystemFonts(const SkTypeface_FreeType::Scanner& scanner, in loadSystemFonts() argument 28 load_font_from_data(scanner, fontEntry.data, fontEntry.size, i, families); in loadSystemFonts() 45 void loadSystemFonts(const SkTypeface_FreeType::Scanner& scanner, in loadSystemFonts() argument 49 load_font_from_data(scanner, fDatas[i], fSizes[i], i, families); in loadSystemFonts() 75 static void load_font_from_data(const SkTypeface_FreeType::Scanner& scanner, in load_font_from_data() argument 82 if (!scanner.recognizedFont(stream.get(), &numFaces)) { in load_font_from_data() 91 if (!scanner.scanFont(stream.get(), faceIndex, in load_font_from_data()
|
/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/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/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/v8/src/parsing/ |
D | preparser.cc | 25 PreParserIdentifier GetIdentifierHelper(Scanner* scanner, in GetIdentifierHelper() argument 32 switch (scanner->current_token()) { in GetIdentifierHelper() 48 if (scanner->literal_contains_escapes()) { in GetIdentifierHelper() 63 const AstRawString* result = scanner()->CurrentSymbol(ast_value_factory()); in GetIdentifier() 65 GetIdentifierHelper(scanner(), result, ast_value_factory()); in GetIdentifier() 92 CheckStrictOctalLiteral(start_position, scanner()->location().end_pos); in PreParseProgram() 150 int formals_end_position = scanner()->location().end_pos; in PreParseFunction() 187 inner_scope->set_end_position(scanner()->peek_location().end_pos); in PreParseFunction() 206 DCHECK_EQ(Token::RBRACE, scanner()->peek()); in PreParseFunction() 241 int end_pos = scanner()->location().end_pos; in PreParseFunction() [all …]
|
/external/guice/core/src/com/google/inject/internal/ |
D | ProviderMethodsModule.java | 53 private final ModuleAnnotatedMethodScanner scanner; field in ProviderMethodsModule 56 Object delegate, boolean skipFastClassGeneration, ModuleAnnotatedMethodScanner scanner) { in ProviderMethodsModule() argument 60 this.scanner = scanner; in ProviderMethodsModule() 69 public static Module forModule(Object module, ModuleAnnotatedMethodScanner scanner) { in forModule() argument 70 return forObject(module, false, scanner); in forModule() 85 Object object, boolean skipFastClassGeneration, ModuleAnnotatedMethodScanner scanner) { in forObject() argument 91 return new ProviderMethodsModule(object, skipFastClassGeneration, scanner); in forObject() 186 for (Class<? extends Annotation> annotationClass : scanner.annotationClasses()) { in getAnnotation() 193 scanner, method); in getAnnotation() 263 key = scanner.prepareMethod(binder, annotation, key, point); in createProviderMethod() [all …]
|
/external/angle/third_party/glslang/src/hlsl/ |
D | hlslTokenStream.h | 45 explicit HlslTokenStream(HlslScanContext& scanner) in HlslTokenStream() argument 46 : scanner(scanner), preTokenStackSize(0), tokenBufferPos(0) { } in HlslTokenStream() 55 …glslang::TBuiltInVariable mapSemantic(const char* upperCase) { return scanner.mapSemantic(upperCas… in mapSemantic() 67 HlslScanContext& scanner; // lexical scanner, to get next token from source file variable
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslTokenStream.h | 45 explicit HlslTokenStream(HlslScanContext& scanner) in HlslTokenStream() argument 46 : scanner(scanner), preTokenStackSize(0), tokenBufferPos(0) { } in HlslTokenStream() 55 …glslang::TBuiltInVariable mapSemantic(const char* upperCase) { return scanner.mapSemantic(upperCas… in mapSemantic() 67 HlslScanContext& scanner; // lexical scanner, to get next token from source file variable
|
/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()
|