Searched refs:length_size (Results 1 – 2 of 2) sorted by relevance
88 size_t length_size = count * sizeof(GLint); in _mesa_marshal_ShaderSource() local89 GLint *length_tmp = malloc(length_size); in _mesa_marshal_ShaderSource()92 size_t total_cmd_size = fixed_cmd_size + length_size + total_string_length; in _mesa_marshal_ShaderSource()104 memcpy(cmd_length, length_tmp, length_size); in _mesa_marshal_ShaderSource()
2208 size_t length_size; in ReadEntryPrologue() local2209 uint64_t length = reader_->ReadInitialLength(cursor, &length_size); in ReadEntryPrologue()2210 if (length_size > size_t(buffer_end - cursor)) in ReadEntryPrologue()2212 cursor += length_size; in ReadEntryPrologue()