Searched refs:MessageLayout (Results 1 – 8 of 8) sorted by relevance
/third_party/grpc/third_party/upb/upbc/ |
D | message_layout.cc | 15 MessageLayout::Size MessageLayout::Place( in Place() 16 MessageLayout::SizeAndAlign size_and_align) { in Place() 26 bool MessageLayout::HasHasbit(const protobuf::FieldDescriptor* field) { in HasHasbit() 31 MessageLayout::SizeAndAlign MessageLayout::SizeOf( in SizeOf() 40 MessageLayout::SizeAndAlign MessageLayout::SizeOfUnwrapped( in SizeOfUnwrapped() 63 int64_t MessageLayout::FieldLayoutRank(const protobuf::FieldDescriptor* field) { in FieldLayoutRank() 109 void MessageLayout::ComputeLayout(const protobuf::Descriptor* descriptor) { in ComputeLayout() 129 void MessageLayout::PlaceNonOneofFields( in PlaceNonOneofFields() 164 void MessageLayout::PlaceOneofFields(const protobuf::Descriptor* descriptor) { in PlaceOneofFields()
|
D | protoc-gen-upb.cc | 94 std::string GetSizeInit(const MessageLayout::Size& size) { in GetSizeInit() 219 MessageLayout layout(message); in GenerateMessageInHeader() 455 if (MessageLayout::HasHasbit(field)) { in GenerateMessageInHeader() 599 MessageLayout layout(message); in SubmsgArray() 656 const MessageLayout& layout, in TryFillTableEntry() 729 MessageLayout::Size offset = layout.GetFieldOffset(field); in TryFillTableEntry() 745 MessageLayout::Size case_offset = in TryFillTableEntry() 773 MessageLayout sub_layout(field->message_type()); in TryFillTableEntry() 795 const MessageLayout& layout) { in FastDecodeTable() 846 MessageLayout layout(message); in WriteSource() [all …]
|
D | generator.cc | 189 std::string GetSizeInit(const MessageLayout::Size& size) { in GetSizeInit() 332 MessageLayout layout(message); in GenerateMessageInHeader() 523 GetSizeInit(MessageLayout::SizeOfUnwrapped(field).size), in GenerateMessageInHeader() 533 GetSizeInit(MessageLayout::SizeOfUnwrapped(field).size), in GenerateMessageInHeader() 564 if (MessageLayout::HasHasbit(field)) { in GenerateMessageInHeader() 712 MessageLayout layout(message); in WriteSource() 752 if (MessageLayout::HasHasbit(field)) { in WriteSource() 757 MessageLayout::Size case_offset = in WriteSource()
|
D | message_layout.h | 11 class MessageLayout { 43 MessageLayout(const google::protobuf::Descriptor* descriptor) { in MessageLayout() function
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | protobuf.h | 46 struct MessageLayout; 60 typedef struct MessageLayout MessageLayout; typedef 123 MessageLayout* layout; 374 uint32_t slot_read_oneof_case(MessageLayout* layout, const void* storage, 382 VALUE field_type_class(const MessageLayout* layout, const upb_fielddef* field); 521 struct MessageLayout { struct 537 void free_layout(MessageLayout* layout); argument 538 bool field_contains_hasbit(MessageLayout* layout, 541 VALUE layout_get(MessageLayout* layout, 544 void layout_set(MessageLayout* layout, [all …]
|
D | storage.c | 479 bool field_contains_hasbit(MessageLayout* layout, in field_contains_hasbit() 497 MessageLayout* layout = ALLOC(MessageLayout); in create_layout() 696 void free_layout(MessageLayout* layout) { in free_layout() 703 VALUE field_type_class(const MessageLayout* layout, const upb_fielddef* field) { in field_type_class() 717 static void* slot_memory(MessageLayout* layout, in slot_memory() 724 static uint32_t* slot_oneof_case(MessageLayout* layout, in slot_oneof_case() 731 uint32_t slot_read_oneof_case(MessageLayout* layout, const void* storage, in slot_read_oneof_case() 737 static void slot_set_hasbit(MessageLayout* layout, in slot_set_hasbit() 746 static void slot_clear_hasbit(MessageLayout* layout, in slot_clear_hasbit() 754 static bool slot_is_hasbit_set(MessageLayout* layout, in slot_is_hasbit_set() [all …]
|
D | message.c | 401 VALUE create_submsg_from_hash(const MessageLayout* layout, in create_submsg_from_hash()
|
D | encode_decode.c | 897 size_t get_field_offset(MessageLayout* layout, const upb_fielddef* f) { in get_field_offset()
|