Lines Matching refs:buffer_used
78 int buffer_used; /* Buffer units in use */ member
300 if (self->buffer == NULL || self->buffer_used == 0) in flush_character_buffer()
302 rc = call_character_handler(self, self->buffer, self->buffer_used); in flush_character_buffer()
303 self->buffer_used = 0; in flush_character_buffer()
318 if ((self->buffer_used + len) > self->buffer_size) { in my_CharacterDataHandler()
329 self->buffer_used = 0; in my_CharacterDataHandler()
332 memcpy(self->buffer + self->buffer_used, in my_CharacterDataHandler()
334 self->buffer_used += len; in my_CharacterDataHandler()
952 new_parser->buffer_used = 0; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
1144 self->buffer_used = 0; in newxmlparseobject()
1322 self->buffer_used = 0; in xmlparse_buffer_text_setter()
1375 if (self->buffer_used != 0) { in xmlparse_buffer_size_setter()
1395 return PyLong_FromLong((long) self->buffer_used); in xmlparse_buffer_used_getter()
1480 XMLPARSE_GETTER_DEF(buffer_used)