Lines Matching defs:string_size
14 Py_ssize_t string_size;
148 if (self->pos + len > self->string_size) {
153 if (self->pos > self->string_size) {
157 0 lo string_size hi
163 memset(self->buf + self->string_size, '\0',
164 (self->pos - self->string_size) * sizeof(Py_UNICODE));
168 existing data if self->pos < self->string_size. */
173 if (self->string_size < self->pos) {
174 self->string_size = self->pos;
193 return PyUnicode_FromUnicode(self->buf, self->string_size);
241 n = self->string_size - self->pos;
261 if (self->pos >= self->string_size)
265 if (limit < 0 || limit > self->string_size - self->pos)
266 limit = self->string_size - self->pos;
388 if (size < self->string_size) {
391 self->string_size = size;
446 pos = self->string_size;
612 self->string_size = 0;
750 self->string_size = bufsize;