Searched refs:dow (Results 1 - 25 of 42) sorted by relevance

12

/macosx-10.9.5/libdispatch-339.92.1/src/
H A Donce.c48 struct _dispatch_once_waiter_s dow = { NULL, 0 }; local
52 if (dispatch_atomic_cmpxchg(vval, NULL, &dow, acquire)) {
108 tail = &dow;
118 dow.dow_sema = _dispatch_get_thread_semaphore();
124 if (dispatch_atomic_cmpxchgvw(vval, tmp, &dow, &tmp, release)) {
125 dow.dow_next = tmp;
126 _dispatch_thread_semaphore_wait(dow.dow_sema);
130 _dispatch_put_thread_semaphore(dow.dow_sema);
/macosx-10.9.5/CPANInternal-140/DateTime/t/
H A D28dow.t46 my $dow = 1;
56 $dow,
57 "day of week for day $doy of year $year is $dow" );
59 $dow--;
60 $dow = 7 if $dow == 0;
/macosx-10.9.5/CPANInternal-140/DateTime/lib/
H A DDateTimePP.pm77 my $dow;
81 $dow = ( $rd + 6 ) % 7;
82 $dow += $dow ? 8 : 1;
86 $dow = ( ( $rd + 6 ) % 7 ) + 1;
107 return ( $y, $m, $d, $dow, $doy, $quarter, $doq );
H A DDateTime.xs86 IV dow, doy, doq;
125 dow = rd_days % 7;
126 if ( dow <= 0 ) {
127 dow += 7;
130 PUSHs(sv_2mortal(newSViv(dow)));
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Dgregoimp.h177 * @param dow output parameter to receive day-of-week (1-based, 1==Sun)
181 int32_t& dom, int32_t& dow, int32_t& doy);
190 * @param dow output parameter to receive day-of-week (1-based, 1==Sun)
193 int32_t& dom, int32_t& dow);
202 * @param dow output parameter to receive day-of-week (1-based, 1==Sun)
207 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid);
274 int32_t& dom, int32_t& dow) {
276 dayToFields(day,year,month,dom,dow,doy_unused);
273 dayToFields(double day, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow) argument
H A Dgregoimp.cpp97 int32_t& dom, int32_t& dow, int32_t& doy) {
120 dow = (int32_t) uprv_fmod(day + 1, 7);
121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY;
135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) {
139 dayToFields(day, year, month, dom, dow, doy);
143 int32_t dow; local
144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow);
145 return (dow == 0) ? UCAL_SATURDAY : dow;
96 dayToFields(double day, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow, int32_t& doy) argument
134 timeToFields(UDate time, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) argument
[all...]
H A Dbasictz.cpp161 int32_t year, month, dom, dow, doy, mid; local
166 year, month, dom, dow, doy, mid);
169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
193 year, month, dom, dow, doy, mid);
196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
224 year, month, dom, dow, doy, mid);
226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
479 int32_t year, month, dom, dow, doy, mid; local
480 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
H A Dolsontz.cpp330 int32_t dom, uint8_t dow,
338 return getOffset(era, year, month, dom, dow, millis,
348 int32_t dom, uint8_t dow,
360 || dow < UCAL_SUNDAY
361 || dow > UCAL_SATURDAY
375 return finalZone->getOffset(era, year, month, dom, dow,
438 int32_t year, month, dom, dow; local
442 Grego::dayToFields(days, year, month, dom, dow);
565 int32_t year, month, dom, dow, doy, mid; local
566 Grego::timeToFields(current, year, month, dom, dow, do
329 getOffset(uint8_t era, int32_t year, int32_t month, int32_t dom, uint8_t dow, int32_t millis, UErrorCode& ec) const argument
347 getOffset(uint8_t era, int32_t year, int32_t month, int32_t dom, uint8_t dow, int32_t millis, int32_t monthLength, UErrorCode& ec) const argument
[all...]
H A Dtzrule.cpp299 int32_t dow = Grego::dayOfWeek(ruleDay);
300 int32_t delta = fDateTimeRule->getRuleDayOfWeek() - dow;
356 int32_t year, month, dom, dow, doy, mid;
357 Grego::timeToFields(base, year, month, dom, dow, doy, mid);
380 int32_t year, month, dom, dow, doy, mid;
381 Grego::timeToFields(base, year, month, dom, dow, doy, mid);
H A Dvtzone.cpp189 int32_t year, month, dom, dow, doy, mid; local
190 Grego::timeToFields(time, year, month, dom, dow, doy, mid);
373 * dow day of week in BYDAY, or 0 when not found
379 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim, argument
387 dow = 0;
474 dow = wday + 1;
814 int32_t month = -1, dom = 0, dow = 0; local
827 dow = rule->getRuleDayOfWeek();
855 dow += dshift;
856 if (dow < UCAL_SUNDA
1662 int32_t y, m, d, dow, doy, mid; local
1938 int32_t year, month, dom, dow, doy, mid; local
[all...]
H A Dcalendar.cpp1381 int32_t dow = julianDayToDayOfWeek(julianDay); local
1382 internalSet(UCAL_DAY_OF_WEEK,dow);
1385 int32_t dowLocal = dow - getFirstDayOfWeek() + 1;
1468 // dow: 1 2 3 4 5 6 7
1698 // in this locale. We have dow in 0..6.
1699 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
1700 if (dow < 0) dow += 7;
1704 int32_t fdm = (dow - internalGet(UCAL_DAY_OF_MONTH) + 1) % 7;
1720 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow)
1757 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
3496 int32_t dow = fFirstDayOfWeek; local
[all...]
H A Dgregocal.cpp972 // in this locale. We have dow in 0..6.
973 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
974 if (dow < 0)
975 dow += 7;
982 int32_t fdm = (dow - dom + 1) % 7;
999 int32_t ldm = (monthLen - dom + dow) % 7;
H A Dsimpletz.cpp516 int32_t year, month, dom, dow; local
520 Grego::dayToFields(day, year, month, dom, dow);
523 (uint8_t) dow, millis,
549 Grego::dayToFields(day, year, month, dom, dow);
551 (uint8_t) dow, millis,
/macosx-10.9.5/cron-39/cron/
H A Dcron.c208 register int minute, hour, dom, month, dow; local
218 dow = tm->tm_wday -FIRST_DOW;
221 getpid(), minute, hour, dom, month, dow))
282 /* the dom/dow situation is odd. '* * 1,15 * Sun' will run on the
305 ? (bit_test(e->dow,otzdow) && bit_test(e->dom,otzdom))
306 : (bit_test(e->dow,otzdow) || bit_test(e->dom,otzdom))
324 ? (bit_test(e->dow,dow) && bit_test(e->dom,dom))
325 : (bit_test(e->dow,dow) || bit_tes
[all...]
H A Dcron.h180 bitstr_t bit_decl(dow, DOW_COUNT);
/macosx-10.9.5/cron-39/lib/
H A Dentry.c177 bit_nset(e->dow, 0, (LAST_DOW-FIRST_DOW+1));
185 bit_nset(e->dow, 0, (LAST_DOW-FIRST_DOW+1));
194 bit_set(e->dow, 0);
201 bit_nset(e->dow, 0, (LAST_DOW-FIRST_DOW+1));
208 bit_nset(e->dow, 0, (LAST_DOW-FIRST_DOW+1));
268 ch = get_list(e->dow, FIRST_DOW, LAST_DOW,
277 if (bit_test(e->dow, 0) || bit_test(e->dow, 7)) {
278 bit_set(e->dow, 0);
279 bit_set(e->dow,
[all...]
/macosx-10.9.5/CPANInternal-140/DateTime-TimeZone/lib/DateTime/TimeZone/
H A DOlsonDB.pm202 my $dow = $DAYS{$1};
216 while ( $dt->day_of_week != $dow )
225 my $dow = $DAYS{$1};
235 while ( $dt->day_of_week != $dow )
/macosx-10.9.5/CF-855.17/
H A DCFCalendar.c399 int32_t dow = ucal_get(calendar->_cal, UCAL_DAY_OF_WEEK, &status); local
400 while (dow != goal) {
402 dow = ucal_get(calendar->_cal, UCAL_DAY_OF_WEEK, &status);
512 int32_t dow = -1; local
520 dow = ucal_get(calendar->_cal, UCAL_DAY_OF_WEEK, &status);
561 // roll day forward to first 'dow'
565 while (ucal_get(calendar->_cal, UCAL_DAY_OF_WEEK, &status) != dow) {
726 int32_t dow = -1; local
731 dow = ucal_get(calendar->_cal, UCAL_DAY_OF_WEEK, &status);
738 // roll day forward to first 'dow'
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/test/intltest/
H A Dtzregts.cpp372 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); local
376 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 6) % 7);
381 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 1) % 7);
388 (uint8_t)dow,
H A Dcaltest.cpp667 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local
671 if (dow < min ||
672 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range");
673 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow);
1448 * invariant. YEAR_WOY should keep the woy/dow invariant. I've
1516 int32_t dow = cal.get(UCAL_DOW_LOCAL, status); local
1552 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) {
1554 (ywy+1) + ", woy " + woy + ", dowLocal " + dow;
1774 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local
[all...]
H A Dcalregts.cpp584 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local
590 if (dow < min || dow > max)
591 errln("FAIL: Day of week %d out of range [%d,%d]\n", dow, min, max);
592 if (dow != UCAL_SUNDAY)
593 errln(UnicodeString("FAIL: Day of week should be SUNDAY Got ") + dow);
845 int32_t dow = a->get(UCAL_DAY_OF_WEEK, status); local
846 if (dow != UCAL_THURSDAY)
847 errln(UnicodeString("Fail: Want THURSDAY Got ") + dow);
1071 // y y_woy woy dow
1115 int32_t dow = DISAM_int[i+3]; local
2109 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/tools/tzcode/
H A Dtz2icu.cpp768 int32_t dow; member in struct:FinalRulePart
816 dow = _dow;
829 if (mode != DOM && (dow < 0 || dow >= 7)) {
830 os << "Invalid input day of week " << dow; local
842 << month << dom << dow << time
867 // DOWGEQ: dom -(dow+1)
868 // DOWLEQ: -dom -(dow+1)
883 * Return a "dow" param suitable for SimpleTimeZone.
886 return (mode == DOM) ? 0 : -(dow
960 int32_t month, dom, dow, time, offset; local
[all...]
/macosx-10.9.5/CPANInternal-140/DateTime-Format-Strptime/lib/DateTime/Format/
H A DStrptime.pm683 and $potential_return->dow != $dow_mon_1;
690 and ( $potential_return->dow % 7 ) != $dow_sun_0;
695 foreach my $dow ( @{ $self->{_locale}->day_format_wide } ) {
698 if ( lc $dow eq lc $dow_name ) {
705 foreach my $dow ( @{ $self->{_locale}->day_format_abbreviated } )
709 if ( lc $dow eq lc $dow_name ) {
725 and $potential_return->dow != $dow_number;
/macosx-10.9.5/CPANInternal-140/DateTime-Format-Strptime-1.04/lib/DateTime/Format/
H A DStrptime.pm523 $self->local_croak("Your day of the week ($dow_mon_1) does not match the date supplied: ".$potential_return->ymd) and return undef if $dow_mon_1 and $potential_return->dow != $dow_mon_1;
525 $self->local_croak("Your day of the week ($dow_sun_0) does not match the date supplied: ".$potential_return->ymd) and return undef if $dow_sun_0 and ($potential_return->dow % 7) != $dow_sun_0;
530 foreach my $dow (@{$self->{_locale}->day_names}) {
532 if (lc $dow eq lc $dow_name) {
539 foreach my $dow (@{$self->{_locale}->day_abbreviations}) {
541 if (lc $dow eq lc $dow_name) {
550 $self->local_croak("Your day of the week ($dow_name) does not match the date supplied: ".$potential_return->ymd) and return undef if $dow_number and $potential_return->dow != $dow_number;
/macosx-10.9.5/CPANInternal-140/DateTime-Format-Strptime-1.52/lib/DateTime/Format/
H A DStrptime.pm681 and $potential_return->dow != $dow_mon_1;
688 and ( $potential_return->dow % 7 ) != $dow_sun_0;
693 foreach my $dow ( @{ $self->{_locale}->day_format_wide } ) {
695 if ( lc $dow eq lc $dow_name ) {
702 foreach my $dow ( @{ $self->{_locale}->day_format_abbreviated } )
705 if ( lc $dow eq lc $dow_name ) {
721 and $potential_return->dow != $dow_number;

Completed in 305 milliseconds

12