Lines Matching refs:pos
44 device->pos = 0; in mbfl_memory_device_init()
63 device->length = device->pos = 0; in mbfl_memory_device_clear()
68 device->pos = 0; in mbfl_memory_device_reset()
73 if (device->pos > 0) { in mbfl_memory_device_unput()
74 device->pos--; in mbfl_memory_device_unput()
80 result->len = device->pos; in mbfl_memory_device_result()
84 device->length = device->pos = 0; in mbfl_memory_device_result()
92 if (device->pos >= device->length) { in mbfl_memory_device_output()
105 device->buffer[device->pos++] = (unsigned char)c; in mbfl_memory_device_output()
116 if (len > device->length - device->pos) { in mbfl_memory_device_strncat()
130 unsigned char *w = &device->buffer[device->pos]; in mbfl_memory_device_strncat()
132 device->pos += len; in mbfl_memory_device_strncat()
139 return mbfl_memory_device_strncat(dest, (const char*)src->buffer, src->pos); in mbfl_memory_device_devcat()
146 device->pos = 0; in mbfl_wchar_device_init()
156 device->length = device->pos = 0; in mbfl_wchar_device_clear()
163 if (device->pos >= device->length) { in mbfl_wchar_device_output()
182 device->buffer[device->pos++] = c; in mbfl_wchar_device_output()