Home
last modified time | relevance | path

Searched refs:encode_bytes (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dencode.c85 static void encode_bytes(upb_encstate *e, const void *data, size_t len) { in encode_bytes() function
93 encode_bytes(e, &val, sizeof(uint64_t)); in encode_fixed64()
98 encode_bytes(e, &val, sizeof(uint32_t)); in encode_fixed32()
149 encode_bytes(e, ptr, elem_size); in encode_fixedarray()
155 encode_bytes(e, data, bytes); in encode_fixedarray()
210 encode_bytes(e, view.data, view.size); in encode_scalar()
311 encode_bytes(e, ptr->data, ptr->size); in encode_array()
429 encode_bytes(e, unknown, unknown_size); in encode_message()
/external/protobuf/php/ext/google/protobuf/
Dupb.c7991 static bool encode_bytes(upb_pb_encoder *e, const void *data, size_t len) { in encode_bytes() function
8111 return encode_bytes(e, tag->tag, tag->bytes); in encode_tag()
8119 return encode_bytes(e, &val, sizeof(uint64_t)); in encode_fixed64()
8124 return encode_bytes(e, &val, sizeof(uint32_t)); in encode_fixed32()
8178 return encode_bytes(c, buf, len) && commit(c); in encode_unknown()
8203 return encode_bytes(c, buf, len) ? len : 0; in encode_strbuf()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c11761 static bool encode_bytes(upb_pb_encoder *e, const void *data, size_t len) { in encode_bytes() function
11882 return encode_bytes(e, tag->tag, tag->bytes); in encode_tag()
11890 return encode_bytes(e, &val, sizeof(uint64_t)); in encode_fixed64()
11895 return encode_bytes(e, &val, sizeof(uint32_t)); in encode_fixed32()
11949 return encode_bytes(c, buf, len) && commit(c); in encode_unknown()
11974 return encode_bytes(c, buf, len) ? len : 0; in encode_strbuf()