Lines Matching refs:cnt
2797 CFIndex cnt = 0;
2825 cnt = isA_CFArray(log) ? CFArrayGetCount(log) : 0;
2826 for (int i=0; i < cnt; i++) {
2888 if (cnt) CFRelease(log);
5880 int chosen = -1, cnt = 0;
5889 snprintf(key, sizeof(key), "%s%d", KPMASLWakeReqAppNamePrefix, cnt);
5893 snprintf(key, sizeof(key), "%s%d", kPMASLWakeReqTimeDeltaPrefix, cnt);
5897 snprintf(key, sizeof(key), "%s%d", kPMASLWakeReqTypePrefix, cnt);
5901 snprintf(key, sizeof(key), "%s%d", kPMASLWakeReqClientInfoPrefix, cnt);
5905 (cnt == chosen) ? "*" : "",
5911 cnt++;
5917 int cnt = 0;
5926 snprintf(buf, sizeof(buf), "%s%d",kPMASLResponseAppNamePrefix, cnt);
5930 snprintf(buf, sizeof(buf), "%s%d", kPMASLResponseRespTypePrefix, cnt);
5934 snprintf(buf, sizeof(buf), "%s%d", kPMASLResponseDelayPrefix, cnt);
5946 snprintf(buf, sizeof(buf), "%s%d",kPMASLResponsePSCapsPrefix, cnt);
5950 snprintf(buf, sizeof(buf), "%s%d",kPMASLResponseMessagePrefix, cnt);
5962 if (cnt == 0 && transition)
5966 cnt++;
6015 // Print Sleep cnt and dark wake cnt of previous sleep/wake cycle
7066 int i = 0, cnt = 0;
7074 cnt++;
7076 if (cnt == 0) goto exit;
7103 static int cnt = 0;
7108 if (cnt < nobjects) {
7124 cnt++;
7129 if ((cnt-nobjects) % (10*nobjects) == 0) {
7173 cnt++;
7281 __block int cnt = 0;
7332 cnt = 0;
7344 cnt++;
7357 cnt++;
7362 if (cnt == 0) {
7364 cnt++;
7444 size_t cnt;
7457 cnt = asl_count(msgList);
7458 if (cnt == 0) {
7462 msg = asl_get_index(msgList, cnt-1);