Searched defs:format (Results 1 - 25 of 91) sorted by relevance

1234

/ast/src/cmd/std/
H A Dseq.sh42 [f:format]:[format:=%g?use printf style floating point \aformat\a.]
66 function format # first second next_to_last last function
88 [[ $fmt == *%*([^[:space:][:alpha:]])[efg]* ]] || err_exit "$fmt: invalid format string"
105 then [[ $fmt ]] && err_exit "format string may not be specified when printing equal width strings"
110 fmt=$(format $first $((first+incr)) $((last-incr)) $end)
/ast/src/lib/libast/tm/
H A Dtmform.c36 * format date given clock
41 tmform(char* buf, const char* format, time_t* clock) argument
43 return tmfmt(buf, 256, format, clock);
H A Dtmfmt.c33 * format date given clock into buf of length len
38 tmfmt(char* buf, size_t len, const char* format, time_t* clock) argument
40 return tmxfmt(buf, len, format, tmxclock(clock));
H A Dtmscan.c33 * scan date expression in s using format
38 tmscan(const char* s, char** e, const char* format, char** f, time_t* clock, long flags) argument
40 return tmxsec(tmxscan(s, e, format, f, tmxclock(clock), flags));
H A Dtmdata.c34 * default format strings -- must agree with TM_* indices
37 static char* format[] = variable
101 * format[] lex type classes
163 * output format digits
282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
H A Dtmxfmt.c36 * format n with padding p into s
88 char* format; member in struct:Stack_s
93 * format t into buf of length len
98 tmxfmt(char* buf, size_t len, const char* format, Time_t t) argument
127 if (!format || !*format)
128 format = tm_info.deformat;
129 oformat = format;
137 if ((c = *format++) == delimiter)
143 format
[all...]
/ast/src/lib/libpp/
H A Dppprintf.c31 ppprintf(char* format, ...) argument
38 va_start(ap, format);
39 sfvprintf(sp, format, ap);
/ast/src/lib/libast/string/
H A Dfmttime.c33 fmttime(const char* format, time_t clock) argument
39 tmfmt(buf, z, format, &clock);
/ast/src/cmd/cs/vcs_src/
H A Dvcs_message.c28 char* format; local
34 format = va_arg(ap, char*);
35 sfvprintf(sfstdout, format, ap);
/ast/src/lib/libexpr/
H A Dexerror.c35 exerror(const char* format, ...) argument
48 va_start(ap, format);
49 sfvprintf(sp, format, ap);
/ast/src/lib/libast/port/
H A Dastquery.c27 * if format==0 then verify that interaction is possible
43 astquery(int quit, const char* format, ...) argument
56 va_start(ap, format);
57 if (!format)
85 sfvprintf(op, format, ap);
/ast/src/lib/libcmd/
H A Dhead.c81 char* format = (char*)header_fmt+1; local
138 sfprintf(sfstdout, format, cp);
139 format = (char*)header_fmt;
H A Dpids.c33 "[f:format?List the ids specified by \aformat\a. \aformat\a follows "
37 "supported \aid\as are:]:[format:=" FORMAT "]"
84 else if (streq(s, "format"))
88 error(2, "%s: unknown format identifier", s);
97 char* format = 0; local
105 format = opt_info.arg;
119 if (!format)
120 format = FORMAT;
121 sfkeyprintf(sfstdout, format, format, ke
[all...]
H A Dvmstate.c31 "[f:format?List the ids specified by \aformat\a. \aformat\a follows "
35 "supported \aid\as are:]:[format:=" FORMAT "]"
57 char* format; member in struct:State_s
111 else if (streq(s, "format"))
112 *ps = (char*)state->format;
130 error(2, "%s: unknown format identifier", s);
163 state.format = opt_info.arg;
177 if (!state.format)
178 state.format = FORMAT;
194 sfkeyprintf(sfstdout, &state, state.format, ke
[all...]
H A Ddate.c67 " Equivalent to \b--format=%s\b.]"
73 "[f:format?Output the date according to the \bstrftime\b(3) \aformat\a."
75 " \b+\b\aformat\a is equivalent to \b-f\b format."
87 " The fields are:]:[format]{"
98 " [+f?locale default override date format]"
99 " [+F?%ISO 8601:2000 standard date format; equivalent to Y-%m-%d]"
111 " [+L?locale default date format]"
119 " delimter character; \arecent\a format for recent"
120 " dates, \adistant\a format otherwise]"
149 " [+??alternate?use \aalternate\a format i
206 char* format; member in struct:Fmt
294 char* format = 0; /* tmxfmt() format */ local
[all...]
/ast/src/lib/libdss/
H A Ddss-write.h32 " If \aformat\a is omitted then the input record format is assumed."
35 "\n [ format] \n"
43 Dssformat_t* format; local
71 if (!(format = dssformat(expr->data, disc, DSS(cx)->meth)))
74 (*disc->errorf)(NiL, disc, 2, "%s: unknown format", (char*)expr->data);
79 format = 0;
80 if (!(expr->data = dssfopen(DSS(cx), expr->file, expr->op, DSS_FILE_WRITE, format)))
H A Ddssfile.c72 dssfopen(Dss_t* dss, const char* path, Sfio_t* io, Dssflags_t flags, Dssformat_t* format) argument
160 if (!(file->format = format) && !(file->format = dss->format))
163 (*dss->disc->errorf)(NiL, dss->disc, 2, "output method format must be specified");
169 file->writef = file->format->writef;
195 for (file->format = (Dssformat_t*)dtfirst(dss->meth->formats); file->format && !(i = (*file->format
[all...]
H A Ddssopt.c28 * format optget(3) description item on sp given plain text and item name
121 if (tp->format.description)
124 if (tp->format.details)
125 x = sfprints("%s The default value is \b%s\b. %s", tp->format.description, tp->format.details, b);
127 x = sfprints("%s %s", tp->format.description, b);
129 x = tp->format.description;
214 Dssformat_t* format; local
230 if (tp->format.description && optesc(sp, tp->format
[all...]
/ast/src/cmd/nmake/
H A DTABLE.mk2 * table ... :TABLE: [class=name] [format={lower,upper}]
8 * format=upper[lower] converts var names to upper[lower] case
18 local table=$(I) class format ignore map name novariables options list state $(~$(I)) $(>)
34 if format
35 format := F=%($(format))s macro
37 format := :$(format) macro
52 : $(.TABLE.SET. $(table) "$(class)" $(format) "$(state)" "$(map)" "$(ignore)" "$(list)")
67 local I J M N V (row name format assig
[all...]
/ast/src/cmd/3d/
H A Dbio.c35 bvprintf(char** buf, char* end, register const char* format, va_list ap) argument
67 switch (c = *format++)
72 if (*format == '-')
74 format++;
78 if (*format == '0')
80 format++;
84 if ((c = *format) == '*')
86 format++;
95 c = *++format;
101 if ((c = *++format)
358 bprintf(char** buf, char* end, const char* format, ...) argument
370 sfsprintf(char* buffer, size_t size, const char* format, ...) argument
[all...]
/ast/src/lib/libtksh/tcl/
H A DtclClock.c27 char *format));
77 } else if ((c == 'f') && (strncmp(argv[1], "format", length) == 0)) { local
78 char *format = "%a %b %d %X %Z %Y";
83 " format clockval ?-format string? ?-gmt boolean?",
95 if (strcmp(argPtr[0], "-format") == 0) {
96 format = argPtr[1];
103 "\": must be -format or -gmt", (char *) NULL);
113 return FormatClock(interp, clockVal, useGMT, format);
179 "\": must be clicks, format, sca
[all...]
/ast/src/lib/libtk/generic/
H A DtkClipboard.c310 * a given type determines the format for that type. Any successive
311 * appends to that type must have the same format or an error will
332 Tk_ClipboardAppend(interp, tkwin, type, format, buffer)
337 Atom format; /* Format in which the selection
375 targetPtr->format = format;
380 type, ClipboardHandler, (ClientData) targetPtr, format);
381 } else if (targetPtr->format != format) {
382 Tcl_AppendResult(interp, "format \"", Tk_GetAtomNam
446 Atom target, format; local
[all...]
H A DtkSelect.h54 Atom format; /* Format in which selection member in struct:TkSelHandler
58 * in this format. */
108 * same clipboard must have the same format. The TkClipboardTarget structure
122 Atom format; /* Representation used for data. */ member in struct:TkClipboardTarget
/ast/src/cmd/msgcc/
H A Dmsggen.c38 "[f:format?List the \bprintf\b(3) format signature for each message in"
39 " \acatfile\a. A format signature is one line containing one character"
40 " per format specification:]{"
59 " format, defined as follows. Note that the fields of a message text"
184 ccsfprintf(int from, int to, Sfio_t* sp, const char* format, ...) argument
191 va_start(ap, format);
193 n = sfvprintf(sp, format, ap);
196 n = sfvprintf(tp, format, ap);
228 int format local
[all...]
/ast/src/cmd/pax/
H A Dpax-pds.c23 * pax pds format
26 #include "format.h"
40 char* format; member in struct:Pds_s
136 pds->format = pax_pds_format.name;

Completed in 56 milliseconds

1234