Home
last modified time | relevance | path

Searched refs:buffer_used (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c289 GLintptr offset = exec->vtx.buffer_used - in vbo_exec_vtx_unmap()
300 exec->vtx.buffer_used += (exec->vtx.buffer_ptr - in vbo_exec_vtx_unmap()
303 assert(exec->vtx.buffer_used <= VBO_VERT_BUFFER_SIZE); in vbo_exec_vtx_unmap()
334 if (VBO_VERT_BUFFER_SIZE > exec->vtx.buffer_used + 1024) { in vbo_exec_vtx_map()
339 exec->vtx.buffer_used, in vbo_exec_vtx_map()
341 - exec->vtx.buffer_used, in vbo_exec_vtx_map()
354 exec->vtx.buffer_used = 0; in vbo_exec_vtx_map()
394 printf("map %d..\n", exec->vtx.buffer_used); in vbo_exec_vtx_map()
Dvbo_exec.h97 GLuint buffer_used; /* in bytes */ member
Dvbo_context.h235 unsigned n = (VBO_VERT_BUFFER_SIZE - exec->vtx.buffer_used) / in vbo_compute_max_verts()
/external/python/cpython3/Modules/
Dpyexpat.c66 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()
[all …]
/external/python/cpython2/Modules/
Dpyexpat.c79 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()
[all …]
/external/python/cpython2/Doc/library/
Dpyexpat.rst230 .. attribute:: xmlparser.buffer_used
/external/python/cpython3/Doc/library/
Dpyexpat.rst220 .. attribute:: xmlparser.buffer_used