Home
last modified time | relevance | path

Searched refs:ValueOrDefault (Results 1 – 25 of 46) sorted by relevance

12

/external/webrtc/test/pc/e2e/analyzer/audio/
Ddefault_audio_quality_analyzer.cc42 stat->total_samples_received.ValueOrDefault(0ul); in OnStatsReports()
43 sample.concealed_samples = stat->concealed_samples.ValueOrDefault(0ul); in OnStatsReports()
45 stat->removed_samples_for_acceleration.ValueOrDefault(0ul); in OnStatsReports()
47 stat->inserted_samples_for_deceleration.ValueOrDefault(0ul); in OnStatsReports()
49 stat->silent_concealed_samples.ValueOrDefault(0ul); in OnStatsReports()
51 TimeDelta::Seconds(stat->jitter_buffer_delay.ValueOrDefault(0.)); in OnStatsReports()
53 TimeDelta::Seconds(stat->jitter_buffer_target_delay.ValueOrDefault(0.)); in OnStatsReports()
55 stat->jitter_buffer_emitted_count.ValueOrDefault(0ul); in OnStatsReports()
/external/webrtc/test/pc/e2e/
Dnetwork_quality_metrics_reporter.cc54 DataSize::Bytes(stat->bytes_received.ValueOrDefault(0ul) + in OnStatsReports()
55 stat->header_bytes_received.ValueOrDefault(0ul)); in OnStatsReports()
61 DataSize::Bytes(stat->bytes_sent.ValueOrDefault(0ul) + in OnStatsReports()
62 stat->header_bytes_sent.ValueOrDefault(0ul)); in OnStatsReports()
Dcross_media_metrics_reporter.cc40 if (stat->estimated_playout_timestamp.ValueOrDefault(0.) > 0 && in OnStatsReports()
/external/webrtc/test/pc/e2e/analyzer/video/
Dvideo_quality_metrics_reporter.cc60 DataSize::Bytes(s->retransmitted_bytes_sent.ValueOrDefault(0ul)); in OnStatsReports()
61 sample.bytes_sent += DataSize::Bytes(s->bytes_sent.ValueOrDefault(0ul)); in OnStatsReports()
63 DataSize::Bytes(s->header_bytes_sent.ValueOrDefault(0ul)); in OnStatsReports()
/external/pdfium/third_party/agg23/
D0002-ubsan-error-fixes.patch29 + float deltax = width.ValueOrDefault(0);
30 + float deltay = height.ValueOrDefault(0);
Dagg_clip_liang_barsky.h50 float deltax = width.ValueOrDefault(0); in clip_liang_barsky()
51 float deltay = height.ValueOrDefault(0); in clip_liang_barsky()
/external/libbrillo/brillo/
Dbackoff_entry.cc157 calculated_release_time_us.ValueOrDefault(kMaxTime), in CalculateReleaseTime()
158 maximum_release_time_us.ValueOrDefault(kMaxTime)); in CalculateReleaseTime()
/external/pdfium/core/fpdfapi/page/
Dcpdf_psengine.cpp243 Push(result.ValueOrDefault(0)); in DoOperator()
254 Push(result.ValueOrDefault(0)); in DoOperator()
380 result >>= (-safe_shift).ValueOrDefault(0); in DoOperator()
382 Push(result.ValueOrDefault(0)); in DoOperator()
Dcpdf_sampledfunc.cpp130 bits_to_skip = bitpos.ValueOrDefault(-1); in v_Call()
159 int bits_to_skip2 = bitpos2.ValueOrDefault(-1); in v_Call()
/external/pdfium/fpdfsdk/
Dfpdf_structtree.cpp57 return tmp_size.ValueOrDefault(-1); in FPDF_StructTree_CountChildren()
117 return tmp_size.ValueOrDefault(-1); in FPDF_StructElement_CountChildren()
/external/libtextclassifier/native/actions/
Dactions-suggestions.cc63 T ValueOrDefault(const flatbuffers::Table* values, const int32 field_offset, in ValueOrDefault() function
433 preconditions_.min_smart_reply_triggering_score = ValueOrDefault( in InitializeTriggeringPreconditions()
436 preconditions_.max_sensitive_topic_score = ValueOrDefault( in InitializeTriggeringPreconditions()
439 preconditions_.suppress_on_sensitive_topic = ValueOrDefault( in InitializeTriggeringPreconditions()
443 ValueOrDefault(overlay, TriggeringPreconditions::VT_MIN_INPUT_LENGTH, in InitializeTriggeringPreconditions()
446 ValueOrDefault(overlay, TriggeringPreconditions::VT_MAX_INPUT_LENGTH, in InitializeTriggeringPreconditions()
448 preconditions_.min_locale_match_fraction = ValueOrDefault( in InitializeTriggeringPreconditions()
451 preconditions_.handle_missing_locale_as_supported = ValueOrDefault( in InitializeTriggeringPreconditions()
454 preconditions_.handle_unknown_locale_as_supported = ValueOrDefault( in InitializeTriggeringPreconditions()
457 preconditions_.suppress_on_low_confidence_input = ValueOrDefault( in InitializeTriggeringPreconditions()
[all …]
/external/pdfium/core/fxcrt/
Dcfx_seekablestreamproxy.cpp170 new_pos.ValueOrDefault(std::numeric_limits<FX_FILESIZE>::max()); in Seek()
197 m_iPosition = new_pos.ValueOrDefault(m_iPosition); in ReadData()
Dfx_number.cpp60 uint32_t uValue = unsigned_val.ValueOrDefault(0); in FX_Number()
Dcfx_memorystream.cpp47 if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || in ReadBlockAtOffset()
/external/pdfium/xfa/fgas/layout/
Dcfx_rtfbreak.cpp138 int32_t iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Combination()
167 iCharWidth = iSafeCharWidth.ValueOrDefault(0); in AppendChar_Tab()
226 int iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Arabic()
255 int iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Arabic()
285 int iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Others()
Dcfx_txtbreak.cpp94 pCurChar->m_iCharWidth = iCharWidth.ValueOrDefault(0); in AppendChar_Combination()
159 int32_t iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Arabic()
185 int32_t iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Arabic()
219 int32_t iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Others()
/external/angle/src/libANGLE/
DVertexAttribute.cpp136 mCachedElementLimit = elementLimit.ValueOrDefault(kIntegerOverflow); in updateCachedElementLimit()
DRenderbuffer.cpp294 return size.ValueOrDefault(std::numeric_limits<GLint>::max()); in getMemorySize()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator.cpp24 return safe_result.ValueOrDefault(offset); in AlignUp()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp386 safeWeight.ValueOrDefault(FXFONT_FW_NORMAL), in FallbackFontFromCharcode()
445 return safeStemV.ValueOrDefault(FXFONT_FW_NORMAL); in GetFontWeight()
Dcpdf_tounicodemap.cpp210 return uni.ValueOrDefault(0); in GetUnicode()
/external/libchrome/base/numerics/
Dchecked_math.h98 constexpr StrictNumeric<Dst> ValueOrDefault(const Src default_value) const { in ValueOrDefault() function
306 return value.template ValueOrDefault<Dst>(default_value);
/external/pdfium/third_party/base/numerics/
Dsafe_math.h167 constexpr StrictNumeric<Dst> ValueOrDefault(const Src default_value) const { in ValueOrDefault() function
366 return value.template ValueOrDefault<Dst>(default_value);
/external/angle/src/common/third_party/base/anglebase/numerics/
Dsafe_math.h111 T ValueOrDefault(T default_value) const { return IsValid() ? state_.value() : default_value; } in ValueOrDefault() function
/external/webrtc/api/stats/
Drtc_stats.h323 inline T ValueOrDefault(U default_value) const { in ValueOrDefault() function

12