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

/illumos-gate/usr/src/cmd/cpio/
H A Dcpiostat.c42 convert(dev_t dev) function
56 TmpSt->st_dev = convert(FromStat->st_dev);
62 TmpSt->st_rdev = convert(FromStat->st_rdev);
/illumos-gate/usr/src/cmd/sort/common/
H A Dconvert.c30 * convert
31 * given a sort invocation, convert input files, and display sort collation
40 convert(sort_t *S) function
115 convert(&S);
/illumos-gate/usr/src/lib/libast/common/string/
H A Dstreval.c35 Old_convert_t convert; member in struct:__anon2670
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:__anon2671
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...]
/illumos-gate/usr/src/cmd/sort/
H A DMakefile57 convert := TARGET = convert macro
65 debug convert invoke stats : $(SUBDIRS)
/illumos-gate/usr/src/cmd/ast/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);
/illumos-gate/usr/src/lib/libcmd/common/
H A Ddate.c32 "[+NAME?date - set/list/convert dates]"
145 " [+n?convert \b%S\b as \b%S.%N\b]"
247 * convert s to Time_t with error checking
251 convert(register Fmt_t* f, char* s, Time_t now) function
389 ts = convert(fmts, s, now);
390 te = convert(fmts, t, now);
454 now = convert(fmts, s, now);
465 now = convert(fmts, s, now);
/illumos-gate/usr/src/cmd/refer/
H A Drefer0.c34 char *convert = "X.AP"; variable
/illumos-gate/usr/src/cmd/banner/
H A Dbanner.c188 static char convert(unsigned char c);
227 c = convert(c);
270 convert(unsigned char c) function
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c83 t_wide_io convert = { 0 }; local
87 convert.object = (void *) &string;
88 convert.put = (int (*)(int, void *)) write_string;
94 if (m_wio_put(*wis, &convert) < 0) {
192 * If 0 < n, set a new multibyte string and convert the first character,
193 * returning either -1 on error or the number of bytes used to convert the
217 static t_wide_io convert = { 0 }; local
228 convert._state = initial;
229 convert._next = convert
[all...]
/illumos-gate/usr/src/cmd/nl/
H A Dnl.c59 static char nbuf[100]; /* Declare bufsize used in convert/pad/cnt routines */
70 static int k; /* Declare var for return of convert */
74 static int convert(int, char *);
76 static int convert(char *);
233 startcnt = convert(c, optarg);
239 increment = convert(c, optarg);
245 width = convert(c, optarg);
251 blank = convert(c, optarg);
432 startcnt = convert(argv[j]);
438 increment = convert(arg
708 convert(c, option_arg) function
729 convert(argv) function
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftpsubs.c126 readit(FILE *file, struct tftphdr **dpp, int convert) argument
135 read_ahead(file, convert); /* fill it */
145 read_ahead(FILE *file, int convert) argument
160 if (!convert) {
195 writeit(FILE *file, struct tftphdr **dpp, int ct, int convert) argument
200 if (write_behind(file, convert) < 0) /* flush it */
214 write_behind(FILE *file, int convert) argument
237 if (!convert) {
H A Dtftp.c123 int convert; /* true if doing nl->crlf conversion */ local
132 convert = (strcmp(mode, "netascii") == 0);
134 tsize_set = ((tsize_opt != 0) && !convert && (fstat(fd, &statb) == 0));
150 size = readit(file, &dp, convert);
170 read_ahead(file, convert);
252 int convert; /* true if converting crlf -> lf */ local
259 convert = (strcmp(mode, "netascii") == 0);
295 if (write_behind(file, convert) < 0) {
369 size = writeit(file, &dp, n - 4, convert);
378 if (write_behind(file, convert) <
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dgroup.c362 * The convert argument is used to map group elements to integer IDs.
365 group2intlist(group_t *group, char *buffer, size_t len, int (convert)(void*)) argument
381 int id = convert(v);
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfkeyprintf.c45 Sf_key_convert_t convert; member in struct:__anon2613
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]))))
339 sfkeyprintf(Sfio_t* sp, void* handle, const char* format, Sf_key_lookup_t lookup, Sf_key_convert_t convert) argument
352 fmt.convert = convert;
367 sfkeyprintf(Sfio_t* sp, void* handle, const char* format, Sf_key_lookup_t lookup, Sf_key_convert_t convert) argument
379 fmt.convert = convert;
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstreval.c79 Sfdouble_t (*convert)(const char**,struct lval*,int,Sfdouble_t); member in struct:vars
774 d = (*vp->convert)(&vp->nextchr, &lvalue, LOOKUP, 0);
820 cur.convert = fun;
850 * (Sfdouble_t)(*convert)(char** end, struct lval* string, int type, Sfdouble_t value)
853 * *end points to the part to be converted and must be adjusted by convert to
857 * NOTE: (*convert)() may call strval()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dm_cc.c81 t_wide_io convert = { 0 }; local
85 convert.object = (void *) &string;
86 convert.put = (int (*)(int, void *)) write_string;
92 if (m_wio_put(*wis, &convert) < 0) {
200 * If 0 < n, set a new multibyte string and convert the first character,
201 * returning either -1 on error or the number of bytes used to convert the
220 static t_wide_io convert = { 0 }; local
231 convert._next = convert._size = 0;
232 convert
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Domitted.c277 * DOSPATHVARS='a b c' convert { a b c }
292 convert(register const char* d, const char* s) function
331 if ((n = convert(d, s)) && (m = cygwin_win32_to_posix_path_list_buf_size(s + n)) > 0)
496 if ((n = convert(d, s)) && (m = cygwin_posix_to_win32_path_list_buf_size(s + n)) > 0)
/illumos-gate/usr/src/uts/common/sys/
H A Ducode.h288 int (*convert)(const char *, uint8_t *, size_t); member in struct:ucode_ops
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_mem.c1143 int convert = 1; local
1180 convert = 0; /* conversion done */
1203 convert = 0; /* conversion done */
1266 if (convert)
H A Dvdc.c1451 /* convert logical block to vio block */
7176 /* function to convert between vDisk and Solaris structure formats */
7177 int (*convert)(vdc_t *vdc, void *vd_buf, void *ioctl_arg, member in struct:vdc_dk_ioctl
7610 ASSERT(iop->convert != NULL);
7611 rv = (iop->convert)(vdc, arg, mem_p, mode, VD_COPYIN);
7613 DMSG(vdc, 0, "[%d] convert func returned %d for ioctl 0x%x\n",
7646 rv = (iop->convert)(vdc, mem_p, arg, mode, VD_COPYOUT);
7648 DMSG(vdc, 0, "[%d] convert func returned %d for ioctl 0x%x\n",
7666 * do not need to convert the data being passed in/out to userland
8244 * (DEV_BSIZE) and we will need to convert logica
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt_xlate.h123 union convert { union
/illumos-gate/usr/src/cmd/bnu/
H A Duustat.c85 static int convert();
1327 inputsecs = convert(timerange);
1332 /* convert lowerlimit and upperlimit to HH:MM format */
1350 /* convert all '|'s to blanks for sscanf */
1427 convert(intime) function
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c98 static void convert(long val, char *buf);
1431 convert(val, buf) function
1449 convert(val, buf);
1542 convert(eitol(typecnt), tzh.tzh_ttisgmtcnt);
1543 convert(eitol(typecnt), tzh.tzh_ttisstdcnt);
1544 convert(eitol(leapcnt), tzh.tzh_leapcnt);
1545 convert(eitol(timecnt), tzh.tzh_timecnt);
1546 convert(eitol(typecnt), tzh.tzh_typecnt);
1547 convert(eitol(charcnt), tzh.tzh_charcnt);
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c4779 char lower, upper, convert; local
4785 convert = 'A';
4789 convert = 'a';
4808 c = convert + (c - lower);

Completed in 166 milliseconds