Home
last modified time | relevance | path

Searched refs:parser_ (Results 1 – 25 of 39) sorted by relevance

12

/external/webrtc/webrtc/tools/
Dsimple_command_line_parser_unittest.cc20 parser_ = new CommandLineParser(); in SetUp()
37 delete parser_; in TearDown()
39 CommandLineParser* parser_; member in webrtc::test::CommandLineParserTest
47 parser_->SetFlag("foo", "false"); in TEST_F()
48 parser_->SetFlag("foo-foo", "false"); // To test boolean flags defaults. in TEST_F()
49 parser_->SetFlag("bar", "222"); in TEST_F()
50 parser_->SetFlag("baz", "333"); // To test the default value functionality. in TEST_F()
52 parser_->Init(test_flags_length_, test_flags_); in TEST_F()
53 parser_->ProcessFlags(); in TEST_F()
54 EXPECT_EQ("true", parser_->GetFlag("foo")); in TEST_F()
[all …]
/external/libweave/src/notification/
Dxmpp_stream_parser.cc12 parser_ = XML_ParserCreate(nullptr);
13 XML_SetUserData(parser_, this);
14 XML_SetElementHandler(parser_, &XmppStreamParser::HandleElementStart,
16 XML_SetCharacterDataHandler(parser_, &XmppStreamParser::HandleCharData);
20 XML_ParserFree(parser_); in ~XmppStreamParser()
24 XML_Parse(parser_, data.data(), data.size(), 0); in ParseData()
Dxmpp_stream_parser_unittest.cc46 void SetUp() override { parser_.reset(new XmppStreamParser{this}); } in SetUp()
67 parser_.reset(new XmppStreamParser{this}); in Reset()
74 std::unique_ptr<XmppStreamParser> parser_; member in weave::XmppStreamParserTest
89 parser_->ParseData("<foo bar=\"baz\" quux=\"1\">"); in TEST_F()
98 parser_->ParseData("<foo bar=\"baz"); in TEST_F()
103 parser_->ParseData("\" quux"); in TEST_F()
105 parser_->ParseData("=\"1\">"); in TEST_F()
129 parser_->ParseData(xml_data.substr(pos, step)); in TEST_F()
/external/pcre/
Dpcrecpparg.h69 Arg(type* p) : arg_(p), parser_(name) { } \
70 Arg(type* p, Parser parser) : arg_(p), parser_(parser) { }
98 : arg_(p), parser_(_RE_MatchObject<T>::Parse) { in Arg()
106 Parser parser_; variable
138 inline Arg::Arg() : arg_(NULL), parser_(parse_null) { } in Arg()
139 inline Arg::Arg(void* p) : arg_(p), parser_(parse_null) { } in Arg()
142 return (*parser_)(str, n, arg_); in Parse()
/external/pcre/dist/
Dpcrecpparg.h69 Arg(type* p) : arg_(p), parser_(name) { } \
70 Arg(type* p, Parser parser) : arg_(p), parser_(parser) { }
98 : arg_(p), parser_(_RE_MatchObject<T>::Parse) { in Arg()
106 Parser parser_; variable
138 inline Arg::Arg() : arg_(NULL), parser_(parse_null) { } in Arg()
139 inline Arg::Arg(void* p) : arg_(p), parser_(parse_null) { } in Arg()
142 return (*parser_)(str, n, arg_); in Parse()
Dpcrecpparg.h.in69 Arg(type* p) : arg_(p), parser_(name) { } \
70 Arg(type* p, Parser parser) : arg_(p), parser_(parser) { }
98 : arg_(p), parser_(_RE_MatchObject<T>::Parse) {
106 Parser parser_; variable
138 inline Arg::Arg() : arg_(NULL), parser_(parse_null) { }
139 inline Arg::Arg(void* p) : arg_(p), parser_(parse_null) { }
142 return (*parser_)(str, n, arg_);
/external/webrtc/webrtc/test/
Drtp_rtcp_observer.h61 parser_(RtpHeaderParser::Create()), in RtpRtcpObserver()
63 parser_->RegisterRtpHeaderExtension(kRtpExtensionTransmissionTimeOffset, in RtpRtcpObserver()
65 parser_->RegisterRtpHeaderExtension(kRtpExtensionAbsoluteSendTime, in RtpRtcpObserver()
67 parser_->RegisterRtpHeaderExtension(kRtpExtensionTransportSequenceNumber, in RtpRtcpObserver()
72 const rtc::scoped_ptr<RtpHeaderParser> parser_; variable
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Drtp_rtcp_extensions.cc25 : parser_(webrtc::RtpHeaderParser::Create()), in ExtensionVerifyTransport()
35 if (parser_->Parse(reinterpret_cast<const uint8_t*>(data), len, &header)) { in SendRtp()
62 parser_->RegisterRtpHeaderExtension(webrtc::kRtpExtensionAudioLevel, id); in SetAudioLevelId()
67 parser_->RegisterRtpHeaderExtension(webrtc::kRtpExtensionAbsoluteSendTime, in SetAbsoluteSenderTimeId()
86 rtc::scoped_ptr<webrtc::RtpHeaderParser> parser_; member in ExtensionVerifyTransport
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.cc63 FlagParser *parser_; member in __sanitizer::FlagHandlerInclude
68 : parser_(parser), ignore_missing_(ignore_missing) {} in FlagHandlerInclude()
73 bool res = parser_->ParseFile(buf, ignore_missing_); in Parse()
77 return parser_->ParseFile(value, ignore_missing_); in Parse()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Drtp_file_source.cc52 assert(parser_.get()); in RegisterRtpHeaderExtension()
53 return parser_->RegisterRtpHeaderExtension(type, id); in RegisterRtpHeaderExtension()
71 temp_packet.original_length, temp_packet.time_ms, *parser_.get())); in NextPacket()
87 parser_(RtpHeaderParser::Create()) {} in RtpFileSource()
Drtc_event_log_source.cc74 RTC_CHECK(parser_.get()); in RegisterRtpHeaderExtension()
75 return parser_->RegisterRtpHeaderExtension(type, id); in RegisterRtpHeaderExtension()
89 event.timestamp_us() / 1000, *parser_.get()); in NextPacket()
120 : PacketSource(), parser_(RtpHeaderParser::Create()) {} in RtcEventLogSource()
/external/dbus-binding-generator/chromeos-dbus-bindings/
Dxml_interface_parser_unittest.cc66 XmlInterfaceParser parser_; member in chromeos_dbus_bindings::XmlInterfaceParserTest
70 EXPECT_FALSE(parser_.ParseXmlInterfaceFile(kBadInterfaceFileContents0, {})); in TEST_F()
71 EXPECT_FALSE(parser_.ParseXmlInterfaceFile(kBadInterfaceFileContents1, {})); in TEST_F()
75 EXPECT_TRUE(parser_.ParseXmlInterfaceFile(kGoodInterfaceFileContents, in TEST_F()
77 const vector<Interface>& interfaces = parser_.interfaces(); in TEST_F()
/external/libchrome/base/json/
Djson_reader.cc39 : parser_(new internal::JSONParser(options)) { in JSONReader()
109 return make_scoped_ptr(parser_->Parse(json)); in ReadToValue()
113 return parser_->error_code(); in error_code()
117 return parser_->GetErrorMessage(); in GetErrorMessage()
/external/libweave/third_party/chromium/base/json/
Djson_reader.cc39 : parser_(new internal::JSONParser(options)) { in JSONReader()
109 return make_scoped_ptr(parser_->Parse(json)); in ReadToValue()
113 return parser_->error_code(); in error_code()
117 return parser_->GetErrorMessage(); in GetErrorMessage()
/external/v8/src/parsing/
Dparser.h356 explicit ParserTraits(Parser* parser) : parser_(parser) {} in ParserTraits()
663 Parser* parser_;
855 AstNodeFactory* factory() const { return parser_->factory(); } in factory()
857 return parser_->ast_value_factory(); in ast_value_factory()
859 Zone* zone() const { return parser_->zone(); } in zone()
863 Parser* parser_; variable
1049 return parser_->scanner()->IdentifierIsFutureStrictReserved(identifier); in IsFutureStrictReserved()
1055 return parser_->NewScope(parent_scope, scope_type, kind); in NewScope()
1060 return parser_->ast_value_factory()->empty_string(); in EmptyIdentifierString()
1067 return parser_->SkipLazyFunctionBody(materialized_literal_count, in SkipLazyFunctionBody()
[all …]
Dpattern-rewriter.cc21 rewriter.parser_ = declaration_descriptor->parser; in DeclareAndInitializeVariables()
43 rewriter.parser_ = parser; in RewriteDestructuringAssignment()
145 VariableProxy* proxy = parser_->NewUnresolved(name, descriptor_->mode); in VisitVariableProxy()
150 parser_->Declare(declaration, descriptor_->declaration_kind, in VisitVariableProxy()
163 parser_->ReportMessage(MessageTemplate::kTooManyVariables); in VisitVariableProxy()
392 block_->statements()->Add(parser_->BuildAssertIsCoercible(temp), zone()); in VisitObjectLiteral()
415 block_->statements()->Add(parser_->BuildAssertIsCoercible(temp), zone()); in VisitArrayLiteral()
417 auto iterator = CreateTempVar(parser_->GetIterator( in VisitArrayLiteral()
439 parser_->BuildIteratorNextResult( in VisitArrayLiteral()
547 RewriteParameterInitializerScope(parser_->stack_limit(), initializer, in VisitAssignment()
Dparser.cc317 return identifier == parser_->ast_value_factory()->eval_string(); in IsEval()
322 return identifier == parser_->ast_value_factory()->arguments_string(); in IsArguments()
331 return identifier == parser_->ast_value_factory()->undefined_string(); in IsUndefined()
335 return identifier == parser_->ast_value_factory()->prototype_string(); in IsPrototype()
340 return identifier == parser_->ast_value_factory()->constructor_string(); in IsConstructor()
364 parser_->ast_value_factory()->anonymous_function_string()); in PushPropertyName()
497 parser_->ast_value_factory()->empty_string(), pos); in NewThrowReferenceError()
517 Zone* zone = parser_->zone(); in NewThrowError()
519 args->Add(parser_->factory()->NewSmiLiteral(message, pos), zone); in NewThrowError()
520 args->Add(parser_->factory()->NewStringLiteral(arg, pos), zone); in NewThrowError()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc109 parser_.reset(new Parser()); in SetupParser()
110 parser_->RecordErrorsTo(&error_collector_); in SetupParser()
111 parser_->SetRequireSyntaxIdentifier(require_syntax_identifier_); in SetupParser()
121 parser_->Parse(input_.get(), &actual); in ExpectParsesTo()
150 parser_->Parse(input_.get(), &file); in ExpectHasEarlyExitErrors()
160 parser_->RecordSourceLocationsTo(&source_locations); in ExpectHasValidationErrors()
164 parser_->Parse(input_.get(), &file); in ExpectHasValidationErrors()
180 scoped_ptr<Parser> parser_; member in google::protobuf::compiler::__anonaab372be0111::ParserTest
191 parser_->SetStopAfterSyntaxIdentifier(true); in TEST_F()
192 EXPECT_TRUE(parser_->Parse(input_.get(), NULL)); in TEST_F()
[all …]
Dparser.cc299 : parser_(parser), in LocationRecorder()
300 location_(parser_->source_code_info_->add_location()) { in LocationRecorder()
301 location_->add_span(parser_->input_->current().line); in LocationRecorder()
302 location_->add_span(parser_->input_->current().column); in LocationRecorder()
323 parser_ = parent.parser_; in Init()
324 location_ = parser_->source_code_info_->add_location(); in Init()
327 location_->add_span(parser_->input_->current().line); in Init()
328 location_->add_span(parser_->input_->current().column); in Init()
333 EndAt(parser_->input_->previous()); in ~LocationRecorder()
360 if (parser_->source_location_table_ != NULL) { in RecordLegacyLocation()
[all …]
/external/regex-re2/util/
Dpcre.h587 Arg(type* p) : arg_(p), parser_(name) { } \
588 Arg(type* p, Parser parser) : arg_(p), parser_(parser) { } \
612 : arg_(p), parser_(_PCRE_MatchObject<T>::Parse) { in Arg()
620 Parser parser_; variable
652 inline PCRE::Arg::Arg() : arg_(NULL), parser_(parse_null) { } in Arg()
653 inline PCRE::Arg::Arg(void* p) : arg_(p), parser_(parse_null) { } in Arg()
656 return (*parser_)(str, n, arg_); in Parse()
/external/opencv3/modules/cudacodec/src/
Dvideo_parser.hpp64 cuvidDestroyVideoParser(parser_); in ~VideoParser()
74 CUvideoparser parser_; member in cv::cudacodec::detail::VideoParser
Dvideo_parser.cpp62 cuSafeCall( cuvidCreateVideoParser(&parser_, &params) ); in VideoParser()
76 if (cuvidParseVideoData(parser_, &packet) != CUDA_SUCCESS) in parseVideoData()
/external/regex-re2/re2/
Dre2.h758 Arg(type* p) : arg_(p), parser_(name) { } \
759 Arg(type* p, Parser parser) : arg_(p), parser_(parser) { } \
784 : arg_(p), parser_(_RE2_MatchObject<T>::Parse) { in Arg()
792 Parser parser_; variable
824 inline RE2::Arg::Arg() : arg_(NULL), parser_(parse_null) { } in Arg()
825 inline RE2::Arg::Arg(void* p) : arg_(p), parser_(parse_null) { } in Arg()
828 return (*parser_)(str, n, arg_); in Parse()
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppstanzaparser.cc27 parser_(&innerHandler_), in XmppStanzaParser()
34 parser_.Reset(); in Reset()
Dxmppstanzaparser.h35 { return parser_.Parse(data, len, isFinal); } in Parse()
71 XmlParser parser_; variable

12