Auto-generate files after cl/621597812

pull/16352/head
Protobuf Team Bot 10 months ago
parent d5a435fb4b
commit b9bde6a87c
  1. 4
      php/ext/google/protobuf/php-upb.c
  2. 9
      php/ext/google/protobuf/php-upb.h
  3. 4
      ruby/ext/google/protobuf_c/ruby-upb.c
  4. 9
      ruby/ext/google/protobuf_c/ruby-upb.h
  5. 2
      src/file_lists.cmake

@ -8958,7 +8958,7 @@ upb_DecodeStatus upb_Decode(const char* buf, size_t size, upb_Message* msg,
return upb_Decoder_Decode(&decoder, buf, msg, mt, arena);
}
upb_DecodeStatus upb_DecodeLengthDelimited(const char* buf, size_t size,
upb_DecodeStatus upb_DecodeLengthPrefixed(const char* buf, size_t size,
upb_Message* msg,
size_t* num_bytes_read,
const upb_MiniTable* mt,
@ -9626,7 +9626,7 @@ upb_EncodeStatus upb_Encode(const upb_Message* msg, const upb_MiniTable* l,
return _upb_Encode(msg, l, options, arena, buf, size, false);
}
upb_EncodeStatus upb_EncodeLengthDelimited(const upb_Message* msg,
upb_EncodeStatus upb_EncodeLengthPrefixed(const upb_Message* msg,
const upb_MiniTable* l, int options,
upb_Arena* arena, char** buf,
size_t* size) {

@ -4148,7 +4148,7 @@ UPB_API upb_DecodeStatus upb_Decode(const char* buf, size_t size,
// Same as upb_Decode but with a varint-encoded length prepended.
// On success 'num_bytes_read' will be set to the how many bytes were read,
// on failure the contents of num_bytes_read is undefined.
UPB_API upb_DecodeStatus upb_DecodeLengthDelimited(
UPB_API upb_DecodeStatus upb_DecodeLengthPrefixed(
const char* buf, size_t size, upb_Message* msg, size_t* num_bytes_read,
const upb_MiniTable* mt, const upb_ExtensionRegistry* extreg, int options,
upb_Arena* arena);
@ -4220,11 +4220,10 @@ UPB_API upb_EncodeStatus upb_Encode(const upb_Message* msg,
upb_Arena* arena, char** buf, size_t* size);
// Encodes the message prepended by a varint of the serialized length.
UPB_API upb_EncodeStatus upb_EncodeLengthDelimited(const upb_Message* msg,
UPB_API upb_EncodeStatus upb_EncodeLengthPrefixed(const upb_Message* msg,
const upb_MiniTable* l,
int options,
upb_Arena* arena, char** buf,
size_t* size);
int options, upb_Arena* arena,
char** buf, size_t* size);
#ifdef __cplusplus
} /* extern "C" */

@ -8451,7 +8451,7 @@ upb_DecodeStatus upb_Decode(const char* buf, size_t size, upb_Message* msg,
return upb_Decoder_Decode(&decoder, buf, msg, mt, arena);
}
upb_DecodeStatus upb_DecodeLengthDelimited(const char* buf, size_t size,
upb_DecodeStatus upb_DecodeLengthPrefixed(const char* buf, size_t size,
upb_Message* msg,
size_t* num_bytes_read,
const upb_MiniTable* mt,
@ -9119,7 +9119,7 @@ upb_EncodeStatus upb_Encode(const upb_Message* msg, const upb_MiniTable* l,
return _upb_Encode(msg, l, options, arena, buf, size, false);
}
upb_EncodeStatus upb_EncodeLengthDelimited(const upb_Message* msg,
upb_EncodeStatus upb_EncodeLengthPrefixed(const upb_Message* msg,
const upb_MiniTable* l, int options,
upb_Arena* arena, char** buf,
size_t* size) {

@ -4150,7 +4150,7 @@ UPB_API upb_DecodeStatus upb_Decode(const char* buf, size_t size,
// Same as upb_Decode but with a varint-encoded length prepended.
// On success 'num_bytes_read' will be set to the how many bytes were read,
// on failure the contents of num_bytes_read is undefined.
UPB_API upb_DecodeStatus upb_DecodeLengthDelimited(
UPB_API upb_DecodeStatus upb_DecodeLengthPrefixed(
const char* buf, size_t size, upb_Message* msg, size_t* num_bytes_read,
const upb_MiniTable* mt, const upb_ExtensionRegistry* extreg, int options,
upb_Arena* arena);
@ -4222,11 +4222,10 @@ UPB_API upb_EncodeStatus upb_Encode(const upb_Message* msg,
upb_Arena* arena, char** buf, size_t* size);
// Encodes the message prepended by a varint of the serialized length.
UPB_API upb_EncodeStatus upb_EncodeLengthDelimited(const upb_Message* msg,
UPB_API upb_EncodeStatus upb_EncodeLengthPrefixed(const upb_Message* msg,
const upb_MiniTable* l,
int options,
upb_Arena* arena, char** buf,
size_t* size);
int options, upb_Arena* arena,
char** buf, size_t* size);
#ifdef __cplusplus
} /* extern "C" */

@ -969,7 +969,7 @@ set(upb_test_files
${protobuf_SOURCE_DIR}/upb/message/test.cc
${protobuf_SOURCE_DIR}/upb/message/utf8_test.cc
${protobuf_SOURCE_DIR}/upb/test/editions_test.cc
${protobuf_SOURCE_DIR}/upb/test/length_delimited_test.cc
${protobuf_SOURCE_DIR}/upb/test/length_prefixed_test.cc
${protobuf_SOURCE_DIR}/upb/test/proto3_test.cc
${protobuf_SOURCE_DIR}/upb/test/test_cpp.cc
${protobuf_SOURCE_DIR}/upb/test/test_generated_code.cc

Loading…
Cancel
Save