Lines Matching refs:pos
50 device->pos = 0; in mbfl_memory_device_init()
84 device->pos = 0; in mbfl_memory_device_clear()
92 device->pos = 0; in mbfl_memory_device_reset()
99 if (device->pos > 0) { in mbfl_memory_device_unput()
100 device->pos--; in mbfl_memory_device_unput()
108 result->len = device->pos; in mbfl_memory_device_result()
113 device->pos= 0; in mbfl_memory_device_result()
130 if (device->pos >= device->length) { in mbfl_memory_device_output()
144 device->buffer[device->pos++] = (unsigned char)c; in mbfl_memory_device_output()
159 if (len > device->length - device->pos) { in mbfl_memory_device_strncat()
174 w = &device->buffer[device->pos]; in mbfl_memory_device_strncat()
176 device->pos += len; in mbfl_memory_device_strncat()
184 return mbfl_memory_device_strncat(dest, (const char *) src->buffer, src->pos); in mbfl_memory_device_devcat()
193 device->pos= 0; in mbfl_wchar_device_init()
207 device->pos = 0; in mbfl_wchar_device_clear()
216 if (device->pos >= device->length) { in mbfl_wchar_device_output()
235 device->buffer[device->pos++] = c; in mbfl_wchar_device_output()