Lines Matching full:upb
15 #include "upb/base/status.hpp"
16 #include "upb/mini_descriptor/decode.h"
17 #include "upb/reflection/def.h"
18 #include "upb/reflection/def.hpp"
19 #include "upb/reflection/descriptor_bootstrap.h"
22 #include "upb/port/def.inc"
24 namespace upb {
32 std::vector<upb::EnumDefPtr> SortedEnums(upb::FileDefPtr file,
35 // Ordering must match upb/def.c!
40 std::vector<upb::MessageDefPtr> SortedMessages(upb::FileDefPtr file);
42 // Ordering must match upb/def.c!
47 std::vector<upb::FieldDefPtr> SortedExtensions(upb::FileDefPtr file);
49 std::vector<upb::FieldDefPtr> FieldNumberOrder(upb::MessageDefPtr message);
59 upb::FileDefPtr AddFile(const UPB_DESC(FileDescriptorProto) * file_proto, in AddFile()
60 upb::Status* status) { in AddFile()
61 upb::FileDefPtr file32 = pool32_.AddFile(file_proto, status); in AddFile()
62 upb::FileDefPtr file64 = pool64_.AddFile(file_proto, status); in AddFile()
67 const upb_MiniTable* GetMiniTable32(upb::MessageDefPtr m) const { in GetMiniTable32()
71 const upb_MiniTable* GetMiniTable64(upb::MessageDefPtr m) const { in GetMiniTable64()
75 const upb_MiniTableField* GetField32(upb::FieldDefPtr f) const { in GetField32()
79 const upb_MiniTableField* GetField64(upb::FieldDefPtr f) const { in GetField64()
84 static const upb_MiniTableField* GetFieldFromPool(const upb::DefPool* pool, in GetFieldFromPool()
85 upb::FieldDefPtr f) { in GetFieldFromPool()
95 upb::DefPool pool32_;
96 upb::DefPool pool64_;
100 } // namespace upb
102 #include "upb/port/undef.inc"