Home
last modified time | relevance | path

Searched refs:parsed (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DJavaBeanWithNullValuesTest.java40 JavaBeanWithNullValues parsed = (JavaBeanWithNullValues) yaml.load(dumpStr); in testNotNull() local
41 assertNotNull(parsed.getString()); in testNotNull()
42 assertNotNull(parsed.getBoolean1()); in testNotNull()
43 assertNotNull(parsed.getDate()); in testNotNull()
44 assertNotNull(parsed.getDouble1()); in testNotNull()
45 assertNotNull(parsed.getFloat1()); in testNotNull()
46 assertNotNull(parsed.getInteger()); in testNotNull()
47 assertNotNull(parsed.getLong1()); in testNotNull()
48 assertNotNull(parsed.getSqlDate()); in testNotNull()
49 assertNotNull(parsed.getTimestamp()); in testNotNull()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dvoip_metric_unittest.cc66 const VoipMetric& parsed = read_metric; in TEST() local
68 EXPECT_EQ(kRemoteSsrc, parsed.ssrc()); in TEST()
69 EXPECT_EQ(1, parsed.voip_metric().lossRate); in TEST()
70 EXPECT_EQ(2, parsed.voip_metric().discardRate); in TEST()
71 EXPECT_EQ(3, parsed.voip_metric().burstDensity); in TEST()
72 EXPECT_EQ(4, parsed.voip_metric().gapDensity); in TEST()
73 EXPECT_EQ(0x1112, parsed.voip_metric().burstDuration); in TEST()
74 EXPECT_EQ(0x2223, parsed.voip_metric().gapDuration); in TEST()
75 EXPECT_EQ(0x3334, parsed.voip_metric().roundTripDelay); in TEST()
76 EXPECT_EQ(0x4445, parsed.voip_metric().endSystemDelay); in TEST()
[all …]
Dnack_unittest.cc63 Nack parsed; in TEST() local
66 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST()
67 const Nack& const_parsed = parsed; in TEST()
91 Nack parsed; in TEST() local
93 parsed.Parse(header, kWrapPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST()
95 EXPECT_EQ(kSenderSsrc, parsed.sender_ssrc()); in TEST()
96 EXPECT_EQ(kRemoteSsrc, parsed.media_ssrc()); in TEST()
97 EXPECT_THAT(parsed.packet_ids(), ElementsAreArray(kWrapList)); in TEST()
112 Nack parsed; in TEST() local
116 EXPECT_TRUE(parsed.Parse( in TEST()
[all …]
Dextended_jitter_report_unittest.cc40 const ExtendedJitterReport& parsed() { return parsed_; } in parsed() function in webrtc::__anon74cb76520111::RtcpPacketExtendedJitterReportTest
51 EXPECT_EQ(0u, parsed().jitters_count()); in TEST_F()
60 EXPECT_EQ(1u, parsed().jitters_count()); in TEST_F()
61 EXPECT_EQ(0x11121314U, parsed().jitter(0)); in TEST_F()
71 EXPECT_EQ(2u, parsed().jitters_count()); in TEST_F()
72 EXPECT_EQ(0x11121418U, parsed().jitter(0)); in TEST_F()
73 EXPECT_EQ(0x22242628U, parsed().jitter(1)); in TEST_F()
91 ExtendedJitterReport parsed; in TEST_F() local
93 EXPECT_FALSE(parsed.Parse( in TEST_F()
Dreport_block_unittest.cc66 ReportBlock parsed; in TEST() local
67 EXPECT_TRUE(parsed.Parse(buffer, kBufferLength)); in TEST()
69 EXPECT_EQ(kRemoteSsrc, parsed.source_ssrc()); in TEST()
70 EXPECT_EQ(kFractionLost, parsed.fraction_lost()); in TEST()
71 EXPECT_EQ(kCumulativeLost, parsed.cumulative_lost()); in TEST()
72 EXPECT_EQ(kExtHighestSeqNum, parsed.extended_high_seq_num()); in TEST()
73 EXPECT_EQ(kJitter, parsed.jitter()); in TEST()
74 EXPECT_EQ(kLastSr, parsed.last_sr()); in TEST()
75 EXPECT_EQ(kDelayLastSr, parsed.delay_since_last_sr()); in TEST()
Dapp_unittest.cc45 const App& parsed() { return parsed_; } in parsed() function in webrtc::__anon5347b4d60111::RtcpPacketAppTest
58 EXPECT_EQ(30U, parsed().sub_type()); in TEST_F()
59 EXPECT_EQ(kName, parsed().name()); in TEST_F()
60 EXPECT_EQ(0u, parsed().data_size()); in TEST_F()
74 EXPECT_EQ(30U, parsed().sub_type()); in TEST_F()
75 EXPECT_EQ(kName, parsed().name()); in TEST_F()
76 EXPECT_EQ(kDataLength, parsed().data_size()); in TEST_F()
77 EXPECT_EQ(0, memcmp(kData, parsed().data(), kDataLength)); in TEST_F()
Dreceiver_report_unittest.cc54 const ReceiverReport& parsed() { return parsed_; } in parsed() function in webrtc::__anon6d2f99e50111::RtcpPacketReceiverReportTest
64 const ReceiverReport& parsed = rr; in TEST_F() local
66 EXPECT_EQ(kSenderSsrc, parsed.sender_ssrc()); in TEST_F()
67 EXPECT_EQ(1u, parsed.report_blocks().size()); in TEST_F()
68 const ReportBlock& rb = parsed.report_blocks().front(); in TEST_F()
109 EXPECT_EQ(kSenderSsrc, parsed().sender_ssrc()); in TEST_F()
110 EXPECT_EQ(0u, parsed().report_blocks().size()); in TEST_F()
126 EXPECT_EQ(kSenderSsrc, parsed().sender_ssrc()); in TEST_F()
127 EXPECT_EQ(2u, parsed().report_blocks().size()); in TEST_F()
128 EXPECT_EQ(kRemoteSsrc, parsed().report_blocks()[0].source_ssrc()); in TEST_F()
[all …]
Dsli_unittest.cc68 const Sli& parsed = mutable_parsed; // Read values from constant object. in TEST() local
70 EXPECT_EQ(kSenderSsrc, parsed.sender_ssrc()); in TEST()
71 EXPECT_EQ(kRemoteSsrc, parsed.media_ssrc()); in TEST()
72 EXPECT_EQ(1u, parsed.macroblocks().size()); in TEST()
73 EXPECT_EQ(kFirstMb, parsed.macroblocks()[0].first()); in TEST()
74 EXPECT_EQ(kNumberOfMb, parsed.macroblocks()[0].number()); in TEST()
75 EXPECT_EQ(kPictureId, parsed.macroblocks()[0].picture_id()); in TEST()
Dpli_unittest.cc38 const Pli& parsed = mutable_parsed; // Read values from constant object. in TEST() local
40 EXPECT_EQ(kSenderSsrc, parsed.sender_ssrc()); in TEST()
41 EXPECT_EQ(kRemoteSsrc, parsed.media_ssrc()); in TEST()
60 Pli parsed; in TEST() local
62 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
DEmitterMultiLineTest.java36 String parsed = (String) yaml.load(output); in testWriteMultiLineLiteral() local
38 assertEquals(plain, parsed); in testWriteMultiLineLiteral()
57 List<Object> parsed = (List<Object>) yaml.load(etalon); in testWriteMultiLineList() local
58 assertEquals(3, parsed.size()); in testWriteMultiLineList()
59 assertEquals(one, parsed.get(0)); in testWriteMultiLineList()
60 assertEquals(two, parsed.get(1)); in testWriteMultiLineList()
61 assertEquals(new String(binary), new String((byte[]) parsed.get(2))); in testWriteMultiLineList()
69 Map<String, Object> parsed = (Map<String, Object>) yaml.load(source); in testWriteMultiLineLiteralWithClipChomping() local
70 String value = (String) parsed.get("b"); in testWriteMultiLineLiteralWithClipChomping()
73 String dumped = yaml.dump(parsed); in testWriteMultiLineLiteralWithClipChomping()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue149/
DGlobalDirectivesTest.java37 Iterator<Object> parsed = yaml.loadAll(input).iterator(); in testOneDocument() local
38 ComponentBean bean = (ComponentBean) parsed.next(); in testOneDocument()
41 assertFalse(parsed.hasNext()); in testOneDocument()
52 Iterator<Object> parsed = yaml.loadAll(input).iterator(); in testDirectives() local
53 ComponentBean bean1 = (ComponentBean) parsed.next(); in testDirectives()
56 ComponentBean bean2 = (ComponentBean) parsed.next(); in testDirectives()
59 assertFalse(parsed.hasNext()); in testDirectives()
70 Iterator<Object> parsed = yaml.loadAll(input).iterator(); in testDirectives2() local
71 ComponentBean bean1 = (ComponentBean) parsed.next(); in testDirectives2()
74 ComponentBean bean2 = (ComponentBean) parsed.next(); in testDirectives2()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DNullTagTest.java59 List<String> parsed = (List<String>) getMapValue(input, "sparse"); in testSequenceNull() local
60 assertEquals(5, parsed.size()); in testSequenceNull()
61 assertNull(parsed.get(0)); in testSequenceNull()
62 assertEquals("2nd entry", parsed.get(1)); in testSequenceNull()
63 assertNull("Got: '" + parsed.get(2) + "'", parsed.get(2)); in testSequenceNull()
64 assertEquals("4th entry", parsed.get(3)); in testSequenceNull()
65 assertNull(parsed.get(4)); in testSequenceNull()
70 Map<String, Object> parsed = getMap(input); in testNullInMap() local
71 assertEquals(2, parsed.size()); in testNullInMap()
72 assertTrue(parsed.containsKey(null)); in testNullInMap()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue82/
DPropOrderInfluenceWhenAliasedInGenericCollectionTest.java115 CustomerAB parsed = (CustomerAB) yaml.load(dump); in testAB() local
116 assertNotNull(parsed); in testAB()
137 CustomerAB parsed = (CustomerAB) yaml.load(dump); in testAB_Set() local
138 assertNotNull(parsed); in testAB_Set()
166 CustomerAB parsed = (CustomerAB) yaml.load(dump); in testABWithCustomTag() local
167 assertNotNull(parsed); in testABWithCustomTag()
191 CustomerAB_Property parsed = (CustomerAB_Property) yaml.load(dump); in testABProperty() local
192 assertNotNull(parsed); in testABProperty()
221 CustomerAB_Property parsed = (CustomerAB_Property) yaml.load(dump); in testABPropertyWithCustomTag() local
222 assertNotNull(parsed); in testABPropertyWithCustomTag()
[all …]
/external/curl/tests/data/
Dtest57641 Permissions: rwxrwxrwx (parsed => 777)
50 Permissions: rwxrwxrwx (parsed => 777)
59 Permissions: r--r--r-- (parsed => 444)
72 Permissions: rw-rw-rw- (parsed => 666)
85 Permissions: rwxrwxrwx (parsed => 777)
98 Permissions: --S--S--t (parsed => 7001)
107 Permissions: --s--s--T (parsed => 7110)
116 Permissions: rw-r--r-- (parsed => 644)
128 Permissions: rw-r--r-- (parsed => 644)
141 Permissions: rwxrwxrwx (parsed => 777)
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue72/
DCollectionTest.java34 CollectionList parsed = beanLoader.loadAs(doc, CollectionList.class); in testCollectionList() local
35 assertTrue(parsed.getNames().contains("aaa")); in testCollectionList()
36 assertTrue(parsed.getNames().contains("bbb")); in testCollectionList()
37 assertEquals(2, parsed.getNames().size()); in testCollectionList()
64 CollectionSet parsed = beanLoader.loadAs(doc, CollectionSet.class); in testCollectionSet() local
65 assertTrue(parsed.getRoles().contains(11)); in testCollectionSet()
66 assertTrue(parsed.getRoles().contains(13)); in testCollectionSet()
67 assertEquals(2, parsed.getRoles().size()); in testCollectionSet()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9_unittest.cc65 void VerifyPayload(const RtpDepacketizer::ParsedPayload& parsed, in VerifyPayload() argument
68 EXPECT_EQ(payload, parsed.payload); in VerifyPayload()
69 EXPECT_EQ(payload_length, parsed.payload_length); in VerifyPayload()
70 EXPECT_THAT(std::vector<uint8_t>(parsed.payload, in VerifyPayload()
71 parsed.payload + parsed.payload_length), in VerifyPayload()
80 RtpDepacketizer::ParsedPayload parsed; in ParseAndCheckPacket() local
81 ASSERT_TRUE(depacketizer->Parse(&parsed, packet, expected_length)); in ParseAndCheckPacket()
82 EXPECT_EQ(kRtpVideoVp9, parsed.type.Video.codec); in ParseAndCheckPacket()
83 VerifyHeader(expected, parsed.type.Video.codecHeader.VP9); in ParseAndCheckPacket()
85 VerifyPayload(parsed, packet + expected_hdr_length, kExpectedPayloadLength); in ParseAndCheckPacket()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/
Dtest_connection.py616 parsed = self.ec2.describe_account_attributes()
617 self.assertEqual(len(parsed), 4)
618 self.assertEqual(parsed[0].attribute_name,
620 self.assertEqual(parsed[0].attribute_values,
622 self.assertEqual(parsed[-1].attribute_name,
624 self.assertEqual(parsed[-1].attribute_values,
642 parsed = self.ec2.describe_vpc_attribute('vpc-id',
644 self.assertEqual(parsed.vpc_id, 'vpc-id')
645 self.assertFalse(parsed.enable_dns_hostnames)
722 parsed = self.ec2.get_all_network_interfaces()
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/
Drequest.py103 parsed, check_source = environ['paste.parsed_querystring']
105 return parsed
106 parsed = parse_qsl(source, keep_blank_values=True,
108 environ['paste.parsed_querystring'] = (parsed, source)
109 return parsed
134 parsed, check_source = environ['paste.parsed_dict_querystring']
136 return parsed
137 parsed = parse_qsl(source, keep_blank_values=True,
139 multi = MultiDict(parsed)
157 parsed, check_source = environ['paste.parsed_formvars']
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue74/
DArrayBeanTest.java48 ArrayBean parsed = beanLoader.loadAs(output, ArrayBean.class); in testArrayProperty() local
50 assertEquals(3, parsed.getMembers().length); in testArrayProperty()
51 assertEquals(2, parsed.openMembers.length); in testArrayProperty()
52 assertEquals(2, parsed.getList().size()); in testArrayProperty()
53 assertEquals("ID123", parsed.getId()); in testArrayProperty()
54 assertEquals(7, parsed.getNumber()); in testArrayProperty()
55 for (ArrayMember member : parsed.getMembers()) { in testArrayProperty()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/
DBirdTest.java35 Bird parsed; in testHome() local
43 parsed = loader.loadAs(output, Bird.class); in testHome()
52 parsed = loader.loadAs(output, Bird.class); in testHome()
54 assertEquals(bird.getName(), parsed.getName()); in testHome()
55 assertEquals(bird.getHome().getHeight(), parsed.getHome().getHeight()); in testHome()
/external/webrtc/tools/matlab/
DparseLog.m1 function parsed = parseLog(filename)
3 % parsed = parseLog(filename)
14 % parsed: A struct containing each column parsed from the input file
37 parsed = struct; variable
45 parsed.(strrep(m{1}{1}, ' ', '_')) = table.data(:, i:i+n);
49 parsed.(strrep(colheaders{i}, ' ', '_')) = table.data(:, i);
/external/chromium-trace/catapult/netlog_viewer/netlog_viewer/
Dmain.js215 var parsed = parseUrlHash_(window.location.hash);
216 if (parsed.tabHash != newTabHash) {
222 var parsed = parseUrlHash_(window.location.hash);
224 if (!parsed)
227 if (!parsed.tabHash) {
229 parsed.tabHash = ImportView.TAB_HASH;
232 var tabId = this.hashToTabId_[parsed.tabHash];
236 if (parsed.parameters) {
238 view.setParameters(parsed.parameters);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/
DBooleanEnumTest.java37 …BeanWithEnum parsed = yaml.loadAs("{boolField: true, enumField: true, name: '10'}", BeanWithEnum.c… in loadEnum() local
39 assertEquals(BooleanEnum.TRUE, parsed.getEnumField()); in loadEnum()
40 assertEquals("10", parsed.getName()); in loadEnum()
47 …BeanWithEnum parsed = yaml.loadAs("{boolField: true, enumField: nonsense, name: bar}", BeanWithEnu… in loadEnumUndefined() local
49 assertEquals(BooleanEnum.UNKNOWN, parsed.getEnumField()); in loadEnumUndefined()
50 assertEquals("bar", parsed.getName()); in loadEnumUndefined()
/external/snakeyaml/src/test/java/examples/collections/
DTypeSafeMapTest.java71 MapBean parsed = beanLoader.loadAs(output, MapBean.class); in testLoadMap() local
72 assertNotNull(parsed); in testLoadMap()
73 Map<String, Integer> data = parsed.getData(); in testLoadMap()
78 Map<String, Developer2> developers = parsed.getDevelopers(); in testLoadMap()
168 MapBeanNoGenerics parsed = beanLoader.loadAs(output, MapBeanNoGenerics.class); in testLoadMapWithObject() local
169 assertNotNull(parsed); in testLoadMapWithObject()
170 Map<String, Integer> data = parsed.getData(); in testLoadMapWithObject()
175 Map developers = parsed.getDevelopers(); in testLoadMapWithObject()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue137/
DSupplementaryCharactersTest.java31 String parsed = (String) yaml.load("\"\\U0001f648\""); in testSupplementaryCharacter() local
32 assertEquals("\ud83d\ude48", parsed); in testSupplementaryCharacter()
38 String parsed = (String) yaml.load("\"\\U00000041\""); in testBasicMultilingualPlane() local
39 assertEquals("A", parsed); in testBasicMultilingualPlane()

12345678910>>...15