Lines Matching refs:slprintf

1049 			case 'd': length = slprintf(buffer, 32, "%02d", (int) t->d); break;  in date_format()
1050 case 'D': length = slprintf(buffer, 32, "%s", php_date_short_day_name(t->y, t->m, t->d)); break; in date_format()
1051 case 'j': length = slprintf(buffer, 32, "%d", (int) t->d); break; in date_format()
1052 case 'l': length = slprintf(buffer, 32, "%s", php_date_full_day_name(t->y, t->m, t->d)); break; in date_format()
1053 case 'S': length = slprintf(buffer, 32, "%s", english_suffix(t->d)); break; in date_format()
1054 … case 'w': length = slprintf(buffer, 32, "%d", (int) timelib_day_of_week(t->y, t->m, t->d)); break; in date_format()
1055 …case 'N': length = slprintf(buffer, 32, "%d", (int) timelib_iso_day_of_week(t->y, t->m, t->d)); br… in date_format()
1056 … case 'z': length = slprintf(buffer, 32, "%d", (int) timelib_day_of_year(t->y, t->m, t->d)); break; in date_format()
1061 length = slprintf(buffer, 32, "%02d", (int) isoweek); break; /* iso weeknr */ in date_format()
1064 length = slprintf(buffer, 32, "%d", (int) isoyear); break; /* iso year */ in date_format()
1067 case 'F': length = slprintf(buffer, 32, "%s", mon_full_names[t->m - 1]); break; in date_format()
1068 case 'm': length = slprintf(buffer, 32, "%02d", (int) t->m); break; in date_format()
1069 case 'M': length = slprintf(buffer, 32, "%s", mon_short_names[t->m - 1]); break; in date_format()
1070 case 'n': length = slprintf(buffer, 32, "%d", (int) t->m); break; in date_format()
1071 case 't': length = slprintf(buffer, 32, "%d", (int) timelib_days_in_month(t->y, t->m)); break; in date_format()
1074 case 'L': length = slprintf(buffer, 32, "%d", timelib_is_leap((int) t->y)); break; in date_format()
1075 case 'y': length = slprintf(buffer, 32, "%02d", (int) t->y % 100); break; in date_format()
1076 …case 'Y': length = slprintf(buffer, 32, "%s%04lld", t->y < 0 ? "-" : "", php_date_llabs((timelib_s… in date_format()
1079 case 'a': length = slprintf(buffer, 32, "%s", t->h >= 12 ? "pm" : "am"); break; in date_format()
1080 case 'A': length = slprintf(buffer, 32, "%s", t->h >= 12 ? "PM" : "AM"); break; in date_format()
1087 length = slprintf(buffer, 32, "%03d", retval); in date_format()
1090 case 'g': length = slprintf(buffer, 32, "%d", (t->h % 12) ? (int) t->h % 12 : 12); break; in date_format()
1091 case 'G': length = slprintf(buffer, 32, "%d", (int) t->h); break; in date_format()
1092 case 'h': length = slprintf(buffer, 32, "%02d", (t->h % 12) ? (int) t->h % 12 : 12); break; in date_format()
1093 case 'H': length = slprintf(buffer, 32, "%02d", (int) t->h); break; in date_format()
1094 case 'i': length = slprintf(buffer, 32, "%02d", (int) t->i); break; in date_format()
1095 case 's': length = slprintf(buffer, 32, "%02d", (int) t->s); break; in date_format()
1096 case 'u': length = slprintf(buffer, 32, "%06d", (int) floor(t->f * 1000000 + 0.5)); break; in date_format()
1099 case 'I': length = slprintf(buffer, 32, "%d", localtime ? offset->is_dst : 0); break; in date_format()
1101 case 'O': length = slprintf(buffer, 32, "%c%02d%s%02d", in date_format()
1108 case 'T': length = slprintf(buffer, 32, "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1110 length = slprintf(buffer, 32, "%s", "UTC"); in date_format()
1114 length = slprintf(buffer, 32, "%s", t->tz_info->name); in date_format()
1117 length = slprintf(buffer, 32, "%s", offset->abbr); in date_format()
1120 length = slprintf(buffer, 32, "%c%02d:%02d", in date_format()
1129 case 'Z': length = slprintf(buffer, 32, "%d", localtime ? offset->offset : 0); break; in date_format()
1132 case 'c': length = slprintf(buffer, 96, "%04d-%02d-%02dT%02d:%02d:%02d%c%02d:%02d", in date_format()
1140 case 'r': length = slprintf(buffer, 96, "%3s, %02d %3s %04d %02d:%02d:%02d %c%02d%02d", in date_format()
1149 case 'U': length = slprintf(buffer, 32, "%lld", (timelib_sll) t->sse); break; in date_format()
3792 case 'Y': length = slprintf(buffer, 32, "%02d", (int) t->y); break; in date_interval_format()
3793 case 'y': length = slprintf(buffer, 32, "%d", (int) t->y); break; in date_interval_format()
3795 case 'M': length = slprintf(buffer, 32, "%02d", (int) t->m); break; in date_interval_format()
3796 case 'm': length = slprintf(buffer, 32, "%d", (int) t->m); break; in date_interval_format()
3798 case 'D': length = slprintf(buffer, 32, "%02d", (int) t->d); break; in date_interval_format()
3799 case 'd': length = slprintf(buffer, 32, "%d", (int) t->d); break; in date_interval_format()
3801 case 'H': length = slprintf(buffer, 32, "%02d", (int) t->h); break; in date_interval_format()
3802 case 'h': length = slprintf(buffer, 32, "%d", (int) t->h); break; in date_interval_format()
3804 case 'I': length = slprintf(buffer, 32, "%02d", (int) t->i); break; in date_interval_format()
3805 case 'i': length = slprintf(buffer, 32, "%d", (int) t->i); break; in date_interval_format()
3807 case 'S': length = slprintf(buffer, 32, "%02ld", (long) t->s); break; in date_interval_format()
3808 case 's': length = slprintf(buffer, 32, "%ld", (long) t->s); break; in date_interval_format()
3812 length = slprintf(buffer, 32, "%d", (int) t->days); in date_interval_format()
3814 length = slprintf(buffer, 32, "(unknown)"); in date_interval_format()
3817 case 'r': length = slprintf(buffer, 32, "%s", t->invert ? "-" : ""); break; in date_interval_format()
3818 case 'R': length = slprintf(buffer, 32, "%c", t->invert ? '-' : '+'); break; in date_interval_format()
3820 case '%': length = slprintf(buffer, 32, "%%"); break; in date_interval_format()