Home
last modified time | relevance | path

Searched refs:FieldDef (Results 1 – 11 of 11) 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.cpp53 static std::string GenMethod(const FieldDef &field);
59 static std::string TypeName(const FieldDef &field);
73 std::string OffsetPrefix(const FieldDef &field) { in OffsetPrefix()
189 const FieldDef &field, in GetVectorLen()
202 const FieldDef &field, in GetUByteSlice()
215 const FieldDef &field, in GetScalarFieldOfStruct()
229 const FieldDef &field, in GetScalarFieldOfTable()
245 const FieldDef &field, in GetStructFieldOfStruct()
265 const FieldDef &field, in GetStructFieldOfTable()
288 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.cpp176 static void GetVectorLen(const FieldDef &field, in GetVectorLen()
194 static void GetUByte(const FieldDef &field, in GetUByte()
210 static void GetScalarFieldOfStruct(const FieldDef &field, in GetScalarFieldOfStruct()
234 void GetScalarFieldOfTable(const FieldDef &field, std::string *code_ptr) { in GetScalarFieldOfTable()
257 void GetStructFieldOfStruct(const FieldDef &field, std::string *code_ptr) { in GetStructFieldOfStruct()
276 void GetStructFieldOfTable(const FieldDef &field, std::string *code_ptr) { in GetStructFieldOfTable()
302 void GetStringField(const FieldDef &field, std::string *code_ptr) { in GetStringField()
319 void GetUnionField(const FieldDef &field, std::string *code_ptr) { in GetUnionField()
339 const FieldDef &field, std::string *code_ptr) { in GetMemberOfVectorOfStruct()
401 void GetMemberOfVectorOfNonStruct(const FieldDef &field, in GetMemberOfVectorOfNonStruct()
[all …]
Didl_gen_cpp.cpp443 const std::string &PtrType(const FieldDef *field) { in PtrType()
448 const std::string NativeString(const FieldDef *field) { in NativeString()
457 std::string GenTypeNativePtr(const std::string &type, const FieldDef *field, in GenTypeNativePtr()
469 std::string GenPtrGet(const FieldDef &field) { in GenPtrGet()
475 const FieldDef &field) { in GenTypeNative()
1194 std::string GenUnderlyingCast(const FieldDef &field, bool from, in GenUnderlyingCast()
1208 std::string GenFieldOffsetName(const FieldDef &field) { in GenFieldOffsetName()
1227 std::string GenDefaultConstant(const FieldDef &field) { in GenDefaultConstant()
1233 std::string GetDefaultScalarValue(const FieldDef &field) { in GetDefaultScalarValue()
1251 void GenParam(const FieldDef &field, bool direct, const char *prefix) { in GenParam()
[all …]
Didl_gen_text.cpp157 template<typename T> static bool GenField(const FieldDef &fd, in GenField()
173 static bool GenFieldOffset(const FieldDef &fd, const Table *table, bool fixed, in GenFieldOffset()
211 FieldDef &fd = **it; in GenStruct()
Didl_gen_json_schema.cpp180 std::vector<FieldDef *> requiredProperties; in generate()
183 [](FieldDef const *prop) { return prop->required; }); in generate()
Didl_parser.cpp544 const Type &type, FieldDef **dest) { in AddField()
545 auto &field = *new FieldDef(); in AddField()
582 FieldDef *typefield = nullptr; in ParseField()
603 FieldDef *field; in ParseField()
744 CheckedError Parser::ParseAnyValue(Value &val, FieldDef *field, in ParseAnyValue()
1103 CheckedError Parser::ParseNestedFlatbuffer(Value &val, FieldDef *field, in ParseNestedFlatbuffer()
1218 CheckedError Parser::ParseHash(Value &e, FieldDef* field) { in ParseHash()
1521 CheckedError Parser::CheckClash(std::vector<FieldDef*> &fields, in CheckClash()
1558 static bool compareFieldDefs(const FieldDef *a, const FieldDef *b) { in compareFieldDefs()
1872 FieldDef *field = nullptr; in ParseProtoFields()
[all …]
Didl_gen_general.cpp617 std::string GenGetterForLookupByKey(flatbuffers::FieldDef *key_field, in GenGetterForLookupByKey()
717 std::string GenOffsetGetter(flatbuffers::FieldDef *key_field, in GenOffsetGetter()
733 std::string GenLookupKeyGetter(flatbuffers::FieldDef *key_field) { in GenLookupKeyGetter()
757 std::string GenKeyGetter(flatbuffers::FieldDef *key_field) { in GenKeyGetter()
1156 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.h239 struct FieldDef : public Definition { struct
240 FieldDef() : deprecated(false), required(false), key(false), in FieldDef() function
278 SymbolTable<FieldDef> fields; argument
601 FieldDef **dest);
605 FLATBUFFERS_CHECKED_ERROR ParseAnyValue(Value &val, FieldDef *field,
635 FLATBUFFERS_CHECKED_ERROR ParseNestedFlatbuffer(Value &val, FieldDef *field,
641 FLATBUFFERS_CHECKED_ERROR ParseHash(Value &e, FieldDef* field);
672 FLATBUFFERS_CHECKED_ERROR CheckClash(std::vector<FieldDef*> &fields,
709 std::vector<std::pair<Value, FieldDef *>> field_stack_;