Home
last modified time | relevance | path

Searched refs:tzoff (Results 1 – 10 of 10) sorted by relevance

/external/curl/lib/
Dparsedate.c343 int tzoff = -1; in parsedate() local
375 if(!found && (tzoff == -1)) { in parsedate()
377 tzoff = checktz(buf); in parsedate()
378 if(tzoff != -1) in parsedate()
426 if((tzoff == -1) && in parsedate()
440 tzoff = (val/100 * 60 + val%100)*60; in parsedate()
444 tzoff = date[-1]=='+'?-tzoff:tzoff; in parsedate()
550 if(tzoff == -1) in parsedate()
551 tzoff = 0; in parsedate()
553 if((tzoff > 0) && (t > TIME_T_MAX - tzoff)) { in parsedate()
[all …]
/external/ppp/pppd/include/
Dpcap-int.h72 int tzoff; /* timezone offset */ member
/external/libpcap/
Dsf-pcap.c234 p->tzoff = hdr.thiszone; in pcap_check_header()
757 if (sf_write_header(p, f, linktype, p->tzoff, p->snapshot) == -1) { in pcap_setup_dump()
989 if (sf_write_header(p, f, linktype, p->tzoff, p->snapshot) == -1) { in pcap_dump_open_append()
Drpcap-protocol.h302 int32 tzoff; /* Timezone offset */ member
Dpcap-int.h199 int tzoff; /* timezone offset */ member
Dsf-pcapng.c1012 p->tzoff = 0; /* XXX - not used in pcap */ in pcap_ng_check_header()
Dpcap-rpcap.c2285 fp->tzoff = ntohl(openreply.tzoff); in pcap_open_rpcap()
/external/python/cpython3/Lib/
Ddatetime.py1374 tzoff = t.utcoffset()
1375 if not tzoff: # zero or None
1378 h, m = divmod(timedelta(hours=self.hour, minutes=self.minute) - tzoff,
2114 tzoff = t.utcoffset()
2115 if tzoff is None:
2120 self._hashcode = hash(timedelta(days, seconds, self.microsecond) - tzoff)
/external/python/dateutil/dateutil/test/
Dtest_tz.py1005 def test_tzlocal_offset_equal(tzvar, tzoff): argument
1008 assert tz.tzlocal() == tzoff
1009 assert not (tz.tzlocal() != tzoff)
1020 def test_tzlocal_offset_unequal(tzvar, tzoff): argument
1023 assert tz.tzlocal() != tzoff
1024 assert not (tz.tzlocal() == tzoff)
/external/libpcap/rpcapd/
Ddaemon.c1510 openreply->tzoff = 0; /* This is always 0 for live captures */ in daemon_msg_open_req()