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

  /external/safe-iop/src/
safe_iop.c 132 # define SAFE_UINT64_MAX 0xffffffffffffffffUL
136 # define SAFE_UINT64_MAX 0xffffffffffffffffULL
297 a=1; b=SAFE_UINT64_MAX; EXPECT_FALSE(safe_add(NULL, a, b));
298 a=SAFE_UINT64_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b));
299 a=SAFE_UINT64_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b));
300 a=SAFE_UINT64_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b));
302 a=0; b=SAFE_UINT64_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
507 a=SAFE_UINT64_MAX-1; b=SAFE_UINT64_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
508 a=SAFE_UINT64_MAX; b=SAFE_UINT64_MAX; EXPECT_TRUE(safe_sub(NULL, a, b))
    [all...]
  /external/safe-iop/include/
safe_iop.h 540 # define SAFE_UINT64_MAX 0xffffffffffffffffUL
544 # define SAFE_UINT64_MAX 0xffffffffffffffffULL
565 MAKE_UADD(u, 64, u_int64_t, SAFE_UINT64_MAX)
598 MAKE_UMUL(u, 64, u_int64_t, SAFE_UINT64_MAX)

Completed in 40 milliseconds