Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 16 of 16) sorted by relevance

/haiku/src/system/libroot/posix/sys/
H A Dftime.c14 struct timezone tz; in ftime() local
20 gettimeofday(&tv, &tz); in ftime()
24 timeb->timezone = tz.tz_minuteswest; in ftime()
25 timeb->dstflag = tz.tz_dsttime; in ftime()
H A Dgettimeofday.c12 gettimeofday(struct timeval *tv, void *tz) in gettimeofday() argument
/haiku/src/tests/system/libroot/os/
H A DParseDateTest.cpp111 for (int tz = 0; tzInfo[tz].timezone != NULL; tz++) { in main() local
112 printf("timezone: %s ...\n", tzInfo[tz].timezone); in main()
113 setenv("TZ", tzInfo[tz].timezone, 1); in main()
124 ? tzInfo[tz].dst_offset in main()
125 : tzInfo[tz].std_offset; in main()
/haiku/src/system/libroot/add-ons/icu/
H A DICUTimeConversion.cpp47 ICUTimeConversion::TZSet(const char* timeZoneID, const char* tz) in TZSet() argument
54 if (tz != NULL) { in TZSet()
57 if (*tz == ':') { in TZSet()
59 if (strcasecmp(fTimeZoneID, tz + 1) == 0) { in TZSet()
64 strlcpy(fTimeZoneID, tz + 1, sizeof(fTimeZoneID)); in TZSet()
67 strlcpy(fTimeZoneID, tz, sizeof(fTimeZoneID)); in TZSet()
76 const char* tzNameEnd = tz; in TZSet()
137 if (tz != NULL && *tz != ':' && i == 0) { in TZSet()
H A DICULocaleBackend.cpp328 ICULocaleBackend::TZSet(const char* timeZoneID, const char* tz) in TZSet() argument
332 return fTimeConversion.TZSet(timeZoneID, tz); in TZSet()
/haiku/src/add-ons/screen_savers/gravity/
H A DGravitySource.cpp37 tz = frand() * 10.0f - 5.0f; in GravitySource()
46 float dz = tz - z; in Tick()
65 tz = frand() * 10.0f - 5.0f; in Tick()
H A DGravitySource.h28 float tz; member
/haiku/src/preferences/time/
H A DZoneView.cpp308 for (int tz = 0; zoneList.FindString("timeZone", tz, &zoneID) == B_OK in _BuildZoneMenu() local
309 && zoneList.FindString("region", tz, &timeZoneCode) == B_OK; tz++) { in _BuildZoneMenu()
324 for (size_t tz = 0; tz < zoneCountInCountry; tz++) { in _BuildZoneMenu() local
325 BString zoneID(countryIter->second[tz]); in _BuildZoneMenu()
/haiku/headers/private/libroot/locale/
H A DICUTimeConversion.h29 status_t TZSet(const char* timeZoneID, const char* tz);
H A DICULocaleBackend.h69 virtual status_t TZSet(const char* timeZoneID, const char* tz);
H A DLocaleBackend.h180 const char* tz) = 0;
/haiku/headers/posix/sys/
H A Dtime.h44 extern int gettimeofday(struct timeval *tv, void *tz);
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660.cpp995 int8_t tz; in ConvertRecDate() local
998 tz = inDate->offsetGMT; in ConvertRecDate()
1021 if (-48 <= tz && tz <= 52) in ConvertRecDate()
1022 time -= tz * 15 * 60; in ConvertRecDate()
/haiku/src/tests/system/libroot/posix/
H A Dlocale_test.cpp1766 test_localtime(const char* tz, time_t nowSecs, const tm& expected) in test_localtime() argument
1768 setenv("TZ", tz, 1); in test_localtime()
1769 printf("localtime for '%s'\n", tz); in test_localtime()
1841 test_gmtime(const char* tz, time_t nowSecs, const tm& expected) in test_gmtime() argument
1843 setenv("TZ", tz, 1); in test_gmtime()
1844 printf("gmtime for '%s'\n", tz); in test_gmtime()
1916 test_mktime(const char* tz, tm& tm, time_t expected, int expectedWeekDay, in test_mktime() argument
1919 setenv("TZ", tz, 1); in test_mktime()
1920 printf("mktime for '%s'\n", tz); in test_mktime()
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfStructures.h129 void set_timezone(int16 tz) { in set_timezone() argument
132 t.bits.timezone = tz; in set_timezone()
/haiku/src/kits/
H A DCountryFlags.rdef2585 resource(224,"flag-tz") #'VICN' array {