Searched refs:allocsz (Results 1 – 2 of 2) sorted by relevance
/PHP-8.3/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 40 void mbfl_memory_device_init(mbfl_memory_device *device, size_t initsz, size_t allocsz) in mbfl_memory_device_init() argument 45 device->allocsz = MAX(allocsz, MBFL_MEMORY_DEVICE_ALLOC_SIZE); in mbfl_memory_device_init() 48 void mbfl_memory_device_realloc(mbfl_memory_device *device, size_t initsz, size_t allocsz) in mbfl_memory_device_realloc() argument 54 device->allocsz = MAX(allocsz, MBFL_MEMORY_DEVICE_ALLOC_SIZE); in mbfl_memory_device_realloc() 95 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_memory_device_output() 100 size_t newlen = device->length + device->allocsz; in mbfl_memory_device_output() 147 device->allocsz = MBFL_MEMORY_DEVICE_ALLOC_SIZE; in mbfl_wchar_device_init() 167 if (device->length > SIZE_MAX - device->allocsz) { in mbfl_wchar_device_output() 172 newlen = device->length + device->allocsz; in mbfl_wchar_device_output()
|
H A D | mbfl_memory_device.h | 43 size_t allocsz; member 50 size_t allocsz; member 54 mbfl_memory_device *device, size_t initsz, size_t allocsz); 56 mbfl_memory_device *device, size_t initsz, size_t allocsz);
|
Completed in 4 milliseconds