• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/

Lines Matching refs:cnt

584   UInt8 cnt, isum, csum = 0;
586 for (cnt = 0; cnt < 0x10; cnt++) {
587 isum = csum + partitionHeader[cnt];
614 UInt32 cnt, propOffset, propType;
627 cnt = 0;
628 while (cnt < _ofPartitionSize) {
630 if (_ofImage[cnt] == '\0') break;
633 propName = _ofImage + cnt;
634 for (propNameLength = 0; (cnt + propNameLength) < _ofPartitionSize;
636 if (_ofImage[cnt + propNameLength] == '=') break;
640 if ((cnt + propNameLength) >= _ofPartitionSize) break;
641 cnt += propNameLength + 1;
643 propData = _ofImage + cnt;
644 for (propDataLength = 0; (cnt + propDataLength) < _ofPartitionSize;
646 if (_ofImage[cnt + propDataLength] == '\0') break;
650 if ((cnt + propDataLength) >= _ofPartitionSize) break;
651 cnt += propDataLength + 1;
692 cnt = 0;
694 if (!getOWVariableInfo(cnt++, &propSymbol, &propType, &propOffset))
744 UInt32 cnt, length, maxLength;
811 cnt = 0;
813 if (!getOWVariableInfo(cnt++, &tmpSymbol, &tmpType, &tmpOffset))
1146 UInt32 cnt, checksum = 0;
1149 for (cnt = 0; cnt < _ofPartitionSize / 2; cnt++)
1150 checksum += tmpBuffer[cnt];
1157 UInt32 cnt, checksum, sum = 0;
1160 for (cnt = 0; cnt < _ofPartitionSize / 2; cnt++)
1161 sum += tmpBuffer[cnt];
1173 UInt32 cnt;
1197 for (cnt = 0; cnt < bootCommandDataLength; cnt++) {
1198 if ((bootCommandData[cnt] == 'b') &&
1199 !strncmp("bootr", (const char *)bootCommandData + cnt, 5)) {
1200 cnt += 5;
1201 while (bootCommandData[cnt] == ' ') cnt++;
1216 tmpDataLength = cnt + bootArgsDataLength;
1220 cnt -= strlcpy((char *)tmpData, (const char *)bootCommandData, cnt);
1221 strlcat((char *)tmpData, (const char *)bootArgsData, cnt);
1231 bootArgs = OSString::withCString((const char *)(bootCommandData + cnt));
1381 UInt32 cnt, cnt2;
1388 for (cnt = 0; cnt < length;) {
1389 byte = bytes[cnt++];
1391 byte = bytes[cnt++];
1406 for (cnt = 0; cnt < length;) {
1407 byte = bytes[cnt++];
1409 byte = bytes[cnt++];