Lines Matching defs:count
91 if (rrule.count != 0) {
110 // If there were only "until"s and no "count"s, then return the
398 int generateByList(int count, int freq, int byFreq)
403 if (count == 0) {
411 private static boolean useBYX(int freq, int freqConstant, int count)
413 return freq > freqConstant && count > 0;
498 int i, count, v;
507 count = r.bydayCount;
508 if (count > 0) {
527 for (i=0; i<count; i++) {
542 // v is positive, count from the beginning of the month
553 // v is negative, count from the end of the month
576 count = r.bymonthdayCount;
577 if (count != 0) {
580 for (i=0; i<count; i++) {
592 // This is O(lastDayThisMonth*count), which is really
593 // O(count) with a decent sized constant.
597 for (i=0; i<count; i++) {
741 int count = 0;
745 // then add it here and increment count. If the range is earlier or later,
746 // then don't add it here. In that case, count will be incremented later
747 // inside the loop. It is important that count gets incremented exactly
755 ++count;
767 if (rangeEndDateValue == Long.MAX_VALUE && r.until == null && r.count == 0) {
993 // increase the count as long
999 // condition for incrementing count at the
1001 // increment count there, we increment it here.
1004 // and count was incremented at the beginning.
1006 // is not set, then we must increment count here.
1011 ++count;
1044 // another is that count is high enough
1045 if (r.count > 0 && r.count == count) {
1046 //Log.i(TAG, "stopping b/c count=" + count);