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

1 23 4 5 6 7 8 91011>>

  /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 100 try (XmlResourceParser parser = mContext.getResources().getXml(mResourceId)) {
101 parseNetworkSecurityConfig(parser);
112 private Pin parsePin(XmlResourceParser parser)
114 String digestAlgorithm = parser.getAttributeValue(null, "digest");
116 throw new ParserException(parser, "Unsupported pin digest algorithm: "
119 if (parser.next() != XmlPullParser.TEXT) {
120 throw new ParserException(parser, "Missing pin digest");
122 String digest = parser.getText().trim();
127 throw new ParserException(parser, "Invalid pin digest", e);
131 throw new ParserException(parser, "digest length " + decodedDigest.lengt
    [all...]
  /external/ltp/testcases/network/nfsv4/acl/
setacl_stress.py 18 parser = OptionParser() variable
19 parser.set_defaults(nbfiles=5,nbusers=5,nbgroups=5,nloop=100 )
20 parser.add_option("-n","--nloop", dest="nloop",type="int", help="number of loop to do in the test")
21 parser.add_option("-p", "--path", dest="path",help="path on which the test is executed")
22 parser.add_option("-f", "--nbfiles", dest="nbfiles",type="int",help="nb of files to do the test (default=5)")
23 parser.add_option("-u", "--nbusers", dest="nbusers",type="int",help="nb of users (default=5)")
24 parser.add_option("-g", "--nbgrp", dest="nbgroups",type="int",help="nb of groups (default=5)")
25 (options, args) = parser.parse_args()
  /external/pdfium/testing/libfuzzer/
pdf_streamparser_fuzzer.cc 9 #include "core/fpdfapi/parser/cpdf_object.h"
12 CPDF_StreamParser parser(data, size);
14 parser.ReadNextObject(true, false, 0))
  /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/toolchain-utils/
command_executer_timeout_test.py 16 def Usage(parser, message):
18 parser.print_help()
23 parser = argparse.ArgumentParser()
24 _ = parser.parse_args(argv)
  /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/autotest/tko/
parser_lib.py 5 def parser(version): function
6 """Creates a parser instance for the requested version.
10 0: autotest_lib.tko.parsers.version_0.parser,
11 1: autotest_lib.tko.parsers.version_1.parser,
  /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();
  /external/skia/infra/bots/assets/scripts/
create.py 21 parser = argparse.ArgumentParser()
22 parser.add_argument('--target_dir', '-t', required=True)
23 args = parser.parse_args()
  /packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
ExifReader.java 39 ExifParser parser = ExifParser.parse(inputStream, mInterface); local
43 int event = parser.next();
47 exifData.addIfdData(new IfdData(parser.getCurrentIfd()));
50 tag = parser.getTag();
52 parser.registerForTagValue(tag);
58 tag = parser.getTag();
60 parser.readFullTagValue(tag);
65 byte[] buf = new byte[parser.getCompressedImageSize()];
66 if (buf.length != parser.read(buf)) {
71 buf = new byte[parser.getStripSize()]
    [all...]
  /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/apps/Dialer/java/com/android/voicemail/impl/utils/
XmlUtils.java 29 XmlPullParser parser, String endTag, String[] name, ReadMapCallback callback)
33 int eventType = parser.getEventType();
36 Object val = readThisValueXml(parser, name, callback, true);
39 if (parser.getName().equals(endTag)) {
42 throw new XmlPullParserException("Expected " + endTag + " end tag at: " + parser.getName());
44 eventType = parser.next();
55 * @param parser The XmlPullParser from which to read the list data.
61 XmlPullParser parser,
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/flatbuffers/samples/
sample_text.cpp 38 flatbuffers::Parser parser; local
40 ok = parser.Parse(schemafile.c_str(), include_directories) &&
41 parser.Parse(jsonfile.c_str(), include_directories);
44 // here, parser.builder_ contains a binary buffer that is the parsed data.
49 if (!GenerateText(parser, parser.builder_.GetBufferPointer(), &jsongen)) {
  /external/libmojo/mojo/public/tools/
prepend.py 19 parser = optparse.OptionParser()
20 parser.add_option('--input', help='The file to prepend the line to.')
21 parser.add_option('--line', help='The line to be prepended.')
22 parser.add_option('--output', help='The output file.')
24 options, _ = parser.parse_args()
  /external/llvm/utils/
bisect 8 parser = argparse.ArgumentParser() variable
10 parser.add_argument('--start', type=int, default=0)
11 parser.add_argument('--end', type=int, default=(1 << 32))
12 parser.add_argument('command', nargs='+')
14 args = parser.parse_args()
  /external/skia/tools/
test_pdfs.py 37 parser = optparse.OptionParser(USAGE_STRING % '%prog' + HELP_STRING)
38 parser.add_option('--render_dir', dest='render_dir',
41 parser.add_option('--diff_dir', dest='diff_dir',
45 options, arguments = parser.parse_args(args)
49 parser.print_help()
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/net/
FeedParser.java 61 XmlPullParser parser = Xml.newPullParser(); local
62 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, false);
63 parser.setInput(in, null);
64 parser.nextTag();
65 return readFeed(parser);
74 * @param parser Incoming XMl
79 private List<Entry> readFeed(XmlPullParser parser)
90 parser.require(XmlPullParser.START_TAG, ns, "feed");
91 while (parser.next() != XmlPullParser.END_TAG) {
92 if (parser.getEventType() != XmlPullParser.START_TAG)
    [all...]
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/net/
FeedParser.java 61 XmlPullParser parser = Xml.newPullParser(); local
62 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, false);
63 parser.setInput(in, null);
64 parser.nextTag();
65 return readFeed(parser);
74 * @param parser Incoming XMl
79 private List<Entry> readFeed(XmlPullParser parser)
90 parser.require(XmlPullParser.START_TAG, ns, "feed");
91 while (parser.next() != XmlPullParser.END_TAG) {
92 if (parser.getEventType() != XmlPullParser.START_TAG)
    [all...]

Completed in 754 milliseconds

1 23 4 5 6 7 8 91011>>