Lines Matching refs:SIZE_MAX
108 zassert_false(size_add_overflow(0, SIZE_MAX, &result));
109 zassert_equal(result, SIZE_MAX);
110 zassert_true(size_add_overflow(1, SIZE_MAX, &result));
113 zassert_false(size_add_overflow(SIZE_MAX, 0, &result));
114 zassert_equal(result, SIZE_MAX);
115 zassert_true(size_add_overflow(SIZE_MAX, 2, &result));
126 zassert_false(size_mul_overflow(SIZE_MAX, 1, &result));
127 zassert_equal(result, SIZE_MAX);
128 zassert_true(size_mul_overflow(SIZE_MAX, 2, &result));
129 zassert_equal(result, SIZE_MAX * 2);
131 zassert_false(size_mul_overflow(1, SIZE_MAX, &result));
132 zassert_equal(result, SIZE_MAX);
133 zassert_true(size_mul_overflow(2, SIZE_MAX, &result));
134 zassert_equal(result, SIZE_MAX * 2);