Lines Matching refs:data

145     std::vector< char > & blob, T const & data, std::size_t alignment,  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);
197 SbxVariable * variable, bool special, MarshalData & data, void ** buffer) in marshalString() argument
205 std::vector< char > * blob = data.newBlob(); in marshalString()
209 data.unmarshalStrings.push_back(StringData(variable, *buffer, special)); in marshalString()
215 MarshalData & data) in marshalStruct() argument
221 SbError e = marshal(false, props->Get(i), false, blob, offset, data); in marshalStruct()
231 MarshalData & data) 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
290 SbError e = marshalString(variable, special, data, &p); in marshal()
300 SbError e = marshalStruct(variable, blob, offset, data); in marshal()
317 SbError e = marshalArray(variable, blob, offset, data); in marshal()
331 add(blob, variable->data(), 4, offset); in marshal()
335 std::vector< char > * blob2 = data.newBlob(); in marshal()
337 SbError e = marshalString(variable, special, data, &p); in marshal()
347 std::vector< char > * blob2 = data.newBlob(); in marshal()
348 SbError e = marshalStruct(variable, *blob2, 0, data); in marshal()
354 data.unmarshal.push_back(UnmarshalData(variable, p)); in marshal()
364 std::vector< char > * blob2 = data.newBlob(); in marshal()
365 SbError e = marshalArray(variable, *blob2, 0, data); in marshal()
371 data.unmarshal.push_back(UnmarshalData(variable, p)); in marshal()
385 void const * unmarshal(SbxVariable * variable, void const * data) { in unmarshal() argument
390 variable->PutInteger(read< sal_Int16 >(&data)); in unmarshal()
393 variable->PutLong(read< sal_Int32 >(&data)); in unmarshal()
396 variable->PutSingle(read< float >(&data)); in unmarshal()
399 variable->PutDouble(read< double >(&data)); in unmarshal()
402 read< char * >(&data); // handled by unmarshalString in unmarshal()
406 data = reinterpret_cast< void const * >( in unmarshal()
408 reinterpret_cast< sal_uIntPtr >(data), in unmarshal()
413 data = unmarshal(props->Get(i), data); in unmarshal()
418 variable->PutBool(read< sal_Bool >(&data)); in unmarshal()
421 variable->PutByte(read< sal_uInt8 >(&data)); in unmarshal()
436 data = unmarshal(arr->Get32(&idx[0]), data); in unmarshal()
449 return data; in unmarshal()
452 SbError unmarshalString(StringData const & data, SbxVariable & result) { in unmarshalString() argument
454 if (data.buffer != 0) { in unmarshalString()
455 char const * p = static_cast< char const * >(data.buffer); in unmarshalString()
457 if (data.special) { in unmarshalString()
471 data.variable->PutString(String(str)); in unmarshalString()
485 MarshalData data; in call() local
498 data); in call()
561 for (std::vector< UnmarshalData >::iterator i(data.unmarshal.begin()); in call()
562 i != data.unmarshal.end(); ++i) in call()
566 for (std::vector< StringData >::iterator i(data.unmarshalStrings.begin()); in call()
567 i != data.unmarshalStrings.end(); ++i) in call()