Home
last modified time | relevance | path

Searched refs:FieldDef (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/php/ext/google/protobuf/
Dupb.h1263 class FieldDef; variable
1420 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 …]
/external/flatbuffers/src/
Didl_gen_go.cpp39 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 …]
Didl_gen_python.cpp30 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 …]
Didl_gen_php.cpp173 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 …]
Didl_gen_cpp.cpp360 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 …]
Didl_gen_text.cpp226 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()
Didl_parser.cpp576 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()
Didl_gen_general.cpp675 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()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h1656 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 …]
/external/flatbuffers/include/flatbuffers/
Didl.h228 struct FieldDef : public Definition { struct
229 FieldDef() : deprecated(false), required(false), key(false), padding(0) {} in FieldDef() function
263 SymbolTable<FieldDef> fields; argument
541 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_;