Lines Matching refs:buffer

59 void write64(std::vector< unsigned char > * buffer, sal_uInt64 value) {  in write64()  argument
60 Marshal::write8(buffer, value >> 56); in write64()
61 Marshal::write8(buffer, (value >> 48) & 0xFF); in write64()
62 Marshal::write8(buffer, (value >> 40) & 0xFF); in write64()
63 Marshal::write8(buffer, (value >> 32) & 0xFF); in write64()
64 Marshal::write8(buffer, (value >> 24) & 0xFF); in write64()
65 Marshal::write8(buffer, (value >> 16) & 0xFF); in write64()
66 Marshal::write8(buffer, (value >> 8) & 0xFF); in write64()
67 Marshal::write8(buffer, value & 0xFF); in write64()
70 void writeCompressed(std::vector< unsigned char > * buffer, sal_uInt32 value) { in writeCompressed() argument
72 Marshal::write8(buffer, static_cast< sal_uInt8 >(value)); in writeCompressed()
74 Marshal::write8(buffer, 0xFF); in writeCompressed()
75 Marshal::write32(buffer, value); in writeCompressed()
80 std::vector< unsigned char > * buffer, rtl::OUString const & value) in writeString()
82 OSL_ASSERT(buffer != 0); in writeString()
95 writeCompressed(buffer, static_cast< sal_uInt32 >(v.getLength())); in writeString()
96 buffer->insert(buffer->end(), v.getStr(), v.getStr() + v.getLength()); in writeString()
109 void Marshal::write8(std::vector< unsigned char > * buffer, sal_uInt8 value) { in write8() argument
110 OSL_ASSERT(buffer != 0); in write8()
111 buffer->push_back(value); in write8()
114 void Marshal::write16(std::vector< unsigned char > * buffer, sal_uInt16 value) { in write16() argument
115 write8(buffer, value >> 8); in write16()
116 write8(buffer, value & 0xFF); in write16()
119 void Marshal::write32(std::vector< unsigned char > * buffer, sal_uInt32 value) { in write32() argument
120 write8(buffer, value >> 24); in write32()
121 write8(buffer, (value >> 16) & 0xFF); in write32()
122 write8(buffer, (value >> 8) & 0xFF); in write32()
123 write8(buffer, value & 0xFF); in write32()
127 std::vector< unsigned char > * buffer, in writeValue()
134 writeValue(buffer, type, value.getValue(type)); in writeValue()
138 std::vector< unsigned char > * buffer, in writeType()
145 write8(buffer, static_cast< sal_uInt8 >(tc)); in writeType()
150 write8(buffer, static_cast< sal_uInt8 >(tc)); in writeType()
151 write16(buffer, idx); in writeType()
153 write8(buffer, static_cast< sal_uInt8 >(tc) | 0x80); in writeType()
154 write16(buffer, idx); in writeType()
155 writeString(buffer, rtl::OUString(value.get()->pTypeName)); in writeType()
161 std::vector< unsigned char > * buffer, rtl::OUString const & oid) in writeOid()
172 write8(buffer, 0); in writeOid()
174 writeString(buffer, oid); in writeOid()
176 write16(buffer, idx); in writeOid()
180 std::vector< unsigned char > * buffer, rtl::ByteSequence const & tid) in writeTid()
185 write8(buffer, 0); in writeTid()
189 buffer, in writeTid()
193 write16(buffer, idx); in writeTid()
197 std::vector< unsigned char > * buffer, in writeValue()
200 OSL_ASSERT(buffer != 0 && type.is()); in writeValue()
209 write8(buffer, *static_cast< sal_uInt8 const * >(value)); in writeValue()
214 write16(buffer, *static_cast< sal_uInt16 const * >(value)); in writeValue()
220 write32(buffer, *static_cast< sal_uInt32 const * >(value)); in writeValue()
225 write64(buffer, *static_cast< sal_uInt64 const * >(value)); in writeValue()
229 buffer, in writeValue()
234 buffer, in writeValue()
243 writeType(buffer, t); in writeValue()
244 writeValue(buffer, t, p->pData); in writeValue()
250 writeCompressed(buffer, static_cast< sal_uInt32 >(p->nElements)); in writeValue()
257 buffer->insert( in writeValue()
258 buffer->end(), p->elements, p->elements + p->nElements); in writeValue()
261 writeValue(buffer, ctd, p->elements + i * ctd.get()->nSize); in writeValue()
268 writeMemberValues(buffer, type, value); in writeValue()
272 buffer, in writeValue()
285 std::vector< unsigned char > * buffer, in writeMemberValues()
298 buffer, in writeMemberValues()
304 buffer, css::uno::TypeDescription(ctd->ppTypeRefs[i]), in writeMemberValues()