Lines Matching refs:initialData
1205 int ret, initialData; in doSendObject() local
1223 initialData = ret - MTP_CONTAINER_HEADER_SIZE; in doSendObject()
1226 if (initialData != 0) in doSendObject()
1246 if (initialData > 0) { in doSendObject()
1247 ret = write(mfr.fd, mData.getData(), initialData); in doSendObject()
1254 mfr.offset = initialData; in doSendObject()
1259 mfr.length = mSendObjectFileSize - initialData; in doSendObject()
1267 initialData == MTP_BUFFER_SIZE - MTP_CONTAINER_HEADER_SIZE); in doSendObject()
1398 int initialData = ret - MTP_CONTAINER_HEADER_SIZE; in doSendPartialObject() local
1400 if (initialData > 0) { in doSendPartialObject()
1401 ret = pwrite(edit->mFD, mData.getData(), initialData, offset); in doSendPartialObject()
1402 offset += initialData; in doSendPartialObject()
1403 length -= initialData; in doSendPartialObject()
1419 initialData == MTP_BUFFER_SIZE - MTP_CONTAINER_HEADER_SIZE); in doSendPartialObject()