Lines Matching refs:buffer_used
66 int buffer_used; /* Buffer units in use */ member
301 if (self->buffer == NULL || self->buffer_used == 0) in flush_character_buffer()
303 rc = call_character_handler(self, self->buffer, self->buffer_used); in flush_character_buffer()
304 self->buffer_used = 0; in flush_character_buffer()
319 if ((self->buffer_used + len) > self->buffer_size) { in my_CharacterDataHandler()
330 self->buffer_used = 0; in my_CharacterDataHandler()
333 memcpy(self->buffer + self->buffer_used, in my_CharacterDataHandler()
335 self->buffer_used += len; in my_CharacterDataHandler()
937 new_parser->buffer_used = 0; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
1176 self->buffer_used = 0; in newxmlparseobject()
1314 return PyLong_FromLong((long) self->buffer_used); in xmlparse_getattro()
1394 self->buffer_used = 0; in xmlparse_setattro()
1457 if (self->buffer_used != 0) { in xmlparse_setattro()