Lines Matching refs:uoffset_t
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()
236 Straddle<uoffset_t, 1>(offsetloc, ref, offsetloc); in ResizeTable()
247 auto vec = reinterpret_cast<Vector<uoffset_t> *>(ref); in ResizeTable()
252 for (uoffset_t i = 0; i < vec->size(); i++) { in ResizeTable()
253 auto loc = vec->Data() + i * sizeof(uoffset_t); in ResizeTable()
257 Straddle<uoffset_t, 1>(loc, dest ,loc); in ResizeTable()
295 auto str_start = static_cast<uoffset_t>( in SetString()
297 auto start = str_start + static_cast<uoffset_t>(sizeof(uoffset_t)); in SetString()
305 static_cast<uoffset_t>(val.size())); in SetString()
311 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize, in ResizeAnyVector()
312 const VectorOfAny *vec, uoffset_t num_elems, in ResizeAnyVector()
313 uoffset_t elem_size, std::vector<uint8_t> *flatbuf, in ResizeAnyVector()
318 auto start = static_cast<uoffset_t>(vec_start + sizeof(uoffset_t) + in ResizeAnyVector()
341 while ((flatbuf.size() & (sizeof(uoffset_t) - 1)) || in AddFlatBuffer()
345 auto insertion_point = static_cast<uoffset_t>(flatbuf.size()); in AddFlatBuffer()
347 flatbuf.insert(flatbuf.end(), newbuf + sizeof(uoffset_t), newbuf + newlen); in AddFlatBuffer()
348 auto root_offset = ReadScalar<uoffset_t>(newbuf) - sizeof(uoffset_t); in AddFlatBuffer()
366 std::vector<uoffset_t> offsets; in CopyTable()
372 uoffset_t offset = 0; in CopyTable()
405 for (uoffset_t i = 0; i < vec_s->size(); i++) { in CopyTable()
416 for (uoffset_t i = 0; i < vec->size(); i++) { in CopyTable()
524 if (!table.VerifyField<uoffset_t>(v, vec_field.offset())) in VerifyVector()
577 for (uoffset_t j = 0; j < vec->size(); j++) { in VerifyVector()
612 for (uoffset_t i = 0; i < obj.fields()->size(); i++) { in VerifyObject()
652 if (!table->VerifyField<uoffset_t>(v, field_def->offset()) || in VerifyObject()