/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 119 typedef uint32_t uoffset_t; typedef 144 uoffset_t o; 146 Offset(uoffset_t _o) : o(_o) {} in Offset() 229 static return_type Read(const uint8_t *p, uoffset_t i) { in Read() 236 static const size_t element_stride = sizeof(uoffset_t); 237 static return_type Read(const uint8_t *p, uoffset_t i) { 238 p += i * sizeof(uoffset_t); 239 return reinterpret_cast<return_type>(p + ReadScalar<uoffset_t>(p)); 246 static return_type Read(const uint8_t *p, uoffset_t i) { 255 : public std::iterator<std::random_access_iterator_tag, IT, uoffset_t> { [all …]
|
D | reflection_generated.h | 100 flatbuffers::uoffset_t start_; 153 VerifyFieldRequired<flatbuffers::uoffset_t>(verifier, VT_KEY) && in Verify() 155 VerifyField<flatbuffers::uoffset_t>(verifier, VT_VALUE) && in Verify() 163 flatbuffers::uoffset_t start_; 233 VerifyFieldRequired<flatbuffers::uoffset_t>(verifier, VT_NAME) && in Verify() 236 VerifyField<flatbuffers::uoffset_t>(verifier, VT_OBJECT) && in Verify() 244 flatbuffers::uoffset_t start_; 326 VerifyFieldRequired<flatbuffers::uoffset_t>(verifier, VT_NAME) && in Verify() 328 VerifyFieldRequired<flatbuffers::uoffset_t>(verifier, VT_VALUES) && in Verify() 332 VerifyFieldRequired<flatbuffers::uoffset_t>(verifier, VT_UNDERLYING_TYPE) && in Verify() [all …]
|
D | reflection.h | 212 auto elem_ptr = vec->Data() + sizeof(uoffset_t) * i; in GetAnyVectorElemPointer() 213 return (T *)(elem_ptr + ReadScalar<uoffset_t>(elem_ptr)); in GetAnyVectorElemPointer() 384 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize, 385 const VectorOfAny *vec, uoffset_t num_elems, 386 uoffset_t elem_size, std::vector<uint8_t> *flatbuf, 391 void ResizeVector(const reflection::Schema &schema, uoffset_t newsize, T val, 398 static_cast<uoffset_t>(sizeof(T)), flatbuf, 426 assert(sizeof(uoffset_t) == GetTypeSize(field.type()->base_type())); in SetFieldT()
|
D | grpc.h | 50 msg->len = static_cast<flatbuffers::uoffset_t>(len); in Deserialize()
|
D | idl.h | 224 uoffset_t serialized_location; 547 std::string *value, uoffset_t *ovalue); 550 FLATBUFFERS_CHECKED_ERROR ParseVector(const Type &type, uoffset_t *ovalue);
|
/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() 162 ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta, in ResizeContext() 167 dag_check_(flatbuf->size() / sizeof(uoffset_t), false) { in ResizeContext() 173 Straddle<uoffset_t, 1>(buf_.data(), root, buf_.data()); in ResizeContext() 199 auto dag_idx = reinterpret_cast<const uoffset_t *>(offsetloc) - in DagCheck() 200 reinterpret_cast<const uoffset_t *>(buf_.data()); in DagCheck() 235 auto ref = offsetloc + ReadScalar<uoffset_t>(offsetloc); in ResizeTable() [all …]
|
D | idl_gen_text.cpp | 80 for (uoffset_t i = 0; i < v.size(); i++) { in PrintVector() 107 for (uoffset_t i = 0; i < s.size(); i++) { in EscapeString() 159 i = static_cast<uoffset_t>(utf8 - s.c_str() - 1); in EscapeString()
|
D | idl_parser.cpp | 801 uoffset_t off; in ParseAnyValue() 834 uoffset_t *ovalue) { in ParseTable() 954 CheckedError Parser::ParseVector(const Type &type, uoffset_t *ovalue) { in ParseVector() 1941 uoffset_t toff; in DoParse()
|
/external/flatbuffers/tests/namespace_test/ |
D | namespace_test2_generated.h | 53 VerifyField<flatbuffers::uoffset_t>(verifier, VT_FOO_TABLE) && in Verify() 63 flatbuffers::uoffset_t start_; 120 VerifyField<flatbuffers::uoffset_t>(verifier, VT_REFER_TO_A1) && in Verify() 122 VerifyField<flatbuffers::uoffset_t>(verifier, VT_REFER_TO_A2) && in Verify() 130 flatbuffers::uoffset_t start_; 175 VerifyField<flatbuffers::uoffset_t>(verifier, VT_REFER_TO_C) && in Verify() 183 flatbuffers::uoffset_t start_;
|
D | namespace_test1_generated.h | 89 flatbuffers::uoffset_t start_;
|
/external/flatbuffers/tests/union_vector/ |
D | union_vector_generated.h | 77 flatbuffers::uoffset_t start_; 117 flatbuffers::uoffset_t start_; 157 flatbuffers::uoffset_t start_; 194 VerifyField<flatbuffers::uoffset_t>(verifier, VT_CHARACTERS_TYPE) && 196 VerifyField<flatbuffers::uoffset_t>(verifier, VT_CHARACTERS) && 205 flatbuffers::uoffset_t start_; 267 for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
|
/external/flatbuffers/tests/ |
D | monster_test_generated.h | 272 flatbuffers::uoffset_t start_; 328 flatbuffers::uoffset_t start_; 392 VerifyField<flatbuffers::uoffset_t>(verifier, VT_ID) && 405 flatbuffers::uoffset_t start_; 719 VerifyFieldRequired<flatbuffers::uoffset_t>(verifier, VT_NAME) && 721 VerifyField<flatbuffers::uoffset_t>(verifier, VT_INVENTORY) && 725 VerifyField<flatbuffers::uoffset_t>(verifier, VT_TEST) && 727 VerifyField<flatbuffers::uoffset_t>(verifier, VT_TEST4) && 729 VerifyField<flatbuffers::uoffset_t>(verifier, VT_TESTARRAYOFSTRING) && 732 VerifyField<flatbuffers::uoffset_t>(verifier, VT_TESTARRAYOFTABLES) && [all …]
|
D | test.cpp | 149 for (flatbuffers::uoffset_t i = 0; i < builder.GetSize(); i++) in CreateFlatBufferTest() 702 flatbuffers::uoffset_t objects[num_fuzz_objects]; in FuzzTest1()
|
/external/flatbuffers/samples/ |
D | monster_generated.h | 234 VerifyField<flatbuffers::uoffset_t>(verifier, VT_NAME) && 236 VerifyField<flatbuffers::uoffset_t>(verifier, VT_INVENTORY) && 239 VerifyField<flatbuffers::uoffset_t>(verifier, VT_WEAPONS) && 243 VerifyField<flatbuffers::uoffset_t>(verifier, VT_EQUIPPED) && 254 flatbuffers::uoffset_t start_; 373 VerifyField<flatbuffers::uoffset_t>(verifier, VT_NAME) && 385 flatbuffers::uoffset_t start_; 439 …{ auto _e = inventory(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->… 441 …{ auto _e = weapons(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->we… 518 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_;
|