Home
last modified time | relevance | path

Searched refs:internalBuffer (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/incidentd/src/
DSection.cpp193 sp<EncodedBuffer> internalBuffer = buffer.data(); in Execute() local
194 internalBuffer->writeHeader((uint32_t)GZippedFileProto::FILENAME, WIRE_TYPE_LENGTH_DELIMITED); in Execute()
196 internalBuffer->writeRawVarint32(fileLen); in Execute()
198 internalBuffer->writeRawByte(mFilenames[index][i]); in Execute()
200 internalBuffer->writeHeader((uint32_t)GZippedFileProto::GZIPPED_DATA, in Execute()
202 size_t editPos = internalBuffer->wp()->pos(); in Execute()
203 internalBuffer->wp()->move(8); // reserve 8 bytes for the varint of the data size. in Execute()
204 size_t dataBeginAt = internalBuffer->wp()->pos(); in Execute()
225 internalBuffer->wp()->rewind()->move(editPos); in Execute()
226 internalBuffer->writeRawVarint32(dataSize); in Execute()
[all …]
/frameworks/native/libs/binder/ndk/
Dparcel.cpp711 const uint8_t* internalBuffer = parcel->get()->data(); in AParcel_marshal() local
712 if (internalBuffer == nullptr) { in AParcel_marshal()
715 memcpy(buffer, internalBuffer + start, len); in AParcel_marshal()