Lines Matching refs:offset
135 std::vector< char > & blob, std::size_t alignment, std::size_t offset, in align() argument
139 n = align(n - offset, alignment) + offset; //TODO: overflow in align() in align()
146 std::size_t offset) in add() argument
148 *reinterpret_cast< T * >(align(blob, alignment, offset, sizeof (T))) = data; in add()
194 std::vector< char > & blob, std::size_t offset, MarshalData & data);
214 SbxVariable * variable, std::vector< char > & blob, std::size_t offset, in marshalStruct() argument
221 SbError e = marshal(false, props->Get(i), false, blob, offset, data); in marshalStruct()
230 SbxVariable * variable, std::vector< char > & blob, std::size_t offset, in marshalArray() argument
243 false, arr->Get32(&idx[0]), false, blob, offset, data); in marshalArray()
263 std::vector< char > & blob, std::size_t offset, MarshalData & data) in marshal() argument
276 add(blob, variable->GetInteger(), outer ? 4 : 2, offset); in marshal()
279 add(blob, variable->GetLong(), 4, offset); in marshal()
282 add(blob, variable->GetSingle(), 4, offset); in marshal()
285 add(blob, variable->GetDouble(), outer ? 4 : 8, offset); in marshal()
294 add(blob, p, 4, offset); in marshal()
299 align(blob, outer ? 4 : alignment(variable), offset, 0); in marshal()
300 SbError e = marshalStruct(variable, blob, offset, data); in marshal()
307 add(blob, variable->GetBool(), outer ? 4 : 1, offset); in marshal()
310 add(blob, variable->GetByte(), outer ? 4 : 1, offset); in marshal()
317 SbError e = marshalArray(variable, blob, offset, data); in marshal()
331 add(blob, variable->data(), 4, offset); in marshal()
342 add(blob, address(*blob2), 4, offset); in marshal()
356 add(blob, p, 4, offset); in marshal()
373 add(blob, p, 4, offset); in marshal()