Home
last modified time | relevance | path

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

/external/v8/src/base/
Dbits.cc86 return value.ValueOrDefault(limit); in FromCheckedNumeric()
107 *val = rv.ValueOrDefault(limit); in SignedMulOverflow32()
115 *val = rv.ValueOrDefault(limit); in SignedMulOverflow64()
Dsafe_math.h85 T ValueOrDefault(T default_value) const { in ValueOrDefault() function
/external/pdfium/core/fxcrt/
Dfx_string.cpp123 if (integer.ValueOrDefault(0) > in FX_atonum()
127 } else if (integer.ValueOrDefault(0) > in FX_atonum()
134 uint32_t uValue = integer.ValueOrDefault(0); in FX_atonum()
Dcfx_seekablestreamproxy.cpp193 new_pos.ValueOrDefault(std::numeric_limits<FX_FILESIZE>::max()); in Seek()
222 m_iPosition = new_pos.ValueOrDefault(m_iPosition); in ReadData()
283 m_iPosition = new_pos.ValueOrDefault(std::numeric_limits<FX_FILESIZE>::max()); in WriteString()
Dcfx_memorystream.cpp68 if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || in ReadBlock()
/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/libtextclassifier/actions/
Dactions-suggestions.cc65 T ValueOrDefault(const flatbuffers::Table* values, const int32 field_offset, in ValueOrDefault() function
370 preconditions_.min_smart_reply_triggering_score = ValueOrDefault( in InitializeTriggeringPreconditions()
373 preconditions_.max_sensitive_topic_score = ValueOrDefault( in InitializeTriggeringPreconditions()
376 preconditions_.suppress_on_sensitive_topic = ValueOrDefault( in InitializeTriggeringPreconditions()
380 ValueOrDefault(overlay, TriggeringPreconditions::VT_MIN_INPUT_LENGTH, in InitializeTriggeringPreconditions()
383 ValueOrDefault(overlay, TriggeringPreconditions::VT_MAX_INPUT_LENGTH, in InitializeTriggeringPreconditions()
385 preconditions_.min_locale_match_fraction = ValueOrDefault( in InitializeTriggeringPreconditions()
388 preconditions_.handle_missing_locale_as_supported = ValueOrDefault( in InitializeTriggeringPreconditions()
391 preconditions_.handle_unknown_locale_as_supported = ValueOrDefault( in InitializeTriggeringPreconditions()
394 preconditions_.suppress_on_low_confidence_input = ValueOrDefault( in InitializeTriggeringPreconditions()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_psengine.cpp232 Push(result.ValueOrDefault(0)); in DoOperator()
243 Push(result.ValueOrDefault(0)); in DoOperator()
369 result >>= (-safe_shift).ValueOrDefault(0); in DoOperator()
371 Push(result.ValueOrDefault(0)); in DoOperator()
/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/fpdfsdk/
Dfpdf_structtree.cpp62 return tmp_size.ValueOrDefault(-1); in FPDF_StructTree_CountChildren()
120 return tmp_size.ValueOrDefault(-1); in FPDF_StructElement_CountChildren()
/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);
DREADME.md270 * `ValueOrDefault()` - Returns the current value, or the supplied default if
312 * `ValueOrDefaultForType<>()` in place of: `a.template ValueOrDefault<>()`
/external/pdfium/core/fpdfapi/font/
Dcpdf_simplefont.cpp189 safeStemV.ValueOrDefault(FXFONT_FW_NORMAL), m_ItalicAngle, 0, in LoadSubstFont()
Dcpdf_tounicodemap.cpp122 return uni.ValueOrDefault(0); in GetUnicode()
Dcpdf_cidfont.cpp782 safeStemV.ValueOrDefault(FXFONT_FW_NORMAL), m_ItalicAngle, in LoadSubstFont()
/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/vulkan-validation-layers/layers/
Dshader_validation.cpp393 static unsigned ValueOrDefault(std::unordered_map<unsigned, unsigned> const &map, unsigned id, unsi… in ValueOrDefault() function
680 int location = ValueOrDefault(var_locations, id, static_cast<unsigned>(-1)); in CollectInterfaceByLocation()
681 int builtin = ValueOrDefault(var_builtins, id, static_cast<unsigned>(-1)); in CollectInterfaceByLocation()
682 unsigned component = ValueOrDefault(var_components, id, 0); // Unspecified is OK, is 0 in CollectInterfaceByLocation()
819 unsigned set = ValueOrDefault(var_sets, insn.word(2), 0); in CollectInterfaceByDescriptorSlot()
820 unsigned binding = ValueOrDefault(var_bindings, insn.word(2), 0); in CollectInterfaceByDescriptorSlot()
/external/pdfium/core/fxge/
Dcfx_facecache.cpp150 level.ValueOrDefault(0)); in RenderGlyph()
/external/v4l2_codec2/vda/
Dh264_parser.cc976 sps->expected_delta_per_pic_order_cnt_cycle = offset_acc.ValueOrDefault(0); in ParseSPS()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp679 return p.ValueOrDefault(0); in Interpolate()