Searched refs:encode_type (Results 1 – 2 of 2) sorted by relevance
/third_party/flatbuffers/tests/ |
D | py_flexbuffers_test.py | 119 def encode_type(type_, value, byte_width=None): function 415 root = flexbuffers.GetRoot(encode_type(type_, 56)) 428 root = flexbuffers.GetRoot(encode_type(type_, 1)) 506 root = flexbuffers.GetRoot(encode_type(type_, value, bw)) 549 data = encode_type(Type.STRING, '12345') 1097 data = encode_type(Type.BOOL, value) 1105 data = encode_type(type_, value) 1109 data = encode_type(type_, value) 1116 data = encode_type(type_, value) 1119 data = encode_type(type_, value, 4) [all …]
|
/third_party/mesa3d/src/compiler/isaspec/ |
D | encode.py | 305 def encode_type(self, bitset): member in State 310 return self.encode_type(isa.bitsets[bitset.extends])
|