Lines Matching refs:localtime

397 	PHP_FE(localtime, arginfo_localtime)
1034 static char *date_format(char *format, int format_len, timelib_time *t, int localtime) in date_format() argument
1047 if (localtime) { in date_format()
1061 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1062 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1063 localtime ? abs((offset->offset % 3600) / 60) : 0 ); in date_format()
1120 case 'I': length = slprintf(buffer, 32, "%d", localtime ? offset->is_dst : 0); break; in date_format()
1123 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1124 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1126 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1129 case 'T': length = slprintf(buffer, 32, "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1130 case 'e': if (!localtime) { in date_format()
1150 case 'Z': length = slprintf(buffer, 32, "%d", localtime ? offset->offset : 0); break; in date_format()
1156 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1157 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1158 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1165 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1166 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1167 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1181 if (localtime) { in date_format()
1188 static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime) in php_date() argument
1202 string = php_format_date(format, format_len, ts, localtime TSRMLS_CC); in php_date()
1208 PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC) /* {… in php_format_date()
1216 if (localtime) { in php_format_date()
1226 string = date_format(format, format_len, t, localtime); in php_format_date()
1235 PHPAPI int php_idate(char format, time_t ts, int localtime) in php_idate() argument
1246 if (!localtime) { in php_idate()
1256 if (!localtime) { in php_idate()
1270 !localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in php_idate()
1271 !localtime ? abs(offset->offset / 3600) : 0, in php_idate()
1272 !localtime ? abs((offset->offset % 3600) / 60) : 0 ); in php_idate()
1315 case 'I': retval = (int) (!localtime ? offset->is_dst : 0); break; in php_idate()
1316 case 'Z': retval = (int) (!localtime ? offset->offset : 0); break; in php_idate()
1321 if (!localtime) { in php_idate()
1713 PHP_FUNCTION(localtime) in PHP_FUNCTION() argument