• Home
  • Raw
  • Download

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()
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()
239 Straddle<uoffset_t, 1>(offsetloc, ref, offsetloc); in ResizeTable()
250 auto vec = reinterpret_cast<Vector<uoffset_t> *>(ref); in ResizeTable()
255 for (uoffset_t i = 0; i < vec->size(); i++) { in ResizeTable()
256 auto loc = vec->Data() + i * sizeof(uoffset_t); in ResizeTable()
260 Straddle<uoffset_t, 1>(loc, dest ,loc); in ResizeTable()
298 auto str_start = static_cast<uoffset_t>( in SetString()
300 auto start = str_start + static_cast<uoffset_t>(sizeof(uoffset_t)); in SetString()
308 static_cast<uoffset_t>(val.size())); in SetString()
314 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize, in ResizeAnyVector()
315 const VectorOfAny *vec, uoffset_t num_elems, in ResizeAnyVector()
316 uoffset_t elem_size, std::vector<uint8_t> *flatbuf, in ResizeAnyVector()
322 auto start = static_cast<uoffset_t>(vec_start + sizeof(uoffset_t) + in ResizeAnyVector()
345 while ((flatbuf.size() & (sizeof(uoffset_t) - 1)) || in AddFlatBuffer()
349 auto insertion_point = static_cast<uoffset_t>(flatbuf.size()); in AddFlatBuffer()
351 flatbuf.insert(flatbuf.end(), newbuf + sizeof(uoffset_t), newbuf + newlen); in AddFlatBuffer()
352 auto root_offset = ReadScalar<uoffset_t>(newbuf) - sizeof(uoffset_t); in AddFlatBuffer()
370 std::vector<uoffset_t> offsets; in CopyTable()
376 uoffset_t offset = 0; in CopyTable()
409 for (uoffset_t i = 0; i < vec_s->size(); i++) { in CopyTable()
420 for (uoffset_t i = 0; i < vec->size(); i++) { in CopyTable()
528 if (!table.VerifyField<uoffset_t>(v, vec_field.offset())) in VerifyVector()
581 for (uoffset_t j = 0; j < vec->size(); j++) { in VerifyVector()
616 for (uoffset_t i = 0; i < obj.fields()->size(); i++) { in VerifyObject()
656 if (!table->VerifyField<uoffset_t>(v, field_def->offset()) || in VerifyObject()