Lines Matching refs:cnt

604   UInt8 cnt, isum, csum = 0;
606 for (cnt = 0; cnt < 0x10; cnt++) {
607 isum = csum + partitionHeader[cnt];
634 UInt32 cnt, propOffset, propType;
647 cnt = 0;
648 while (cnt < _ofPartitionSize) {
650 if (_ofImage[cnt] == '\0') break;
653 propName = _ofImage + cnt;
654 for (propNameLength = 0; (cnt + propNameLength) < _ofPartitionSize;
656 if (_ofImage[cnt + propNameLength] == '=') break;
660 if ((cnt + propNameLength) >= _ofPartitionSize) break;
661 cnt += propNameLength + 1;
663 propData = _ofImage + cnt;
664 for (propDataLength = 0; (cnt + propDataLength) < _ofPartitionSize;
666 if (_ofImage[cnt + propDataLength] == '\0') break;
670 if ((cnt + propDataLength) >= _ofPartitionSize) break;
671 cnt += propDataLength + 1;
712 cnt = 0;
714 if (!getOWVariableInfo(cnt++, &propSymbol, &propType, &propOffset))
764 UInt32 cnt, length, maxLength;
831 cnt = 0;
833 if (!getOWVariableInfo(cnt++, &tmpSymbol, &tmpType, &tmpOffset))
1166 UInt32 cnt, checksum = 0;
1169 for (cnt = 0; cnt < _ofPartitionSize / 2; cnt++)
1170 checksum += tmpBuffer[cnt];
1177 UInt32 cnt, checksum, sum = 0;
1180 for (cnt = 0; cnt < _ofPartitionSize / 2; cnt++)
1181 sum += tmpBuffer[cnt];
1193 UInt32 cnt;
1217 for (cnt = 0; cnt < bootCommandDataLength; cnt++) {
1218 if ((bootCommandData[cnt] == 'b') &&
1219 !strncmp("bootr", (const char *)bootCommandData + cnt, 5)) {
1220 cnt += 5;
1221 while (bootCommandData[cnt] == ' ') cnt++;
1236 tmpDataLength = cnt + bootArgsDataLength;
1240 cnt -= strlcpy((char *)tmpData, (const char *)bootCommandData, cnt);
1241 strlcat((char *)tmpData, (const char *)bootArgsData, cnt);
1251 bootArgs = OSString::withCString((const char *)(bootCommandData + cnt));
1399 UInt32 cnt, cnt2;
1406 for (cnt = 0; cnt < length;) {
1407 byte = bytes[cnt++];
1409 byte = bytes[cnt++];
1424 for (cnt = 0; cnt < length;) {
1425 byte = bytes[cnt++];
1427 byte = bytes[cnt++];