Searched defs:convert (Results 1 - 14 of 14) sorted by relevance

/ast/src/cmd/mam/
H A Dmamold.sh20 : convert mam to old make makefile
22 function convert function
55 convert "$arg = $val"
77 closure ${prereqs[$rule]} && print && convert "$rule :$list"
78 [[ ${action[$rule]} ]] && convert "${action[$rule]}"
/ast/src/lib/libast/string/
H A Dstreval.c35 Old_convert_t convert; member in struct:__anon309
41 return((*((Handle_t*)handle)->convert)(s, end));
45 streval(const char* s, char** end, Old_convert_t convert) argument
49 return((handle.convert = convert) ? strexpr(s, end, userconv, &handle) : strexpr(s, end, (Convert_t)0, NiL));
H A Dstrexpr.c54 long (*convert)(const char*, char**, void*); member in struct:__anon310
55 void* handle; /* user convert handle */
248 else if (ex->convert) n = (*ex->convert)(ex->nextchr, &ex->nextchr, ex->handle);
264 * (long)(*convert)(const char* string, char** end, void* handle)
270 * NOTE: (*convert)() may call strexpr(ex, )
274 strexpr(const char* s, char** end, long(*convert)(const char*, char**, void*), void* handle)
281 ex.convert = convert;
288 if (convert) (*conver
[all...]
/ast/src/cmd/pax/
H A Dconvert.c35 convert(Archive_t* ap, int section, int from, int to) function
37 if (ap->convert[section].on = (ap->convert[section].f2t = ccmap(from, to)) != 0)
39 ap->convert[section].t2f = ccmap(to, from);
40 ap->convert[section].f2a = ccmap(from, CC_ASCII);
41 ap->convert[section].t2a = ccmap(to, CC_ASCII);
46 * convert string to lower case in place
62 * convert string to upper case in place
88 if (!ap->convert[SECTION_CONTROL].on)
96 m = ap->convert[SECTION_CONTRO
[all...]
/ast/src/cmd/msgcc/
H A Dmsgcvt.c29 "[+NAME?msgcvt - convert message file to/from html]"
660 Convert_f convert = msg2html; local
669 convert = msg2html;
672 convert = html2msg;
689 (*convert)(sfstdin, sfstdout, flags);
/ast/src/lib/libcmd/
H A Ddate.c32 "[+NAME?date - set/list/convert dates]"
145 " [+n?convert \b%S\b as \b%S.%N\b]"
256 * convert s to Time_t with error checking
260 convert(register Fmt_t* f, char* s, Time_t now) function
415 ts = convert(fmts, s, now);
416 te = convert(fmts, t, now);
480 now = convert(fmts, s, now);
491 now = convert(fmts, s, now);
/ast/src/lib/libast/disc/
H A Dsfkeyprintf.c45 Sf_key_convert_t convert; member in struct:__anon259
326 if ((!fp->convert || !(value->s = (*fp->convert)(fp->handle, &fp->fmt, a, s, n))) && (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%%%c", fp->fmt.fmt) <= 0 || !(value->s = sfstruse(fp->tmp[0]))))
341 sfkeyprintf(Sfio_t* sp, void* handle, const char* format, Sf_key_lookup_t lookup, Sf_key_convert_t convert) argument
353 fmt.convert = convert;
373 sfkeyprintf_20000308(Sfio_t* sp, void* handle, const char* format, Sf_key_lookup_t lookup, Sf_key_convert_t convert) argument
386 fmt.convert = convert;
/ast/src/lib/libpz/
H A Dpzconvert.c33 "[+DESCRIPTION?The \bpzip\b convert discipline supports runtime record"
41 "[c:convert?Specifies the input format for compression and the output format"
72 Pzconvert_t* convert; member in struct:Chain_s
139 else if (!(s = (unsigned char*)sfreserve(sp, cp->convert->from->row, 0)))
145 if ((n = (*cp->convert->convertf)(pz, cp->convert, s, t, disc)) <= 0)
182 else if (!(b = (unsigned char*)sfreserve(sp, cvt->last->convert->to->row, 1)))
190 if ((n = (*cp->convert->convertf)(pz, cp->convert, s, t, disc)) <= 0)
237 to = cp->convert
[all...]
/ast/src/cmd/tw/
H A Dexpr.c679 * convert operands
683 convert(Expr_t* prog, register Exnode_t* x, int type, register Exid_t* xref, int arg, Exdisc_t* disc) function
783 state.expr.convertf = convert;
/ast/src/cmd/builtin/
H A Dtr.c108 int convert; member in struct:__anon47
163 return (!tr->type || !tr->convert) ? tr->prev : tr->convert == 'l' ? tolower(tr->prev) : toupper(tr->prev);
181 if (tr->convert)
184 if (tr->convert == c || tr->type && !tr->position)
192 tr->convert = c;
321 tr->convert = '?';
353 if (tr->convert == '?')
354 tr->convert = 0;
/ast/src/lib/libast/comp/
H A Domitted.c362 * DOSPATHVARS='a b c' convert { a b c }
375 convert(register const char* d, const char* s) function
414 if ((n = convert(d, s)) && (m = cygwin_win32_to_posix_path_list_buf_size(s + n)) > 0)
579 if ((n = convert(d, s)) && (m = cygwin_posix_to_win32_path_list_buf_size(s + n)) > 0)
/ast/src/cmd/ksh93/sh/
H A Dstreval.c80 Sfdouble_t (*convert)(const char**,struct lval*,int,Sfdouble_t); member in struct:vars
862 d = (*vp->convert)(&vp->nextchr, &lvalue, LOOKUP, 0);
908 cur.convert = fun;
944 * (Sfdouble_t)(*convert)(char** end, struct lval* string, int type, Sfdouble_t value)
947 * *end points to the part to be converted and must be adjusted by convert to
951 * NOTE: (*convert)() may call strval()
/ast/src/cmd/html/
H A Dtroff2html.c35 "[+NAME?troff2html - convert troff/groff input to html]"
423 * convert units to scale
427 convert(long n, int up, int scale) function
587 n = convert(n, 0, scale);
2035 sfprintf(op, "%d", convert(v, 1, w));
3660 * convert troff file ip to intermediate file op
4190 n = convert(strlen(s), 1, 'n');
4746 * convert intermediate code in s to html on op
/ast/src/cmd/nmake/
H A Dmake.h665 char* convert; /* makefile converter patterns */ member in struct:External_s

Completed in 38 milliseconds