HomeSort by relevance Sort by last modified time
    Searched refs:SafeAddInt32 (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/gpu/command_buffer/common/
gles2_cmd_utils_unittest.cc 50 TEST_F(GLES2UtilTest, SafeAddInt32) {
54 EXPECT_TRUE(SafeAddInt32(2, 3, &result));
56 EXPECT_FALSE(SafeAddInt32(kMax, 1, &result));
58 EXPECT_TRUE(SafeAddInt32(kMin + 1, -1, &result));
60 EXPECT_FALSE(SafeAddInt32(kMin, -1, &result));
62 EXPECT_TRUE(SafeAddInt32(kMax - 1, 1, &result));
64 EXPECT_FALSE(SafeAddInt32(1, kMax, &result));
66 EXPECT_TRUE(SafeAddInt32(-1, kMin + 1, &result));
68 EXPECT_FALSE(SafeAddInt32(-1, kMin, &result));
70 EXPECT_TRUE(SafeAddInt32(1, kMax - 1, &result))
    [all...]
gles2_cmd_utils.h 51 inline bool SafeAddInt32(int32 a, int32 b, int32* dst) {
  /external/chromium_org/gpu/command_buffer/service/
buffer_manager.cc 128 SafeAddInt32(offset, size, &end) && end <= size_;
texture_manager.cc 532 return SafeAddInt32(xoffset, width, &right) &&
533 SafeAddInt32(yoffset, height, &top) &&
    [all...]
gles2_cmd_decoder.cc     [all...]
  /external/chromium_org/gpu/command_buffer/client/
gles2_implementation.cc     [all...]

Completed in 185 milliseconds