Lines Matching refs:length

50 		device->length = 0;  in mbfl_memory_device_init()
55 device->length = initsz; in mbfl_memory_device_init()
73 if (initsz > device->length) { in mbfl_memory_device_realloc()
77 device->length = initsz; in mbfl_memory_device_realloc()
96 device->length = 0; in mbfl_memory_device_clear()
125 device->length = 0; in mbfl_memory_device_result()
143 if (device->pos >= device->length) { in mbfl_memory_device_output()
148 newlen = device->length + device->allocsz; in mbfl_memory_device_output()
157 device->length = newlen; in mbfl_memory_device_output()
170 if ((device->pos + 2) >= device->length) { in mbfl_memory_device_output2()
175 newlen = device->length + device->allocsz; in mbfl_memory_device_output2()
184 device->length = newlen; in mbfl_memory_device_output2()
199 if ((device->pos + 4) >= device->length) { in mbfl_memory_device_output4()
204 newlen = device->length + device->allocsz; in mbfl_memory_device_output4()
213 device->length = newlen; in mbfl_memory_device_output4()
239 if ((device->pos + len) >= device->length) { in mbfl_memory_device_strcat()
241 int newlen = device->length + (len + MBFL_MEMORY_DEVICE_ALLOC_SIZE)*sizeof(unsigned char); in mbfl_memory_device_strcat()
251 device->length = newlen; in mbfl_memory_device_strcat()
271 if ((device->pos + len) >= device->length) { in mbfl_memory_device_strncat()
273 int newlen = device->length + len + MBFL_MEMORY_DEVICE_ALLOC_SIZE; in mbfl_memory_device_strncat()
283 device->length = newlen; in mbfl_memory_device_strncat()
303 if ((dest->pos + src->pos) >= dest->length) { in mbfl_memory_device_devcat()
305 int newlen = dest->length + src->pos + MBFL_MEMORY_DEVICE_ALLOC_SIZE; in mbfl_memory_device_devcat()
315 dest->length = newlen; in mbfl_memory_device_devcat()
336 device->length = 0; in mbfl_wchar_device_init()
350 device->length = 0; in mbfl_wchar_device_clear()
360 if (device->pos >= device->length) { in mbfl_wchar_device_output()
365 newlen = device->length + device->allocsz; in mbfl_wchar_device_output()
374 device->length = newlen; in mbfl_wchar_device_output()