Lines Matching refs:buffer_used
79 int buffer_used; /* Buffer units in use */ member
460 if (self->buffer == NULL || self->buffer_used == 0) in flush_character_buffer()
462 rc = call_character_handler(self, self->buffer, self->buffer_used); in flush_character_buffer()
463 self->buffer_used = 0; in flush_character_buffer()
474 if ((self->buffer_used + len) > self->buffer_size) { in my_CharacterDataHandler()
485 self->buffer_used = 0; in my_CharacterDataHandler()
488 memcpy(self->buffer + self->buffer_used, in my_CharacterDataHandler()
490 self->buffer_used += len; in my_CharacterDataHandler()
1082 new_parser->buffer_used = 0; in xmlparse_ExternalEntityParserCreate()
1303 self->buffer_used = 0; in newxmlparseobject()
1453 return PyInt_FromLong((long) self->buffer_used); in xmlparse_getattr()
1570 self->buffer_used = 0; in xmlparse_setattr()
1646 if (self->buffer_used != 0) { in xmlparse_setattr()