Lines Matching refs:localtime

405 	PHP_FE(localtime, arginfo_localtime)
1079 static zend_string *date_format(char *format, size_t format_len, timelib_time *t, int localtime) in date_format() argument
1093 if (localtime) { in date_format()
1107 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1108 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1109 localtime ? abs((offset->offset % 3600) / 60) : 0 ); in date_format()
1171 case 'I': length = slprintf(buffer, 32, "%d", localtime ? offset->is_dst : 0); break; in date_format()
1174 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1175 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1177 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1180 case 'T': length = slprintf(buffer, 32, "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1181 case 'e': if (!localtime) { in date_format()
1201 case 'Z': length = slprintf(buffer, 32, "%d", localtime ? offset->offset : 0); break; in date_format()
1207 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1208 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1209 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1216 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1217 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1218 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1232 if (localtime) { in date_format()
1239 static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime) in php_date() argument
1252 RETURN_STR(php_format_date(format, format_len, ts, localtime)); in php_date()
1256 PHPAPI zend_string *php_format_date(char *format, size_t format_len, time_t ts, int localtime) /* {… in php_format_date() argument
1264 if (localtime) { in php_format_date()
1274 string = date_format(format, format_len, t, localtime); in php_format_date()
1283 PHPAPI int php_idate(char format, time_t ts, int localtime) in php_idate() argument
1293 if (!localtime) { in php_idate()
1303 if (!localtime) { in php_idate()
1317 !localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in php_idate()
1318 !localtime ? abs(offset->offset / 3600) : 0, in php_idate()
1319 !localtime ? abs((offset->offset % 3600) / 60) : 0 ); in php_idate()
1363 case 'I': retval = (int) (!localtime ? offset->is_dst : 0); break; in php_idate()
1364 case 'Z': retval = (int) (!localtime ? offset->offset : 0); break; in php_idate()
1369 if (!localtime) { in php_idate()
1732 PHP_FUNCTION(localtime) in PHP_FUNCTION() argument