• Home
  • Raw
  • Download

Lines Matching +full:unused +full:- +full:private +full:- +full:field

8  *     http://www.apache.org/licenses/LICENSE-2.0
46 // clang-format off
62 …TD(STRING, "string", Offset<void>, int, int, StringOffset, int, unused, Int, Offset<String>, 1…
63 …TD(VECTOR, "", Offset<void>, int, int, VectorOffset, int, unused, Int, Offset<UOffset>, …
64 …TD(VECTOR64, "", Offset64<void>, int, int, VectorOffset, int, unused, Int, Offset<UOffset>, …
65 …TD(STRUCT, "", Offset<void>, int, int, int, int, unused, Int, Offset<UOffset>, …
66 …TD(UNION, "", Offset<void>, int, int, int, int, unused, Int, Offset<UOffset>, …
68 …TD(ARRAY, "", int, int, int, int, int, unused, Int, Offset<UOffset>, …
70 // - enum
71 // - FlatBuffers schema type.
72 // - C++ type.
73 // - Java type.
74 // - Go type.
75 // - C# / .Net type.
76 // - Python type.
77 // - Kotlin type.
78 // - Rust type.
79 // - Swift type.
80 // - enum value (matches the reflected values)
116 __extension__ // Stop GCC complaining about trailing comma with -Wpendantic.
185 // clang-format on
224 // Represents a parsed scalar value, it's type, and field offset.
253 auto obj = it->second; in Move()
263 return it == dict.end() ? nullptr : it->second; in Lookup()
301 index(-1), in Definition()
339 Offset<reflection::Field> Serialize(FlatBufferBuilder *builder, uint16_t id,
342 bool Deserialize(Parser &parser, const reflection::Field *field);
355 bool deprecated; // Field is allowed to be present in old data, but can't be.
357 bool key; // Field functions as a key for creating sorted vectors.
358 bool shared; // Field will be using string pooling (i.e. CreateSharedString)
359 // as default serialization behavior if field is a string.
360 bool native_inline; // Field will be defined inline (instead of as a pointer)
361 // for native tables if field is a struct.
362 bool flexbuffer; // This field contains FlexBuffer data.
363 bool offset64; // If the field uses 64-bit offsets.
366 // Field must always be present.
368 // Non-presence should be signalled to and controlled by users.
370 // Non-presence is hidden from users.
376 // clang-format off in MakeFieldPresence()
380 // clang-format on in MakeFieldPresence()
384 StructDef *nested_flatbuffer; // This field contains nested FlatBuffer data.
385 size_t padding; // Bytes to always pad after this field.
388 // when FieldDef is a union field or an union type field. Therefore,
389 // sibling_union_field on a union field points to the union type field
390 // and vice-versa.
406 if (fields.vec.size()) fields.vec.back()->padding = padding; in PadLastField()
419 bool has_key; // It has a key field.
453 private:
507 private:
521 return type.base_type == BASE_TYPE_STRUCT && type.struct_def->fixed; in IsStruct()
525 return type.base_type == BASE_TYPE_STRUCT && type.struct_def->predecl; in IsIncompleteStruct()
529 return type.base_type == BASE_TYPE_STRUCT && !type.struct_def->fixed; in IsTable()
533 return type.enum_def != nullptr && type.enum_def->is_union; in IsUnion()
564 ? type.struct_def->bytesize in InlineSize()
572 return type.struct_def->minalign; in InlineAlignment()
574 return IsStruct(type.VectorType()) ? type.struct_def->minalign in InlineAlignment()
591 a.struct_def->name == b.struct_def->name)) && in EqualByName()
594 a.enum_def->name == b.enum_def->name)); in EqualByName()
621 // relative paths plus any other paths included with `flatc -I ...`. Note,
634 // field case style options for C++
842 token_(-1), in ParserState()
860 return static_cast<int64_t>(cursor_ - line_start_); in CursorPosition()
871 // Used for number-in-string (and base64 string in future).
880 // - Call Check() on it.
881 // - Copy or assign it to another value.
907 private:
914 // clang-format off
921 // clang-format on
966 known_attributes_["private"] = true; in current_namespace_()
968 // An attribute added to a field to indicate that is uses 64-bit addressing. in current_namespace_()
971 // An attribute added to a vector field to indicate that it uses 64-bit in current_namespace_()
972 // addressing and it has a 64-bit length. in current_namespace_()
1033 // of the schema provided. Returns non-empty error on any problems.
1058 private:
1081 FLATBUFFERS_CHECKED_ERROR ParseAnyValue(Value &val, FieldDef *field,
1098 FieldDef *field, size_t fieldn);
1101 Value &val, FieldDef *field, size_t fieldn,
1107 FLATBUFFERS_CHECKED_ERROR ParseHash(Value &e, FieldDef *field);
1201 private:
1211 int parse_depth_counter_; // stack-overflow guard
1221 // strict_json adds "quotes" around field names if true.
1224 // it contains non-UTF-8 byte arrays in String values).