Home
last modified time | relevance | path

Searched refs:_new_size (Results 1 – 7 of 7) sorted by relevance

/external/brotli/c/enc/
Dmemory.h71 size_t _new_size = (C == 0) ? (R) : C; \
73 while (_new_size < (R)) _new_size *= 2; \
74 new_array = BROTLI_ALLOC((M), T, _new_size); \
79 C = _new_size; \
/external/mesa3d/src/util/
Dos_memory_stdc.h45 #define os_realloc( _old_ptr, _old_size, _new_size) \ argument
46 realloc(_old_ptr, _new_size + 0*(_old_size))
Dos_memory_debug.h89 #define os_realloc( _ptr, _old_size, _new_size ) \ argument
90 debug_realloc( __FILE__, __LINE__, __FUNCTION__, _ptr, _old_size, _new_size )
/external/virglrenderer/src/gallium/auxiliary/os/
Dos_memory_stdc.h47 #define os_realloc( _old_ptr, _old_size, _new_size) \ argument
48 realloc(_old_ptr, _new_size + 0*(_old_size))
Dos_memory_debug.h86 #define os_realloc( _ptr, _old_size, _new_size ) \ argument
87 debug_realloc( __FILE__, __LINE__, __FUNCTION__, _ptr, _old_size, _new_size )
/external/python/cpython2/Modules/
Darraymodule.c48 size_t _new_size; in array_resize() local
74 _new_size = (newsize >> 4) + (Py_SIZE(self) < 8 ? 3 : 7) + newsize; in array_resize()
78 if (_new_size <= ((~(size_t)0) / self->ob_descr->itemsize)) in array_resize()
79 PyMem_RESIZE(items, char, (_new_size * self->ob_descr->itemsize)); in array_resize()
88 self->allocated = _new_size; in array_resize()
/external/python/cpython3/Modules/
Darraymodule.c115 size_t _new_size; in array_resize() local
155 _new_size = (newsize >> 4) + (Py_SIZE(self) < 8 ? 3 : 7) + newsize; in array_resize()
159 if (_new_size <= ((~(size_t)0) / self->ob_descr->itemsize)) in array_resize()
160 PyMem_RESIZE(items, char, (_new_size * self->ob_descr->itemsize)); in array_resize()
169 self->allocated = _new_size; in array_resize()