/ast/src/lib/libast/stdio/ |
H A D | vsnprintf.c | 27 vsnprintf(char* s, int n, const char* form, va_list args) argument 37 if((rv = sfvprintf(f,form,args)) >= 0 )
|
/ast/src/lib/libast/sfio/ |
H A D | sfprintf.c | 30 int sfprintf(Sfio_t* f, const char* form, ...) argument 40 va_start(args,form); 43 reg char* form; local 46 form = va_arg(args,char*); 48 rv = sfvprintf(f,form,args); 55 ssize_t sfvsprintf(char* s, size_t n, const char* form, va_list args) argument 57 ssize_t sfvsprintf(s, n, form, args) 60 char* form; 75 if((rv = sfvprintf(f,form,args)) < 0 ) 94 ssize_t sfsprintf(char* s, size_t n, const char* form, argument 108 reg char* form; local [all...] |
H A D | sfscanf.c | 30 int sfscanf(Sfio_t* f, const char* form, ...) argument 40 va_start(args,form); 43 reg char* form; local 46 form = va_arg(args,char*); 49 rv = (f && form) ? sfvscanf(f,form,args) : -1; 55 int sfvsscanf(const char* s, const char* form, va_list args) argument 57 int sfvsscanf(s, form, args) 59 char* form; 65 if(!s || !form) 81 sfsscanf(const char* s, const char* form,...) argument 93 reg char* form; local [all...] |
H A D | sfprints.c | 32 char* sfvprints(const char* form, va_list args) argument 34 char* sfvprints(form, args) 35 char* form; 52 rv = sfvprintf(f,form,args); 62 char* sfprints(const char* form, ...) argument 72 va_start(args,form); 74 char *form; local 76 form = va_arg(args,char*); 78 s = sfvprints(form, args); 85 ssize_t sfvaprints(char** sp, const char* form, va_lis argument 107 sfaprints(char** sp, const char* form, ...) argument 119 char **sp, *form; local [all...] |
H A D | sftable.c | 45 static Fmtpos_t* sffmtpos(Sfio_t* f,const char* form,va_list args,Sffmt_t* ft,int type) argument 47 static Fmtpos_t* sffmtpos(f,form,args,ft,type) 49 char* form; 66 else if(!(fp = sffmtpos(f,form,args,ft,-1)) ) 71 while((n = *form) ) 73 { sp = (char*)form; 75 { form += SFMBLEN(form, &fmbs); 76 if(*form == 0 || *form [all...] |
H A D | sfvprintf.c | 96 int sfvprintf(Sfio_t* f, const char* form, va_list args) argument 98 int sfvprintf(f,form,args) 100 char* form; /* format to use */ 181 if(!form) 201 oform = (char*)form; 208 while((n = *form) ) 210 { sp = (char*)form; 212 { if((n = SFMBLEN(form, &fmbs)) <= 0) 216 } while(*(form += n) && *form ! [all...] |
H A D | sfvscanf.c | 127 char *form, *endf; member in struct:_accept_s 134 static char* _sfsetclass(const char* form, Accept_t* ac, int flags) argument 136 static char* _sfsetclass(form, ac, flags) 137 char* form; /* format string */ 145 if(*form == '^') /* complementing this set */ 147 form += 1; 154 if(*form == ']' || *form == '-') /* special first char */ 155 { ac->ok[*form] = ac->yes; 156 form 202 char *form = ac->form; local 300 sfvscanf(Sfio_t* f, reg const char* form, va_list args) argument [all...] |
H A D | sfhdr.h | 740 { char* form; /* format string */ member in struct:_fmt_s 770 ((ft->form = (char*)frm), va_copy(ft->args,ags), \ 776 ((frm = ft->form), va_copy(ags,ft->args), \
|
/ast/src/cmd/vczip/tests/ |
H A D | terror.h | 126 static void tstputmesg(int line, char* form, va_list args) argument 128 static void tstputmesg(line, form, args) 130 char* form; 151 sfvsprintf(s, sizeof(buf)-n, form, args); 153 vsprintf(s, form, args); 167 void tsterror(char* form, ...) argument 177 va_start(args,form); 179 char* form; local 181 form = va_arg(args,char*); 185 sfsprintf(failform, sizeof(failform), "Failure: %s", form); 200 tstsuccess(char* form, ...) argument 210 char* form; local 225 tstwarn(char* form, ...) argument 236 char* form; local [all...] |
/ast/src/cmd/tests/sfio/ |
H A D | tprintf.c | 222 void stkprint(char* buf, int n, char* form, ...) argument 224 void stkprint(buf,n,form,va_alist) 227 char* form; 233 va_start(args,form); 237 fe.form = form; 277 fe.form = NIL(char*); 293 fe.form = NIL(char*); 302 fe.form = NIL(char*); 309 fe.form [all...] |
/ast/src/cmd/builtin/ |
H A D | od.c | 206 char form[16]; member in struct:Format_s 239 Format_t* form; member in struct:State_s 660 sfprintf(op, fp->form, *u); 666 sfprintf(op, fp->form, (int16_t)swapget(state->swap, u, fp->size.external)); 672 sfprintf(op, fp->form, (int32_t)swapget(state->swap, u, fp->size.external)); 678 sfprintf(op, fp->form, (intmax_t)swapget(state->swap, u, fp->size.external)); 684 sfprintf(op, fp->form, *u); 690 sfprintf(op, fp->form, (uint16_t)swapget(state->swap, u, fp->size.external)); 696 sfprintf(op, fp->form, (uint32_t)swapget(state->swap, u, fp->size.external)); 702 sfprintf(op, fp->form, (uintmax_ [all...] |
/ast/src/lib/libast/include/ |
H A D | sfio.h | 73 char* form; /* format string to stack */ member in struct:_sffmt_s
|