Searched refs:utc_offset (Results 1 - 11 of 11) sorted by relevance

/macosx-10.10/ruby-106/ruby/
H A Dtimev.h12 VALUE utc_offset; /* -3600 as -01:00 for example. possibly Rational. */ member in struct:vtm
H A Dtime.c852 static VALUE validate_utc_offset(VALUE utc_offset);
1160 vtm->utc_offset = INT2FIX(0);
1326 vtm.utc_offset = INT2FIX(0);
1403 result->utc_offset = INT2FIX(0);
1688 return lt(vtm1.utc_offset, vtm2.utc_offset) ? timew2 : timew1;
1690 return lt(vtm1.utc_offset, vtm2.utc_offset) ? timew1 : timew2;
1805 result->utc_offset = LONG2NUM(gmtoff);
1819 result->utc_offset
2677 validate_utc_offset(VALUE utc_offset) argument
[all...]
H A Dstrftime.c455 off = NUM2LONG(rb_funcall(vtm->utc_offset, rb_intern("round"), 0));
867 tm.tm_gmtoff = NUM2LONG(vtm->utc_offset);
/macosx-10.10/apache-793/httpd/support/
H A Drotatelogs.c60 int utc_offset; member in struct:rotate_config
160 int utc_offset = config->utc_offset; local
168 utc_offset = lt.tm_gmtoff;
170 return (int)apr_time_sec(tNow) + utc_offset;
192 fprintf(stderr, "Rotation time UTC offset: %12d\n", config->utc_offset);
506 config->utc_offset = atoi(arg) * 60;
/macosx-10.10/syslog-267/aslcommon/
H A Dasl_common.c2171 long utc_offset = 0; local
2226 if (n >= 8) utc_offset += (3600 * h);
2227 if (n >= 9) utc_offset += (60 * m);
2228 if (n == 10) utc_offset += s;
2229 if (zone == '-') utc_offset *= -1;
2233 if (zone < 'J') utc_offset = 3600 * ((zone - 'A') + 1);
2234 else if ((zone >= 'K') && (zone <= 'M')) utc_offset = 3600 * (zone - 'A');
2235 else if (zone <= 'Y') utc_offset = -3600 * ((zone - 'N') + 1);
2239 if (zone < 'j') utc_offset = 3600 * ((zone - 'a') + 1);
2240 else if ((zone >= 'k') && (zone <= 'm')) utc_offset
[all...]
/macosx-10.10/ruby-106/ruby/test/date/
H A Dtest_date_conv.rb36 if t.utc_offset == 9*60*60
93 t.utc_offset.to_r/86400],
/macosx-10.10/ruby-106/ruby/lib/
H A Dtime.rb142 off = t.utc_offset
144 off = t.utc_offset
577 off = utc_offset
/macosx-10.10/ruby-106/ruby/test/ruby/
H A Dtest_time.rb64 assert_equal(3600, t.utc_offset)
67 assert_equal(7200, t.utc_offset)
295 assert_equal(-7200, t2.utc_offset, bug)
299 assert_equal(29700, t2.utc_offset, bug)
356 assert_equal(0, t1.utc_offset)
357 assert_equal(0, t2.utc_offset)
497 assert_equal(-7200, t3.utc_offset)
508 assert_equal(-7200, t3.utc_offset)
/macosx-10.10/ruby-106/ruby/test/
H A Dtest_time.rb404 assert_equal(3600, Time.strptime('0 +0100', '%s %z').utc_offset)
/macosx-10.10/ntp-92/ntpd/
H A Drefclock_ripencc.c355 unsigned char *dim_mode, short *utc_offset, double *bias, double *drift,
2652 short *utc_offset,
2673 *utc_offset = bGetShort(&buf[16]);
4134 utc_offset, local
4163 &utc_offset,
4189 pbuf += sprintf(pbuf, "\nUTC offset: %2d", utc_offset);
2645 rpt_0x8F0B(TSIPPKT *rpt, unsigned short *event, double *tow, unsigned char *date, unsigned char *month, short *year, unsigned char *dim_mode, short *utc_offset, double *bias, double *drift, float *bias_unc, float *dr_unc, double *lat, double *lon, double *alt, char sv_id[8]) argument
/macosx-10.10/webdavfs-367/mount.tproj/
H A Dwebdav_network.c135 int utc_offset, utc_offset_hour, utc_offset_min; local
142 utc_offset = utc_offset_hour = utc_offset_min = 0;
183 utc_offset = (utc_offset_hour * 3600) + (utc_offset_min * 60);
195 utc_offset = - (utc_offset_hour * 3600) - (utc_offset_min * 60);
214 clock += utc_offset;

Completed in 177 milliseconds