Lines Matching refs:slprintf
1132 case 'd': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->d); break; in date_format()
1133 …case 'D': length = slprintf(buffer, sizeof(buffer), "%s", php_date_short_day_name(t->y, t->m, t->d… in date_format()
1134 case 'j': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->d); break; in date_format()
1135 …case 'l': length = slprintf(buffer, sizeof(buffer), "%s", php_date_full_day_name(t->y, t->m, t->d)… in date_format()
1136 case 'S': length = slprintf(buffer, sizeof(buffer), "%s", english_suffix(t->d)); break; in date_format()
1137 …case 'w': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_day_of_week(t->y, t->m, t-… in date_format()
1138 …case 'N': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_iso_day_of_week(t->y, t->m… in date_format()
1139 …case 'z': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_day_of_year(t->y, t->m, t-… in date_format()
1144 length = slprintf(buffer, sizeof(buffer), "%02d", (int) isoweek); break; /* iso weeknr */ in date_format()
1147 …length = slprintf(buffer, sizeof(buffer), ZEND_LONG_FMT, (zend_long) isoyear); break; /* iso year … in date_format()
1150 case 'F': length = slprintf(buffer, sizeof(buffer), "%s", mon_full_names[t->m - 1]); break; in date_format()
1151 case 'm': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->m); break; in date_format()
1152 case 'M': length = slprintf(buffer, sizeof(buffer), "%s", mon_short_names[t->m - 1]); break; in date_format()
1153 case 'n': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->m); break; in date_format()
1154 …case 't': length = slprintf(buffer, sizeof(buffer), "%d", (int) timelib_days_in_month(t->y, t->m))… in date_format()
1157 case 'L': length = slprintf(buffer, sizeof(buffer), "%d", timelib_is_leap((int) t->y)); break; in date_format()
1158 case 'y': length = slprintf(buffer, sizeof(buffer), "%02d", (int) (t->y % 100)); break; in date_format()
1159 …case 'Y': length = slprintf(buffer, sizeof(buffer), "%s%04lld", t->y < 0 ? "-" : "", php_date_llab… in date_format()
1162 case 'a': length = slprintf(buffer, sizeof(buffer), "%s", t->h >= 12 ? "pm" : "am"); break; in date_format()
1163 case 'A': length = slprintf(buffer, sizeof(buffer), "%s", t->h >= 12 ? "PM" : "AM"); break; in date_format()
1171 length = slprintf(buffer, sizeof(buffer), "%03d", retval); in date_format()
1174 …case 'g': length = slprintf(buffer, sizeof(buffer), "%d", (t->h % 12) ? (int) t->h % 12 : 12); bre… in date_format()
1175 case 'G': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->h); break; in date_format()
1176 …case 'h': length = slprintf(buffer, sizeof(buffer), "%02d", (t->h % 12) ? (int) t->h % 12 : 12); b… in date_format()
1177 case 'H': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->h); break; in date_format()
1178 case 'i': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->i); break; in date_format()
1179 case 's': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->s); break; in date_format()
1180 …case 'u': length = slprintf(buffer, sizeof(buffer), "%06d", (int) floor(t->f * 1000000 + 0.5)); br… in date_format()
1181 …case 'v': length = slprintf(buffer, sizeof(buffer), "%03d", (int) floor(t->f * 1000 + 0.5)); break; in date_format()
1184 case 'I': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->is_dst : 0); break; in date_format()
1186 case 'O': length = slprintf(buffer, sizeof(buffer), "%c%02d%s%02d", in date_format()
1193 …case 'T': length = slprintf(buffer, sizeof(buffer), "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1195 length = slprintf(buffer, sizeof(buffer), "%s", "UTC"); in date_format()
1199 length = slprintf(buffer, sizeof(buffer), "%s", t->tz_info->name); in date_format()
1202 length = slprintf(buffer, sizeof(buffer), "%s", offset->abbr); in date_format()
1205 length = slprintf(buffer, sizeof(buffer), "%c%02d:%02d", in date_format()
1214 case 'Z': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->offset : 0); break; in date_format()
1217 …case 'c': length = slprintf(buffer, sizeof(buffer), "%04" ZEND_LONG_FMT_SPEC "-%02d-%02dT%02d:%02d… in date_format()
1225 …case 'r': length = slprintf(buffer, sizeof(buffer), "%3s, %02d %3s %04" ZEND_LONG_FMT_SPEC " %02d:… in date_format()
1234 case 'U': length = slprintf(buffer, sizeof(buffer), "%lld", (timelib_sll) t->sse); break; in date_format()
4456 case 'Y': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->y); break; in date_interval_format()
4457 case 'y': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->y); break; in date_interval_format()
4459 case 'M': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->m); break; in date_interval_format()
4460 case 'm': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->m); break; in date_interval_format()
4462 case 'D': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->d); break; in date_interval_format()
4463 case 'd': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->d); break; in date_interval_format()
4465 case 'H': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->h); break; in date_interval_format()
4466 case 'h': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->h); break; in date_interval_format()
4468 case 'I': length = slprintf(buffer, sizeof(buffer), "%02d", (int) t->i); break; in date_interval_format()
4469 case 'i': length = slprintf(buffer, sizeof(buffer), "%d", (int) t->i); break; in date_interval_format()
4471 …case 'S': length = slprintf(buffer, sizeof(buffer), "%02" ZEND_LONG_FMT_SPEC, (zend_long) t->s); b… in date_interval_format()
4472 case 's': length = slprintf(buffer, sizeof(buffer), ZEND_LONG_FMT, (zend_long) t->s); break; in date_interval_format()
4474 …case 'F': length = slprintf(buffer, sizeof(buffer), "%06" ZEND_LONG_FMT_SPEC, (zend_long) (t->f * … in date_interval_format()
4475 …case 'f': length = slprintf(buffer, sizeof(buffer), ZEND_LONG_FMT, (zend_long) (t->f * 1000000)); … in date_interval_format()
4479 length = slprintf(buffer, sizeof(buffer), "%d", (int) t->days); in date_interval_format()
4481 length = slprintf(buffer, sizeof(buffer), "(unknown)"); in date_interval_format()
4484 case 'r': length = slprintf(buffer, sizeof(buffer), "%s", t->invert ? "-" : ""); break; in date_interval_format()
4485 case 'R': length = slprintf(buffer, sizeof(buffer), "%c", t->invert ? '-' : '+'); break; in date_interval_format()
4487 case '%': length = slprintf(buffer, sizeof(buffer), "%%"); break; in date_interval_format()