Lines Matching refs:uoffset_t
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()
246 Straddle<uoffset_t, 1>(offsetloc, ref, offsetloc); in ResizeTable()
257 auto vec = reinterpret_cast<Vector<uoffset_t> *>(ref); in ResizeTable()
263 for (uoffset_t i = 0; i < vec->size(); i++) { in ResizeTable()
264 auto loc = vec->Data() + i * sizeof(uoffset_t); in ResizeTable()
267 Straddle<uoffset_t, 1>(loc, dest, loc); in ResizeTable()
303 auto str_start = static_cast<uoffset_t>( in SetString()
305 auto start = str_start + static_cast<uoffset_t>(sizeof(uoffset_t)); in SetString()
313 static_cast<uoffset_t>(val.size())); in SetString()
319 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize, in ResizeAnyVector()
320 const VectorOfAny *vec, uoffset_t num_elems, in ResizeAnyVector()
321 uoffset_t elem_size, std::vector<uint8_t> *flatbuf, in ResizeAnyVector()
327 auto start = static_cast<uoffset_t>(vec_start + sizeof(uoffset_t) + in ResizeAnyVector()
350 while ((flatbuf.size() & (sizeof(uoffset_t) - 1)) || in AddFlatBuffer()
354 auto insertion_point = static_cast<uoffset_t>(flatbuf.size()); in AddFlatBuffer()
356 flatbuf.insert(flatbuf.end(), newbuf + sizeof(uoffset_t), newbuf + newlen); in AddFlatBuffer()
357 auto root_offset = ReadScalar<uoffset_t>(newbuf) - sizeof(uoffset_t); in AddFlatBuffer()
374 std::vector<uoffset_t> offsets; in CopyTable()
380 uoffset_t offset = 0; in CopyTable()
415 for (uoffset_t i = 0; i < vec_s->size(); i++) { in CopyTable()
426 for (uoffset_t i = 0; i < vec->size(); i++) { in CopyTable()
522 if (!table.VerifyField<uoffset_t>(v, vec_field.offset())) return false; in VerifyVector()
569 for (uoffset_t j = 0; j < vec->size(); j++) { in VerifyVector()
597 for (uoffset_t i = 0; i < obj.fields()->size(); i++) { in VerifyObject()
628 if (!table->VerifyField<uoffset_t>(v, field_def->offset()) || in VerifyObject()