/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/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/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 29 load_font_from_data(scanner, std::move(stream), i, families); in loadSystemFonts() 46 void loadSystemFonts(const SkTypeface_FreeType::Scanner& scanner, in loadSystemFonts() argument 51 load_font_from_data(scanner, std::move(stream), i, families); in loadSystemFonts() 76 static void load_font_from_data(const SkTypeface_FreeType::Scanner& scanner, in load_font_from_data() argument 81 if (!scanner.recognizedFont(stream.get(), &numFaces)) { in load_font_from_data() 90 if (!scanner.scanFont(stream.get(), faceIndex, in load_font_from_data()
|
/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/infra/bots/task_drivers/fm_driver/ |
D | fm_driver.go | 84 scanner := bufio.NewScanner(stdout) 85 for scanner.Scan() { 86 lines = append(lines, scanner.Text()) 88 if err := scanner.Err(); err != nil { 172 scanner := bufio.NewScanner(resp.Body) 173 for scanner.Scan() { 174 known[scanner.Text()] = true 176 if err := scanner.Err(); err != nil { 237 scanner := bufio.NewScanner(stdout) 238 for scanner.Scan() { [all …]
|
/external/libxkbcommon/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 | 78 extern int pktloc_parse(void *scanner); 92 yyscan_t scanner = NULL; in read_pktlocs() local 127 if ((err = pktloc_lex_init(&scanner)) < 0) { in read_pktlocs() 132 buf = pktloc__create_buffer(fd, YY_BUF_SIZE, scanner); in read_pktlocs() 133 pktloc__switch_to_buffer(buf, scanner); in read_pktlocs() 135 if ((err = pktloc_parse(scanner)) != 0) { in read_pktlocs() 136 pktloc__delete_buffer(buf, scanner); in read_pktlocs() 144 pktloc_lex_destroy(scanner); in read_pktlocs()
|
/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/deqp-deps/glslang/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/angle/third_party/vulkan-deps/glslang/src/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/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/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/wayland/ |
D | wayland-scanner.m4 | 4 PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner >= 1.14.0]) 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.])
|