Searched refs:MultiplyWithOverflowCheck (Results 1 – 6 of 6) sorted by relevance
/third_party/node/src/ |
D | aliased_buffer.h | 40 MultiplyWithOverflowCheck(sizeof(NativeT), count); in AliasedBufferBase() 74 CHECK_LE(MultiplyWithOverflowCheck(sizeof(NativeT), count), in AliasedBufferBase() 224 const size_t new_size_in_bytes = MultiplyWithOverflowCheck(sizeof(NativeT), in reserve()
|
D | node_mem-inl.h | 89 size_t real_size = MultiplyWithOverflowCheck(nmemb, size); in CallocImpl()
|
D | util-inl.h | 318 inline T MultiplyWithOverflowCheck(T a, T b) { in MultiplyWithOverflowCheck() function 335 size_t full_size = MultiplyWithOverflowCheck(sizeof(T), n); in UncheckedRealloc() 363 MultiplyWithOverflowCheck(sizeof(T), n); in UncheckedCalloc()
|
D | util.h | 97 inline T MultiplyWithOverflowCheck(T a, T b);
|
D | node_crypto.h | 856 void* mem = OPENSSL_malloc(MultiplyWithOverflowCheck(count, sizeof(T))); in MallocOpenSSL()
|
D | node_zlib.cc | 479 MultiplyWithOverflowCheck(static_cast<size_t>(items), in AllocForZlib()
|