Lines Matching refs:localtime

411 	PHP_FE(localtime, arginfo_localtime)
1091 static zend_string *date_format(char *format, size_t format_len, timelib_time *t, int localtime) in date_format() argument
1106 if (localtime) { in date_format()
1120 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1121 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1122 localtime ? abs((offset->offset % 3600) / 60) : 0 ); in date_format()
1184 case 'I': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->is_dst : 0); break; in date_format()
1187 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1188 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1190 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1193 …case 'T': length = slprintf(buffer, sizeof(buffer), "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1194 case 'e': if (!localtime) { in date_format()
1214 case 'Z': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->offset : 0); break; in date_format()
1220 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1221 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1222 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1229 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1230 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1231 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1245 if (localtime) { in date_format()
1252 static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime) in php_date() argument
1265 RETURN_STR(php_format_date(format, format_len, ts, localtime)); in php_date()
1269 PHPAPI zend_string *php_format_date(char *format, size_t format_len, time_t ts, int localtime) /* {… in php_format_date() argument
1277 if (localtime) { in php_format_date()
1287 string = date_format(format, format_len, t, localtime); in php_format_date()
1296 PHPAPI int php_idate(char format, time_t ts, int localtime) in php_idate() argument
1306 if (!localtime) { in php_idate()
1316 if (!localtime) { in php_idate()
1330 !localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in php_idate()
1331 !localtime ? abs(offset->offset / 3600) : 0, in php_idate()
1332 !localtime ? abs((offset->offset % 3600) / 60) : 0 ); in php_idate()
1376 case 'I': retval = (int) (!localtime ? offset->is_dst : 0); break; in php_idate()
1377 case 'Z': retval = (int) (!localtime ? offset->offset : 0); break; in php_idate()
1382 if (!localtime) { in php_idate()
1745 PHP_FUNCTION(localtime) in PHP_FUNCTION() argument