Searched refs:tz (Results 1 - 15 of 15) sorted by relevance

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

Completed in 84 milliseconds