Searched refs:length_size (Results 1 – 2 of 2) sorted by relevance
167 size_t length_size = count * sizeof(GLint); in _mesa_marshal_ShaderSource() local168 GLint *length_tmp = malloc(length_size); in _mesa_marshal_ShaderSource()171 size_t total_cmd_size = fixed_cmd_size + length_size + total_string_length; in _mesa_marshal_ShaderSource()183 memcpy(cmd_length, length_tmp, length_size); in _mesa_marshal_ShaderSource()
1776 size_t length_size; in ReadEntryPrologue() local1777 uint64 length = reader_->ReadInitialLength(cursor, &length_size); in ReadEntryPrologue()1778 if (length_size > size_t(buffer_end - cursor)) in ReadEntryPrologue()1780 cursor += length_size; in ReadEntryPrologue()