/third_party/glib/glib/ |
D | gscanner.c | 350 GScannerKey* g_scanner_lookup_internal (GScanner *scanner, 356 static void g_scanner_get_token_ll (GScanner *scanner, 361 static void g_scanner_get_token_i (GScanner *scanner, 367 static guchar g_scanner_peek_next_char (GScanner *scanner); 368 static guchar g_scanner_get_char (GScanner *scanner, 371 static void g_scanner_msg_handler (GScanner *scanner, 412 GScanner *scanner; in g_scanner_new() local 417 scanner = g_new0 (GScanner, 1); in g_scanner_new() 419 scanner->user_data = NULL; in g_scanner_new() 420 scanner->max_parse_errors = 1; in g_scanner_new() [all …]
|
D | gscanner.h | 41 typedef void (*GScannerMsgFunc) (GScanner *scanner, 216 void g_scanner_destroy (GScanner *scanner); 218 void g_scanner_input_file (GScanner *scanner, 221 void g_scanner_sync_file_offset (GScanner *scanner); 223 void g_scanner_input_text (GScanner *scanner, 227 GTokenType g_scanner_get_next_token (GScanner *scanner); 229 GTokenType g_scanner_peek_next_token (GScanner *scanner); 231 GTokenType g_scanner_cur_token (GScanner *scanner); 233 GTokenValue g_scanner_cur_value (GScanner *scanner); 235 guint g_scanner_cur_line (GScanner *scanner); [all …]
|
/third_party/boost/boost/wave/cpplexer/re2clex/ |
D | cpp_re2c_lexer.hpp | 80 scanner.line = pos.get_line(); in set_position() 82 scanner.file_name = filename.c_str(); in set_position() 97 Scanner<IteratorT> scanner; member in boost::wave::cpplexer::re2clex::lexer 120 : scanner(first, last), in lexer() 127 scanner.line = pos.get_line(); in lexer() 128 scanner.column = scanner.curr_column = pos.get_column(); in lexer() 129 scanner.error_proc = report_error; in lexer() 130 scanner.file_name = filename.c_str(); in lexer() 133 scanner.enable_ms_extensions = true; in lexer() 135 scanner.enable_ms_extensions = false; in lexer() [all …]
|
/third_party/boost/tools/quickbook/src/ |
D | grammar_impl.hpp | 101 cl::rule<scanner>* r, in element_info() 109 cl::rule<scanner>* rule; 120 cl::rule<scanner> block_start; 121 cl::rule<scanner> phrase_start; 122 cl::rule<scanner> nested_phrase; 123 cl::rule<scanner> inline_phrase; 124 cl::rule<scanner> paragraph_phrase; 125 cl::rule<scanner> extended_phrase; 126 cl::rule<scanner> table_title_phrase; 127 cl::rule<scanner> inside_preformatted; [all …]
|
D | grammar.hpp | 25 typedef cl::scanner< 31 scanner; typedef 35 template <> struct Scanner_must_be_the_quickbook_scanner_typedef<scanner> 41 grammar(cl::rule<scanner> const& start_rule_, char const* /* name */) in grammar() 51 cl::rule<scanner> const& start() const { return start_rule; } in start() 52 cl::rule<scanner> const& start_rule; 55 cl::rule<scanner> const& start_rule;
|
/third_party/glib/glib/tests/ |
D | scannerapi.c | 26 GScanner *scanner; member 32 fix->scanner = g_scanner_new (NULL); in scanner_fixture_setup() 33 g_assert (fix->scanner != NULL); in scanner_fixture_setup() 39 g_assert (fix->scanner != NULL); in scanner_fixture_teardown() 40 g_scanner_destroy (fix->scanner); in scanner_fixture_teardown() 44 scanner_msg_func (GScanner *scanner, in scanner_msg_func() argument 55 fix->scanner->msg_handler = scanner_msg_func; in test_scanner_warn() 56 g_scanner_warn (fix->scanner, "test"); in test_scanner_warn() 65 int pe = fix->scanner->parse_errors; in test_scanner_error() 66 g_scanner_error (fix->scanner, "scanner-error-message-test"); in test_scanner_error() [all …]
|
/third_party/typescript/src/services/formatting/ |
D | formattingScanner.ts | 28 …languageVariant: LanguageVariant, startPos: number, endPos: number, cb: (scanner: FormattingScanne… 29 const scanner = languageVariant === LanguageVariant.JSX ? jsxScanner : standardScanner; constant 31 scanner.setText(text); 32 scanner.setTextPos(startPos); 55 scanner.setText(undefined); 61 const isStarted = scanner.getStartPos() !== startPos; 67 scanner.scan(); 73 let pos = scanner.getStartPos(); 77 const t = scanner.getToken(); 83 scanner.scan(); [all …]
|
/third_party/boost/tools/build/src/build/ |
D | scanner.jam | 10 # A scanner has a regular expression used to find the dependencies, some data 19 # actual targets will be created, each having a scanner of its own. 32 # Base scanner class. 34 class scanner 60 # this scanner. Constructor for that class should have one parameter: a list of 63 rule register ( scanner-class : relevant-properties * ) 65 .registered += $(scanner-class) ; 66 .relevant-properties.$(scanner-class) = $(relevant-properties) ; 70 # Common scanner class, usable when there is only one kind of includes (unlike 73 class common-scanner : scanner [all …]
|
D | scanner.py | 133 def install (self, scanner, target, vtarget): argument 137 assert isinstance(scanner, Scanner) 141 engine.set_target_variable(target, "HDRSCAN", scanner.pattern()) 142 if scanner not in self.exported_scanners_: 145 self.exported_scanners_[scanner] = exported_name 146 bjam.import_rule("", exported_name, scanner.process) 148 exported_name = self.exported_scanners_[scanner] 156 engine.set_target_variable(target, "HDRGRIST", str(id(scanner))) 159 def propagate(self, scanner, targets): argument 160 assert isinstance(scanner, Scanner) [all …]
|
/third_party/boost/tools/build/src/tools/types/ |
D | objc.jam | 5 import scanner ; 8 class objc-scanner : c-scanner 12 c-scanner.__init__ $(includes) ; 21 scanner.register objc-scanner : include ; 25 type.set-scanner OBJECTIVE_C : objc-scanner ; 26 type.set-scanner OBJECTIVE_CPP : objc-scanner ;
|
D | xml.jam | 12 import scanner ; 17 # XInclude scanner. Mostly stolen from c-scanner. :) 21 class xinclude-scanner : scanner 23 import scanner ; 27 scanner.__init__ ; 44 scanner.propagate $(__name__) : $(matches) : $(target) ; 48 scanner.register xinclude-scanner : "xsl:path" ; 49 type.set-scanner XML : xinclude-scanner ;
|
D | cpp.jam | 8 import scanner ; 12 class c-scanner : scanner 16 import scanner ; 23 scanner.__init__ ; 66 # Just propagate the current scanner to includes, in hope that includes 68 scanner.propagate $(__name__) : $(all) : $(target) ; 74 scanner.register c-scanner : include ; 84 type.set-scanner CPP : c-scanner ; 85 type.set-scanner C : c-scanner ; 89 type.set-scanner H : c-scanner ; [all …]
|
D | sass-type.jam | 8 import scanner ; 11 class sass-scanner : common-scanner 37 common-scanner.process 45 scanner.register sass-scanner : include ; 49 type.set-scanner SASS : sass-scanner ;
|
D | adoc.jam | 8 import scanner ; 13 class asciidoc-scanner : common-scanner 25 scanner.register asciidoc-scanner : include ; 26 type.set-scanner ASCIIDOC : asciidoc-scanner ;
|
/third_party/boost/boost/spirit/home/classic/core/scanner/ |
D | scanner.hpp | 214 class scanner : public PoliciesT, public scanner_base class 228 scanner( in scanner() function in boost::spirit::scanner 237 scanner(scanner const& other) in scanner() function in boost::spirit::scanner 240 scanner(scanner const& other, IteratorT& first_) in scanner() function in boost::spirit::scanner 244 scanner(scanner<IteratorT, PoliciesT1> const& other) in scanner() function in boost::spirit::scanner 261 scanner const& 272 typedef scanner<IteratorT, PoliciesT2> type; 276 scanner<IteratorT, PoliciesT2> 279 return scanner<IteratorT, PoliciesT2>(first, last, policies); in change_policies() 285 typedef scanner<IteratorT2, PoliciesT> type; [all …]
|
/third_party/boost/libs/wave/samples/waveidl/idllexer/ |
D | idl_re2c_lexer.hpp | 76 scanner.line = pos.get_line(); in set_position() 77 scanner.file_name = filename.c_str(); in set_position() 86 scanner_t scanner; member in boost::wave::idllexer::re2clex::lexer 99 : scanner(first, last), filename(pos.get_file()), at_eof(false), language(language) in lexer() 104 scanner.line = pos.get_line(); in lexer() 105 scanner.error_proc = report_error; in lexer() 106 scanner.file_name = filename.c_str(); in lexer() 109 scanner.enable_ms_extensions = 0; in lexer() 110 scanner.act_in_c99_mode = 0; in lexer() 119 free(scanner.bot); in ~lexer() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | scannertest1.errors.txt | 1 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(1,21): error TS6053: File 'tests/cases/… 2 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(5,21): error TS2304: Cannot find name '… 3 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(5,47): error TS2304: Cannot find name '… 4 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(9,16): error TS2662: Cannot find name '… 5 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(10,22): error TS2304: Cannot find name … 6 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(10,47): error TS2304: Cannot find name … 7 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(11,22): error TS2304: Cannot find name … 8 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(11,47): error TS2304: Cannot find name … 9 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(15,9): error TS2304: Cannot find name '… 10 tests/cases/conformance/scanner/ecmascript5/scannertest1.ts(15,22): error TS2662: Cannot find name … [all …]
|
D | scannerS7.6_A4.2_T1.errors.txt | 1 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(14,3): error TS2552: Cannot find… 2 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(18,3): error TS2552: Cannot find… 3 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(22,3): error TS2552: Cannot find… 4 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(26,3): error TS2552: Cannot find… 5 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(30,3): error TS2552: Cannot find… 6 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(34,3): error TS2552: Cannot find… 7 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(38,3): error TS2552: Cannot find… 8 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(42,3): error TS2552: Cannot find… 9 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(46,3): error TS2552: Cannot find… 10 tests/cases/conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts(50,3): error TS2552: Cannot find… [all …]
|
/third_party/typescript/src/services/ |
D | preProcess.ts | 25 currentToken = scanner.scan(); 36 const fileName = scanner.getTokenValue(); 37 const pos = scanner.getTokenPos(); 64 let token = scanner.getToken(); 87 let token = scanner.getToken(); 105 const skipTypeKeyword = scanner.lookAhead(() => { 106 const token = scanner.scan(); 190 let token = scanner.getToken(); 195 const skipTypeKeyword = scanner.lookAhead(() => { 196 const token = scanner.scan(); [all …]
|
/third_party/boost/libs/type_traits/doc/ |
D | index.idx | 2 !define-scanner class_name "BOOST_TT_AUX_TYPE_TRAIT_DEF\d\s*\(\s*(\w+)\s*[,)]" "(?:class|struct)[^;… 3 !define-scanner class_name "BOOST_TT_AUX_BOOL_TRAIT_DEF\d\s*\(\s*(\w+)\s*[,)]" "(?:class|struct)[^;… 4 !define-scanner class_name "BOOST_TT_AUX_SIZE_T_TRAIT_DEF\d\s*\(\s*(\w+)\s*[,)]" "(?:class|struct)[… 5 !define-scanner class_name "BOOST_TT_TRAIT_NAME\s*(\w+)" "(?:class|struct)[^;{]+\\<\1\\>[^;{]+\\{" … 7 !define-scanner class_name "^[[:space:]]*(template[[:space:]]*<[^;:{]+>[[:space:]]*)?(class|struct)… 8 !define-scanner typedef_name "typedef[^;{}#]+?(\w+)\s*;" "typedef[^;]+\\<\1\\>\\s*;" "\1" 9 !define-scanner "macro_name" "^\s*#\s*define\s+(\w+)" "\\<\1\\>" "\1" 10 !define-scanner "function_name" "\w+\s+(\w+)\s*\([^\)]*\)\s*[;{]" "\\<\\w+\\>\\s+\\<\1\\>\\s*\\([^;…
|
/third_party/boost/tools/build/example/customization/ |
D | verbatim.jam | 18 # Declare a dependency scanner for the new target type. The 21 import scanner ; 22 # First, define a new class, derived from 'common-scanner', 26 class verbatim-scanner : common-scanner 34 # Register the scanner class. The 'include' is 37 scanner.register verbatim-scanner : include ; 38 # Assign the scanner class to the target type. 42 type.set-scanner VERBATIM : verbatim-scanner ;
|
/third_party/flutter/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()
|
/third_party/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()
|
/third_party/skia/infra/bots/task_drivers/fm_driver/ |
D | fm_driver.go | 85 scanner := bufio.NewScanner(stdout) 86 for scanner.Scan() { 87 lines = append(lines, scanner.Text()) 89 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 …]
|
/third_party/skia/src/sksl/transform/ |
D | SkSLBuiltinVariableScanner.cpp | 69 BuiltinVariableScanner scanner(context); in FindAndDeclareBuiltinVariables() local 71 scanner.visitProgramElement(*e); in FindAndDeclareBuiltinVariables() 74 if (scanner.fPreserveFragColor) { in FindAndDeclareBuiltinVariables() 76 scanner.addDeclaringElement(Compiler::FRAGCOLOR_NAME); in FindAndDeclareBuiltinVariables() 84 scanner.addDeclaringElement("sk_Clockwise"); in FindAndDeclareBuiltinVariables() 90 sharedElements.insert(sharedElements.begin(), scanner.fNewElements.begin(), in FindAndDeclareBuiltinVariables() 91 scanner.fNewElements.end()); in FindAndDeclareBuiltinVariables()
|