Searched refs:msgpack (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_msgpack.c29 * This file provides functions to create msgpack formatted data.
30 * for msgpack specification refer to
31 * github.com/msgpack/msgpack/blob/master/spec.md
71 void ac_msgpack_init(struct ac_msgpack *msgpack) argument
73 msgpack->mem = malloc(MSGPACK_MEM_START_SIZE);
74 msgpack->mem_size = MSGPACK_MEM_START_SIZE;
75 msgpack->offset = 0;
78 void ac_msgpack_destroy(struct ac_msgpack *msgpack) argument
80 free(msgpack
83 ac_msgpack_resize_if_required(struct ac_msgpack * msgpack,uint32_t data_size) argument
101 ac_msgpack_add_fixmap_op(struct ac_msgpack * msgpack,uint32_t n) argument
123 ac_msgpack_add_fixarray_op(struct ac_msgpack * msgpack,uint32_t n) argument
145 ac_msgpack_add_fixstr(struct ac_msgpack * msgpack,char * str) argument
180 ac_msgpack_add_uint(struct ac_msgpack * msgpack,uint64_t val) argument
214 ac_msgpack_add_int(struct ac_msgpack * msgpack,int64_t val) argument
[all...]
H A Dac_msgpack.h35 void ac_msgpack_init(struct ac_msgpack *msgpack);
36 void ac_msgpack_destroy(struct ac_msgpack *msgpack);
37 int ac_msgpack_resize_if_required(struct ac_msgpack *msgpack,
39 void ac_msgpack_add_fixmap_op(struct ac_msgpack *msgpack, uint32_t n);
40 void ac_msgpack_add_fixarray_op(struct ac_msgpack *msgpack, uint32_t n);
41 void ac_msgpack_add_fixstr(struct ac_msgpack *msgpack, char *str);
42 void ac_msgpack_add_uint(struct ac_msgpack *msgpack, uint64_t val);
43 void ac_msgpack_add_int(struct ac_msgpack *msgpack, int64_t val);
H A Dac_rgp_elf_object_pack.c77 * rgp profiler requires data for few variables stored in msgpack format
79 * struct rgp_code_object_record to elf object in msgpack format.
80 * for msgpack specification refer to
81 * github.com/msgpack/msgpack/blob/master/spec.md
88 struct ac_msgpack msgpack; local in function:ac_rgp_write_msgpack
95 ac_msgpack_init(&msgpack);
97 ac_msgpack_add_fixmap_op(&msgpack, 2);
98 ac_msgpack_add_fixstr(&msgpack, "amdpal.version");
99 ac_msgpack_add_fixarray_op(&msgpack,
[all...]

Completed in 3 milliseconds