Lines Matching refs:localtime

403 	PHP_FE(localtime, arginfo_localtime)
1059 static char *date_format(char *format, int format_len, timelib_time *t, int localtime) in date_format() argument
1073 if (localtime) { in date_format()
1087 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1088 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1089 localtime ? abs((offset->offset % 3600) / 60) : 0 ); in date_format()
1149 case 'I': length = slprintf(buffer, 32, "%d", localtime ? offset->is_dst : 0); break; in date_format()
1152 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1153 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1155 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1158 case 'T': length = slprintf(buffer, 32, "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1159 case 'e': if (!localtime) { in date_format()
1179 case 'Z': length = slprintf(buffer, 32, "%d", localtime ? offset->offset : 0); break; in date_format()
1185 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1186 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1187 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1194 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1195 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1196 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1210 if (localtime) { in date_format()
1217 static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime) in php_date() argument
1231 string = php_format_date(format, format_len, ts, localtime TSRMLS_CC); in php_date()
1237 PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC) /* {… in php_format_date()
1245 if (localtime) { in php_format_date()
1255 string = date_format(format, format_len, t, localtime); in php_format_date()
1264 PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC) in php_idate()
1274 if (!localtime) { in php_idate()
1284 if (!localtime) { in php_idate()
1298 !localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in php_idate()
1299 !localtime ? abs(offset->offset / 3600) : 0, in php_idate()
1300 !localtime ? abs((offset->offset % 3600) / 60) : 0 ); in php_idate()
1343 case 'I': retval = (int) (!localtime ? offset->is_dst : 0); break; in php_idate()
1344 case 'Z': retval = (int) (!localtime ? offset->offset : 0); break; in php_idate()
1349 if (!localtime) { in php_idate()
1749 PHP_FUNCTION(localtime) in PHP_FUNCTION() argument