OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:safe_mul
(Results
1 - 5
of
5
) sorted by null
/external/safe-iop/src/
safe_iop.c
556
a=SCHAR_MIN; b=-1; EXPECT_FALSE(
safe_mul
(NULL, a, b));
557
a=SCHAR_MIN; b=-2; EXPECT_FALSE(
safe_mul
(NULL, a, b));
558
a=SCHAR_MAX; b=SCHAR_MAX; EXPECT_FALSE(
safe_mul
(NULL, a, b));
559
a=SCHAR_MAX/2+1; b=2; EXPECT_FALSE(
safe_mul
(NULL, a, b));
560
a=SCHAR_MAX/2; b=2; EXPECT_TRUE(
safe_mul
(NULL, a, b));
561
a=100; b=0; EXPECT_TRUE(
safe_mul
(NULL, a, b));
562
a=10; b=2; EXPECT_TRUE(
safe_mul
(NULL, a, b));
563
a=SCHAR_MAX; b=0; EXPECT_TRUE(
safe_mul
(NULL, a, b));
564
a=SCHAR_MIN; b=0; EXPECT_TRUE(
safe_mul
(NULL, a, b));
565
a=0; b=SCHAR_MAX; EXPECT_TRUE(
safe_mul
(NULL, a, b))
[
all
...]
/dalvik/libdex/
DexDataMap.cpp
40
if (!
safe_mul
(&size, maxCount, sizeOfItems) ||
DexSwapVerify.cpp
141
if (!
safe_mul
(NULL, (_count), (_elemSize)) || \
[
all
...]
/external/safe-iop/include/
safe_iop.h
207
#define
safe_mul
(_ptr, __a, __b) \
macro
231
(
safe_mul
(&(__sio(var)(r)), __sio(var)(a), __sio(var)(b)) && \
232
safe_mul
((_ptr), __sio(var)(r), __sio(var)(c))); })
240
(
safe_mul
(&(__sio(var)(r)), __sio(var)(a), __sio(var)(b)) && \
241
safe_mul
(&(__sio(var)(r)), __sio(var)(r), __sio(var)(c)) && \
242
safe_mul
((_ptr), __sio(var)(r), (__sio(var)(d)))); })
251
(
safe_mul
(&(__sio(var)(r)), __sio(var)(a), __sio(var)(b)) && \
252
safe_mul
(&(__sio(var)(r)), __sio(var)(r), __sio(var)(c)) && \
253
safe_mul
(&(__sio(var)(r)), __sio(var)(r), __sio(var)(d)) && \
254
safe_mul
((_ptr), __sio(var)(r), __sio(var)(e))); }
[
all
...]
/system/core/libutils/
VectorImpl.cpp
345
LOG_ALWAYS_FATAL_IF(!
safe_mul
(&new_allocation_size, new_capacity, mItemSize));
407
LOG_ALWAYS_FATAL_IF(!
safe_mul
(&new_alloc_size, new_capacity, mItemSize),
Completed in 1124 milliseconds