Searched refs:AssignIfValid (Results 1 – 10 of 10) sorted by relevance
121 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()
1475 EXPECT_TRUE(int8_max.AssignIfValid(&uint8_dest)); in TEST()1477 EXPECT_FALSE(int8_min.AssignIfValid(&uint8_dest)); in TEST()1478 EXPECT_TRUE(int8_max.AssignIfValid(&int16_dest)); in TEST()1480 EXPECT_TRUE(int8_min.AssignIfValid(&int16_dest)); in TEST()1482 EXPECT_FALSE(double_max.AssignIfValid(&uint8_dest)); in TEST()1483 EXPECT_FALSE(double_max.AssignIfValid(&int16_dest)); in TEST()1484 EXPECT_TRUE(double_max.AssignIfValid(&double_dest)); in TEST()
79 if (!CheckMul(num_elements, size_element).AssignIfValid(&num_bytes)) in GetReadPointerAndAdvance()
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()
95 constexpr bool AssignIfValid(Dst *result) const in AssignIfValid() function
985 if (!checkedXOffset.AssignIfValid(&xOffset) || !checkedYOffset.AssignIfValid(&yOffset)) in adjustSrcDstRegion()1111 if (!checkedXOffset.AssignIfValid(&xOffset) || !checkedYOffset.AssignIfValid(&yOffset)) in adjustSrcDstRegion()
141 constexpr bool AssignIfValid(Dst* result) const { in AssignIfValid() function