Searched defs:curpos (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/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;
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbootinfo.c42 char *curpos, *next, *string; local
107 curpos = strsep(&next, " ,");
108 if (*curpos == '\0')
110 if (!strcmp(curpos, "text"))
112 else if (!strcmp(curpos, "ttya"))
114 else if (!strcmp(curpos, "ttyb"))
116 else if (!strcmp(curpos, "ttyc"))
118 else if (!strcmp(curpos, "ttyd"))
120 else if (!strcmp(curpos, "null"))
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dbootinfo.c43 char *curpos, *next, *string; local
108 curpos = strsep(&next, " ,");
109 if (*curpos == '\0')
111 if (!strcmp(curpos, "vidconsole"))
113 else if (!strcmp(curpos, "comconsole"))
115 else if (!strcmp(curpos, "nullconsole"))
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dconsole.c203 char *curpos, *dup, *next; local
208 curpos = strsep(&next, " ,");
209 if (*curpos != '\0') {
210 cons = cons_find(curpos);
212 printf("console %s is invalid!\n", curpos);
241 char *curpos, *dup, *next; local
252 curpos = strsep(&next, " ,");
253 if (*curpos == '\0')
255 cons = cons_find(curpos);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dhsearch.c306 unsigned int curpos; /* Current best table index */ local
320 curpos = pjk; /* Save secondeary index */
325 table[curpos] = table[curj]; /* Old key to new site */
327 printf("Switch curpos = %o, curj = %o, oldi = %o\n",
328 curj, curpos, i);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dhsearch.c344 unsigned int curpos; /* Current best table index */ local
361 curpos = pjk;
367 table[curpos] = table[curj]; /* Old key to new site */
369 printf("Switch curpos = %o, curj = %o, oldi = %o\n",
370 curj, curpos, i);
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub2.c317 int npos, curpos, n; local
359 curpos = *(state[s]+i);
360 if (!ISOPERATOR(name[curpos]))
361 symbol[name[curpos]] = TRUE;
363 switch (name[curpos]) {
366 q = (CHR *)left[curpos];
376 symbol[right[curpos]] = TRUE;
387 curpos, s);
459 int *pos, i, *f, num, curpos, number; local
465 curpos
[all...]
/illumos-gate/usr/src/cmd/oawk/
H A Db.c439 int curpos, num, prev; local
478 curpos = *(++ptr);
479 sposns[i] = curpos;
480 iposns[curpos] = 1;
481 cp = point[curpos];
482 dprintf("i= %d, spinit = %d, curpos = %d\n", i, spinit, curpos);
600 curpos = *(++ptr);
601 if (iposns[curpos] != 1 && index[curpos] !
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_xdr.c1448 uint_t curpos; local
1450 curpos = XDR_GETPOS(xdrs);
1452 curpos -= ressize;
1453 return (XDR_SETPOS(xdrs, curpos));
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c1137 * if <cur> is non-zero and <= <off>, then correspodning <curpos> will start the search
1139 Edpos_t ed_curpos(Edit_t *ep,genchar *phys, int off, int cur, Edpos_t curpos) argument
1151 pos = curpos;
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Didmapd.h138 uint_t curpos; member in struct:lookup_state
/illumos-gate/usr/src/common/net/wanboot/
H A Dboot_http.c828 * ret = http_get_range_request(handle, abs_path, curpos, len);
834 * curpos - >=0 - Beginning of range
844 offset_t curpos, offset_t len)
851 if (curpos < 0) {
856 return (http_req(handle, abs_path, HTTP_REQ_TYPE_GET, curpos, len));
1509 * ret = http_req(handle, abs_path, reqtype, curpos, len);
1518 * curpos- -1 - Range not used
1529 offset_t curpos, offset_t len)
1552 if (curpos < 0 && curpos !
843 http_get_range_request(http_handle_t handle, const char *abs_path, offset_t curpos, offset_t len) argument
1528 http_req(http_handle_t handle, const char *abs_path, http_req_t type, offset_t curpos, offset_t len) argument
[all...]
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c931 long curpos = ftellbuf(filen); local
933 nc = f[(a > b) ? b : (a - 1) ] - curpos;
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c1001 nsc_off_t curpos; local
1018 curpos = 0;
1045 curpos = i * 120;
1048 curpos, 20, B_WRITE);
1053 curpos += ckd_sskip;
1057 curpos, 20, B_WRITE);
1062 curpos += 4096-ckd_sskip*512;
1065 curpos, 20, B_WRITE);
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs.h220 char *curpos; member in struct:pmcs_iqp_trace_s
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c4479 int curpos = gl_index_of_matching_paren(gl); local
4480 if(curpos >= 0) {
4482 if(curpos >= gl->buff_curpos)
4483 return gl_forward_delete_char(gl, curpos - gl->buff_curpos + 1, NULL);
4485 return gl_backward_delete_char(gl, ++gl->buff_curpos - curpos + 1, NULL);
7255 int curpos = gl_index_of_matching_paren(gl); local
7256 if(curpos >= 0) {
7258 if(curpos >= gl->buff_curpos)
7259 return gl_forward_copy_char(gl, curpos - gl->buff_curpos + 1, NULL);
7261 return gl_backward_copy_char(gl, ++gl->buff_curpos - curpos
7991 int curpos = gl_index_of_matching_paren(gl); local
8166 int curpos = gl_index_of_matching_paren(gl); local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.h679 int curpos; member in struct:audiohd_port
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c2512 off_t curpos, noff, datasize; local
2524 curpos = 0;
2526 if (curpos != hl->hl_data) {
2534 datasize = hl->hl_data - curpos;
2549 curpos = hl->hl_data;
2583 curpos += datasize;
2899 off_t curpos, npos; local
2902 curpos = 0;
2906 npos = lseek(Ifile, curpos, SEEK_DATA);
2929 curpos
[all...]

Completed in 147 milliseconds