Home
last modified time | relevance | path

Searched refs:nullopt (Results 1 – 25 of 920) sorted by relevance

12345678910>>...37

/external/webrtc/modules/audio_coding/codecs/
Dbuiltin_audio_decoder_factory_unittest.cc24 adf->MakeAudioDecoder(SdpAudioFormat("rey", 8000, 1), absl::nullopt)); in TEST()
33 adf->MakeAudioDecoder(SdpAudioFormat("pcmu", 8000, 0), absl::nullopt)); in TEST()
35 adf->MakeAudioDecoder(SdpAudioFormat("pcmu", 8000, 1), absl::nullopt)); in TEST()
37 adf->MakeAudioDecoder(SdpAudioFormat("pcmu", 8000, 2), absl::nullopt)); in TEST()
39 adf->MakeAudioDecoder(SdpAudioFormat("pcmu", 8000, 3), absl::nullopt)); in TEST()
41 adf->MakeAudioDecoder(SdpAudioFormat("pcmu", 16000, 1), absl::nullopt)); in TEST()
50 adf->MakeAudioDecoder(SdpAudioFormat("pcma", 8000, 0), absl::nullopt)); in TEST()
52 adf->MakeAudioDecoder(SdpAudioFormat("pcma", 8000, 1), absl::nullopt)); in TEST()
54 adf->MakeAudioDecoder(SdpAudioFormat("pcma", 8000, 2), absl::nullopt)); in TEST()
56 adf->MakeAudioDecoder(SdpAudioFormat("pcma", 8000, 3), absl::nullopt)); in TEST()
[all …]
/external/webrtc/api/audio_codecs/test/
Daudio_encoder_factory_template_unittest.cc54 return absl::nullopt; in SdpToConfig()
69 absl::optional<AudioCodecPairId> /*codec_pair_id*/ = absl::nullopt) { in MakeAudioEncoder()
84 EXPECT_EQ(absl::nullopt, factory->QueryAudioEncoder({"foo", 8000, 1})); in TEST()
86 factory->MakeAudioEncoder(17, {"bar", 16000, 1}, absl::nullopt)); in TEST()
94 EXPECT_EQ(absl::nullopt, factory->QueryAudioEncoder({"foo", 8000, 1})); in TEST()
98 factory->MakeAudioEncoder(17, {"bar", 16000, 1}, absl::nullopt)); in TEST()
99 auto enc = factory->MakeAudioEncoder(17, {"bogus", 8000, 1}, absl::nullopt); in TEST()
112 EXPECT_EQ(absl::nullopt, factory->QueryAudioEncoder({"foo", 8000, 1})); in TEST()
119 factory->MakeAudioEncoder(17, {"bar", 16000, 1}, absl::nullopt)); in TEST()
120 auto enc1 = factory->MakeAudioEncoder(17, {"bogus", 8000, 1}, absl::nullopt); in TEST()
[all …]
Daudio_decoder_factory_template_unittest.cc54 return absl::nullopt; in SdpToConfig()
68 absl::optional<AudioCodecPairId> /*codec_pair_id*/ = absl::nullopt) { in MakeAudioDecoder()
86 factory->MakeAudioDecoder({"bar", 16000, 1}, absl::nullopt)); in TEST()
97 factory->MakeAudioDecoder({"bar", 16000, 1}, absl::nullopt)); in TEST()
98 auto dec = factory->MakeAudioDecoder({"bogus", 8000, 1}, absl::nullopt); in TEST()
116 factory->MakeAudioDecoder({"bar", 16000, 1}, absl::nullopt)); in TEST()
117 auto dec1 = factory->MakeAudioDecoder({"bogus", 8000, 1}, absl::nullopt); in TEST()
121 factory->MakeAudioDecoder({"sham", 16000, 2}, absl::nullopt)); in TEST()
123 {"sham", 16000, 2, {{"param", "value"}}}, absl::nullopt); in TEST()
138 factory->MakeAudioDecoder({"pcmu", 16000, 1}, absl::nullopt)); in TEST()
[all …]
/external/perfetto/src/base/
Dstring_utils_unittest.cc49 EXPECT_EQ(CStringToUInt32(""), nullopt); in TEST()
50 EXPECT_EQ(CStringToUInt32("!?"), nullopt); in TEST()
51 EXPECT_EQ(CStringToUInt32("abc"), nullopt); in TEST()
52 EXPECT_EQ(CStringToUInt32("123 abc"), nullopt); in TEST()
59 EXPECT_EQ(CStringToInt32(""), nullopt); in TEST()
60 EXPECT_EQ(CStringToInt32("!?"), nullopt); in TEST()
61 EXPECT_EQ(CStringToInt32("abc"), nullopt); in TEST()
62 EXPECT_EQ(CStringToInt32("123 abc"), nullopt); in TEST()
70 EXPECT_EQ(CStringToDouble(""), nullopt); in TEST()
71 EXPECT_EQ(CStringToDouble("!?"), nullopt); in TEST()
[all …]
/external/webrtc/rtc_base/
Dstring_to_number_unittest.cc72 EXPECT_EQ(absl::nullopt, StringToNumber<T>(too_low_string)); in TYPED_TEST_P()
73 EXPECT_EQ(absl::nullopt, StringToNumber<T>(too_low_string.c_str())); in TYPED_TEST_P()
74 EXPECT_EQ(absl::nullopt, StringToNumber<T>(too_large_string)); in TYPED_TEST_P()
75 EXPECT_EQ(absl::nullopt, StringToNumber<T>(too_large_string.c_str())); in TYPED_TEST_P()
83 EXPECT_EQ(absl::nullopt, StringToNumber<T>(kInvalidCharArray)); in TYPED_TEST_P()
84 EXPECT_EQ(absl::nullopt, StringToNumber<T>(std::string(kInvalidCharArray))); in TYPED_TEST_P()
85 EXPECT_EQ(absl::nullopt, StringToNumber<T>(kPlusMinusCharArray)); in TYPED_TEST_P()
86 EXPECT_EQ(absl::nullopt, StringToNumber<T>(std::string(kPlusMinusCharArray))); in TYPED_TEST_P()
87 EXPECT_EQ(absl::nullopt, StringToNumber<T>(kNumberFollowedByCruft)); in TYPED_TEST_P()
88 EXPECT_EQ(absl::nullopt, in TYPED_TEST_P()
[all …]
/external/webrtc/rtc_base/experiments/
Dmin_video_bitrate_experiment_unittest.cc27 absl::nullopt); in TEST()
29 absl::nullopt); in TEST()
31 absl::nullopt); in TEST()
33 absl::nullopt); in TEST()
36 absl::nullopt); in TEST()
45 absl::nullopt); in TEST()
47 absl::nullopt); in TEST()
49 absl::nullopt); in TEST()
51 absl::nullopt); in TEST()
54 absl::nullopt); in TEST()
[all …]
/external/webrtc/call/
Drtp_bitrate_configurator_unittest.cc17 using absl::nullopt;
126 UpdateMaskMatches(mask, *mask.min_bitrate_bps, nullopt, nullopt); in TEST_F()
132 UpdateMaskMatches(mask, 1000, nullopt, nullopt); in TEST_F()
136 UpdateConfigMatches(config, 1234, nullopt, nullopt); in TEST_F()
143 UpdateMaskMatches(mask, nullopt, *mask.start_bitrate_bps, nullopt); in TEST_F()
148 UpdateConfigMatches(bitrate_config, nullopt, bitrate_config.start_bitrate_bps, in TEST_F()
149 nullopt); in TEST_F()
160 UpdateMaskMatches(mask, nullopt, nullopt, *mask.max_bitrate_bps); in TEST_F()
182 UpdateMaskMatches(mask, 2000, 2000, nullopt); in TEST_F()
193 UpdateMaskMatches(mask, nullopt, -1, 1000); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_analysis.cc28 using absl::nullopt;
63 return nullopt; in GetGTEOperandIndex()
77 return nullopt; in GetGTEOperandIndex()
260 return nullopt; in GetLoopInductionVarTupleIdx()
275 return nullopt; in GetLoopInductionVarTupleIdx()
286 return nullopt; in GetLoopInductionVarTupleIdx()
293 return nullopt; in GetLoopInductionVarTupleIdx()
301 return nullopt; in GetLoopInductionVarTupleIdx()
315 return nullopt; in LiteralAsScalarInt64()
336 return nullopt; in LiteralAsScalarInt64()
[all …]
/external/libchrome/base/json/
Djson_parser.cc87 return nullopt; in Parse()
98 return nullopt; in Parse()
103 return nullopt; in Parse()
170 return nullopt; in PeekChars()
180 return nullopt; in PeekChar()
194 return nullopt; in ConsumeChar()
324 return nullopt; in ParseToken()
331 return nullopt; in ConsumeDictionary()
337 return nullopt; in ConsumeDictionary()
346 return nullopt; in ConsumeDictionary()
[all …]
/external/libcxx/test/std/utilities/optional/optional.nullops/
Dequal.pass.cpp22 using std::nullopt; in main()
31 static_assert ( (nullopt == o1), "" ); in main()
32 static_assert ( !(nullopt == o2), "" ); in main()
33 static_assert ( (o1 == nullopt), "" ); in main()
34 static_assert ( !(o2 == nullopt), "" ); in main()
36 static_assert (noexcept(nullopt == o1), ""); in main()
37 static_assert (noexcept(o1 == nullopt), ""); in main()
Dless_than.pass.cpp22 using std::nullopt; in main()
31 static_assert ( !(nullopt < o1), "" ); in main()
32 static_assert ( (nullopt < o2), "" ); in main()
33 static_assert ( !(o1 < nullopt), "" ); in main()
34 static_assert ( !(o2 < nullopt), "" ); in main()
36 static_assert (noexcept(nullopt < o1), ""); in main()
37 static_assert (noexcept(o1 < nullopt), ""); in main()
Dgreater.pass.cpp22 using std::nullopt; in main()
31 static_assert ( !(nullopt > o1), "" ); in main()
32 static_assert ( !(nullopt > o2), "" ); in main()
33 static_assert ( !(o1 > nullopt), "" ); in main()
34 static_assert ( (o2 > nullopt), "" ); in main()
36 static_assert (noexcept(nullopt > o1), ""); in main()
37 static_assert (noexcept(o1 > nullopt), ""); in main()
Dless_equal.pass.cpp23 using std::nullopt; in main()
32 static_assert ( (nullopt <= o1), "" ); in main()
33 static_assert ( (nullopt <= o2), "" ); in main()
34 static_assert ( (o1 <= nullopt), "" ); in main()
35 static_assert ( !(o2 <= nullopt), "" ); in main()
37 static_assert (noexcept(nullopt <= o1), ""); in main()
38 static_assert (noexcept(o1 <= nullopt), ""); in main()
Dgreater_equal.pass.cpp22 using std::nullopt; in main()
31 static_assert ( (nullopt >= o1), "" ); in main()
32 static_assert ( !(nullopt >= o2), "" ); in main()
33 static_assert ( (o1 >= nullopt), "" ); in main()
34 static_assert ( (o2 >= nullopt), "" ); in main()
36 static_assert (noexcept(nullopt >= o1), ""); in main()
37 static_assert (noexcept(o1 >= nullopt), ""); in main()
Dnot_equal.pass.cpp22 using std::nullopt; in main()
31 static_assert ( !(nullopt != o1), "" ); in main()
32 static_assert ( (nullopt != o2), "" ); in main()
33 static_assert ( !(o1 != nullopt), "" ); in main()
34 static_assert ( (o2 != nullopt), "" ); in main()
36 static_assert (noexcept(nullopt != o1), ""); in main()
37 static_assert (noexcept(o1 != nullopt), ""); in main()
/external/llvm-project/libcxx/test/std/utilities/optional/optional.nullops/
Dgreater.pass.cpp23 using std::nullopt; in main()
32 static_assert ( !(nullopt > o1), "" ); in main()
33 static_assert ( !(nullopt > o2), "" ); in main()
34 static_assert ( !(o1 > nullopt), "" ); in main()
35 static_assert ( (o2 > nullopt), "" ); in main()
37 static_assert (noexcept(nullopt > o1), ""); in main()
38 static_assert (noexcept(o1 > nullopt), ""); in main()
Dequal.pass.cpp23 using std::nullopt; in main()
32 static_assert ( (nullopt == o1), "" ); in main()
33 static_assert ( !(nullopt == o2), "" ); in main()
34 static_assert ( (o1 == nullopt), "" ); in main()
35 static_assert ( !(o2 == nullopt), "" ); in main()
37 static_assert (noexcept(nullopt == o1), ""); in main()
38 static_assert (noexcept(o1 == nullopt), ""); in main()
Dnot_equal.pass.cpp23 using std::nullopt; in main()
32 static_assert ( !(nullopt != o1), "" ); in main()
33 static_assert ( (nullopt != o2), "" ); in main()
34 static_assert ( !(o1 != nullopt), "" ); in main()
35 static_assert ( (o2 != nullopt), "" ); in main()
37 static_assert (noexcept(nullopt != o1), ""); in main()
38 static_assert (noexcept(o1 != nullopt), ""); in main()
Dless_than.pass.cpp23 using std::nullopt; in main()
32 static_assert ( !(nullopt < o1), "" ); in main()
33 static_assert ( (nullopt < o2), "" ); in main()
34 static_assert ( !(o1 < nullopt), "" ); in main()
35 static_assert ( !(o2 < nullopt), "" ); in main()
37 static_assert (noexcept(nullopt < o1), ""); in main()
38 static_assert (noexcept(o1 < nullopt), ""); in main()
Dgreater_equal.pass.cpp23 using std::nullopt; in main()
32 static_assert ( (nullopt >= o1), "" ); in main()
33 static_assert ( !(nullopt >= o2), "" ); in main()
34 static_assert ( (o1 >= nullopt), "" ); in main()
35 static_assert ( (o2 >= nullopt), "" ); in main()
37 static_assert (noexcept(nullopt >= o1), ""); in main()
38 static_assert (noexcept(o1 >= nullopt), ""); in main()
Dless_equal.pass.cpp24 using std::nullopt; in main()
33 static_assert ( (nullopt <= o1), "" ); in main()
34 static_assert ( (nullopt <= o2), "" ); in main()
35 static_assert ( (o1 <= nullopt), "" ); in main()
36 static_assert ( !(o2 <= nullopt), "" ); in main()
38 static_assert (noexcept(nullopt <= o1), ""); in main()
39 static_assert (noexcept(o1 <= nullopt), ""); in main()
/external/webrtc/video/
Dreceive_statistics_proxy_unittest.cc87 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
98 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
102 statistics_proxy_->UpdateHistograms(absl::nullopt, StreamDataCounters(), in TEST_F()
115 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
119 statistics_proxy_->UpdateHistograms(absl::nullopt, StreamDataCounters(), in TEST_F()
132 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 1, in TEST_F()
152 EXPECT_EQ(absl::nullopt, statistics_proxy_->GetStats().qp_sum); in TEST_F()
163 EXPECT_EQ(absl::nullopt, statistics_proxy_->GetStats().qp_sum); in TEST_F()
202 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
211 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
[all …]
Dreceive_statistics_proxy2_unittest.cc123 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
134 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
138 FlushAndUpdateHistograms(absl::nullopt, StreamDataCounters(), nullptr); in TEST_F()
150 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
154 FlushAndUpdateHistograms(absl::nullopt, StreamDataCounters(), nullptr); in TEST_F()
166 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 1, in TEST_F()
188 EXPECT_EQ(absl::nullopt, statistics_proxy_->GetStats().qp_sum); in TEST_F()
199 EXPECT_EQ(absl::nullopt, statistics_proxy_->GetStats().qp_sum); in TEST_F()
237 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
245 statistics_proxy_->OnDecodedFrame(frame, absl::nullopt, 0, in TEST_F()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Dactive_decode_targets_helper_unittest.cc32 EXPECT_EQ(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
53 EXPECT_EQ(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
81 ASSERT_EQ(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
97 EXPECT_EQ(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
102 EXPECT_EQ(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
118 EXPECT_EQ(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
128 ASSERT_EQ(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
145 ASSERT_NE(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
150 ASSERT_EQ(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
170 ASSERT_EQ(helper.ActiveDecodeTargetsBitmask(), absl::nullopt); in TEST()
[all …]
/external/perfetto/src/trace_processor/dynamic/
Dthread_state_generator_unittest.cc104 base::Optional<bool> io_wait = base::nullopt) { in VerifyThreadState()
123 ASSERT_EQ(cpu_col[row], base::nullopt); in VerifyThreadState()
129 : base::nullopt; in VerifyThreadState()
170 VerifyThreadState(Ts{15}, base::nullopt, thread_b_, "D"); in TEST_F()
171 VerifyThreadState(Ts{20}, base::nullopt, thread_a_, "R"); in TEST_F()
186 VerifyThreadState(Ts{30}, base::nullopt, thread_a_, "S"); in TEST_F()
206 VerifyThreadState(Ts{25}, base::nullopt, thread_a_, "R"); in TEST_F()
226 VerifyThreadState(Ts{25}, base::nullopt, thread_a_, "R"); in TEST_F()
239 VerifyThreadState(Ts{15}, base::nullopt, thread_a_, "R"); in TEST_F()
252 AddSched(base::nullopt, thread_a_, ""); in TEST_F()
[all …]

12345678910>>...37