Searched refs:dataLen (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/minzip/ |
D | Zip.c | 627 static bool copyProcessFunction(const unsigned char *data, int dataLen, in copyProcessFunction() argument 631 if (dataLen <= args->bufLen) { in copyProcessFunction() 632 memcpy(args->buf, data, dataLen); in copyProcessFunction() 633 args->buf += dataLen; in copyProcessFunction() 634 args->bufLen -= dataLen; in copyProcessFunction() 660 static bool writeProcessFunction(const unsigned char *data, int dataLen, in writeProcessFunction() argument 664 if (dataLen == 0) { in writeProcessFunction() 669 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data+soFar, dataLen-soFar)); in writeProcessFunction() 672 dataLen-soFar, data+soFar, strerror(errno)); in writeProcessFunction() 676 if (soFar == dataLen) return true; in writeProcessFunction() [all …]
|
D | Zip.h | 100 int dataLen, void *cookie);
|