HomeSort by relevance Sort by last modified time
    Searched refs:parser (Results 51 - 75 of 4226) sorted by null

1 23 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
pyexpat.h 2 * parser modules, such as cElementTree. */
19 enum XML_Error (*GetErrorCode)(XML_Parser parser);
20 XML_Size (*GetErrorColumnNumber)(XML_Parser parser);
21 XML_Size (*GetErrorLineNumber)(XML_Parser parser);
23 XML_Parser parser, const char *s, int len, int isFinal);
27 void (*ParserFree)(XML_Parser parser);
29 XML_Parser parser, XML_CharacterDataHandler handler);
31 XML_Parser parser, XML_CommentHandler handler);
33 XML_Parser parser, XML_DefaultHandler handler);
35 XML_Parser parser, XML_StartElementHandler start
    [all...]
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
pyexpat.h 2 * parser modules, such as cElementTree. */
19 enum XML_Error (*GetErrorCode)(XML_Parser parser);
20 XML_Size (*GetErrorColumnNumber)(XML_Parser parser);
21 XML_Size (*GetErrorLineNumber)(XML_Parser parser);
23 XML_Parser parser, const char *s, int len, int isFinal);
27 void (*ParserFree)(XML_Parser parser);
29 XML_Parser parser, XML_CharacterDataHandler handler);
31 XML_Parser parser, XML_CommentHandler handler);
33 XML_Parser parser, XML_DefaultHandler handler);
35 XML_Parser parser, XML_StartElementHandler start
    [all...]
  /frameworks/base/tools/aapt2/
ResourceParser.h 37 * Whether the default setting for this parser is to allow translation.
57 bool parse(xml::XmlPullParser* parser);
66 bool flattenXmlSubtree(xml::XmlPullParser* parser, std::u16string* outRawString,
75 std::unique_ptr<Item> parseXml(xml::XmlPullParser* parser, const uint32_t typeMask,
78 bool parseResources(xml::XmlPullParser* parser);
79 bool parseResource(xml::XmlPullParser* parser, ParsedResource* outResource);
81 bool parseItem(xml::XmlPullParser* parser, ParsedResource* outResource, uint32_t format);
82 bool parseString(xml::XmlPullParser* parser, ParsedResource* outResource);
84 bool parsePublic(xml::XmlPullParser* parser, ParsedResource* outResource);
85 bool parsePublicGroup(xml::XmlPullParser* parser, ParsedResource* outResource)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
TestConferenceEventPackageParser.java 34 * Implements a basic XML parser used to parse test IMS conference event packages which can be
72 * Constructs an input of the conference event package parser for the given input stream.
90 XmlPullParser parser; local
92 parser = Xml.newPullParser();
93 parser.setInput(mInputStream, null);
94 parser.nextTag();
96 int outerDepth = parser.getDepth();
97 while (XmlUtils.nextElementWithin(parser, outerDepth)) {
98 if (parser.getName().equals(PARTICIPANT_TAG)) {
100 Bundle participant = parseParticipant(parser);
    [all...]
  /external/webrtc/webrtc/modules/rtp_rtcp/source/
h264_sps_parser.cc 65 rtc::BitBuffer parser(reinterpret_cast<const uint8_t*>(rbsp_buffer.Data()),
81 RETURN_FALSE_ON_FAIL(parser.ReadUInt8(&profile_idc));
84 RETURN_FALSE_ON_FAIL(parser.ConsumeBytes(1));
86 RETURN_FALSE_ON_FAIL(parser.ConsumeBytes(1));
88 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&golomb_ignored));
95 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&chroma_format_idc));
98 RETURN_FALSE_ON_FAIL(parser.ReadBits(&separate_colour_plane_flag, 1));
101 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&golomb_ignored));
103 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&golomb_ignored));
105 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1))
    [all...]
rtcp_packet_unittest.cc 55 RtcpPacketParser parser; local
56 parser.Parse(packet->Buffer(), packet->Length());
58 EXPECT_EQ(1, parser.sender_report()->num_packets());
59 EXPECT_EQ(kSenderSsrc, parser.sender_report()->Ssrc());
60 EXPECT_EQ(0x11111111U, parser.sender_report()->NtpSec());
61 EXPECT_EQ(0x22222222U, parser.sender_report()->NtpFrac());
62 EXPECT_EQ(0x33333333U, parser.sender_report()->RtpTimestamp());
63 EXPECT_EQ(0x44444444U, parser.sender_report()->PacketCount());
64 EXPECT_EQ(0x55555555U, parser.sender_report()->OctetCount());
65 EXPECT_EQ(0, parser.report_block()->num_packets())
77 RtcpPacketParser parser; local
97 RtcpPacketParser parser; local
129 RtcpPacketParser parser; local
151 RtcpPacketParser parser; local
167 RtcpPacketParser parser; local
185 RtcpPacketParser parser; local
210 RtcpPacketParser parser; local
227 RtcpPacketParser parser; local
242 RtcpPacketParser parser; local
256 RtcpPacketParser parser; local
270 RtcpPacketParser parser; local
285 RtcpPacketParser parser; local
298 RtcpPacketParser parser; local
336 RtcpPacketParser parser; local
353 RtcpPacketParser parser; local
367 RtcpPacketParser parser; local
387 RtcpPacketParser parser; local
404 RtcpPacketParser parser; local
424 RtcpPacketParser parser; local
457 RtcpPacketParser parser; local
501 RtcpPacketParser parser; local
541 RtcpPacketParser parser; local
562 RtcpPacketParser parser; local
    [all...]
  /frameworks/base/core/java/android/security/net/config/
XmlConfigSource.java 92 try (XmlResourceParser parser = mContext.getResources().getXml(mResourceId)) {
93 parseNetworkSecurityConfig(parser);
104 private Pin parsePin(XmlResourceParser parser)
106 String digestAlgorithm = parser.getAttributeValue(null, "digest");
108 throw new ParserException(parser, "Unsupported pin digest algorithm: "
111 if (parser.next() != XmlPullParser.TEXT) {
112 throw new ParserException(parser, "Missing pin digest");
114 String digest = parser.getText().trim();
119 throw new ParserException(parser, "Invalid pin digest", e);
123 throw new ParserException(parser, "digest length " + decodedDigest.lengt
    [all...]
  /external/skia/src/svg/parser/
SkSVGDefs.cpp 22 void SkSVGDefs::translate(SkSVGParser& parser, bool defState) {
23 INHERITED::translate(parser, defState);
SkSVGRadialGradient.cpp 25 void SkSVGRadialGradient::translate(SkSVGParser& parser, bool defState) {
27 parser.translateMatrix(f_gradientTransform, &fMatrixID);
28 parser._startElement("radialGradient");
30 parser._addAttribute("matrix", fMatrixID);
38 parser._addAttribute("center", center);
39 parser._addAttribute("radius", f_r);
40 INHERITED::translate(parser, defState);
41 parser._endElement();
SkSVGSymbol.cpp 19 void SkSVGSymbol::translate(SkSVGParser& parser, bool defState) {
20 INHERITED::translate(parser, defState);
SkSVGLine.cpp 22 void SkSVGLine::translate(SkSVGParser& parser, bool defState) {
23 parser._startElement("line");
24 INHERITED::translate(parser, defState);
29 parser._endElement();
  /ndk/sources/host-tools/ndk-stack/
ndk-stack-parser.h 21 /* Crash parser descriptor. */
26 * out_handle - Handle to the stream where to print the parser's output.
40 * parser - NdkCrashParser descriptor, created and initialized with a call to
43 void DestroyNdkCrashParser(NdkCrashParser* parser);
47 * parser - NdkCrashParser descriptor, created and initialized with a call to
57 int ParseLine(NdkCrashParser* parser, const char* line);
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
BridgeXmlBlockParserTest.java 43 XmlPullParser parser = ParserFactory.create( local
47 parser = new BridgeXmlBlockParser(parser, null, false /* platformResourceFlag */);
49 assertEquals(XmlPullParser.START_DOCUMENT, parser.next());
51 assertEquals(XmlPullParser.START_TAG, parser.next());
52 assertEquals("LinearLayout", parser.getName());
54 assertEquals(XmlPullParser.TEXT, parser.next());
56 assertEquals(XmlPullParser.START_TAG, parser.next());
57 assertEquals("Button", parser.getName());
58 assertEquals(XmlPullParser.TEXT, parser.next())
    [all...]
  /external/autotest/server/
autoserv_parser.py 10 """Custom command-line options parser for autoserv.
19 self.parser = argparse.ArgumentParser(
27 self.options = self.parser.parse_args(args=[])
33 self.parser.add_argument('-m', action='store', type=str,
36 self.parser.add_argument('-M', action='store', type=str,
39 self.parser.add_argument('-c', action='store_true',
42 self.parser.add_argument('-s', action='store_true',
45 self.parser.add_argument('-r', action='store', type=str,
48 self.parser.add_argument('-l', action='store', type=str,
51 self.parser.add_argument('-G', action='store', type=str
    [all...]
  /external/chromium-trace/catapult/systrace/profile_chrome/
flags.py 7 def SystraceOptions(parser):
8 systrace_opts = optparse.OptionGroup(parser, 'Systrace tracing options')
19 def OutputOptions(parser):
20 output_options = optparse.OptionGroup(parser, 'Output options')
  /external/webrtc/webrtc/test/
rtcp_packet_parser.cc 26 RTCPUtility::RTCPParserV2 parser(packet, len, true);
27 EXPECT_TRUE(parser.IsValid());
28 for (RTCPUtility::RTCPPacketTypes type = parser.Begin();
29 type != RTCPPacketTypes::kInvalid; type = parser.Iterate()) {
32 sender_report_.Set(parser.Packet().SR);
35 receiver_report_.Set(parser.Packet().RR);
38 report_block_.Set(parser.Packet().ReportBlockItem);
39 ++report_blocks_per_ssrc_[parser.Packet().ReportBlockItem.SSRC];
45 sdes_chunk_.Set(parser.Packet().CName);
48 bye_.Set(parser.Packet().BYE)
    [all...]
  /external/antlr/antlr-3.4/runtime/C/include/
antlr3treeparser.h 52 /** A pointer to the base recognizer, where most of the parser functions actually
53 * live because they are shared between parser and tree parser and this is the
59 /** Pointer to the common tree node stream for the parser
63 /** Set the input stream and reset the parser
65 void (*setTreeNodeStream) (struct ANTLR3_TREE_PARSER_struct * parser, pANTLR3_COMMON_TREE_NODE_STREAM input);
69 pANTLR3_COMMON_TREE_NODE_STREAM (*getTreeNodeStream) (struct ANTLR3_TREE_PARSER_struct * parser);
71 /** Pointer to a function that knows how to free resources of an ANTLR3 tree parser.
73 void (*free) (struct ANTLR3_TREE_PARSER_struct * parser);
  /external/antlr/antlr-3.4/runtime/Python/tests/
t017parser.py 27 parser = self.getParser(tStream)
28 parser.program()
30 assert len(parser.reportedErrors) == 0, parser.reportedErrors
37 parser = self.getParser(tStream)
38 parser.program()
42 assert len(parser.reportedErrors) == 1, parser.reportedErrors
49 parser = self.getParser(tStream)
50 parser.program(
    [all...]
  /external/autotest/cli/
query_results 13 parser = optparse.OptionParser() variable
14 parser.add_option(
19 parser.add_option('-w', '--where', action='store', dest='condition',
23 parser.add_option(
31 parser.add_option('--test-label-field', action='append', default=[],
34 parser.add_option('--iteration-result-field', action='append', default=[],
39 parser.add_option('--machine-label-field', action='append', default=[],
42 parser.add_option('--job-keyval-field', action='append', default=[],
45 parser.add_option('--iteration-attribute-field', action='append', default=[],
50 parser.add_option('-s', '--separator', action='store', default = ' | '
    [all...]
  /external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/parser/
Main.java 12 package org.jacoco.examples.parser;
20 ExpressionParser parser = new ExpressionParser(expression); local
21 double result = parser.parse().evaluate();
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
BaseNode.java 20 package org.apache.james.mime4j.field.address.parser;
22 import org.apache.james.mime4j.field.address.parser.Node;
23 import org.apache.james.mime4j.field.address.parser.Token;
  /packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
BaseNode.java 20 package org.apache.james.mime4j.field.address.parser;
22 import org.apache.james.mime4j.field.address.parser.Node;
23 import org.apache.james.mime4j.field.address.parser.Token;
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/utils/
XmlUtils.java 30 public static final ArrayMap<String, ?> readThisArrayMapXml(XmlPullParser parser, String endTag,
35 int eventType = parser.getEventType();
38 Object val = readThisValueXml(parser, name, callback, true);
41 if (parser.getName().equals(endTag)) {
45 "Expected " + endTag + " end tag at: " + parser.getName());
47 eventType = parser.next();
59 * @param parser The XmlPullParser from which to read the list data.
64 public static final ArrayList readThisListXml(XmlPullParser parser, String endTag,
69 int eventType = parser.getEventType();
72 Object val = readThisValueXml(parser, name, callback, arrayMap)
    [all...]
  /external/webrtc/webrtc/libjingle/xmpp/
xmppstanzaparser_unittest.cc 56 XmppStanzaParser parser(&handler);
60 parser.Parse(fragment.c_str(), fragment.length(), false);
66 XmppStanzaParser parser(&handler);
70 parser.Parse(fragment.c_str(), fragment.length(), false);
75 parser.Parse(fragment.c_str(), fragment.length(), false);
80 parser.Parse(fragment.c_str(), fragment.length(), false);
84 parser.Parse(fragment.c_str(), fragment.length(), false);
89 parser.Parse(fragment.c_str(), fragment.length(), false);
95 XmppStanzaParser parser(&handler);
99 parser.Parse(fragment.c_str(), fragment.length(), false)
    [all...]
  /external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/jsdom/
jsdom_parser.js 3 var Parser = require('../tree_construction/parser'),
8 //NOTE: this should be reentrant, so we create new parser here
9 var parser = new Parser(treeAdapter),
10 parsingUnit = new ParsingUnit(parser);
12 //NOTE: override parser loop method
13 parser._runParsingLoop = function () {
28 parser.parse(html);
35 //NOTE: this should be reentrant, so we create new parser her
    [all...]

Completed in 656 milliseconds

1 23 4 5 6 7 8 91011>>