/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 44 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 …]
|
D | reflection.h | 230 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()
|
D | minireflect.h | 180 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()
|
D | registry.h | 43 if (len < sizeof(uoffset_t) + FlatBufferBuilder::kFileIdentifierLength) { in FlatBufferToText() 48 reinterpret_cast<const char *>(flatbuf) + sizeof(uoffset_t), in FlatBufferToText()
|
D | base.h | 279 typedef uint32_t uoffset_t; typedef 368 *reinterpret_cast<uoffset_t *>(p) = EndianScalar(t.o); in WriteScalar()
|
D | reflection_generated.h | 128 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_;
|
D | idl.h | 251 uoffset_t serialized_location; 728 std::string *value, uoffset_t *ovalue); 732 FLATBUFFERS_CHECKED_ERROR ParseVector(const Type &type, uoffset_t *ovalue);
|
D | util.h | 573 for (uoffset_t i = 0; i < length; i++) { in EscapeString() 629 i = static_cast<uoffset_t>(utf8 - s - 1); in EscapeString()
|
D | grpc.h | 166 explicit MessageBuilder(uoffset_t initial_size = 1024)
|
/external/flatbuffers/src/ |
D | reflection.cpp | 41 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 …]
|
D | idl_parser.cpp | 97 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 …]
|
D | idl_gen_text.cpp | 79 for (uoffset_t i = 0; i < v.size(); i++) { in PrintVector()
|
/external/libtextclassifier/utils/ |
D | flatbuffers.h | 120 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(
|
D | flatbuffers.cc | 273 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/ |
D | schema_generated.h | 2450 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/ |
D | namespace_test2_generated.h | 80 flatbuffers::uoffset_t start_; 150 flatbuffers::uoffset_t start_; 206 flatbuffers::uoffset_t start_;
|
D | namespace_test1_generated.h | 103 flatbuffers::uoffset_t start_;
|
/external/flatbuffers/tests/ |
D | monster_test_generated.h | 695 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 …]
|
D | monster_extra_generated.h | 112 flatbuffers::uoffset_t start_;
|
D | test.cpp | 193 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/ |
D | union_vector_generated.h | 275 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/ |
D | monster_generated.h | 336 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/ |
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_;
|