Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 6 of 6) sorted by relevance

/bootable/bootloader/legacy/usbloader/
Dusbloader.c249 static void usb_rx_cmd_complete(struct usb_request *req, unsigned actual, int status);
250 static void usb_rx_data_complete(struct usb_request *req, unsigned actual, int status);
281 static void usb_rx_data_complete(struct usb_request *req, unsigned actual, int status) in usb_rx_data_complete() argument
285 if(actual > rx_length) { in usb_rx_data_complete()
286 actual = rx_length; in usb_rx_data_complete()
289 rx_addr += actual; in usb_rx_data_complete()
290 rx_length -= actual; in usb_rx_data_complete()
342 static void usb_rx_cmd_complete(struct usb_request *req, unsigned actual, int status) in usb_rx_cmd_complete() argument
346 if(actual > 4095) actual = 4095; in usb_rx_cmd_complete()
347 cmdbuf[actual] = 0; in usb_rx_cmd_complete()
/bootable/recovery/minzip/
DSysUtil.c86 size_t length, actual; in sysLoadFileInShmem() local
98 actual = read(fd, memPtr, length); in sysLoadFileInShmem()
99 if (actual != length) { in sysLoadFileInShmem()
100 LOGE("only read %d of %d bytes\n", (int) actual, (int) length); in sysLoadFileInShmem()
/bootable/bootloader/legacy/arch_msm7k/
Dhsusb.c145 unsigned actual; in handle_ept_complete() local
159 actual = 0; in handle_ept_complete()
164 actual = req->length - ((item->info >> 16) & 0x7fff); in handle_ept_complete()
168 req->complete(req, actual, status); in handle_ept_complete()
199 static void ep0in_complete(struct usb_request *req, unsigned actual, int status) in ep0in_complete() argument
201 DBG("ep0in_complete %p %d %d\n", req, actual, status); in ep0in_complete()
/bootable/recovery/
Dverifier.c168 uint8_t expected[SHA_DIGEST_SIZE + 3], actual[SHA_DIGEST_SIZE]; in verifyManifest() local
203 if (!digestEntry(pArchive, mfEntry, NULL, 0, actual)) return NULL; in verifyManifest()
204 if (memcmp(expected, actual, SHA_DIGEST_SIZE)) { in verifyManifest()
312 uint8_t expected[SHA_DIGEST_SIZE + 3], actual[SHA_DIGEST_SIZE]; in verifyArchive() local
319 if (!digestEntry(pArchive, entry, &doneBytes, totalBytes, actual) || in verifyArchive()
320 memcmp(expected, actual, SHA_DIGEST_SIZE) != 0) { in verifyArchive()
/bootable/bootloader/legacy/include/boot/
Dusb.h74 void (*complete)(struct usb_request *req, unsigned actual, int status);
/bootable/bootloader/legacy/
DREADME31 The actual bootloader: