Searched refs:strbuf (Results 1 - 19 of 19) sorted by relevance

/ast/src/lib/libcs/
H A Dcscontrol.c37 struct strbuf buf;
H A Dcspoll.c166 struct strbuf buf;
H A Dcssend.c42 struct strbuf dat;
/ast/src/cmd/ksh93/bltins/
H A Dcd_pwd.c137 sfwrite(shp->strbuf,oldpwd,sp+1-oldpwd);
138 sfputr(shp->strbuf,dp,0);
139 dir = sfstruse(shp->strbuf);
H A Dprint.c702 sfprintf(pp->sh->strbuf,"%s.%.*s%c",argp,fe->n_str,fe->t_str,0);
703 argp = sfstruse(pp->sh->strbuf);
H A Dtypeset.c585 sfprintf(shp->strbuf,"%s.%s%c",shp->prefix,name,0);
586 name = sfstruse(shp->strbuf);
/ast/src/cmd/kshlib/dbm_t/
H A Ddbm_t.c58 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 Dinit.c627 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 Dname.c1822 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 Darith.c157 sfprintf(shp->strbuf,"%s%s%c",nv_name(np),sub,0);
158 sub = sfstruse(shp->strbuf);
H A Dnvtree.c62 sfprintf(sh.strbuf,"%s=%c",nv_name(np),0);
63 cp = sfstruse(sh.strbuf);
H A Darray.c377 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 Djobs.c276 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 Dlex.c205 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 Dnvtype.c221 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 Dnvdisc.c61 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp));
62 cp = sfstruse(sh.strbuf);
H A Dxec.c3986 sfprintf(shp->strbuf,"/dev/fd/%d",fd);
3987 if(stat(devfd=sfstruse(shp->strbuf),&statb)>=0)
/ast/src/cmd/ksh93/include/
H A Ddefs.h250 Sfio_t *strbuf; \
/ast/src/cmd/re/
H A Dtestregex.c1260 static char strbuf[32 * 1024]; local
1820 s = expand(s, strbuf);

Completed in 213 milliseconds