Home
last modified time | relevance | path

Searched refs:command_size (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/sessions/
Dsession_backend.cc129 size_type command_size; in ReadCommand() local
130 memcpy(&command_size, &(buffer_[buffer_position_]), sizeof(command_size)); in ReadCommand()
131 buffer_position_ += sizeof(command_size); in ReadCommand()
132 available_count_ -= sizeof(command_size); in ReadCommand()
134 if (command_size == 0) { in ReadCommand()
140 if (command_size > available_count_) { in ReadCommand()
141 if (command_size > buffer_.size()) in ReadCommand()
142 buffer_.resize((command_size / 1024 + 1) * 1024, 0); in ReadCommand()
143 if (!FillBuffer() || command_size > available_count_) { in ReadCommand()
152 new SessionCommand(command_id, command_size - sizeof(id_type)); in ReadCommand()
[all …]
/external/chromium_org/chrome/browser/sessions/
Dsession_backend.cc133 size_type command_size; in ReadCommand() local
134 memcpy(&command_size, &(buffer_[buffer_position_]), sizeof(command_size)); in ReadCommand()
135 buffer_position_ += sizeof(command_size); in ReadCommand()
136 available_count_ -= sizeof(command_size); in ReadCommand()
138 if (command_size == 0) { in ReadCommand()
145 if (command_size > available_count_) { in ReadCommand()
146 if (command_size > buffer_.size()) in ReadCommand()
147 buffer_.resize((command_size / 1024 + 1) * 1024, 0); in ReadCommand()
148 if (!FillBuffer() || command_size > available_count_) { in ReadCommand()
158 new SessionCommand(command_id, command_size - sizeof(id_type)); in ReadCommand()
[all …]
/external/mesa3d/src/glx/
Dindirect_vertex_array.c558 size_t command_size; in emit_DrawArrays_header_old() local
577 command_size = arrays->array_info_cache_size + header_size in emit_DrawArrays_header_old()
585 if (command_size > gc->maxSmallRenderCommandSize) { in emit_DrawArrays_header_old()
615 command_size += 4; in emit_DrawArrays_header_old()
618 *(uint32_t *) (pc + 0) = command_size; in emit_DrawArrays_header_old()
630 if ((gc->pc + command_size) >= gc->bufEnd) { in emit_DrawArrays_header_old()
635 *(uint16_t *) (pc + 0) = command_size; in emit_DrawArrays_header_old()
/external/chromium_org/third_party/mesa/src/src/glx/
Dindirect_vertex_array.c558 size_t command_size; in emit_DrawArrays_header_old() local
577 command_size = arrays->array_info_cache_size + header_size in emit_DrawArrays_header_old()
585 if (command_size > gc->maxSmallRenderCommandSize) { in emit_DrawArrays_header_old()
615 command_size += 4; in emit_DrawArrays_header_old()
618 *(uint32_t *) (pc + 0) = command_size; in emit_DrawArrays_header_old()
630 if ((gc->pc + command_size) >= gc->bufEnd) { in emit_DrawArrays_header_old()
635 *(uint16_t *) (pc + 0) = command_size; in emit_DrawArrays_header_old()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmwgfx_drm.h280 uint32_t command_size; member
Dvmw_screen_ioctl.c221 arg.command_size = size; in vmw_ioctl_command()
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/
Dvmwgfx_drm.h280 uint32_t command_size; member
Dvmw_screen_ioctl.c221 arg.command_size = size; in vmw_ioctl_command()