Lines Matching refs:offset
122 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() argument
131 "rm"(offset)); in zend_safe_address()
143 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() argument
160 "rm"(offset)); in zend_safe_address()
173 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() argument
182 "0"(offset), in zend_safe_address()
195 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() argument
204 "r"(offset)); in zend_safe_address()
216 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() argument
228 "r"(offset)); in zend_safe_address()
240 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() argument
242 uint64_t res = (uint64_t) nmemb * (uint64_t) size + (uint64_t) offset; in zend_safe_address()
254 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() argument
256 size_t res = nmemb * size + offset; in zend_safe_address()
257 double _d = (double)nmemb * (double)size + (double)offset; in zend_safe_address()
269 static zend_always_inline size_t zend_safe_address_guarded(size_t nmemb, size_t size, size_t offset) in zend_safe_address_guarded() argument
272 size_t ret = zend_safe_address(nmemb, size, offset, &overflow); in zend_safe_address_guarded()
275 …(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", nmemb, size, offset); in zend_safe_address_guarded()
282 static zend_always_inline size_t zend_safe_addmult(size_t nmemb, size_t size, size_t offset, const … in zend_safe_addmult() argument
285 size_t ret = zend_safe_address(nmemb, size, offset, &overflow); in zend_safe_addmult()
288 …return(E_ERROR, "Possible integer overflow in %s (%zu * %zu + %zu)", message, nmemb, size, offset); in zend_safe_addmult()