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