Searched refs:t_str (Results 1 - 17 of 17) sorted by relevance

/ast/src/lib/libast/sfio/
H A Dsftable.c57 char *t_str, *sp; local
105 t_str = NIL(char*); n_str = 0;
114 t_str = (char*)form;
119 form = t_str;
120 t_str = NIL(char*);
129 n_str = form-t_str;
130 if(*t_str == '*')
131 { t_str = sffmtint(t_str+1,&n);
132 if(*t_str
[all...]
H A Dsfvscanf.c333 char* t_str;
434 t_str = NIL(char*); n_str = 0;
442 t_str = (char*)form;
447 form = t_str;
448 t_str = NIL(char*);
457 if(*t_str != '*' )
458 n_str = (form-1) - t_str;
460 { t_str = (*_Sffmtintf)(t_str+1,&n);
461 if(*t_str
[all...]
H A Dsfvprintf.c115 char* t_str; /* stuff between () */ local
232 t_str = NIL(char*);
246 t_str = (char*)form;
251 form = t_str;
252 t_str = NIL(char*);
261 if(*t_str != '*' )
262 n_str = (form-1)-t_str;
264 { t_str = (*_Sffmtintf)(t_str+1,&n);
265 if(*t_str
[all...]
/ast/src/lib/libcmd/
H A Dpids.c65 if (!(s = fp->t_str) || streq(s, "pid"))
H A Dvmstate.c75 if (!(s = fp->t_str) || streq(s, "size"))
/ast/src/cmd/tests/
H A Ddate.c243 time_t t_str; local
400 t_str = tmscan(str, &e, fmt, &f, &t_now, flags);
411 else if (t_str != t_ans)
416 n = sfsprintf(tmp, sizeof(tmp), "\n\t[%s] expecting", fmttime(NiL, t_str));
/ast/src/lib/libast/disc/
H A Dsfkeyprintf.c156 if (fp->fmt.t_str && fp->fmt.n_str > 0 && (v = fmtbuf(fp->fmt.n_str + 1)))
158 memcpy(v, fp->fmt.t_str, fp->fmt.n_str);
204 t = fp->fmt.t_str;
205 fp->fmt.t_str = b;
207 fp->fmt.t_str = t;
/ast/src/cmd/std/
H A Ddf.c399 if (!fp->t_str)
401 if (!(kp = (Key_t*)dtmatch(state.keys, fp->t_str)))
403 if (*fp->t_str != '$')
405 error(3, "%s: unknown format key", fp->t_str);
408 if (!(kp = newof(0, Key_t, 1, strlen(fp->t_str) + 1)))
410 kp->name = strcpy((char*)(kp + 1), fp->t_str);
411 kp->macro = getenv(fp->t_str + 1);
H A Dps.c572 if (!fp->t_str)
574 if (!(kp = (Key_t*)dtmatch(state.keys, fp->t_str)))
576 if (*fp->t_str != '$')
578 error(3, "%s: unknown format key", fp->t_str);
581 if (!(kp = newof(0, Key_t, 1, strlen(fp->t_str) + 1)))
583 kp->name = strcpy((char*)(kp + 1), fp->t_str);
584 kp->macro = getenv(fp->t_str + 1);
H A Dls.c479 if (!fp->t_str)
492 if (!(kp = (Key_t*)hashget(state.keys, fp->t_str)))
494 if (*fp->t_str != '$')
496 error(3, "%s: unknown format key", fp->t_str);
502 kp->macro = getenv(fp->t_str + 1);
/ast/src/cmd/ksh93/bltins/
H A Dprint.c671 if(pm->size==fe->n_str && memcmp(pm->name,fe->t_str,fe->n_str)==0)
694 if(fe->n_str>0 && (format=='T'||format=='Q') && varname(fe->t_str,fe->n_str) && (!argp || varname(argp,-1)))
702 sfprintf(pp->sh->strbuf,"%s.%.*s%c",argp,fe->n_str,fe->t_str,0);
1007 n = fe->t_str[fe->n_str];
1008 fe->t_str[fe->n_str] = 0;
1009 value->s = fmttmx(fe->t_str, value->ll);
1010 fe->t_str[fe->n_str] = n;
/ast/src/cmd/pax/
H A Dmisc.c476 if (fmt->t_str)
478 if (!(op = (Option_t*)hashget(state.options, fmt->t_str)))
480 if (*fmt->t_str != '$')
485 op->macro = getenv(fmt->t_str + 1);
/ast/src/cmd/tw/
H A Dexpr.c859 if (!fp->t_str)
861 if (!(sym = (Exid_t*)dtmatch(state.program->symbols, fp->t_str)))
863 error(3, "%s: unknown format key", fp->t_str);
/ast/src/cmd/nmake/
H A Dmisc.c334 sfprintf(fp->tmp, "%.*s", dp->n_str, dp->t_str);
/ast/src/lib/libast/include/
H A Dsfio.h83 char* t_str; /* type string */ member in struct:_sffmt_s
84 ssize_t n_str; /* length of t_str */
/ast/src/cmd/tests/sfio/
H A Dtprintf.c46 memcpy(type,fe->t_str,fe->n_str); type[fe->n_str] = 0;
/ast/src/lib/libexpr/
H A Dexeval.c221 sfprintf(fmt->tmp, "%.*s", dp->n_str, dp->t_str);

Completed in 73 milliseconds