/external/expat/amiga/include/inline4/ |
D | expat.h | 31 #define XML_ExternalEntityParserCreate(parser, context, encoding) IExpat->XML_ExternalEntityParserC… argument 32 #define XML_ParserFree(parser) IExpat->XML_ParserFree(parser) argument 33 #define XML_Parse(parser, s, len, isFinal) IExpat->XML_Parse(parser, s, len, isFinal) argument 34 #define XML_ParseBuffer(parser, len, isFinal) IExpat->XML_ParseBuffer(parser, len, isFinal) argument 35 #define XML_GetBuffer(parser, len) IExpat->XML_GetBuffer(parser, len) argument 36 #define XML_SetStartElementHandler(parser, start) IExpat->XML_SetStartElementHandler(parser, start) argument 37 #define XML_SetEndElementHandler(parser, end) IExpat->XML_SetEndElementHandler(parser, end) argument 38 #define XML_SetElementHandler(parser, start, end) IExpat->XML_SetElementHandler(parser, start, end) argument 39 #define XML_SetCharacterDataHandler(parser, handler) IExpat->XML_SetCharacterDataHandler(parser, ha… argument 40 …define XML_SetProcessingInstructionHandler(parser, handler) IExpat->XML_SetProcessingInstructionHa… argument [all …]
|
/external/expat/amiga/ |
D | expat_vectors.c | 34 … _Expat_XML_ExternalEntityParserCreate(struct ExpatIFace *, XML_Parser parser, const XML_Char * … 35 extern void _Expat_XML_ParserFree(struct ExpatIFace *, XML_Parser parser); 36 extern enum XML_Status _Expat_XML_Parse(struct ExpatIFace *, XML_Parser parser, const char * … 37 extern enum XML_Status _Expat_XML_ParseBuffer(struct ExpatIFace *, XML_Parser parser, int len… 38 extern void * _Expat_XML_GetBuffer(struct ExpatIFace *, XML_Parser parser, int len); 39 … _Expat_XML_SetStartElementHandler(struct ExpatIFace *, XML_Parser parser, XML_StartElementH… 40 extern void _Expat_XML_SetEndElementHandler(struct ExpatIFace *, XML_Parser parser… 41 extern void _Expat_XML_SetElementHandler(struct ExpatIFace *, XML_Parser parser, X… 42 … _Expat_XML_SetCharacterDataHandler(struct ExpatIFace *, XML_Parser parser, XML_CharacterData… 43 …xpat_XML_SetProcessingInstructionHandler(struct ExpatIFace *, XML_Parser parser, XML_ProcessingIns… [all …]
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3parser.c | 38 static void setDebugListener (pANTLR3_PARSER parser, pANTLR3_DEBUG_EVENT_LISTENER dbg); 39 static void setTokenStream (pANTLR3_PARSER parser, pANTLR3_TOKEN_STREAM); 40 static pANTLR3_TOKEN_STREAM getTokenStream (pANTLR3_PARSER parser); 41 static void freeParser (pANTLR3_PARSER parser); 46 pANTLR3_PARSER parser; in antlr3ParserNewStreamDbg() local 48 parser = antlr3ParserNewStream(sizeHint, tstream, state); in antlr3ParserNewStreamDbg() 50 if (parser == NULL) in antlr3ParserNewStreamDbg() 55 parser->setDebugListener(parser, dbg); in antlr3ParserNewStreamDbg() 57 return parser; in antlr3ParserNewStreamDbg() 63 pANTLR3_PARSER parser; in antlr3ParserNew() local [all …]
|
D | antlr3treeparser.c | 42 static void setTreeNodeStream (pANTLR3_TREE_PARSER parser, pANTLR3_COMMON_TREE_NODE_STREAM in… 44 getTreeNodeStream (pANTLR3_TREE_PARSER parser); 45 static void freeParser (pANTLR3_TREE_PARSER parser); 54 pANTLR3_TREE_PARSER parser; in antlr3TreeParserNewStream() local 58 parser =(pANTLR3_TREE_PARSER) ANTLR3_MALLOC(sizeof(ANTLR3_TREE_PARSER)); in antlr3TreeParserNewStream() 60 if (parser == NULL) in antlr3TreeParserNewStream() 67 parser->rec = antlr3BaseRecognizerNew(ANTLR3_TYPE_PARSER, sizeHint, state); in antlr3TreeParserNewStream() 69 if (parser->rec == NULL) in antlr3TreeParserNewStream() 71 parser->free(parser); in antlr3TreeParserNewStream() 78 parser->rec->super = parser; in antlr3TreeParserNewStream() [all …]
|
/external/dbus/bus/ |
D | desktop-file.c | 90 static void report_error (BusDesktopFileParser *parser, 96 parser_free (BusDesktopFileParser *parser) in parser_free() argument 98 bus_desktop_file_free (parser->desktop_file); in parser_free() 100 _dbus_string_free (&parser->data); in parser_free() 182 unescape_string (BusDesktopFileParser *parser, in unescape_string() argument 210 report_error (parser, "Text to be unescaped contains embedded nul", in unescape_string() 223 report_error (parser, "Text to be unescaped ended in \\", in unescape_string() 248 report_error (parser, "Text to be unescaped had invalid escape sequence", in unescape_string() 304 open_section (BusDesktopFileParser *parser, in open_section() argument 309 section = new_section (parser->desktop_file, name); in open_section() [all …]
|
D | config-parser.h | 41 BusConfigParser* bus_config_parser_ref (BusConfigParser *parser); 42 void bus_config_parser_unref (BusConfigParser *parser); 43 dbus_bool_t bus_config_parser_check_doctype (BusConfigParser *parser, 46 dbus_bool_t bus_config_parser_start_element (BusConfigParser *parser, 51 dbus_bool_t bus_config_parser_end_element (BusConfigParser *parser, 54 dbus_bool_t bus_config_parser_content (BusConfigParser *parser, 57 dbus_bool_t bus_config_parser_finished (BusConfigParser *parser, 61 const char* bus_config_parser_get_user (BusConfigParser *parser); 62 const char* bus_config_parser_get_type (BusConfigParser *parser); 63 DBusList** bus_config_parser_get_addresses (BusConfigParser *parser); [all …]
|
D | config-parser.c | 125 push_element (BusConfigParser *parser, in push_element() argument 136 if (!_dbus_list_append (&parser->stack, e)) in push_element() 157 pop_element (BusConfigParser *parser) in pop_element() argument 161 e = _dbus_list_pop_last (&parser->stack); in pop_element() 167 peek_element (BusConfigParser *parser) in peek_element() argument 171 e = _dbus_list_get_last (&parser->stack); in peek_element() 177 top_element_type (BusConfigParser *parser) in top_element_type() argument 181 e = _dbus_list_get_last (&parser->stack); in top_element_type() 279 merge_included (BusConfigParser *parser, in merge_included() argument 285 if (!bus_policy_merge (parser->policy, in merge_included() [all …]
|
D | config-parser-trivial.c | 85 BusConfigParser *parser; in bus_config_parser_new() local 87 parser = dbus_new0 (BusConfigParser, 1); in bus_config_parser_new() 88 if (parser == NULL) in bus_config_parser_new() 91 parser->type = ELEMENT_NONE; in bus_config_parser_new() 94 parser->service_dirs = NULL; in bus_config_parser_new() 97 if (!_dbus_string_init (&parser->user)) in bus_config_parser_new() 99 if (!_dbus_string_init (&parser->bus_type)) in bus_config_parser_new() 101 if (!_dbus_string_init (&parser->service_helper)) in bus_config_parser_new() 105 return parser; in bus_config_parser_new() 109 _dbus_string_free (&parser->bus_type); in bus_config_parser_new() [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
D | basic.rb | 40 parser = Identifiers::Parser.new( tokens ) 42 parser.document 44 parser.reported_errors.should be_empty 45 parser.identifiers.should == %w(blah_de_blah) 52 parser = Identifiers::Parser.new( lexer ) 53 parser.document 55 parser.reported_errors.should have( 1 ).thing 64 parser = Identifiers::Parser.new( 'blah_de_blah', :file => 'blah.txt' ) 66 parser.document 68 parser.reported_errors.should be_empty [all …]
|
D | scopes.rb | 31 parser = SimpleScope::Parser.new lexer 32 parser.prog 179 parser = LotsaScopes::Parser.new lexer 180 parser.a 185 parser = LotsaScopes::Parser.new lexer 186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError ) 191 parser = LotsaScopes::Parser.new lexer 192 parser.b( true ) 203 parser = LotsaScopes::Parser.new lexer 205 symbols = parser.c [all …]
|
D | nuances.rb | 29 parser = EmptyAlt::Parser.new lexer 30 events = parser.r 59 parser = Subrule::Parser.new lexer 60 events = parser.a 96 parser = SpecialStates::Parser.new lexer 97 parser.r 102 parser = SpecialStates::Parser.new lexer 103 parser.r 108 parser = SpecialStates::Parser.new lexer 109 parser.cond = false [all …]
|
/external/chromium/chrome/common/extensions/ |
D | update_manifest_unittest.cc | 120 UpdateManifest parser; in TEST() local 123 EXPECT_FALSE(parser.Parse("")); in TEST() 124 EXPECT_FALSE(parser.errors().empty()); in TEST() 126 EXPECT_TRUE(parser.Parse(kMissingAppId)); in TEST() 127 EXPECT_TRUE(parser.results().list.empty()); in TEST() 128 EXPECT_FALSE(parser.errors().empty()); in TEST() 130 EXPECT_TRUE(parser.Parse(kInvalidCodebase)); in TEST() 131 EXPECT_TRUE(parser.results().list.empty()); in TEST() 132 EXPECT_FALSE(parser.errors().empty()); in TEST() 134 EXPECT_TRUE(parser.Parse(kMissingVersion)); in TEST() [all …]
|
/external/mesa3d/src/glsl/glcpp/ |
D | glcpp-parse.y | 40 yyerror (YYLTYPE *locp, glcpp_parser_t *parser, const char *error); 43 _define_object_macro (glcpp_parser_t *parser, 49 _define_function_macro (glcpp_parser_t *parser, 117 _glcpp_parser_expand_if (glcpp_parser_t *parser, int type, token_list_t *list); 120 _glcpp_parser_expand_token_list (glcpp_parser_t *parser, 124 _glcpp_parser_print_expanded_token_list (glcpp_parser_t *parser, 128 _glcpp_parser_skip_stack_push_if (glcpp_parser_t *parser, YYLTYPE *loc, 132 _glcpp_parser_skip_stack_change_if (glcpp_parser_t *parser, YYLTYPE *loc, 136 _glcpp_parser_skip_stack_pop (glcpp_parser_t *parser, YYLTYPE *loc); 141 glcpp_parser_lex (YYSTYPE *yylval, YYLTYPE *yylloc, glcpp_parser_t *parser); [all …]
|
D | pp.c | 31 glcpp_error (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...) in glcpp_error() argument 35 parser->error = 1; in glcpp_error() 36 parser->info_log = hieralloc_asprintf_append(parser->info_log, in glcpp_error() 43 parser->info_log = hieralloc_vasprintf_append(parser->info_log, fmt, ap); in glcpp_error() 45 parser->info_log = hieralloc_strdup_append(parser->info_log, "\n"); in glcpp_error() 49 glcpp_warning (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...) in glcpp_warning() argument 53 parser->info_log = hieralloc_asprintf_append(parser->info_log, in glcpp_warning() 60 parser->info_log = hieralloc_vasprintf_append(parser->info_log, fmt, ap); in glcpp_warning() 62 parser->info_log = hieralloc_strdup_append(parser->info_log, "\n"); in glcpp_warning() 149 glcpp_parser_t *parser = glcpp_parser_create (extensions, api); in preprocess() local [all …]
|
D | glcpp-parse.c | 110 yyerror (YYLTYPE *locp, glcpp_parser_t *parser, const char *error); 113 _define_object_macro (glcpp_parser_t *parser, 119 _define_function_macro (glcpp_parser_t *parser, 187 _glcpp_parser_expand_if (glcpp_parser_t *parser, int type, token_list_t *list); 190 _glcpp_parser_expand_token_list (glcpp_parser_t *parser, 194 _glcpp_parser_print_expanded_token_list (glcpp_parser_t *parser, 198 _glcpp_parser_skip_stack_push_if (glcpp_parser_t *parser, YYLTYPE *loc, 202 _glcpp_parser_skip_stack_change_if (glcpp_parser_t *parser, YYLTYPE *loc, 206 _glcpp_parser_skip_stack_pop (glcpp_parser_t *parser, YYLTYPE *loc); 211 glcpp_parser_lex (YYSTYPE *yylval, YYLTYPE *yylloc, glcpp_parser_t *parser); [all …]
|
/external/qemu/ |
D | json-streamer.c | 23 JSONMessageParser *parser = container_of(lexer, JSONMessageParser, lexer); in json_message_process_token() local 29 parser->brace_count++; in json_message_process_token() 32 parser->brace_count--; in json_message_process_token() 35 parser->bracket_count++; in json_message_process_token() 38 parser->bracket_count--; in json_message_process_token() 52 qlist_append(parser->tokens, dict); in json_message_process_token() 54 if (parser->brace_count == 0 && in json_message_process_token() 55 parser->bracket_count == 0) { in json_message_process_token() 56 parser->emit(parser, parser->tokens); in json_message_process_token() 57 QDECREF(parser->tokens); in json_message_process_token() [all …]
|
/external/expat/tests/ |
D | runtests.c | 30 static XML_Parser parser; variable 36 parser = XML_ParserCreate(NULL); in basic_setup() 37 if (parser == NULL) in basic_setup() 44 if (parser != NULL) in basic_teardown() 45 XML_ParserFree(parser); in basic_teardown() 53 _xml_failure(XML_Parser parser, const char *file, int line) in _xml_failure() argument 56 enum XML_Error err = XML_GetErrorCode(parser); in _xml_failure() 62 XML_GetCurrentLineNumber(parser), in _xml_failure() 63 XML_GetCurrentColumnNumber(parser), in _xml_failure() 68 #define xml_failure(parser) _xml_failure((parser), __FILE__, __LINE__) argument [all …]
|
/external/expat/amiga/include/interfaces/ |
D | expat.h | 34 …XML_Parser APICALL (*XML_ExternalEntityParserCreate)(struct ExpatIFace *Self, XML_Parser parser, c… 35 void APICALL (*XML_ParserFree)(struct ExpatIFace *Self, XML_Parser parser); 36 …enum XML_Status APICALL (*XML_Parse)(struct ExpatIFace *Self, XML_Parser parser, const char * s, i… 37 …enum XML_Status APICALL (*XML_ParseBuffer)(struct ExpatIFace *Self, XML_Parser parser, int len, in… 38 void * APICALL (*XML_GetBuffer)(struct ExpatIFace *Self, XML_Parser parser, int len); 39 …void APICALL (*XML_SetStartElementHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartEl… 40 …void APICALL (*XML_SetEndElementHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_EndElemen… 41 …void APICALL (*XML_SetElementHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartElement… 42 …void APICALL (*XML_SetCharacterDataHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_Charac… 43 …void APICALL (*XML_SetProcessingInstructionHandler)(struct ExpatIFace *Self, XML_Parser parser, XM… [all …]
|
/external/expat/amiga/include/libraries/ |
D | expat.h | 148 XML_SetElementDeclHandler(XML_Parser parser, 160 XML_SetAttlistDeclHandler(XML_Parser parser, 169 XML_SetXmlDeclHandler(XML_Parser parser, 192 XML_ParserReset(XML_Parser parser, const XML_Char *encoding); 242 XML_SetEntityDeclHandler(XML_Parser parser, 272 XML_Parser parser, 296 XML_SetElementHandler(XML_Parser parser, 301 XML_SetStartElementHandler(XML_Parser parser, 305 XML_SetEndElementHandler(XML_Parser parser, 309 XML_SetCharacterDataHandler(XML_Parser parser, [all …]
|
/external/bluetooth/hcidump/ |
D | Makefile.am | 4 parser_sources = parser/parser.h parser/parser.c \ 5 parser/lmp.c \ 6 parser/hci.c \ 7 parser/l2cap.c \ 8 parser/att.c \ 9 parser/sdp.h parser/sdp.c \ 10 parser/rfcomm.h parser/rfcomm.c \ 11 parser/bnep.c \ 12 parser/cmtp.c \ 13 parser/hidp.c \ [all …]
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t014parser.py | 14 parser = self.getParser(tStream) 15 parser.document() 17 assert len(parser.reportedErrors) == 0, parser.reportedErrors 18 assert parser.events == [ 23 ], parser.events 30 parser = self.getParser(tStream) 32 parser.document() 36 assert len(parser.reportedErrors) == 1, parser.reportedErrors 37 assert parser.events == [], parser.events 44 parser = self.getParser(tStream) [all …]
|
/external/chromium/sdch/open-vcdiff/src/ |
D | headerparser_test.cc | 35 VCDiffHeaderParserTest() : parser(NULL) { } in VCDiffHeaderParserTest() 38 delete parser; in ~VCDiffHeaderParserTest() 46 parser = new VCDiffHeaderParser( in StartParsing() 49 EXPECT_EQ(encoded_buffer_.data(), parser->UnparsedData()); in StartParsing() 54 const char* prior_position = parser->UnparsedData(); in VerifyByte() 55 EXPECT_TRUE(parser->ParseByte(&decoded_byte)); in VerifyByte() 57 EXPECT_EQ(RESULT_SUCCESS, parser->GetResult()); in VerifyByte() 59 parser->UnparsedData()); in VerifyByte() 64 const char* prior_position = parser->UnparsedData(); in VerifyInt32() 65 EXPECT_TRUE(parser->ParseInt32("decoded int32", &decoded_integer)); in VerifyInt32() [all …]
|
/external/expat/lib/ |
D | expat.h | 155 XML_SetElementDeclHandler(XML_Parser parser, 175 XML_SetAttlistDeclHandler(XML_Parser parser, 192 XML_SetXmlDeclHandler(XML_Parser parser, 247 XML_ParserReset(XML_Parser parser, const XML_Char *encoding); 341 XML_SetEntityDeclHandler(XML_Parser parser, 433 XML_Parser parser, 534 XML_SetElementHandler(XML_Parser parser, 539 XML_SetStartElementHandler(XML_Parser parser, 543 XML_SetEndElementHandler(XML_Parser parser, 547 XML_SetCharacterDataHandler(XML_Parser parser, [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
D | tree-rewrite.rb | 1007 parser = FlatList::Parser.new( tokens ) 1009 result = parser.a 1021 parser = SimpleTree::Parser.new( tokens ) 1023 result = parser.a 1035 parser = CombinedRewriteAndAuto::Parser.new( tokens ) 1037 result = parser.a 1045 parser = CombinedRewriteAndAuto::Parser.new( tokens ) 1047 result = parser.a 1058 parser = AvoidDup::Parser.new( tokens ) 1060 result = parser.a [all …]
|
/external/v8/test/mjsunit/tools/ |
D | csvparser.js | 31 var parser = new CsvParser(); variable 35 parser.parseLine('')); 39 parser.parseLine(',')); 43 parser.parseLine('1997,Ford,E350')); 47 parser.parseLine('"1997","Ford","E350"')); 51 parser.parseLine('1997,Ford,E350,"Super, luxurious truck"')); 55 parser.parseLine('1997,Ford,E350,"Super ""luxurious"" truck"')); 59 parser.parseLine('1997,Ford,E350,"Super ""luxurious"" ""truck"""')); 63 parser.parseLine('1997,Ford,E350,"Super ""luxurious""""truck"""')); 67 parser.parseLine('shared-library,"/lib/ld-2.3.6.so",0x489a2000,0x489b7000')); [all …]
|