/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 26 uoffset_t o; 28 Offset(uoffset_t _o) : o(_o) {} in Offset() 64 static return_type Read(const uint8_t *p, uoffset_t i) { in Read() 71 static const size_t element_stride = sizeof(uoffset_t); 72 static return_type Read(const uint8_t *p, uoffset_t i) { 73 p += i * sizeof(uoffset_t); 74 return reinterpret_cast<return_type>(p + ReadScalar<uoffset_t>(p)); 81 static return_type Read(const uint8_t *p, uoffset_t i) { 92 typedef uoffset_t difference_type; 96 VectorIterator(const uint8_t *data, uoffset_t i) : [all …]
|
D | reflection.h | 233 auto elem_ptr = vec->Data() + sizeof(uoffset_t) * i; in GetAnyVectorElemPointer() 234 return (T *)(elem_ptr + ReadScalar<uoffset_t>(elem_ptr)); in GetAnyVectorElemPointer() 417 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize, 418 const VectorOfAny *vec, uoffset_t num_elems, 419 uoffset_t elem_size, std::vector<uint8_t> *flatbuf, 423 void ResizeVector(const reflection::Schema &schema, uoffset_t newsize, T val, 430 static_cast<uoffset_t>(sizeof(T)), flatbuf, 457 assert(sizeof(uoffset_t) == GetTypeSize(field.type()->base_type())); in SetFieldT()
|
D | minireflect.h | 193 val += ReadScalar<uoffset_t>(val); in IterateValue() 200 val += ReadScalar<uoffset_t>(val); in IterateValue() 207 val += ReadScalar<uoffset_t>(val); in IterateValue() 212 union_type = type_vec->Get(static_cast<uoffset_t>(vector_index)); in IterateValue() 275 val += ReadScalar<uoffset_t>(val); in IterateObject()
|
D | registry.h | 44 if (len < sizeof(uoffset_t) + in FlatBufferToText() 50 sizeof(uoffset_t), in FlatBufferToText()
|
D | reflection_generated.h | 123 flatbuffers::uoffset_t start_; 186 flatbuffers::uoffset_t start_; 273 flatbuffers::uoffset_t start_; 382 flatbuffers::uoffset_t start_; 530 flatbuffers::uoffset_t start_; 693 flatbuffers::uoffset_t start_; 812 flatbuffers::uoffset_t start_;
|
D | util.h | 382 for (uoffset_t i = 0; i < length; i++) { in EscapeString() 434 i = static_cast<uoffset_t>(utf8 - s - 1); in EscapeString()
|
D | base.h | 153 typedef uint32_t uoffset_t; typedef
|
D | idl.h | 234 uoffset_t serialized_location; 622 std::string *value, uoffset_t *ovalue); 634 FLATBUFFERS_CHECKED_ERROR ParseVector(const Type &type, uoffset_t *ovalue);
|
D | grpc.h | 147 explicit MessageBuilder(uoffset_t initial_size = 1024)
|
/external/flatbuffers/src/ |
D | reflection.cpp | 40 auto s = reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + in GetAnyValueI() 54 auto s = reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + in GetAnyValueF() 68 auto s = reinterpret_cast<const String *>(ReadScalar<uoffset_t>(data) + in GetAnyValueS() 83 ReadScalar<uoffset_t>(data) + data); in GetAnyValueS() 165 ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta, in ResizeContext() 170 dag_check_(flatbuf->size() / sizeof(uoffset_t), false) { in ResizeContext() 176 Straddle<uoffset_t, 1>(vector_data(buf_), root, vector_data(buf_)); in ResizeContext() 202 auto dag_idx = reinterpret_cast<const uoffset_t *>(offsetloc) - in DagCheck() 203 reinterpret_cast<const uoffset_t *>(vector_data(buf_)); in DagCheck() 238 auto ref = offsetloc + ReadScalar<uoffset_t>(offsetloc); in ResizeTable() [all …]
|
D | idl_gen_text.cpp | 81 for (uoffset_t i = 0; i < v.size(); i++) { in PrintVector()
|
D | idl_parser.cpp | 817 uoffset_t off; in ParseAnyValue() 892 uoffset_t *ovalue) { in ParseTable() 1060 CheckedError Parser::ParseVector(const Type &type, uoffset_t *ovalue) { in ParseVector() 2279 uoffset_t toff; in DoParse()
|
/external/libtextclassifier/ |
D | model_generated.h | 607 flatbuffers::uoffset_t start_; 697 flatbuffers::uoffset_t start_; 787 flatbuffers::uoffset_t start_; 900 flatbuffers::uoffset_t start_; 1007 flatbuffers::uoffset_t start_; 1085 flatbuffers::uoffset_t start_; 1192 flatbuffers::uoffset_t start_; 1303 flatbuffers::uoffset_t start_; 1417 flatbuffers::uoffset_t start_; 1516 flatbuffers::uoffset_t start_; [all …]
|
/external/tensorflow/tensorflow/contrib/lite/schema/ |
D | schema_generated.h | 1162 flatbuffers::uoffset_t start_; 1273 flatbuffers::uoffset_t start_; 1384 flatbuffers::uoffset_t start_; 1488 flatbuffers::uoffset_t start_; 1595 flatbuffers::uoffset_t start_; 1683 flatbuffers::uoffset_t start_; 1759 flatbuffers::uoffset_t start_; 1820 flatbuffers::uoffset_t start_; 1879 flatbuffers::uoffset_t start_; 1940 flatbuffers::uoffset_t start_; [all …]
|
/external/flatbuffers/tests/ |
D | monster_test_generated.h | 346 flatbuffers::uoffset_t start_; 388 flatbuffers::uoffset_t start_; 444 flatbuffers::uoffset_t start_; 521 flatbuffers::uoffset_t start_; 969 flatbuffers::uoffset_t start_; 1376 flatbuffers::uoffset_t start_; 1612 …{ auto _e = inventory(); if (_e) { _o->inventory.resize(_e->size()); for (flatbuffers::uoffset_t _… 1616 …{ auto _e = test4(); if (_e) { _o->test4.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _… 1617 …; if (_e) { _o->testarrayofstring.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e-… 1618 …; if (_e) { _o->testarrayoftables.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e-… [all …]
|
D | test.cpp | 208 for (flatbuffers::uoffset_t i = 0; i < builder.GetSize(); i++) in CreateFlatBufferTest() 310 for (flatbuffers::uoffset_t i = 0; i < vecofstructs->size()-1; i++) { in AccessFlatBufferTest() 877 flatbuffers::uoffset_t objects[num_fuzz_objects]; in FuzzTest1()
|
/external/flatbuffers/tests/namespace_test/ |
D | namespace_test2_generated.h | 63 flatbuffers::uoffset_t start_; 130 flatbuffers::uoffset_t start_; 183 flatbuffers::uoffset_t start_;
|
D | namespace_test1_generated.h | 95 flatbuffers::uoffset_t start_;
|
/external/flatbuffers/tests/union_vector/ |
D | union_vector_generated.h | 207 flatbuffers::uoffset_t start_; 311 flatbuffers::uoffset_t start_; 403 …_type(); if (_e) { _o->characters.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e-… in UnPackTo() 404 …cters(); if (_e) { _o->characters.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e-… in UnPackTo() 459 for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { in VerifyCharacterVector()
|
/external/flatbuffers/samples/ |
D | monster_generated.h | 286 flatbuffers::uoffset_t start_; 417 flatbuffers::uoffset_t start_; 471 …{ auto _e = inventory(); if (_e) { _o->inventory.resize(_e->size()); for (flatbuffers::uoffset_t _… 473 …{ auto _e = weapons(); if (_e) { _o->weapons.resize(_e->size()); for (flatbuffers::uoffset_t _i = … 552 for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
|
/external/flatbuffers/docs/source/ |
D | Internals.md | 49 `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_;
|