Home
last modified time | relevance | path

Searched refs:msgpack (Results 1 – 25 of 39) sorted by relevance

12

/third_party/mesa3d/src/amd/common/
Dac_msgpack.c71 void ac_msgpack_init(struct ac_msgpack *msgpack) in ac_msgpack_init() argument
73 msgpack->mem = malloc(MSGPACK_MEM_START_SIZE); in ac_msgpack_init()
74 msgpack->mem_size = MSGPACK_MEM_START_SIZE; in ac_msgpack_init()
75 msgpack->offset = 0; in ac_msgpack_init()
78 void ac_msgpack_destroy(struct ac_msgpack *msgpack) in ac_msgpack_destroy() argument
80 free(msgpack->mem); in ac_msgpack_destroy()
83 int ac_msgpack_resize_if_required(struct ac_msgpack *msgpack, in ac_msgpack_resize_if_required() argument
86 if ((msgpack->offset + data_size) > msgpack->mem_size) { in ac_msgpack_resize_if_required()
89 new_mem_size = msgpack->mem_size + in ac_msgpack_resize_if_required()
91 msgpack->mem = realloc(msgpack->mem, new_mem_size); in ac_msgpack_resize_if_required()
[all …]
Dac_rgp_elf_object_pack.c90 struct ac_msgpack msgpack; in ac_rgp_write_msgpack() local
97 ac_msgpack_init(&msgpack); in ac_rgp_write_msgpack()
99 ac_msgpack_add_fixmap_op(&msgpack, 2); in ac_rgp_write_msgpack()
100 ac_msgpack_add_fixstr(&msgpack, "amdpal.version"); in ac_rgp_write_msgpack()
101 ac_msgpack_add_fixarray_op(&msgpack, 2); in ac_rgp_write_msgpack()
102 ac_msgpack_add_uint(&msgpack, 2); in ac_rgp_write_msgpack()
103 ac_msgpack_add_uint(&msgpack, 1); in ac_rgp_write_msgpack()
105 ac_msgpack_add_fixstr(&msgpack, "amdpal.pipelines"); in ac_rgp_write_msgpack()
106 ac_msgpack_add_fixarray_op(&msgpack, 1); in ac_rgp_write_msgpack()
107 ac_msgpack_add_fixmap_op(&msgpack, 6); in ac_rgp_write_msgpack()
[all …]
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);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DAMDGPUMetadataVerifier.cpp23 msgpack::DocNode &Node, msgpack::Type SKind, in verifyScalar()
24 function_ref<bool(msgpack::DocNode &)> verifyValue) { in verifyScalar()
32 if (Node.getKind() != msgpack::Type::String) in verifyScalar()
44 bool MetadataVerifier::verifyInteger(msgpack::DocNode &Node) { in verifyInteger()
45 if (!verifyScalar(Node, msgpack::Type::UInt)) in verifyInteger()
46 if (!verifyScalar(Node, msgpack::Type::Int)) in verifyInteger()
52 msgpack::DocNode &Node, function_ref<bool(msgpack::DocNode &)> verifyNode, in verifyArray()
67 msgpack::MapDocNode &MapNode, StringRef Key, bool Required, in verifyEntry()
68 function_ref<bool(msgpack::DocNode &)> verifyNode) { in verifyEntry()
76 msgpack::MapDocNode &MapNode, StringRef Key, bool Required, in verifyScalarEntry()
[all …]
DMsgPackDocumentYAML.cpp18 using namespace msgpack;
40 case msgpack::Type::String: in toString()
43 case msgpack::Type::Nil: in toString()
45 case msgpack::Type::Boolean: in toString()
48 case msgpack::Type::Int: in toString()
51 case msgpack::Type::UInt: in toString()
57 case msgpack::Type::Float: in toString()
112 if (getKind() == msgpack::Type::Nil) in getYAMLTag()
122 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) in getYAMLTag()
124 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) in getYAMLTag()
[all …]
DMsgPackDocument.cpp21 using namespace msgpack;
77 msgpack::Reader MPReader(Blob); in readFromBlob()
147 case msgpack::Type::Array: in readFromBlob()
148 case msgpack::Type::Map: in readFromBlob()
157 if (Stack.back().Node.getKind() == msgpack::Type::Array) { in readFromBlob()
182 msgpack::Writer MPWriter(OS); in writeToBlob()
DMsgPackWriter.cpp18 using namespace msgpack;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DAMDGPUMetadataVerifier.h36 bool verifyScalar(msgpack::DocNode &Node, msgpack::Type SKind,
37 function_ref<bool(msgpack::DocNode &)> verifyValue = {});
38 bool verifyInteger(msgpack::DocNode &Node);
39 bool verifyArray(msgpack::DocNode &Node,
40 function_ref<bool(msgpack::DocNode &)> verifyNode,
42 bool verifyEntry(msgpack::MapDocNode &MapNode, StringRef Key, bool Required,
43 function_ref<bool(msgpack::DocNode &)> verifyNode);
45 verifyScalarEntry(msgpack::MapDocNode &MapNode, StringRef Key, bool Required,
46 msgpack::Type SKind,
47 function_ref<bool(msgpack::DocNode &)> verifyValue = {});
[all …]
DMsgPackWriter.h37 namespace msgpack {
DMsgPack.h21 namespace msgpack {
DMsgPackReader.h41 namespace msgpack {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.h54 std::unique_ptr<msgpack::Document> HSAMetadataDoc =
55 std::make_unique<msgpack::Document>();
72 msgpack::ArrayDocNode getWorkGroupDimensions(MDNode *Node) const;
74 msgpack::MapDocNode getHSAKernelProps(const MachineFunction &MF,
81 void emitKernelLanguage(const Function &Func, msgpack::MapDocNode Kern);
83 void emitKernelAttrs(const Function &Func, msgpack::MapDocNode Kern);
85 void emitKernelArgs(const Function &Func, msgpack::MapDocNode Kern);
88 msgpack::ArrayDocNode Args);
91 unsigned &Offset, msgpack::ArrayDocNode Args,
97 msgpack::ArrayDocNode Args);
[all …]
DAMDGPUHSAMetadataStreamer.cpp502 msgpack::Document FromHSAMetadataString; in verify()
645 msgpack::ArrayDocNode
678 msgpack::MapDocNode Kern) { in emitKernelLanguage()
697 msgpack::MapDocNode Kern) { in emitKernelAttrs()
718 msgpack::MapDocNode Kern) { in emitKernelArgs()
730 msgpack::ArrayDocNode Args) { in emitKernelArg()
787 msgpack::ArrayDocNode Args, in emitKernelArg()
837 msgpack::ArrayDocNode Args) { in emitHiddenKernelArgs()
888 msgpack::MapDocNode
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUPALMetadata.h30 msgpack::Document MsgPackDoc;
31 msgpack::DocNode Registers;
32 msgpack::DocNode HwStages;
108 msgpack::Document *getMsgPackDoc() { return &MsgPackDoc; } in getMsgPackDoc()
118 msgpack::DocNode &refRegisters();
121 msgpack::MapDocNode getRegisters();
125 msgpack::MapDocNode getHwStage(unsigned CC);
DAMDGPUPALMetadata.cpp86 msgpack::Reader Reader(Blob); in setFromMsgPackBlob()
166 if (N.getKind() != msgpack::Type::UInt) in getRegister()
181 if (N.getKind() == msgpack::Type::UInt) in setRegister()
551 if (MsgPackDoc.getRoot().getKind() == msgpack::Type::Nil) in toString()
638 if (Key.getKind() == msgpack::Type::String) { in setFromString()
654 msgpack::DocNode &AMDGPUPALMetadata::refRegisters() { in refRegisters()
665 msgpack::MapDocNode AMDGPUPALMetadata::getRegisters() { in getRegisters()
693 msgpack::MapDocNode AMDGPUPALMetadata::getHwStage(unsigned CC) { in getHwStage()
/third_party/json/include/nlohmann/detail/input/
Dbinary_reader.hpp123 case input_format_t::msgpack: in sax_parse()
1202 return unexpect_eof(input_format_t::msgpack, "value"); in parse_msgpack_internal()
1442 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
1448 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
1454 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
1460 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
1466 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
1472 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
1478 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
1484 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
[all …]
/third_party/ltp/tools/ltx/
DMakefile17 CFLAGS+=-I$(abs_srcdir)/ltx-src/ -I$(abs_srcdir)/ltx-src/msgpack/
19 $(BINARY): $(wildcard $(abs_srcdir)/ltx-src/*.c $(abs_srcdir)/ltx-src/msgpack/*.c)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.h75 virtual bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) = 0;
119 bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) override;
166 bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) override;
DAMDGPUTargetStreamer.cpp53 msgpack::Document HSAMetadataDoc; in EmitHSAMetadataV3()
236 msgpack::Document &HSAMetadataDoc, bool Strict) { in EmitHSAMetadata()
549 bool AMDGPUTargetELFStreamer::EmitHSAMetadata(msgpack::Document &HSAMetadataDoc, in EmitHSAMetadata()
/third_party/json/docs/mkdocs/docs/api/basic_json/
Dinput_format_t.md7 msgpack,
22 msgpack
Dbinary_t.md21 family](https://github.com/msgpack/msgpack/blob/master/spec.md#bin-format-family) describes this ty…
/third_party/json/docs/mkdocs/docs/features/binary_formats/
Dmessagepack.md9 - [MessagePack website](https://msgpack.org)
10 - [MessagePack specification](https://github.com/msgpack/msgpack/blob/master/spec.md)
/third_party/libuv/docs/
Drequirements.txt23 msgpack==0.6.2
/third_party/json/tests/abi/include/nlohmann/
Djson_v3_10_5.hpp5233 enum class input_format_t { json, cbor, msgpack, ubjson, bson }; enumerator
8285 case input_format_t::msgpack: in sax_parse()
9354 return unexpect_eof(input_format_t::msgpack, "value"); in parse_msgpack_internal()
9594 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
9600 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
9606 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
9612 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
9618 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
9624 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
9630 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp6103 enum class input_format_t { json, cbor, msgpack, ubjson, bson, bjdata }; enumerator
9197 case input_format_t::msgpack: in sax_parse()
10276 return unexpect_eof(input_format_t::msgpack, "value"); in parse_msgpack_internal()
10516 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
10522 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
10528 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
10534 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
10540 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
10546 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
10552 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
[all …]

12