Home
last modified time | relevance | path

Searched refs:curpos (Results 1 – 22 of 22) sorted by relevance

/titanic_44/usr/src/lib/libbc/libc/stdio/common/
H A Dfseek.c56 long curpos = lseek(fileno(iop), 0L, 1); local
57 if (curpos == -1)
59 p += c - curpos;
/titanic_44/usr/src/cmd/sgs/lex/common/
H A Dsub2.c317 int npos, curpos, n; in cgoto() local
359 curpos = *(state[s]+i); in cgoto()
360 if (!ISOPERATOR(name[curpos])) in cgoto()
361 symbol[name[curpos]] = TRUE; in cgoto()
363 switch (name[curpos]) { in cgoto()
366 q = (CHR *)left[curpos]; in cgoto()
376 symbol[right[curpos]] = TRUE; in cgoto()
387 curpos, s); in cgoto()
459 int *pos, i, *f, num, curpos, number; in nextstate() local
465 curpos = *pos++; in nextstate()
[all …]
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dhsearch.c306 unsigned int curpos; /* Current best table index */ in hsearch() local
320 curpos = pjk; /* Save secondeary index */ in hsearch()
325 table[curpos] = table[curj]; /* Old key to new site */ in hsearch()
328 curj, curpos, i); in hsearch()
/titanic_44/usr/src/cmd/oawk/
H A Db.c439 int curpos, num, prev; in cgotofn() local
478 curpos = *(++ptr); in cgotofn()
479 sposns[i] = curpos; in cgotofn()
480 iposns[curpos] = 1; in cgotofn()
481 cp = point[curpos]; in cgotofn()
482 dprintf("i= %d, spinit = %d, curpos = %d\n", i, spinit, curpos); in cgotofn()
600 curpos = *(++ptr); in cgotofn()
601 if (iposns[curpos] != 1 && index[curpos] != 1) { in cgotofn()
602 index[curpos] = 1; in cgotofn()
603 sposns[spmax++] = curpos; in cgotofn()
[all …]
/titanic_44/usr/src/lib/libc/port/gen/
H A Dhsearch.c344 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()
/titanic_44/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c1001 nsc_off_t curpos; in _sd_direct_test() local
1018 curpos = 0; in _sd_direct_test()
1045 curpos = i * 120; in _sd_direct_test()
1048 curpos, 20, B_WRITE); in _sd_direct_test()
1053 curpos += ckd_sskip; in _sd_direct_test()
1057 curpos, 20, B_WRITE); in _sd_direct_test()
1062 curpos += 4096-ckd_sskip*512; in _sd_direct_test()
1065 curpos, 20, B_WRITE); in _sd_direct_test()
/titanic_44/usr/src/common/net/wanboot/
H A Dboot_http.c844 offset_t curpos, offset_t len) in http_get_range_request() argument
851 if (curpos < 0) { in http_get_range_request()
856 return (http_req(handle, abs_path, HTTP_REQ_TYPE_GET, curpos, len)); in http_get_range_request()
1529 offset_t curpos, offset_t len) in http_req() argument
1552 if (curpos < 0 && curpos != -1) { in http_req()
1627 if (type == HTTP_REQ_TYPE_GET && curpos >= 0) { in http_req()
1630 requestlen += 13 + count_digits(curpos) + 1 + 2; in http_req()
1632 endpos = curpos + len - 1; in http_req()
1643 j += sprintf(&request[j], "Range: bytes=%lld-", curpos); in http_req()
/titanic_44/usr/src/cmd/egrep/
H A Degrep.y457 int pos, curpos, number, newpos; in nxtst() local
463 curpos = positions[pos]; in nxtst()
464 k = name[curpos]; in nxtst()
470 || (k == CCL && dot(c) && member(c, right[curpos], 1)) in nxtst()
471 || (k == NCCL && dot(c) && member(c, right[curpos], 0)) in nxtst()
472 || (k == MCCL && mdot(c) && member(c, right[curpos], 1)) in nxtst()
474 number = positions[foll[curpos]]; in nxtst()
475 newpos = foll[curpos] + 1; in nxtst()
/titanic_44/usr/src/lib/libtecla/common/
H A Dgetline.c4479 int curpos = gl_index_of_matching_paren(gl); in KT_KEY_FN() local
4480 if(curpos >= 0) { in KT_KEY_FN()
4482 if(curpos >= gl->buff_curpos) in KT_KEY_FN()
4483 return gl_forward_delete_char(gl, curpos - gl->buff_curpos + 1, NULL); in KT_KEY_FN()
4485 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 …]
/titanic_44/usr/src/cmd/idmap/idmapd/
H A Didmapd.h132 uint_t curpos; member
H A Dserver.c254 state.curpos = i; in idmap_get_mapped_ids_1_svc()
399 state.curpos = i; in idmap_get_mapped_ids_1_svc()
440 state.curpos = i; in idmap_get_mapped_ids_1_svc()
H A Ddbutils.c3317 state->sid_history[next].key = state->curpos; in add_to_sid_history()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs_xdr.c1448 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()
/titanic_44/usr/src/lib/libtecla/
H A Dlibtecla.h1497 int count, size_t curpos, const char *line)
/titanic_44/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs.h220 char *curpos; member
/titanic_44/usr/src/cmd/cpio/
H A Dcpio.c2512 off_t curpos, noff, datasize; in data_copy_with_holes() local
2524 curpos = 0; in data_copy_with_holes()
2526 if (curpos != hl->hl_data) { in data_copy_with_holes()
2534 datasize = hl->hl_data - curpos; in data_copy_with_holes()
2549 curpos = hl->hl_data; in data_copy_with_holes()
2583 curpos += datasize; in data_copy_with_holes()
2899 off_t curpos, npos; in read_compress_holes() local
2902 curpos = 0; in read_compress_holes()
2906 npos = lseek(Ifile, curpos, SEEK_DATA); in read_compress_holes()
2929 curpos = npos; in read_compress_holes()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_fwlog.c1042 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 Dpmcs_attach.c944 pwp->iqpt->curpos = pwp->iqpt->head; in pmcs_attach()
1629 pwp->iqpt->head = pwp->iqpt->curpos = NULL; in pmcs_unattach()
/titanic_44/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.h679 int curpos; member
H A Daudiohd.c853 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()
/titanic_44/usr/src/lib/libshell/common/edit/
H A Dedit.c1139 Edpos_t ed_curpos(Edit_t *ep,genchar *phys, int off, int cur, Edpos_t curpos)
1151 pos = curpos;
/titanic_44/usr/src/cmd/diff/
H A Ddiff.c931 long curpos = ftellbuf(filen); in fetch() local
933 nc = f[(a > b) ? b : (a - 1) ] - curpos; in fetch()