Lines Matching refs:format

550 static int _vsnprintf(out_fct_type out, char * buffer, const size_t maxlen, const char * format, va…  in _vsnprintf()  argument
560 while(*format) { in _vsnprintf()
562 if(*format != '%') { in _vsnprintf()
564 out(*format, buffer, idx++, maxlen); in _vsnprintf()
565 format++; in _vsnprintf()
570 format++; in _vsnprintf()
576 switch(*format) { in _vsnprintf()
579 format++; in _vsnprintf()
584 format++; in _vsnprintf()
589 format++; in _vsnprintf()
594 format++; in _vsnprintf()
599 format++; in _vsnprintf()
610 if(_is_digit(*format)) { in _vsnprintf()
611 width = _atoi(&format); in _vsnprintf()
613 else if(*format == '*') { in _vsnprintf()
622 format++; in _vsnprintf()
627 if(*format == '.') { in _vsnprintf()
629 format++; in _vsnprintf()
630 if(_is_digit(*format)) { in _vsnprintf()
631 precision = _atoi(&format); in _vsnprintf()
633 else if(*format == '*') { in _vsnprintf()
636 format++; in _vsnprintf()
641 switch(*format) { in _vsnprintf()
644 format++; in _vsnprintf()
645 if(*format == 'l') { in _vsnprintf()
647 format++; in _vsnprintf()
652 format++; in _vsnprintf()
653 if(*format == 'h') { in _vsnprintf()
655 format++; in _vsnprintf()
661 format++; in _vsnprintf()
666 format++; in _vsnprintf()
670 format++; in _vsnprintf()
677 switch(*format) { in _vsnprintf()
689 if(*format == 'x' || *format == 'X') { in _vsnprintf()
692 else if(*format == 'p' || *format == 'P') { in _vsnprintf()
702 if(*(format + 1) == 'V') in _vsnprintf()
703 format++; in _vsnprintf()
705 else if(*format == 'o') { in _vsnprintf()
708 else if(*format == 'b') { in _vsnprintf()
716 if(*format == 'X' || *format == 'P') { in _vsnprintf()
721 if((*format != 'i') && (*format != 'd')) { in _vsnprintf()
731 if((*format == 'i') || (*format == 'd')) { in _vsnprintf()
752 else if(*format == 'V') { in _vsnprintf()
776 format++; in _vsnprintf()
782 if(*format == 'F') flags |= FLAGS_UPPERCASE; in _vsnprintf()
784 format++; in _vsnprintf()
791 if((*format == 'g') || (*format == 'G')) flags |= FLAGS_ADAPT_EXP; in _vsnprintf()
792 if((*format == 'E') || (*format == 'G')) flags |= FLAGS_UPPERCASE; in _vsnprintf()
794 format++; in _vsnprintf()
814 format++; in _vsnprintf()
840 format++; in _vsnprintf()
846 format++; in _vsnprintf()
850 out(*format, buffer, idx++, maxlen); in _vsnprintf()
851 format++; in _vsnprintf()
865 int lv_snprintf(char * buffer, size_t count, const char * format, ...) in lv_snprintf() argument
868 va_start(va, format); in lv_snprintf()
869 const int ret = _vsnprintf(_out_buffer, buffer, count, format, va); in lv_snprintf()
874 int lv_vsnprintf(char * buffer, size_t count, const char * format, va_list va) in lv_vsnprintf() argument
876 return _vsnprintf(_out_buffer, buffer, count, format, va); in lv_vsnprintf()