/ast/src/lib/libcs/ |
H A D | cscontrol.c | 37 struct strbuf buf;
|
H A D | cspoll.c | 166 struct strbuf buf;
|
H A D | cssend.c | 42 struct strbuf dat;
|
/ast/src/cmd/ksh93/bltins/ |
H A D | cd_pwd.c | 137 sfwrite(shp->strbuf,oldpwd,sp+1-oldpwd); 138 sfputr(shp->strbuf,dp,0); 139 dir = sfstruse(shp->strbuf);
|
H A D | print.c | 702 sfprintf(pp->sh->strbuf,"%s.%.*s%c",argp,fe->n_str,fe->t_str,0); 703 argp = sfstruse(pp->sh->strbuf);
|
H A D | typeset.c | 585 sfprintf(shp->strbuf,"%s.%s%c",shp->prefix,name,0); 586 name = sfstruse(shp->strbuf);
|
/ast/src/cmd/kshlib/dbm_t/ |
H A D | dbm_t.c | 58 Sfio_t *strbuf; member in struct:dbm_array 129 if(!ap->strbuf) 130 ap->strbuf = sfstropen(); 132 sfprintf(ap->strbuf,"%s=%s\0",nv_name(&ap->node),val); 133 val = sfstruse(ap->strbuf);
|
/ast/src/cmd/ksh93/sh/ |
H A D | init.c | 627 sfprintf(shp->strbuf,"%.*f",places,d); 628 return(sfstruse(shp->strbuf)); 741 sfprintf(shp->strbuf,"%.*g",12,*((double*)val)); 742 val = sfstruse(shp->strbuf); 979 sfprintf(shp->strbuf,".sh.math.%s",np->nvname); 980 return(sfstruse(shp->strbuf)); 1037 sfputc(shp->strbuf,' '); 1038 sfputr(shp->strbuf,mp->nvname+9,-1); 1040 val = sfstruse(shp->strbuf); 1314 shp->strbuf [all...] |
H A D | name.c | 1822 sfprintf(shp->strbuf,"%.*Lg",LDBL_DIG,*((Sfdouble_t*)sp)); 1824 sfprintf(shp->strbuf,"%.*g",DBL_DIG,*((double*)sp)); 1829 sfprintf(shp->strbuf,"%I*lu",sizeof(Sfulong_t),*((Sfulong_t*)sp)); 1831 sfprintf(shp->strbuf,"%lu",(unsigned long)((flags&NV_SHORT)?*((uint16_t*)sp):*((uint32_t*)sp))); 1836 sfprintf(shp->strbuf,"%I*ld",sizeof(Sflong_t),*((Sflong_t*)sp)); 1838 sfprintf(shp->strbuf,"%ld",(long)((flags&NV_SHORT)?*((int16_t*)sp):*((int32_t*)sp))); 1840 sp = sfstruse(shp->strbuf); 2789 sfprintf(shp->strbuf,"%s[%s]",nv_name(np),sub); 2790 return(sfstruse(shp->strbuf)); 2823 sfprintf(shp->strbuf,forma [all...] |
H A D | arith.c | 157 sfprintf(shp->strbuf,"%s%s%c",nv_name(np),sub,0); 158 sub = sfstruse(shp->strbuf);
|
H A D | nvtree.c | 62 sfprintf(sh.strbuf,"%s=%c",nv_name(np),0); 63 cp = sfstruse(sh.strbuf);
|
H A D | array.c | 377 sfprintf(sh.strbuf,"%d",ap->cur); 378 cp = sfstruse(sh.strbuf); 421 sfprintf(sh.strbuf,"%s=%s",nv_name(nq),nv_getval(np)); 422 av[0] = strdup(sfstruse(sh.strbuf)); 1262 sfprintf(sh.strbuf,"%d",ap->cur); 1263 cp = sfstruse(sh.strbuf);
|
H A D | jobs.c | 276 sfprintf(shp->strbuf,"%s.%d%c",csp->name,pid&0xff,0); 278 sfprintf(shp->strbuf,"%d%c",pid,0); 279 return(sfstruse(shp->strbuf));
|
H A D | lex.c | 205 sfwrite(shp->strbuf,lp->lexd.docend,n); 1711 sfseek(lp->sh->strbuf,(Sfoff_t)0, SEEK_SET); 1712 sfmove(lp->sh->strbuf,stkp,lp->lexd.docextra,-1); 1713 sfseek(lp->sh->strbuf,(Sfoff_t)0, SEEK_SET);
|
H A D | nvtype.c | 221 sfprintf(sh.strbuf,"%s[%s].%s",cp,sub,np->nvname); 223 sfprintf(sh.strbuf,"%s.%s",cp,np->nvname); 226 nv_arrfixed(np,sh.strbuf,1,(char*)0); 229 return(sfstruse(sh.strbuf));
|
H A D | nvdisc.c | 61 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp)); 62 cp = sfstruse(sh.strbuf);
|
H A D | xec.c | 3986 sfprintf(shp->strbuf,"/dev/fd/%d",fd); 3987 if(stat(devfd=sfstruse(shp->strbuf),&statb)>=0)
|
/ast/src/cmd/ksh93/include/ |
H A D | defs.h | 250 Sfio_t *strbuf; \
|
/ast/src/cmd/re/ |
H A D | testregex.c | 1260 static char strbuf[32 * 1024]; local 1820 s = expand(s, strbuf);
|