Home
last modified time | relevance | path

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

/external/libusb/examples/
Dezusb.c569 uint32_t* dImageBuf; in fx3_load_ram() local
639 dImageBuf = (uint32_t*)calloc(dLength, sizeof(uint32_t)); in fx3_load_ram()
640 if (dImageBuf == NULL) { in fx3_load_ram()
647 if (fread(dImageBuf, sizeof(uint32_t), dLength, image) != dLength) { in fx3_load_ram()
649 free(dImageBuf); in fx3_load_ram()
654 dCheckSum += dImageBuf[i]; in fx3_load_ram()
656 bBuf = (unsigned char*) dImageBuf; in fx3_load_ram()
665 free(dImageBuf); in fx3_load_ram()
673 free(dImageBuf); in fx3_load_ram()
683 free(dImageBuf); in fx3_load_ram()