• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/xnu-2782.1.97/iokit/Kernel/

Lines Matching refs:cnt

625   UInt8 cnt, isum, csum = 0;
627 for (cnt = 0; cnt < 0x10; cnt++) {
628 isum = csum + partitionHeader[cnt];
638 UInt32 cnt;
650 cnt = 0;
651 while (cnt < _ofPartitionSize) {
653 if (_ofImage[cnt] == '\0') break;
656 propName = _ofImage + cnt;
657 for (propNameLength = 0; (cnt + propNameLength) < _ofPartitionSize;
659 if (_ofImage[cnt + propNameLength] == '=') break;
663 if ((cnt + propNameLength) >= _ofPartitionSize) break;
664 cnt += propNameLength + 1;
666 propData = _ofImage + cnt;
667 for (propDataLength = 0; (cnt + propDataLength) < _ofPartitionSize;
669 if (_ofImage[cnt + propDataLength] == '\0') break;
673 if ((cnt + propDataLength) >= _ofPartitionSize) break;
674 cnt += propDataLength + 1;
1041 UInt32 cnt, checksum = 0;
1044 for (cnt = 0; cnt < _ofPartitionSize / 2; cnt++)
1045 checksum += tmpBuffer[cnt];
1052 UInt32 cnt, checksum, sum = 0;
1055 for (cnt = 0; cnt < _ofPartitionSize / 2; cnt++)
1056 sum += tmpBuffer[cnt];
1068 UInt32 cnt;
1092 for (cnt = 0; cnt < bootCommandDataLength; cnt++) {
1093 if ((bootCommandData[cnt] == 'b') &&
1094 !strncmp("bootr", (const char *)bootCommandData + cnt, 5)) {
1095 cnt += 5;
1096 while (bootCommandData[cnt] == ' ') cnt++;
1111 tmpDataLength = cnt + bootArgsDataLength;
1115 cnt -= strlcpy((char *)tmpData, (const char *)bootCommandData, cnt);
1116 strlcat((char *)tmpData, (const char *)bootArgsData, cnt);
1126 bootArgs = OSString::withCString((const char *)(bootCommandData + cnt));
1159 UInt32 cnt, cnt2;
1166 for (cnt = 0; cnt < length;) {
1167 byte = bytes[cnt++];
1169 byte = bytes[cnt++];
1184 for (cnt = 0; cnt < length;) {
1185 byte = bytes[cnt++];
1187 byte = bytes[cnt++];