Home | History | Annotate | Download | only in src

Lines Matching defs:ct

148 void __subformat(_STLP_BASIC_IOSTRING(_Ch) &buf, const ctype<_Ch>& ct,
159 __write_formatted_timeT(buf, ct, *cp++, mod, table, t);
171 static void __append(__iostring &buf, char *first, char *last, const ctype<char>& /* ct */)
174 static void __append(__iowstring &buf, char *first, char *last, const ctype<wchar_t>& ct) {
176 ct.widen(first, last, _wbuf);
214 const ctype<_Ch>& ct,
238 __subformat(buf, ct, (modifier != '#') ? table._M_date_time_format
244 __append(buf, _buf, ((long)t->tm_mday < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct);
249 __append(buf, _buf, _buf + 2, ct);
254 __append(buf, _buf, ((long)t->tm_hour < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct);
259 __append(buf, _buf, ((long)__hour12(t->tm_hour) < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct);
264 __append(buf, _buf, _bend, ct);
269 __append(buf, _buf, ((long)(t->tm_mon + 1) < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct);
274 __append(buf, _buf, ((long)t->tm_min < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct);
283 __append(buf, _buf, ((long)t->tm_sec < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct);
288 __append(buf, _buf, _bend, ct);
293 __append(buf, _buf, _bend, ct);
300 __append(buf, _buf, _bend, ct);
304 __subformat(buf, ct, (modifier != '#') ? table._M_date_format
309 __subformat(buf, ct, table._M_time_format, table, t);
314 __append(buf, _buf, _bend, ct);
319 __append(buf, _buf, _bend, ct);
323 buf.append(1, ct.widen('%'));
343 __append(buf, _buf, _buf + 2, ct);
348 __subformat(buf, ct, table._M_date_format, table, t);
353 __append(buf, _buf, _buf + 2, ct);
358 __append(buf, _buf, _buf + 2, ct);
362 buf.append(1, ct.widen('\n'));
366 __subformat(buf, ct, "%H:%M", table, t);
370 __subformat(buf, ct, "%I:%M:%S %p", table, t);
374 __subformat(buf, ct, "%H:%M:%S", table, t);
378 buf.append(1, ct.widen('\t'));
382 __append(buf, _buf, _bend, ct);
388 __append(buf, _buf, _bend, ct);
421 __append(buf, _buf, _bend, ct);
437 buf.append(1, ct.widen('-'));
440 buf.append(1, ct.widen('+'));
443 __append(buf, _buf, _buf + 4, ct);
454 void _STLP_CALL __write_formatted_time(__iostring &buf, const ctype<char>& ct,
457 { __write_formatted_timeT(buf, ct, format, modifier, table, t); }
459 void _STLP_CALL __write_formatted_time(__iowstring &buf, const ctype<wchar_t>& ct,
462 { __write_formatted_timeT(buf, ct, format, modifier, table, t); }