Lines Matching refs:localtime

428 	PHP_FE(localtime, arginfo_localtime)
1111 static zend_string *date_format(char *format, size_t format_len, timelib_time *t, int localtime) in date_format() argument
1126 if (localtime) { in date_format()
1140 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1141 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1142 localtime ? abs((offset->offset % 3600) / 60) : 0 ); in date_format()
1204 case 'I': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->is_dst : 0); break; in date_format()
1207 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1208 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1210 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1213 …case 'T': length = slprintf(buffer, sizeof(buffer), "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1214 case 'e': if (!localtime) { in date_format()
1234 case 'Z': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->offset : 0); break; in date_format()
1240 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1241 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1242 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1249 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1250 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1251 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1265 if (localtime) { in date_format()
1272 static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime) in php_date() argument
1287 RETURN_STR(php_format_date(ZSTR_VAL(format), ZSTR_LEN(format), ts, localtime)); in php_date()
1291 PHPAPI zend_string *php_format_date(char *format, size_t format_len, time_t ts, int localtime) /* {… in php_format_date() argument
1299 if (localtime) { in php_format_date()
1309 string = date_format(format, format_len, t, localtime); in php_format_date()
1318 PHPAPI int php_idate(char format, time_t ts, int localtime) in php_idate() argument
1328 if (!localtime) { in php_idate()
1338 if (!localtime) { in php_idate()
1352 !localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in php_idate()
1353 !localtime ? abs(offset->offset / 3600) : 0, in php_idate()
1354 !localtime ? abs((offset->offset % 3600) / 60) : 0 ); in php_idate()
1398 case 'I': retval = (int) (!localtime ? offset->is_dst : 0); break; in php_idate()
1399 case 'Z': retval = (int) (!localtime ? offset->offset : 0); break; in php_idate()
1404 if (!localtime) { in php_idate()
1780 PHP_FUNCTION(localtime) in PHP_FUNCTION() argument