• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/compat/

Lines Matching refs:left

274 	     on the left with zeros rather than blanks.  If a
279 value is to be left adjusted on the field boundary. Except
281 the right with blanks, rather than on the left with
285 - A space, specifying that a blank should be left before
296 with spaces on the left (or right, if the
297 left-adjustment flag has been given) to fill out
340 field width or precision. A negative field width is treated as a left
353 it is padded on the left with zeros.
535 static void dopr( int visible_control, char **buffer, int *left,
537 static void fmtstr( int visible_control, char **buffer, int *left,
539 static void fmtnum( char **buffer, int *left,
543 static void fmtquad( char **buffer, int *left,
547 static void fmtdouble( char **bufer, int *left,
550 static void dostr( char **buffer, int *left, char *str );
551 static void dopr_outch( char **buffer, int *left, int c );
555 int left;
558 left = count;
561 dopr( 1, &buffer, &left, fmt, args );
562 /* fprintf(stderr,"str 0x%x, buffer 0x%x, count %d, left %d\n",
563 (int)str, (int)buffer, count, left ); */
565 if( left > 0 ){
566 str[count-left] = 0;
571 return(count - left);
576 int left;
579 left = count;
582 dopr( 0, &buffer, &left, fmt, args );
583 /* fprintf(stderr,"str 0x%x, buffer 0x%x, count %d, left %d\n",
584 (int)str, (int)buffer, count, left ); */
586 if( left > 0 ){
587 str[count-left] = 0;
592 return(count - left);
643 static void dopr( int visible_control, char **buffer, int *left, const char *format, va_list args )
670 dostr( buffer, left, "**end of format**" );
689 dostr( buffer, left, "*no quad_t support *");
707 fmtquad( buffer, left, &value,base,signed_val, ljust, len, zpad, precision );
738 fmtnum( buffer, left, &value,base,signed_val, ljust, len, zpad, precision ); break;
741 fmtstr( visible_control, buffer, left, strvalue,ljust,len, zpad, precision );
748 fmtstr( 0, buffer, left, b,ljust,len, zpad, precision );
753 fmtdouble( buffer, left, ch, dval,ljust,len, zpad, precision ); break;
756 fmtstr( visible_control, buffer, left,
760 case '%': dopr_outch( buffer, left, ch ); continue;
762 dostr( buffer, left, "???????" );
767 dopr_outch( buffer, left, ch );
775 * - = left justify (ljust)
780 fmtstr( int visible_control, char **buffer, int *left,
802 dopr_outch( buffer, left, ' ' );
808 dopr_outch(buffer, left, '^');
811 dopr_outch(buffer, left, c);
814 dopr_outch( buffer, left, ' ' );
820 fmtnum( char **buffer, int *left,
862 dopr_outch( buffer, left, signvalue );
867 dopr_outch( buffer, left, zpad );
872 dopr_outch( buffer, left, ' ' );
875 if( signvalue ) dopr_outch( buffer, left, signvalue );
876 while( place > 0 ) dopr_outch( buffer, left, convert[--place] );
878 dopr_outch( buffer, left, ' ' );
886 fmtquad( char **buffer, int *left,
926 dopr_outch( buffer, left, signvalue );
931 dopr_outch( buffer, left, zpad );
936 dopr_outch( buffer, left, ' ' );
939 if( signvalue ) dopr_outch( buffer, left, signvalue );
940 while( place > 0 ) dopr_outch( buffer, left, convert[--place] );
942 dopr_outch( buffer, left, ' ' );
958 fmtdouble( char **buffer, int *left,
985 dostr( buffer, left, convert );
988 static void dostr( char **buffer, int *left, char *str )
990 if(str)while(*str) dopr_outch( buffer, left, *str++ );
993 static void dopr_outch( char **buffer, int *left, int c )
995 if( *left > 0 ){
998 *left -= 1;