Lines Matching refs:format
82 * print time <t> in h:m:s format with precision <p>
105 static int p_time(Shell_t *shp, Sfio_t *out, const char *format, clock_t *tm)
111 for(first=format ; c= *format; format++)
115 sfwrite(stkp, first, format-first);
118 if((c= *++format) == '%')
120 first = format;
126 c = *++format;
138 c = *++format;
156 first = format+1;
158 if(format>first)
159 sfwrite(stkp,first, format-first);
1885 const char *format = e_timeformat;
1937 format = nv_getval(np);
1940 if(!format)
1941 format = e_timeformat;
1944 format = strchr(format+1,'\n')+1;
1949 if(format && *format)
1950 p_time(shp,sfstderr,sh_translate(format),tm);
2873 register char *format;
2878 format="%s()\n{ ";
2880 format="function %s\n{ ";
2881 sfprintf(sfstdout,format,nv_name(np));