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.c158 GLintptr offset = exec->vtx.buffer_used - in vbo_exec_vtx_unmap()
169 exec->vtx.buffer_used += (exec->vtx.buffer_ptr - in vbo_exec_vtx_unmap()
172 assert(exec->vtx.buffer_used <= exec->ctx->Const.glBeginEndBufferSize); in vbo_exec_vtx_unmap()
185 return exec->ctx->Const.glBeginEndBufferSize > exec->vtx.buffer_used + 1024; in vbo_exec_buffer_has_space()
225 exec->vtx.buffer_used, in vbo_exec_vtx_map()
227 - exec->vtx.buffer_used, in vbo_exec_vtx_map()
240 exec->vtx.buffer_used = 0; in vbo_exec_vtx_map()
285 printf("map %d..\n", exec->vtx.buffer_used); in vbo_exec_vtx_map()
338 exec->vtx.buffer_used += (exec->vtx.buffer_ptr - exec->vtx.buffer_map) * in vbo_exec_vtx_flush()
343 exec->vtx.buffer_offset = exec->vtx.buffer_used; in vbo_exec_vtx_flush()
Dvbo_private.h155 exec->vtx.buffer_used) / in vbo_compute_max_verts()
Dvbo.h99 GLuint buffer_used; /* in bytes */ member
/external/python/cpython3/Modules/
Dpyexpat.c67 int buffer_used; /* Buffer units in use */ member
291 if (self->buffer == NULL || self->buffer_used == 0) in flush_character_buffer()
293 rc = call_character_handler(self, self->buffer, self->buffer_used); in flush_character_buffer()
294 self->buffer_used = 0; in flush_character_buffer()
309 if ((self->buffer_used + len) > self->buffer_size) { in my_CharacterDataHandler()
320 self->buffer_used = 0; in my_CharacterDataHandler()
323 memcpy(self->buffer + self->buffer_used, in my_CharacterDataHandler()
325 self->buffer_used += len; in my_CharacterDataHandler()
930 new_parser->buffer_used = 0; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
1118 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