OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SAFE_INT64_MAX
(Results
1 - 2
of
2
) sorted by null
/external/safe-iop/src/
safe_iop.c
131
# define
SAFE_INT64_MAX
0x7fffffffffffffffL
133
# define SAFE_INT64_MIN (-
SAFE_INT64_MAX
- 1L)
135
# define
SAFE_INT64_MAX
0x7fffffffffffffffLL
137
# define SAFE_INT64_MIN (-
SAFE_INT64_MAX
- 1LL)
220
a=
SAFE_INT64_MAX
; b=1; EXPECT_FALSE(safe_add(NULL, a, b));
222
a=SAFE_INT64_MIN; b=
SAFE_INT64_MAX
; EXPECT_TRUE(safe_add(NULL, a, b));
223
a=
SAFE_INT64_MAX
/2; b=
SAFE_INT64_MAX
/2; EXPECT_TRUE(safe_add(NULL, a, b));
418
a=SAFE_INT64_MIN; b=
SAFE_INT64_MAX
; EXPECT_FALSE(safe_sub(NULL, a, b));
419
a=SAFE_INT64_MIN/2; b=
SAFE_INT64_MAX
; EXPECT_FALSE(safe_sub(NULL, a, b))
[
all
...]
/external/safe-iop/include/
safe_iop.h
539
# define
SAFE_INT64_MAX
0x7fffffffffffffffL
541
# define SAFE_INT64_MIN (-
SAFE_INT64_MAX
- 1L)
543
# define
SAFE_INT64_MAX
0x7fffffffffffffffLL
545
# define SAFE_INT64_MIN (-
SAFE_INT64_MAX
- 1LL)
573
MAKE_SADD(s, 64, int64_t,
SAFE_INT64_MAX
)
589
MAKE_SSUB(s, 64, int64_t, SAFE_INT64_MIN,
SAFE_INT64_MAX
)
606
MAKE_SMUL(s, 64, int64_t,
SAFE_INT64_MAX
, SAFE_INT64_MIN)
Completed in 475 milliseconds