Home
last modified time | relevance | path

Searched refs:tzfile (Results 1 – 25 of 32) sorted by relevance

12

/external/libbrillo/brillo/timezone/
Dtzif_parser.cc46 bool ParseTzifHeader(base::File* tzfile, struct tzif_header* header) { in ParseTzifHeader() argument
48 int read = tzfile->ReadAtCurrentPos(header->magic, sizeof(header->magic)); in ParseTzifHeader()
56 read = tzfile->ReadAtCurrentPos(&header->version, sizeof(header->version)); in ParseTzifHeader()
65 read = tzfile->ReadAtCurrentPos(header->reserved, sizeof(header->reserved)); in ParseTzifHeader()
75 if (!ReadInt(tzfile, &header->ttisgmtcnt) || header->ttisgmtcnt < 0) { in ParseTzifHeader()
78 if (!ReadInt(tzfile, &header->ttisstdcnt) || header->ttisstdcnt < 0) { in ParseTzifHeader()
81 if (!ReadInt(tzfile, &header->leapcnt) || header->leapcnt < 0) { in ParseTzifHeader()
84 if (!ReadInt(tzfile, &header->timecnt) || header->timecnt < 0) { in ParseTzifHeader()
87 if (!ReadInt(tzfile, &header->typecnt) || header->typecnt < 0) { in ParseTzifHeader()
90 if (!ReadInt(tzfile, &header->charcnt) || header->charcnt < 0) { in ParseTzifHeader()
[all …]
/external/icu/icu4c/source/tools/tzcode/
DMakefile.in93 mv $(TZORIG)/$$tzfile $(TZORIG)/$$tzfile.bak && \
94 awk -v DATAFORM=rearguard -f $(TZORIG)/ziguard.awk $(TZORIG)/$$tzfile.bak > $(TZORIG)/$$tzfile; \
145 mv $$tzfile $(VANGUARD_DIR)/$$tzfile && \
146 awk -v DATAFORM=rearguard -f ziguard.awk $(VANGUARD_DIR)/$$tzfile > $$tzfile; \
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/testdata/
DREADME.zoneinfo25 tar --create --dereference --hard-dereference --file tzfile.tar \
26 --directory=tz tzfile.h
31 tar --extract --directory src --file ${DESTDIR}/tzfile.tar
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/testdata/
DREADME.zoneinfo25 tar --create --dereference --hard-dereference --file tzfile.tar \
26 --directory=tz tzfile.h
31 tar --extract --directory src --file ${DESTDIR}/tzfile.tar
/external/abseil-cpp/absl/time/internal/cctz/testdata/
DREADME.zoneinfo25 tar --create --dereference --hard-dereference --file tzfile.tar \
26 --directory=tz tzfile.h
31 tar --extract --directory src --file ${DESTDIR}/tzfile.tar
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/testdata/
DREADME.zoneinfo25 tar --create --dereference --hard-dereference --file tzfile.tar \
26 --directory=tz tzfile.h
31 tar --extract --directory src --file ${DESTDIR}/tzfile.tar
/external/python/dateutil/dateutil/zoneinfo/
D__init__.py9 from dateutil.tz import tzfile as _tzfile
17 class tzfile(_tzfile): class
34 self.zones = {zf.name: tzfile(tf.extractfile(zf), filename=zf.name)
/external/python/dateutil/
Dupdatezinfo.py43 with open(metadata['tzdata_file'], 'rb') as tzfile:
45 sha_hasher.update(tzfile.read())
DNEWS55 - Fixed a bug with base offset changes during DST in ``tzfile``, and refactored
88 - Added doctest examples to ``tzfile`` documentation.
166 - Add doctest examples to tzfile documentation. Done by @weatherpattern and
352 - Style improvement to zoneinfo.tzfile that was confusing to static type
426 in tz.tzfile objects. Reported by @abalkin (gh issue #128, pr #225)
437 - Fixed an issue where tzfile objects were not properly handling dst() and
504 - tzfile now correctly handles files containing leapcnt (although the leapcnt
762 - Now tzfile will round timezones to full-minutes if necessary,
DREADME.rst76 * Timezone (tzinfo) implementations for tzfile(5) format
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/
DBUILD.bazel70 "src/tzfile.h",
157 "src/tzfile.h",
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/
DBUILD.bazel70 "src/tzfile.h",
157 "src/tzfile.h",
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/
DBUILD.bazel70 "src/tzfile.h",
152 "src/tzfile.h",
/external/abseil-cpp/absl/time/internal/cctz/
DBUILD.bazel70 "src/tzfile.h",
152 "src/tzfile.h",
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/
DBUILD.bazel70 "src/tzfile.h",
157 "src/tzfile.h",
/external/python/dateutil/docs/
Dexamples.rst1380 tzfile examples
1383 .. testsetup:: tzfile
1386 from dateutil.tz import tzfile, tzutc
1388 .. doctest:: tzfile
1391 >>> tz = tzfile("/etc/localtime")
1394 tzinfo=tzfile('/etc/localtime'))
1408 .. doctest:: tzfile
1410 >>> tz = tzfile('/usr/share/zoneinfo/EST5EDT')
1431 .. doctest:: tzfile
1453 .. doctest:: tzfile
/external/python/dateutil/dateutil/test/
Dtest_tz.py1958 tzc = tz.tzfile(BytesIO(base64.b64decode(TZFILE_EST5EDT)))
1963 tzc = tz.tzfile(BytesIO(base64.b64decode(TZFILE_EST5EDT)))
1971 tzc = tz.tzfile(BytesIO(base64.b64decode(TZFILE_EST5EDT)))
1985 tz.tzfile(BytesIO(b'BadFile'))
1992 tzc = tz.tzfile(fileobj)
2006 tz.tzfile(fileobj)
2015 tzc = tz.tzfile(BytesIO(base64.b64decode(NEW_YORK)))
2055 @pytest.mark.tzfile
2060 tzc = tz.tzfile(BytesIO(base64.b64decode(EUROPE_HELSINKI)))
2065 @pytest.mark.tzfile
[all …]
Dtest_imports.py110 from dateutil.tz import tzfile
/external/python/dateutil/dateutil/tz/
Dtz.py380 class tzfile(_tzinfo): class
453 super(tzfile, self).__init__()
847 if not isinstance(other, tzfile):
1605 tz = tzfile(filepath)
1616 tz = tzfile(name)
1627 tz = tzfile(filepath)
/external/openscreen/third_party/abseil/src/absl/time/
DCMakeLists.txt82 "internal/cctz/src/tzfile.h"
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
DCMakeLists.txt82 "internal/cctz/src/tzfile.h"
/external/abseil-cpp/absl/time/
DCMakeLists.txt82 "internal/cctz/src/tzfile.h"
/external/libtextclassifier/abseil-cpp/absl/time/
DCMakeLists.txt82 "internal/cctz/src/tzfile.h"
/external/webrtc/third_party/abseil-cpp/absl/time/
DCMakeLists.txt82 "internal/cctz/src/tzfile.h"
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/CMake/
DAbseilDll.cmake288 "time/internal/cctz/src/tzfile.h"

12