• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/linux/linux/lib/

Lines Matching refs:fmt

227 * @fmt: The format string to use
233 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
258 for (; *fmt ; ++fmt) {
259 if (*fmt != '%') {
261 *str = *fmt;
269 ++fmt; /* this also skips first '%' */
270 switch (*fmt) {
280 if (isdigit(*fmt))
281 field_width = skip_atoi(&fmt);
282 else if (*fmt == '*') {
283 ++fmt;
294 if (*fmt == '.') {
295 ++fmt;
296 if (isdigit(*fmt))
297 precision = skip_atoi(&fmt);
298 else if (*fmt == '*') {
299 ++fmt;
309 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt =='Z') {
310 qualifier = *fmt;
311 ++fmt;
312 if (qualifier == 'l' && *fmt == 'l') {
314 ++fmt;
321 switch (*fmt) {
418 if (*fmt) {
420 *str = *fmt;
423 --fmt;
462 * @fmt: The format string to use
465 int snprintf(char * buf, size_t size, const char *fmt, ...)
470 va_start(args, fmt);
471 i=vsnprintf(buf,size,fmt,args);
479 * @fmt: The format string to use
485 int vsprintf(char *buf, const char *fmt, va_list args)
487 return vsnprintf(buf, 0xFFFFFFFFUL, fmt, args);
494 * @fmt: The format string to use
497 int sprintf(char * buf, const char *fmt, ...)
502 va_start(args, fmt);
503 i=vsprintf(buf,fmt,args);
511 * @fmt: format of buffer
514 int vsscanf(const char * buf, const char * fmt, va_list args)
524 while(*fmt && *str) {
529 if (isspace(*fmt)) {
530 while (isspace(*fmt))
531 ++fmt;
537 if (*fmt != '%' && *fmt) {
538 if (*fmt++ != *str++)
543 if (!*fmt)
545 ++fmt;
550 if (*fmt == '*') {
551 while (!isspace(*fmt) && *fmt)
552 fmt++;
559 if (isdigit(*fmt))
560 field_width = skip_atoi(&fmt);
564 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'Z') {
565 qualifier = *fmt;
566 fmt++;
571 if (!*fmt || !*str)
574 switch(*fmt++) {
697 * @fmt: formatting of buffer
700 int sscanf(const char * buf, const char * fmt, ...)
705 va_start(args,fmt);
706 i = vsscanf(buf,fmt,args);