Home
last modified time | relevance | path

Searched refs:AssignIfValid (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/base/memory/
Dplatform_shared_memory_region_mac.cc135 if (!CheckAdd(offset, size).AssignIfValid(&end_byte) || end_byte > size_) { in MapAt()
Dplatform_shared_memory_region_posix.cc170 if (!CheckAdd(offset, size).AssignIfValid(&end_byte) || end_byte > size_) { in MapAt()
/external/libchrome/base/numerics/
DREADME.md112 the AssignIfValid method will trigger a compile error if the result is ignored).
117 if (!CheckAdd(kHeaderSize, CheckMul(count, kItemSize)).AssignIfValid(&size)) {
249 * `AssignIfValid()` - Assigns the underlying value to the supplied
280 if (!CheckAdd(input, padding, kHeaderLength).AssignIfValid(&buff_size) ||
Dchecked_math.h70 AssignIfValid(Dst* result) const { in AssignIfValid() function
/external/libchrome/base/metrics/
Dhistogram_samples.cc150 if (!new_count.AssignIfValid(&single_sample.as_parts.count)) in Accumulate()
/external/libchrome/base/
Dpickle.cc79 if (!CheckMul(num_elements, size_element).AssignIfValid(&num_bytes)) in GetReadPointerAndAdvance()
/external/pdfium/third_party/base/numerics/
Dsafe_math.h141 constexpr bool AssignIfValid(Dst* result) const { in AssignIfValid() function