/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | bootinfo.c | 42 char *curpos, *next, *string; in bi_getboothowto() local 107 curpos = strsep(&next, " ,"); in bi_getboothowto() 108 if (*curpos == '\0') in bi_getboothowto() 110 if (!strcmp(curpos, "text")) in bi_getboothowto() 112 else if (!strcmp(curpos, "ttya")) in bi_getboothowto() 114 else if (!strcmp(curpos, "ttyb")) in bi_getboothowto() 116 else if (!strcmp(curpos, "ttyc")) in bi_getboothowto() 118 else if (!strcmp(curpos, "ttyd")) in bi_getboothowto() 120 else if (!strcmp(curpos, "null")) in bi_getboothowto()
|
/illumos-gate/usr/src/boot/common/ |
H A D | console.c | 331 char *curpos, *dup, *next; in cons_check() local 336 curpos = strsep(&next, " ,"); in cons_check() 337 if (*curpos != '\0') { in cons_check() 338 cons = cons_find(curpos); in cons_check() 340 printf("console %s is invalid!\n", curpos); in cons_check() 397 char *curpos, *dup, *next; in cons_change() local 410 curpos = strsep(&next, " ,"); in cons_change() 411 if (*curpos == '\0') in cons_change() 413 cons = cons_find(curpos); in cons_change() 421 *list = cons_add_list(*list, curpos); in cons_change()
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub2.c | 315 int npos, curpos, n; in cgoto() local 357 curpos = *(state[s]+i); in cgoto() 358 if (!ISOPERATOR(name[curpos])) in cgoto() 359 symbol[name[curpos]] = TRUE; in cgoto() 361 switch (name[curpos]) { in cgoto() 364 q = (CHR *)left[curpos]; in cgoto() 374 symbol[right[curpos]] = TRUE; in cgoto() 385 curpos, s); in cgoto() 457 int *pos, i, *f, num, curpos, number; in nextstate() local 463 curpos = *pos++; in nextstate() [all …]
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | b.c | 437 int curpos, num, prev; in cgotofn() local 476 curpos = *(++ptr); in cgotofn() 477 sposns[i] = curpos; in cgotofn() 478 iposns[curpos] = 1; in cgotofn() 479 cp = point[curpos]; in cgotofn() 480 dprintf("i= %d, spinit = %d, curpos = %d\n", i, spinit, curpos); in cgotofn() 598 curpos = *(++ptr); in cgotofn() 599 if (iposns[curpos] != 1 && index[curpos] != 1) { in cgotofn() 600 index[curpos] = 1; in cgotofn() 601 sposns[spmax++] = curpos; in cgotofn() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | hsearch.c | 344 unsigned int curpos; /* Current best table index */ in hsearch() local 361 curpos = pjk; in hsearch() 367 table[curpos] = table[curj]; /* Old key to new site */ in hsearch() 370 curj, curpos, i); in hsearch()
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | getline.c | 4478 int curpos = gl_index_of_matching_paren(gl); in KT_KEY_FN() local 4479 if(curpos >= 0) { in KT_KEY_FN() 4481 if(curpos >= gl->buff_curpos) in KT_KEY_FN() 4482 return gl_forward_delete_char(gl, curpos - gl->buff_curpos + 1, NULL); in KT_KEY_FN() 4484 return gl_backward_delete_char(gl, ++gl->buff_curpos - curpos + 1, NULL); in KT_KEY_FN() 7255 int curpos = gl_index_of_matching_paren(gl); in KT_KEY_FN() local 7256 if(curpos >= 0) { in KT_KEY_FN() 7258 if(curpos >= gl->buff_curpos) in KT_KEY_FN() 7259 return gl_forward_copy_char(gl, curpos - gl->buff_curpos + 1, NULL); in KT_KEY_FN() 7261 return gl_backward_copy_char(gl, ++gl->buff_curpos - curpos + 1, NULL); in KT_KEY_FN() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_xdr.c | 1448 uint_t curpos; in xdr_fastshorten() local 1450 curpos = XDR_GETPOS(xdrs); in xdr_fastshorten() 1452 curpos -= ressize; in xdr_fastshorten() 1453 return (XDR_SETPOS(xdrs, curpos)); in xdr_fastshorten()
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.h | 139 uint_t curpos; member
|
H A D | server.c | 256 state.curpos = i; in idmap_get_mapped_ids_1_svc() 401 state.curpos = i; in idmap_get_mapped_ids_1_svc() 442 state.curpos = i; in idmap_get_mapped_ids_1_svc()
|
H A D | dbutils.c | 3392 state->sid_history[next].key = state->curpos; in add_to_sid_history()
|
/illumos-gate/usr/src/lib/libtecla/ |
H A D | libtecla.h | 1495 int count, size_t curpos, const char *line)
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 2520 off_t curpos, noff, datasize; in data_copy_with_holes() local 2532 curpos = 0; in data_copy_with_holes() 2534 if (curpos != hl->hl_data) { in data_copy_with_holes() 2542 datasize = hl->hl_data - curpos; in data_copy_with_holes() 2557 curpos = hl->hl_data; in data_copy_with_holes() 2591 curpos += datasize; in data_copy_with_holes() 2907 off_t curpos, npos; in read_compress_holes() local 2910 curpos = 0; in read_compress_holes() 2914 npos = lseek(Ifile, curpos, SEEK_DATA); in read_compress_holes() 2937 curpos = npos; in read_compress_holes() [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs.h | 220 char *curpos; member
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_fwlog.c | 1042 char *tbuf = pwp->iqpt->curpos; in pmcs_iqp_trace() 1052 tbuf = pwp->iqpt->curpos = pwp->iqpt->head; in pmcs_iqp_trace() 1070 pwp->iqpt->curpos += n; in pmcs_iqp_trace() 1072 pwp->iqpt->curpos = in pmcs_iqp_trace()
|
H A D | pmcs_attach.c | 944 pwp->iqpt->curpos = pwp->iqpt->head; in pmcs_attach() 1629 pwp->iqpt->head = pwp->iqpt->curpos = NULL; in pmcs_unattach()
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/ |
H A D | audiohd.h | 679 int curpos; member
|
H A D | audiohd.c | 853 port->curpos = 0; in audiohd_engine_open() 907 if (pos >= port->curpos) { in audiohd_update_port() 908 len = (pos - port->curpos); in audiohd_update_port() 910 len = pos + port->nframes - port->curpos; in audiohd_update_port() 914 port->curpos = pos; in audiohd_update_port() 5156 port->curpos = 0; in audiohd_allocate_port()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | edit.c | 1160 Edpos_t ed_curpos(Edit_t *ep,genchar *phys, int off, int cur, Edpos_t curpos) 1172 pos = curpos;
|
/illumos-gate/usr/src/cmd/diff/ |
H A D | diff.c | 942 long curpos = ftellbuf(filen); in fetch() local 944 nc = f[(a > b) ? b : (a - 1) ] - curpos; in fetch()
|