Home
last modified time | relevance | path

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

12345678910>>...25

/external/google-benchmark/tools/
Dcompare.py225 parsed = self.parser.parse_args(
227 self.assertEqual(parsed.mode, 'benchmarks')
228 self.assertEqual(parsed.test_baseline[0].name, self.testInput0)
229 self.assertEqual(parsed.test_contender[0].name, self.testInput1)
230 self.assertFalse(parsed.benchmark_options)
233 parsed = self.parser.parse_args(
235 self.assertEqual(parsed.mode, 'benchmarks')
236 self.assertEqual(parsed.test_baseline[0].name, self.testInput0)
237 self.assertEqual(parsed.test_contender[0].name, self.testInput1)
238 self.assertEqual(parsed.benchmark_options, ['d'])
[all …]
/external/libcxx/utils/google-benchmark/tools/
Dcompare.py225 parsed = self.parser.parse_args(
227 self.assertEqual(parsed.mode, 'benchmarks')
228 self.assertEqual(parsed.test_baseline[0].name, self.testInput0)
229 self.assertEqual(parsed.test_contender[0].name, self.testInput1)
230 self.assertFalse(parsed.benchmark_options)
233 parsed = self.parser.parse_args(
235 self.assertEqual(parsed.mode, 'benchmarks')
236 self.assertEqual(parsed.test_baseline[0].name, self.testInput0)
237 self.assertEqual(parsed.test_contender[0].name, self.testInput1)
238 self.assertEqual(parsed.benchmark_options, ['d'])
[all …]
/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::__anon14215c0e0111::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()
/external/tensorflow/tensorflow/python/debug/cli/
Danalyzer_cli.py493 parsed = self._arg_parsers["list_tensors"].parse_args(args)
498 if parsed.op_type_filter:
499 op_type_regex = re.compile(parsed.op_type_filter)
500 filter_strs.append("Op type regex filter: \"%s\"" % parsed.op_type_filter)
504 if parsed.node_name_filter:
505 node_name_regex = re.compile(parsed.node_name_filter)
507 parsed.node_name_filter)
514 if parsed.tensor_filter:
516 filter_callable = self.get_tensor_filter(parsed.tensor_filter)
519 parsed.tensor_filter)
[all …]
Dprofile_analyzer_cli.py400 parsed = self._arg_parsers["list_profile"].parse_args(args)
401 op_time_interval = (command_parser.parse_time_interval(parsed.op_time)
402 if parsed.op_time else None)
404 command_parser.parse_time_interval(parsed.execution_time)
405 if parsed.execution_time else None)
406 node_name_regex = (re.compile(parsed.node_name_filter)
407 if parsed.node_name_filter else None)
408 file_path_regex = (re.compile(parsed.file_path_filter)
409 if parsed.file_path_filter else None)
410 op_type_regex = (re.compile(parsed.op_type_filter)
[all …]
Dstepper_cli.py229 parsed = self.arg_parsers["list_sorted_nodes"].parse_args(args)
231 if parsed.lower_bound != -1 and parsed.upper_bound != -1:
233 max(0, parsed.lower_bound),
234 min(len(self._sorted_nodes), parsed.upper_bound)
383 parsed = self.arg_parsers["cont"].parse_args(args)
387 node_name = parsed.target_name.split(":")[0]
390 parsed.target_name)
394 parsed.target_name,
396 parsed.invalidate_from_updated_variables),
397 restore_variable_values=parsed.restore_variable_values)
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dbase_rendezvous_mgr.cc69 const Rendezvous::ParsedKey& parsed, in RecvLocalAsync() argument
82 rendez->RecvLocalAsync(parsed, std::move(done_cb)); in RecvLocalAsync()
86 const Rendezvous::ParsedKey& parsed, in RecvLocal() argument
90 RecvLocalAsync(step_id, parsed, in RecvLocal()
172 RecvLocalAsyncInternal(call.parsed, std::move(call.done)); in Initialize()
187 Status BaseRemoteRendezvous::Send(const Rendezvous::ParsedKey& parsed, in Send() argument
190 VLOG(1) << "BaseRemoteRendezvous Send " << this << " " << parsed.FullKey(); in Send()
195 if (!IsLocalDevice(session_->worker_name, parsed.src_device)) { in Send()
197 "Invalid rendezvous key (src): ", parsed.FullKey(), " @ ", in Send()
202 return local_->Send(parsed, args, val, is_dead); in Send()
[all …]
/external/tensorflow/tensorflow/contrib/mpi/
Dmpi_rendezvous_mgr.cc48 auto parsed = env->local_devices[0]->parsed_name(); in MPIRendezvousMgr() local
50 strings::StrCat(parsed.job, ":", parsed.replica, ":", parsed.task); in MPIRendezvousMgr()
63 const Rendezvous::ParsedKey& parsed, const Rendezvous::Args& recv_args, in RecvFromRemoteAsync() argument
68 VLOG(2) << "MPI User requested " << parsed.FullKey() in RecvFromRemoteAsync()
72 parsed.src.job, ":", parsed.src.replica, ":", parsed.src.task); in RecvFromRemoteAsync()
77 s = env_->device_mgr->LookupDevice(parsed.dst_device, &dst_device); in RecvFromRemoteAsync()
85 rendezvous_call->Init(parsed, step_id_); in RecvFromRemoteAsync()
87 std::function<void()> request_call = [parsed, dst, rendezvous_call]() { in RecvFromRemoteAsync()
105 [this, parsed, recv_args, done, dst, temp1, in RecvFromRemoteAsync()
110 s = env_->device_mgr->LookupDevice(parsed.dst_device, &dst_device); in RecvFromRemoteAsync()
[all …]
/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/tensorflow/tensorflow/core/common_runtime/
Drendezvous_mgr.cc39 Status IntraProcessRendezvous::Send(const ParsedKey& parsed, in Send() argument
42 VLOG(1) << "IntraProcessRendezvous Send " << this << " " << parsed.FullKey(); in Send()
49 return local_->Send(parsed, args, val, is_dead); in Send()
53 Rendezvous::ParsedKey* parsed) { in ParseKey() argument
58 TF_RETURN_IF_ERROR(Rendezvous::ParseKey(key, parsed)); in ParseKey()
63 const Rendezvous::ParsedKey& parsed, const Rendezvous::Args& send_args, in SameWorkerRecvDone() argument
69 (send_args.alloc_attrs.on_host() || parsed.src.type == "CPU"); in SameWorkerRecvDone()
71 (recv_args.alloc_attrs.on_host() || parsed.dst.type == "CPU"); in SameWorkerRecvDone()
88 Status s = device_mgr_->LookupDevice(parsed.src_device, &src_device); in SameWorkerRecvDone()
94 s = device_mgr_->LookupDevice(parsed.dst_device, &dst_device); in SameWorkerRecvDone()
[all …]
Dkernel_benchmark_testlib.cc155 Rendezvous::ParsedKey parsed; in RunWithArgs() local
156 TF_CHECK_OK(Rendezvous::ParseKey(p.first, &parsed)); in RunWithArgs()
157 TF_CHECK_OK(rendez_->Send(parsed, Rendezvous::Args(), p.second, false)); in RunWithArgs()
161 Rendezvous::ParsedKey parsed; in RunWithArgs() local
162 TF_CHECK_OK(Rendezvous::ParseKey(key, &parsed)); in RunWithArgs()
163 TF_CHECK_OK(rendez_->Recv(parsed, Rendezvous::Args(), &unused, &is_dead)); in RunWithArgs()
172 Rendezvous::ParsedKey parsed; in RunWithArgs() local
173 TF_CHECK_OK(Rendezvous::ParseKey(p.first, &parsed)); in RunWithArgs()
174 TF_CHECK_OK(rendez_->Send(parsed, Rendezvous::Args(), p.second, false)); in RunWithArgs()
178 Rendezvous::ParsedKey parsed; in RunWithArgs() local
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dtime_util.cc36 tm parsed{0}; in ParseRfc3339Time() local
38 if (sscanf(time.c_str(), "%4d-%2d-%2dT%2d:%2d:%fZ", &(parsed.tm_year), in ParseRfc3339Time()
39 &(parsed.tm_mon), &(parsed.tm_mday), &(parsed.tm_hour), in ParseRfc3339Time()
40 &(parsed.tm_min), &seconds) != 6) { in ParseRfc3339Time()
45 parsed.tm_year -= 1900; // tm_year expects years since 1900. in ParseRfc3339Time()
46 parsed.tm_mon -= 1; // month is zero-based. in ParseRfc3339Time()
47 parsed.tm_sec = int_seconds; in ParseRfc3339Time()
49 *mtime_nsec = timegm(&parsed) * kNanosecondsPerSecond + in ParseRfc3339Time()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs75 var parsed = TestWellKnownTypes.Parser.ParseFrom(bytes); in NonDefaultSingleValues()
77 Assert.AreEqual("x", parsed.StringField); in NonDefaultSingleValues()
78 Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), parsed.BytesField); in NonDefaultSingleValues()
79 Assert.AreEqual(true, parsed.BoolField); in NonDefaultSingleValues()
80 Assert.AreEqual(12.5f, parsed.FloatField); in NonDefaultSingleValues()
81 Assert.AreEqual(12.25d, parsed.DoubleField); in NonDefaultSingleValues()
82 Assert.AreEqual(1, parsed.Int32Field); in NonDefaultSingleValues()
83 Assert.AreEqual(2L, parsed.Int64Field); in NonDefaultSingleValues()
84 Assert.AreEqual(3U, parsed.Uint32Field); in NonDefaultSingleValues()
85 Assert.AreEqual(4UL, parsed.Uint64Field); in NonDefaultSingleValues()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs131 var parsed = JsonParser.Default.Parse<TestWellKnownTypes>(json); in SingularWrappers_ExplicitNulls()
132 Assert.AreEqual(message, parsed); in SingularWrappers_ExplicitNulls()
145 IMessage parsed = (IMessage)Activator.CreateInstance(wrapperType); in Wrappers_Standalone()
147 JsonParser.Default.Merge(parsed, "null"); in Wrappers_Standalone()
148 Assert.AreEqual(expected, parsed); in Wrappers_Standalone()
150 JsonParser.Default.Merge(parsed, json); in Wrappers_Standalone()
152 Assert.AreEqual(expected, parsed); in Wrappers_Standalone()
168 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone()
170 Assert.AreEqual(expected, parsed); in BytesWrapper_Standalone()
234 var parsed = JsonParser.Default.Parse<T>(json);
[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/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/bdd/
Dparsing_scenarios.story1 Scenario: Test declaration as String for constructor on parsed class
4 When the following source is parsed:
13 Scenario: Test declaration as String exclusing modifiers and throws for constructor on parsed class
16 When the following source is parsed:
25 Scenario: Test declaration as String exclusing modifiers and throws for method on parsed class
28 When the following source is parsed:
39 Scenario: Test declaration as String exclusing modifiers and throws for method on parsed class
42 When the following source is parsed:
53 Scenario: The same class source is parsed by two different compilation units and should therefore b…
57 When the following source is parsed:
[all …]
Dpretty_printing_scenarios.story7 When the class is parsed by the Java parser
22 When the class is parsed by the Java parser
46 When the class is parsed by the Java parser
69 When the class is parsed by the Java parser
89 When the class is parsed by the Java parser
112 When the class is parsed by the Java parser
129 When the class is parsed by the Java parser
139 When the class is parsed by the Java parser
148 Scenario: Strings with escaped newlines are parsed correctly
155 When the class is parsed by the Java parser
[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/tensorflow/tensorflow/python/debug/wrappers/
Dlocal_cli_wrapper.py462 parsed = self._argparsers["print_feed"].parse_args(args)
464 command_parser.parse_tensor_name_with_slicing(parsed.tensor_name))
484 print_all=parsed.print_all,
486 highlight_options=cli_shared.parse_ranges_highlight(parsed.ranges),
487 include_numeric_summary=parsed.numeric_summary)
494 parsed = self._argparsers["run"].parse_args(args)
495 parsed.node_name_filter = parsed.node_name_filter or None
496 parsed.op_type_filter = parsed.op_type_filter or None
497 parsed.tensor_dtype_filter = parsed.tensor_dtype_filter or None
499 if parsed.profile:
[all …]

12345678910>>...25