Searched refs:AssignIfValid (Results 1 – 7 of 7) sorted by relevance
135 if (!CheckAdd(offset, size).AssignIfValid(&end_byte) || end_byte > size_) { in MapAt()
170 if (!CheckAdd(offset, size).AssignIfValid(&end_byte) || end_byte > size_) { in MapAt()
112 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 supplied280 if (!CheckAdd(input, padding, kHeaderLength).AssignIfValid(&buff_size) ||
70 AssignIfValid(Dst* result) const { in AssignIfValid() function
150 if (!new_count.AssignIfValid(&single_sample.as_parts.count)) in Accumulate()
79 if (!CheckMul(num_elements, size_element).AssignIfValid(&num_bytes)) in GetReadPointerAndAdvance()
141 constexpr bool AssignIfValid(Dst* result) const { in AssignIfValid() function