Searched refs:dLength (Results 1 – 3 of 3) sorted by relevance
/external/libusb/examples/ |
D | ezusb.c | 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() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | ucsdetst.c | 124 int32_t byteLength = 0, sLength = 0, dLength = 0; in TestUTF8() local 147 dLength = ucsdet_getUChars(match, detected, sLength, &status); in TestUTF8() 149 if (u_strCompare(detected, dLength, s, sLength, FALSE) != 0) { in TestUTF8()
|
/external/icu/icu4c/source/test/intltest/ |
D | csdetest.cpp | 190 int32_t dLength = 0; in checkEncoding() local 218 dLength = ucsdet_getUChars(matches[0], decoded, testLength, &status); in checkEncoding() 220 if (testString.compare(decoded, dLength) != 0) { in checkEncoding()
|