Home | History | Annotate | Download | only in examples

Lines Matching refs:dLength

568 	uint32_t dCheckSum, dExpectedCheckSum, dAddress, i, dLen, dLength;
629 if ((fread(&dLength, sizeof(uint32_t), 1, image) != 1) || // read dLength
635 if (dLength == 0)
639 dImageBuf = (uint32_t*)calloc(dLength, sizeof(uint32_t));
647 if (fread(dImageBuf, sizeof(uint32_t), dLength, image) != dLength) {
653 for (i = 0; i < dLength; i++)
655 dLength <<= 2; // convert to Byte length
658 while (dLength > 0) {
660 if (dLen > dLength)
661 dLen = dLength;
679 dLength -= dLen;