Lines Matching defs:alloc_size
93 size_t n, alloc_size;
112 alloc_size = n * 4;
113 if (alloc_size / 4 != n) {
120 new_buf = OPENSSL_malloc(alloc_size);
123 new_buf = OPENSSL_realloc_clean(buf->data, buf->max, alloc_size);
125 new_buf = OPENSSL_realloc(buf->data, alloc_size);
134 buf->max = alloc_size;
172 size_t alloc_size;
180 alloc_size = size + 1;
181 if (alloc_size < size) {
186 ret = OPENSSL_malloc(alloc_size);