Home
last modified time | relevance | path

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

/external/curl/lib/
Dparsedate.c337 int tzoff = -1; in parsedate() local
369 if(!found && (tzoff == -1)) { in parsedate()
371 tzoff = checktz(buf); in parsedate()
372 if(tzoff != -1) in parsedate()
420 if((tzoff == -1) && in parsedate()
434 tzoff = (val/100 * 60 + val%100)*60; in parsedate()
438 tzoff = date[-1]=='+'?-tzoff:tzoff; in parsedate()
544 if(tzoff == -1) in parsedate()
545 tzoff = 0; in parsedate()
547 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.py1325 tzoff = t.utcoffset()
1326 if not tzoff: # zero or None
1329 h, m = divmod(timedelta(hours=self.hour, minutes=self.minute) - tzoff,
2072 tzoff = t.utcoffset()
2073 if tzoff is None:
2078 self._hashcode = hash(timedelta(days, seconds, self.microsecond) - tzoff)
/external/python/dateutil/dateutil/test/
Dtest_tz.py959 def test_tzlocal_offset_equal(tzvar, tzoff): argument
962 assert tz.tzlocal() == tzoff
963 assert not (tz.tzlocal() != tzoff)
974 def test_tzlocal_offset_unequal(tzvar, tzoff): argument
977 assert tz.tzlocal() != tzoff
978 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()