Home
last modified time | relevance | path

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

/PHP-7.0/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c59 if (allocsz > MBFL_MEMORY_DEVICE_ALLOC_SIZE) { in mbfl_memory_device_init()
60 device->allocsz = allocsz; in mbfl_memory_device_init()
62 device->allocsz = MBFL_MEMORY_DEVICE_ALLOC_SIZE; in mbfl_memory_device_init()
80 if (allocsz > MBFL_MEMORY_DEVICE_ALLOC_SIZE) { in mbfl_memory_device_realloc()
81 device->allocsz = allocsz; in mbfl_memory_device_realloc()
83 device->allocsz = MBFL_MEMORY_DEVICE_ALLOC_SIZE; in mbfl_memory_device_realloc()
148 newlen = device->length + device->allocsz; in mbfl_memory_device_output()
175 newlen = device->length + device->allocsz; in mbfl_memory_device_output2()
204 newlen = device->length + device->allocsz; in mbfl_memory_device_output4()
338 device->allocsz = MBFL_MEMORY_DEVICE_ALLOC_SIZE; in mbfl_wchar_device_init()
[all …]
H A Dmbfl_memory_device.h43 int allocsz; member
50 int allocsz; member
53 MBFLAPI extern void mbfl_memory_device_init(mbfl_memory_device *device, int initsz, int allocsz);
54 MBFLAPI extern void mbfl_memory_device_realloc(mbfl_memory_device *device, int initsz, int allocsz);
/PHP-7.0/ext/mbstring/libmbfl/tests/
H A Dstrwidth.c61 if (dev.length + dev.allocsz < dev.length) { in main()
66 mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, in main()
67 dev.allocsz); in main()
H A Demoji.c72 mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, dev.allocsz); in main()
101 mbfl_memory_device_realloc(&dev2, dev2.length + dev2.allocsz, dev2.allocsz); in main()
H A Dconv_kana.c127 if (dev.length + dev.allocsz < dev.length) { in main()
132 mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, in main()
133 dev.allocsz); in main()
H A Dconv_encoding.c81 if (dev.length + dev.allocsz < dev.length) { in main()
86 mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, in main()
87 dev.allocsz); in main()
H A Dstrcut.c90 if (dev.length + dev.allocsz < dev.length) { in main()
95 mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, in main()
96 dev.allocsz); in main()

Completed in 13 milliseconds