Home
last modified time | relevance | path

Searched refs:tagbytes (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Ddecode_fast.h54 #define F(card, type, valbytes, tagbytes) \ argument
55 const char *upb_p##card##type##valbytes##_##tagbytes##bt(UPB_PARSE_PARAMS);
57 #define TYPES(card, tagbytes) \ argument
58 F(card, b, 1, tagbytes) \
59 F(card, v, 4, tagbytes) \
60 F(card, v, 8, tagbytes) \
61 F(card, z, 4, tagbytes) \
62 F(card, z, 8, tagbytes) \
63 F(card, f, 4, tagbytes) \
64 F(card, f, 8, tagbytes)
[all …]
Ddecode_fast.c72 static bool fastdecode_checktag(uint64_t data, int tagbytes) { in fastdecode_checktag() argument
73 if (tagbytes == 1) { in fastdecode_checktag()
205 static bool fastdecode_tagmatch(uint32_t tag, uint64_t data, int tagbytes) { in fastdecode_tagmatch() argument
206 if (tagbytes == 1) { in fastdecode_tagmatch()
224 uint64_t data, int tagbytes, in fastdecode_nextrepeated() argument
231 if (fastdecode_tagmatch(ret.tag, data, tagbytes)) { in fastdecode_nextrepeated()
295 static bool fastdecode_flippacked(uint64_t *data, int tagbytes) { in fastdecode_flippacked() argument
297 return fastdecode_checktag(*data, tagbytes); in fastdecode_flippacked()
343 static const char *fastdecode_unpackedvarint(UPB_PARSE_PARAMS, int tagbytes, in fastdecode_unpackedvarint() argument
351 if (UPB_UNLIKELY(!fastdecode_checktag(data, tagbytes))) { in fastdecode_unpackedvarint()
[all …]