Home
last modified time | relevance | path

Searched refs:uoffset_t (Results 1 – 23 of 23) sorted by relevance

/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h44 uoffset_t o;
46 Offset(uoffset_t _o) : o(_o) {} in Offset()
85 static return_type Read(const uint8_t *p, uoffset_t i) { in Read()
92 static const size_t element_stride = sizeof(uoffset_t);
93 static return_type Read(const uint8_t *p, uoffset_t i) {
94 p += i * sizeof(uoffset_t);
95 return reinterpret_cast<return_type>(p + ReadScalar<uoffset_t>(p));
102 static return_type Read(const uint8_t *p, uoffset_t i) {
116 VectorIterator(const uint8_t *data, uoffset_t i)
166 VectorIterator operator+(const uoffset_t &offset) const {
[all …]
Dreflection.h230 auto elem_ptr = vec->Data() + sizeof(uoffset_t) * i; in GetAnyVectorElemPointer()
231 return reinterpret_cast<T*>(elem_ptr + ReadScalar<uoffset_t>(elem_ptr)); in GetAnyVectorElemPointer()
408 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize,
409 const VectorOfAny *vec, uoffset_t num_elems,
410 uoffset_t elem_size, std::vector<uint8_t> *flatbuf,
414 void ResizeVector(const reflection::Schema &schema, uoffset_t newsize, T val,
420 static_cast<uoffset_t>(sizeof(T)), flatbuf, root_table);
446 FLATBUFFERS_ASSERT(sizeof(uoffset_t) == in SetFieldT()
Dminireflect.h180 val += ReadScalar<uoffset_t>(val); in IterateValue()
187 val += ReadScalar<uoffset_t>(val); in IterateValue()
192 val += ReadScalar<uoffset_t>(val); in IterateValue()
197 union_type = type_vec->Get(static_cast<uoffset_t>(vector_index)); in IterateValue()
255 val += ReadScalar<uoffset_t>(val); in IterateObject()
Dregistry.h43 if (len < sizeof(uoffset_t) + FlatBufferBuilder::kFileIdentifierLength) { in FlatBufferToText()
48 reinterpret_cast<const char *>(flatbuf) + sizeof(uoffset_t), in FlatBufferToText()
Dbase.h279 typedef uint32_t uoffset_t; typedef
368 *reinterpret_cast<uoffset_t *>(p) = EndianScalar(t.o); in WriteScalar()
Dreflection_generated.h128 flatbuffers::uoffset_t start_;
191 flatbuffers::uoffset_t start_;
280 flatbuffers::uoffset_t start_;
398 flatbuffers::uoffset_t start_;
550 flatbuffers::uoffset_t start_;
716 flatbuffers::uoffset_t start_;
845 flatbuffers::uoffset_t start_;
955 flatbuffers::uoffset_t start_;
1063 flatbuffers::uoffset_t start_;
Didl.h251 uoffset_t serialized_location;
728 std::string *value, uoffset_t *ovalue);
732 FLATBUFFERS_CHECKED_ERROR ParseVector(const Type &type, uoffset_t *ovalue);
Dutil.h573 for (uoffset_t i = 0; i < length; i++) { in EscapeString()
629 i = static_cast<uoffset_t>(utf8 - s - 1); in EscapeString()
Dgrpc.h166 explicit MessageBuilder(uoffset_t initial_size = 1024)
/external/flatbuffers/src/
Dreflection.cpp41 auto s = reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + in GetAnyValueI()
57 reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + data); in GetAnyValueF()
71 reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + data); in GetAnyValueS()
85 ReadScalar<uoffset_t>(data) + data); in GetAnyValueS()
169 ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta, in ResizeContext()
176 dag_check_(flatbuf->size() / sizeof(uoffset_t), false) { in ResizeContext()
182 Straddle<uoffset_t, 1>(vector_data(buf_), root, vector_data(buf_)); in ResizeContext()
209 auto dag_idx = reinterpret_cast<const uoffset_t *>(offsetloc) - in DagCheck()
210 reinterpret_cast<const uoffset_t *>(vector_data(buf_)); in DagCheck()
245 auto ref = offsetloc + ReadScalar<uoffset_t>(offsetloc); in ResizeTable()
[all …]
Didl_parser.cpp97 for (uoffset_t index = 0; index < documentation->size(); index++) in DeserializeDoc()
917 uoffset_t off; in ParseAnyValue()
992 uoffset_t *ovalue) { in ParseTable()
1160 CheckedError Parser::ParseVector(const Type &type, uoffset_t *ovalue) { in ParseVector()
2562 uoffset_t toff; in DoParse()
2760 std::vector<uoffset_t> indexes = in Deserialize()
2761 std::vector<uoffset_t>(object->fields()->size()); in Deserialize()
2762 for (uoffset_t i = 0; i < object->fields()->size(); i++) in Deserialize()
2886 for (uoffset_t i = 0; i < service->calls()->size(); ++i) { in Deserialize()
2921 for (uoffset_t i = 0; i < _enum->values()->size(); ++i) { in Deserialize()
[all …]
Didl_gen_text.cpp79 for (uoffset_t i = 0; i < v.size(); i++) { in PrintVector()
/external/libtextclassifier/utils/
Dflatbuffers.h120 virtual flatbuffers::uoffset_t Serialize(
130 flatbuffers::uoffset_t Serialize( in Serialize()
145 flatbuffers::uoffset_t Serialize( in Serialize()
174 flatbuffers::uoffset_t Serialize( in Serialize()
273 flatbuffers::uoffset_t Serialize(
Dflatbuffers.cc273 flatbuffers::uoffset_t ReflectiveFlatbuffer::Serialize( in Serialize()
278 /* field data offset in buffer */ flatbuffers::uoffset_t>> in Serialize()
299 const flatbuffers::uoffset_t table_start = builder->StartTable(); in Serialize()
/external/tensorflow/tensorflow/lite/schema/
Dschema_generated.h2450 flatbuffers::uoffset_t start_;
2560 flatbuffers::uoffset_t start_;
2699 flatbuffers::uoffset_t start_;
2831 flatbuffers::uoffset_t start_;
2945 flatbuffers::uoffset_t start_;
3066 flatbuffers::uoffset_t start_;
3164 flatbuffers::uoffset_t start_;
3240 flatbuffers::uoffset_t start_;
3301 flatbuffers::uoffset_t start_;
3360 flatbuffers::uoffset_t start_;
[all …]
/external/flatbuffers/tests/namespace_test/
Dnamespace_test2_generated.h80 flatbuffers::uoffset_t start_;
150 flatbuffers::uoffset_t start_;
206 flatbuffers::uoffset_t start_;
Dnamespace_test1_generated.h103 flatbuffers::uoffset_t start_;
/external/flatbuffers/tests/
Dmonster_test_generated.h695 flatbuffers::uoffset_t start_;
744 flatbuffers::uoffset_t start_;
808 flatbuffers::uoffset_t start_;
895 flatbuffers::uoffset_t start_;
989 flatbuffers::uoffset_t start_;
1623 flatbuffers::uoffset_t start_;
2159 flatbuffers::uoffset_t start_;
2423 …{ auto _e = inventory(); if (_e) { _o->inventory.resize(_e->size()); for (flatbuffers::uoffset_t _…
2427 …{ auto _e = test4(); if (_e) { _o->test4.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _…
2428 …; if (_e) { _o->testarrayofstring.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e-…
[all …]
Dmonster_extra_generated.h112 flatbuffers::uoffset_t start_;
Dtest.cpp193 for (flatbuffers::uoffset_t i = 0; i < builder.GetSize(); i++) in CreateFlatBufferTest()
322 for (flatbuffers::uoffset_t i = 0; i < vecofstructs->size() - 1; i++) { in AccessFlatBufferTest()
983 flatbuffers::uoffset_t objects[num_fuzz_objects]; in FuzzTest1()
2457 const auto vector_offset = builder.CreateVector(array, flatbuffers::uoffset_t(7)); in CreateSharedStringTest()
2467 TEST_EQ(testarrayofstring->size(), flatbuffers::uoffset_t(7)); in CreateSharedStringTest()
/external/flatbuffers/tests/union_vector/
Dunion_vector_generated.h275 flatbuffers::uoffset_t start_;
387 flatbuffers::uoffset_t start_;
481 …_type(); if (_e) { _o->characters.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e-… in UnPackTo()
482 …cters(); if (_e) { _o->characters.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e-… in UnPackTo()
538 for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { in VerifyCharacterVector()
/external/flatbuffers/samples/
Dmonster_generated.h336 flatbuffers::uoffset_t start_;
479 flatbuffers::uoffset_t start_;
534 …{ auto _e = inventory(); if (_e) { _o->inventory.resize(_e->size()); for (flatbuffers::uoffset_t _…
536 …{ auto _e = weapons(); if (_e) { _o->weapons.resize(_e->size()); for (flatbuffers::uoffset_t _i = …
616 for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
/external/flatbuffers/docs/source/
DInternals.md49 `uoffset_t`, which is currently always a `uint32_t`, and is used to
59 The format starts with an `uoffset_t` to the root object in the buffer.
81 `uoffset_t`, since vtables may be stored anywhere relative to the object.
217 flatbuffers::uoffset_t start_;