| /PHP_5_5/ext/intl/calendar/ |
| H A D | gregoriancalendar_methods.cpp | 91 TimeZone *tz = timezone_process_timezone_argument(tz_object, NULL, local 93 if (tz == NULL) { 100 gcal = new GregorianCalendar(tz, Locale::createFromName(locale), 108 delete tz; 158 TimeZone *tz = TimeZone::createTimeZone(tzstr); local 159 gcal->adoptTimeZone(tz);
|
| H A D | calendar_methods.cpp | 783 TimeZone *tz = co->ucal->getTimeZone().clone(); local 784 if (tz == NULL) { 790 timezone_object_construct(tz, return_value, 1 TSRMLS_CC); 1245 const TimeZone& tz = co->ucal->getTimeZone(); local 1247 &tz, CALENDAR_ERROR_P(co), "intlcal_to_date_time" TSRMLS_CC);
|
| /PHP_5_5/ext/intl/common/ |
| H A D | common_date.cpp | 54 : ((php_timezone_obj*)object)->tzi.tz->name; 109 U_CFUNC int intl_datetime_decompose(zval *z, double *millis, TimeZone **tz, argument 123 if (tz) { 124 *tz = NULL; 146 if (tz) { 158 *tz = TimeZone::getGMT()->clone(); 160 *tz = timezone_convert_datetimezone(datetime->time->zone_type, 162 if (*tz == NULL) {
|
| H A D | common_date.h | 32 U_CFUNC int intl_datetime_decompose(zval *z, double *millis, TimeZone **tz,
|
| /PHP_5_5/ext/intl/dateformat/ |
| H A D | dateformat_attrcpp.cpp | 85 const TimeZone& tz = fetch_datefmt(dfo)->getTimeZone(); local 86 TimeZone *tz_clone = tz.clone();
|
| /PHP_5_5/ext/intl/timezone/ |
| H A D | timezone_class.cpp | 288 const TimeZone *tz; local 299 tz = to->utimezone; 301 if (tz == NULL) { 308 tz->getID(ustr); 318 tz->getOffset(now, FALSE, rawOffset, dstOffset, uec);
|
| H A D | timezone_methods.cpp | 69 TimeZone *tz = TimeZone::createTimeZone(id); local 70 timezone_object_construct(tz, return_value, 1 TSRMLS_CC); 76 TimeZone *tz; local 95 tz = timezone_convert_datetimezone(tzobj->type, tzobj, FALSE, NULL, 97 if (tz == NULL) { 101 timezone_object_construct(tz, return_value, 1 TSRMLS_CC); 114 TimeZone *tz = TimeZone::createDefault(); local 115 timezone_object_construct(tz, return_value, 1 TSRMLS_CC);
|
| /PHP_5_5/ext/date/lib/ |
| H A D | parse_tz.c | 52 static void read_preamble(const unsigned char **tzf, timelib_tzinfo *tz) argument 58 tz->bc = (**tzf == '\1'); 62 memcpy(tz->location.country_code, *tzf, 2); 63 tz->location.country_code[2] = '\0'; 70 static void read_header(const unsigned char **tzf, timelib_tzinfo *tz) argument 75 tz->ttisgmtcnt = timelib_conv_int(buffer[0]); 76 tz->ttisstdcnt = timelib_conv_int(buffer[1]); 77 tz->leapcnt = timelib_conv_int(buffer[2]); 78 tz->timecnt = timelib_conv_int(buffer[3]); 79 tz 84 read_transistions(const unsigned char **tzf, timelib_tzinfo *tz) argument 114 read_types(const unsigned char **tzf, timelib_tzinfo *tz) argument 197 read_location(const unsigned char **tzf, timelib_tzinfo *tz) argument 216 timelib_dump_tzinfo(timelib_tzinfo *tz) argument 335 fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transition_time) argument 379 fetch_leaptime_offset(timelib_tzinfo *tz, timelib_sll ts) argument 395 timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz) argument 406 timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz) argument [all...] |
| H A D | tm2unixtime.c | 359 static timelib_sll do_adjust_timezone(timelib_time *tz, timelib_tzinfo *tzi) argument 361 switch (tz->zone_type) { 364 tz->is_localtime = 1; 365 return tz->z * 60; 371 tz->is_localtime = 1; 372 tmp = tz->z; 373 tmp -= tz->dst * 60; 380 tzi = tz->tz_info; 390 tz->is_localtime = 1; 391 before = timelib_get_time_zone_info(tz [all...] |
| H A D | unixtime2tm.c | 179 timelib_tzinfo *tz = tm->tz_info; local 195 gmt_offset = timelib_get_time_zone_info(ts, tz); 202 tm->tz_info = tz; 218 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) argument 222 gmt_offset = timelib_get_time_zone_info(t->sse, tz); 231 t->tz_info = tz;
|
| H A D | timelib.c | 116 timelib_tzinfo *timelib_tzinfo_clone(timelib_tzinfo *tz) argument 118 timelib_tzinfo *tmp = timelib_tzinfo_ctor(tz->name); 119 tmp->ttisgmtcnt = tz->ttisgmtcnt; 120 tmp->ttisstdcnt = tz->ttisstdcnt; 121 tmp->leapcnt = tz->leapcnt; 122 tmp->timecnt = tz->timecnt; 123 tmp->typecnt = tz->typecnt; 124 tmp->charcnt = tz->charcnt; 126 tmp->trans = (int32_t *) malloc(tz->timecnt * sizeof(int32_t)); 127 tmp->trans_idx = (unsigned char*) malloc(tz 143 timelib_tzinfo_dtor(timelib_tzinfo *tz) argument [all...] |
| H A D | timelib.h | 95 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz); 100 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz); 101 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz); 103 void timelib_dump_tzinfo(timelib_tzinfo *tz); 111 void timelib_tzinfo_dtor(timelib_tzinfo *tz); 112 timelib_tzinfo* timelib_tzinfo_clone(timelib_tzinfo *tz); 116 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *tz);
|
| H A D | parse_date.re | 853 tz = "("? [A-Za-z]{1,6} ")"? | [A-Z][a-z]+([_/-][A-Za-z]+)+; 890 /* iso8601shorttz = hour24 [:] minutelz space? (tzcorrection | tz); */ 891 iso8601normtz = 't'? hour24 [:.] minute [:.] secondlz space? (tzcorrection | tz); 892 /* iso8601longtz = hour24 [:] minute [:] secondlz frac space? (tzcorrection | tz); */ 895 /* gnunocolontz = hour24lz minutelz space? (tzcorrection | tz); */ 897 /* iso8601nocolontz = hour24lz minutelz secondlz space? (tzcorrection | tz); */ 1641 tzcorrection | tz 1644 DEBUG_OUTPUT("tzcorrection | tz");
|
| /PHP_5_5/ext/date/ |
| H A D | php_date.h | 140 timelib_tzinfo *tz; /* TIMELIB_ZONETYPE_ID; */ member in union:_php_timezone_obj::__anon2
|
| H A D | php_date.c | 971 char *tz; local 974 tz = guess_timezone(DATE_TIMEZONEDB TSRMLS_CC); 975 tzi = php_date_parse_tzfile(tz, DATE_TIMEZONEDB TSRMLS_CC); 2269 new_obj->tzi.tz = old_obj->tzi.tz; 2306 ZVAL_STRING(zv, tzobj->tzi.tz->name, 1); 2566 tzi = tzobj->tzi.tz; 2763 tzobj->tzi.tz = tzi; 3270 tzobj->tzi.tz = dateobj->time->tz_info; 3299 timelib_set_timezone(dateobj->time, tzobj->tzi.tz); 3649 char *tz; local 3672 char *tz; local [all...] |
| /PHP_5_5/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 13185 int tz; /* Timezone offset in minutes */ member in struct:DateTime 13190 char validTZ; /* True (1) if tz is valid */ 13254 ** of change in p->tz and return 0. If a parser error occurs, 13264 p->tz = 0; 13281 p->tz = sgn*(nMn + nHr*60); 13326 p->validTZ = (p->tz!=0)?1:0; 13362 p->iJD -= p->tz*60000; 13611 x.tz = 0; [all...] |