Lines Matching refs:header
299 struct rbug_proto_shader_list * rbug_demarshal_shader_list(struct rbug_proto_header *header) in rbug_demarshal_shader_list() argument
306 if (!header) in rbug_demarshal_shader_list()
308 if (header->opcode != (int32_t)RBUG_OP_SHADER_LIST) in rbug_demarshal_shader_list()
312 len = header->length * 4; in rbug_demarshal_shader_list()
313 data = (uint8_t*)&header[1]; in rbug_demarshal_shader_list()
318 ret->header.__message = header; in rbug_demarshal_shader_list()
319 ret->header.opcode = header->opcode; in rbug_demarshal_shader_list()
326 struct rbug_proto_shader_info * rbug_demarshal_shader_info(struct rbug_proto_header *header) in rbug_demarshal_shader_info() argument
333 if (!header) in rbug_demarshal_shader_info()
335 if (header->opcode != (int32_t)RBUG_OP_SHADER_INFO) in rbug_demarshal_shader_info()
339 len = header->length * 4; in rbug_demarshal_shader_info()
340 data = (uint8_t*)&header[1]; in rbug_demarshal_shader_info()
345 ret->header.__message = header; in rbug_demarshal_shader_info()
346 ret->header.opcode = header->opcode; in rbug_demarshal_shader_info()
354 struct rbug_proto_shader_disable * rbug_demarshal_shader_disable(struct rbug_proto_header *header) in rbug_demarshal_shader_disable() argument
361 if (!header) in rbug_demarshal_shader_disable()
363 if (header->opcode != (int32_t)RBUG_OP_SHADER_DISABLE) in rbug_demarshal_shader_disable()
367 len = header->length * 4; in rbug_demarshal_shader_disable()
368 data = (uint8_t*)&header[1]; in rbug_demarshal_shader_disable()
373 ret->header.__message = header; in rbug_demarshal_shader_disable()
374 ret->header.opcode = header->opcode; in rbug_demarshal_shader_disable()
383 struct rbug_proto_shader_replace * rbug_demarshal_shader_replace(struct rbug_proto_header *header) in rbug_demarshal_shader_replace() argument
390 if (!header) in rbug_demarshal_shader_replace()
392 if (header->opcode != (int32_t)RBUG_OP_SHADER_REPLACE) in rbug_demarshal_shader_replace()
396 len = header->length * 4; in rbug_demarshal_shader_replace()
397 data = (uint8_t*)&header[1]; in rbug_demarshal_shader_replace()
402 ret->header.__message = header; in rbug_demarshal_shader_replace()
403 ret->header.opcode = header->opcode; in rbug_demarshal_shader_replace()
412 …t rbug_proto_shader_list_reply * rbug_demarshal_shader_list_reply(struct rbug_proto_header *header) in rbug_demarshal_shader_list_reply() argument
419 if (!header) in rbug_demarshal_shader_list_reply()
421 if (header->opcode != (int32_t)RBUG_OP_SHADER_LIST_REPLY) in rbug_demarshal_shader_list_reply()
425 len = header->length * 4; in rbug_demarshal_shader_list_reply()
426 data = (uint8_t*)&header[1]; in rbug_demarshal_shader_list_reply()
431 ret->header.__message = header; in rbug_demarshal_shader_list_reply()
432 ret->header.opcode = header->opcode; in rbug_demarshal_shader_list_reply()
440 …t rbug_proto_shader_info_reply * rbug_demarshal_shader_info_reply(struct rbug_proto_header *header) in rbug_demarshal_shader_info_reply() argument
447 if (!header) in rbug_demarshal_shader_info_reply()
449 if (header->opcode != (int32_t)RBUG_OP_SHADER_INFO_REPLY) in rbug_demarshal_shader_info_reply()
453 len = header->length * 4; in rbug_demarshal_shader_info_reply()
454 data = (uint8_t*)&header[1]; in rbug_demarshal_shader_info_reply()
459 ret->header.__message = header; in rbug_demarshal_shader_info_reply()
460 ret->header.opcode = header->opcode; in rbug_demarshal_shader_info_reply()