Searched refs:FieldDef (Results 1 – 11 of 11) sorted by relevance
1263 class FieldDef; variable1420 UPB_DECLARE_DEF_TYPE(upb::FieldDef, fielddef, FIELD)1497 class upb::FieldDef {1518 static reffed_ptr<FieldDef> New();1525 FieldDef* Dup(const void* owner) const;1729 UPB_DISALLOW_POD_OPS(FieldDef, upb::FieldDef)1874 bool AddField(FieldDef* f, Status* s);1875 bool AddField(const reffed_ptr<FieldDef>& f, Status* s);1888 FieldDef* FindFieldByNumber(uint32_t number);1889 FieldDef* FindFieldByName(const char *name, size_t len);[all …]
39 static std::string GenMethod(const FieldDef &field);45 static std::string TypeName(const FieldDef &field);50 std::string OffsetPrefix(const FieldDef &field) { in OffsetPrefix()166 const FieldDef &field, in GetVectorLen()179 const FieldDef &field, in GetUByteSlice()192 const FieldDef &field, in GetScalarFieldOfStruct()206 const FieldDef &field, in GetScalarFieldOfTable()222 const FieldDef &field, in GetStructFieldOfStruct()242 const FieldDef &field, in GetStructFieldOfTable()265 const FieldDef &field, in GetStringField()[all …]
30 static std::string GenMethod(const FieldDef &field);36 static std::string TypeName(const FieldDef &field);44 std::string OffsetPrefix(const FieldDef &field) { in OffsetPrefix()113 const FieldDef &field, in GetVectorLen()126 const FieldDef &field, in GetScalarFieldOfStruct()139 const FieldDef &field, in GetScalarFieldOfTable()155 const FieldDef &field, in GetStructFieldOfStruct()169 const FieldDef &field, in GetStructFieldOfTable()192 const FieldDef &field, in GetStringField()206 const FieldDef &field, in GetUnionField()[all …]
173 static void GetVectorLen(const FieldDef &field, in GetVectorLen()191 static void GetUByte(const FieldDef &field, in GetUByte()207 static void GetScalarFieldOfStruct(const FieldDef &field, in GetScalarFieldOfStruct()231 void GetScalarFieldOfTable(const FieldDef &field, std::string *code_ptr) { in GetScalarFieldOfTable()254 void GetStructFieldOfStruct(const FieldDef &field, std::string *code_ptr) { in GetStructFieldOfStruct()273 void GetStructFieldOfTable(const FieldDef &field, std::string *code_ptr) { in GetStructFieldOfTable()299 void GetStringField(const FieldDef &field, std::string *code_ptr) { in GetStringField()316 void GetUnionField(const FieldDef &field, std::string *code_ptr) { in GetUnionField()336 const FieldDef &field, std::string *code_ptr) { in GetMemberOfVectorOfStruct()398 void GetMemberOfVectorOfNonStruct(const FieldDef &field, in GetMemberOfVectorOfNonStruct()[all …]
360 const std::string &PtrType(const FieldDef *field) { in PtrType()365 std::string GenTypeNativePtr(const std::string &type, const FieldDef *field, in GenTypeNativePtr()377 std::string GenPtrGet(const FieldDef &field) { in GenPtrGet()383 const FieldDef &field) { in GenTypeNative()827 std::string GenUnderlyingCast(const FieldDef &field, bool from, in GenUnderlyingCast()841 std::string GenFieldOffsetName(const FieldDef &field) { in GenFieldOffsetName()861 std::string GenDefaultConstant(const FieldDef &field) { in GenDefaultConstant()867 std::string GetDefaultScalarValue(const FieldDef &field) { in GetDefaultScalarValue()885 void GenParam(const FieldDef &field, bool direct, const char *prefix) { in GenParam()903 void GenMember(const FieldDef &field) { in GenMember()[all …]
226 template<typename T> static bool GenField(const FieldDef &fd, in GenField()238 static bool GenFieldOffset(const FieldDef &fd, const Table *table, bool fixed, in GenFieldOffset()267 FieldDef &fd = **it; in GenStruct()
576 const Type &type, FieldDef **dest) { in AddField()577 auto &field = *new FieldDef(); in AddField()610 FieldDef *typefield = nullptr; in ParseField()631 FieldDef *field; in ParseField()738 CheckedError Parser::ParseAnyValue(Value &val, FieldDef *field, in ParseAnyValue()1076 CheckedError Parser::ParseHash(Value &e, FieldDef* field) { in ParseHash()1343 CheckedError Parser::CheckClash(std::vector<FieldDef*> &fields, in CheckClash()1364 static bool compareFieldDefs(const FieldDef *a, const FieldDef *b) { in compareFieldDefs()1676 FieldDef *field = nullptr; in ParseProtoFields()2096 Offset<reflection::Field> FieldDef::Serialize(FlatBufferBuilder *builder, in Serialize()
675 std::string GenOffsetGetter(flatbuffers::FieldDef *key_field, in GenOffsetGetter()691 std::string GenLookupKeyGetter(flatbuffers::FieldDef *key_field) { in GenLookupKeyGetter()716 std::string GenKeyGetter(flatbuffers::FieldDef *key_field) { in GenKeyGetter()1101 flatbuffers::FieldDef *key_field = nullptr; in GenStruct()
1656 class FieldDef;1832 UPB_DECLARE_DEF_TYPE(upb::FieldDef, fielddef, FIELD)1913 class upb::FieldDef {1934 static reffed_ptr<FieldDef> New();1941 FieldDef* Dup(const void* owner) const;2188 UPB_DISALLOW_POD_OPS(FieldDef, upb::FieldDef)2342 bool AddField(FieldDef* f, Status* s);2343 bool AddField(const reffed_ptr<FieldDef>& f, Status* s);2366 FieldDef* FindFieldByNumber(uint32_t number);2367 FieldDef* FindFieldByName(const char *name, size_t len);[all …]
228 struct FieldDef : public Definition { struct229 FieldDef() : deprecated(false), required(false), key(false), padding(0) {} in FieldDef() argument263 SymbolTable<FieldDef> fields; argument541 FieldDef **dest);543 FLATBUFFERS_CHECKED_ERROR ParseAnyValue(Value &val, FieldDef *field,554 FLATBUFFERS_CHECKED_ERROR ParseHash(Value &e, FieldDef* field);580 FLATBUFFERS_CHECKED_ERROR CheckClash(std::vector<FieldDef*> &fields,611 std::vector<std::pair<Value, FieldDef *>> field_stack_;
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...