/freebsd-9.3-release/contrib/less/ |
H A D | linenum.c | 270 POSITION cpos; local 320 for (linenum = p->line, cpos = p->pos; cpos < pos; linenum++) 325 cpos = forw_raw_line(cpos, (char **)NULL, (int *)NULL); 330 if (cpos == NULL_POSITION) 337 add_lnum(linenum, cpos); 342 if (cpos > pos) 352 for (linenum = p->line, cpos = p->pos; cpos > po 384 POSITION cpos; local [all...] |
H A D | screen.c | 1436 COORD cpos; local 1440 cpos.X = csbi.srWindow.Left + (col - 1); 1441 cpos.Y = csbi.srWindow.Top + (row - 1); 1442 SetConsoleCursorPosition(con_out, cpos); 2122 COORD cpos; 2128 cpos.X = scr.dwCursorPosition.X; 2129 cpos.Y = scr.dwCursorPosition.Y; 2132 scr.dwSize.X - cpos.X, cpos, &nchars); 2134 scr.dwSize.X - cpos [all...] |
/freebsd-9.3-release/sys/fs/ntfs/ |
H A D | ntfs_compr.c | 52 int pos, cpos; local 67 cpos = 2; 69 while ((cpos < len + 3) && (pos < NTFS_COMPBLOCK_SIZE)) { 70 ctag = cbuf[cpos++]; 78 boff = -1 - (GET_UINT16(cbuf + cpos) >> dshift); 79 blen = 3 + (GET_UINT16(cbuf + cpos) & lmask); 84 cpos += 2; 86 buf[pos++] = cbuf[cpos++];
|
/freebsd-9.3-release/contrib/opie/ |
H A D | ftpcmd.y | 951 static int cpos, state; 977 cpos = cp - cbuf; 978 if (cpos == 0) 979 cpos = 4; 980 c = cbuf[cpos]; 981 cbuf[cpos] = '\0'; 984 cbuf[cpos] = c; 998 if (cbuf[cpos] == ' ') { 999 cpos++; 1002 cp = &cbuf[cpos]; [all...] |
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ftpcmd.y | 1139 static int cpos, state; 1167 cpos = cp - cbuf; 1168 if (cpos == 0) 1169 cpos = 4; 1170 c = cbuf[cpos]; 1171 cbuf[cpos] = '\0'; 1174 cbuf[cpos] = c; 1188 if (cbuf[cpos] == ' ') { 1189 cpos++; 1192 cp = &cbuf[cpos]; [all...] |
H A D | ftpcmd.c | 3196 static int cpos, state; 3224 cpos = cp - cbuf; 3225 if (cpos == 0) 3226 cpos = 4; 3227 c = cbuf[cpos]; 3228 cbuf[cpos] = '\0'; 3231 cbuf[cpos] = c; 3245 if (cbuf[cpos] == ' ') { 3246 cpos++; 3249 cp = &cbuf[cpos]; 3193 static int cpos, state; local [all...] |
/freebsd-9.3-release/usr.bin/yacc/test/ |
H A D | ftp.tab.c | 574 static int cpos, state; local 601 cpos = cp - cbuf; 602 if (cpos == 0) 603 cpos = 4; 604 c = cbuf[cpos]; 605 cbuf[cpos] = '\0'; 608 cbuf[cpos] = c; 622 if (cbuf[cpos] == ' ') { 623 cpos++; 626 cp = &cbuf[cpos]; [all...] |
H A D | ftp.y | 834 static int cpos, state; 861 cpos = cp - cbuf; 862 if (cpos == 0) 863 cpos = 4; 864 c = cbuf[cpos]; 865 cbuf[cpos] = '\0'; 868 cbuf[cpos] = c; 882 if (cbuf[cpos] == ' ') { 883 cpos++; 886 cp = &cbuf[cpos]; [all...] |
/freebsd-9.3-release/contrib/lukemftpd/src/ |
H A D | ftpcmd.y | 1500 static int cpos, state; 1521 cpos = cp - cmdp; 1522 if (cpos == 0) 1523 cpos = 4; 1524 c = cmdp[cpos]; 1525 cmdp[cpos] = '\0'; 1527 cmdp[cpos] = c; 1545 if (cmdp[cpos] == ' ') { 1546 cpos++; 1549 cp = &cmdp[cpos]; [all...] |
/freebsd-9.3-release/libexec/ftpd/ |
H A D | ftpcmd.y | 1275 static int cpos; 1306 cpos = cp - cbuf; 1307 if (cpos == 0) 1308 cpos = 4; 1309 c = cbuf[cpos]; 1310 cbuf[cpos] = '\0'; 1313 cbuf[cpos] = c; 1324 if (cbuf[cpos] == ' ') { 1325 cpos++; 1328 cp = &cbuf[cpos]; [all...] |
/freebsd-9.3-release/bin/pax/ |
H A D | ar_io.c | 459 off_t cpos; local 477 if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) || 478 (ftruncate(arfd, cpos) < 0)) { 605 off_t cpos; local 636 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) 638 cpos -= (off_t)res; 639 if (ftruncate(arfd, cpos) < 0) 723 off_t cpos; local 772 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) 774 mpos = fsbz - (cpos 808 off_t cpos; local 867 off_t cpos; local [all...] |
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_getcwd.c | 232 char *cpos; local 235 cpos = dirbuf; 240 dp = (struct dirent *) cpos; 268 cpos += reclen;
|
/freebsd-9.3-release/contrib/wpa/src/eap_server/ |
H A D | eap_server_psk.c | 226 const u8 *cpos; local 233 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, 235 if (cpos == NULL || left < sizeof(*resp)) { 239 resp = (const struct eap_psk_hdr_2 *) cpos; 240 cpos = (const u8 *) (resp + 1); 250 os_memcpy(data->id_p, cpos, left);
|
/freebsd-9.3-release/usr.bin/xlint/lint1/ |
H A D | func.c | 857 pos_t cpos, cspos; local 863 STRUCT_ASSIGN(cpos, curr_pos); 885 STRUCT_ASSIGN(curr_pos, cpos); 1035 pos_t cpos; local 1037 STRUCT_ASSIGN(cpos, curr_pos); 1072 STRUCT_ASSIGN(curr_pos, cpos);
|
H A D | decl.c | 2767 pos_t cpos; local 2772 STRUCT_ASSIGN(cpos, curr_pos); 2786 STRUCT_ASSIGN(curr_pos, cpos); 2933 pos_t cpos; local 2938 STRUCT_ASSIGN(cpos, curr_pos); 2953 STRUCT_ASSIGN(curr_pos, cpos); 3033 pos_t cpos; local 3038 STRUCT_ASSIGN(cpos, curr_pos); 3049 STRUCT_ASSIGN(curr_pos, cpos);
|
/freebsd-9.3-release/contrib/wpa/src/eap_peer/ |
H A D | eap_psk.c | 96 const u8 *cpos; local 100 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len); 101 hdr1 = (const struct eap_psk_hdr_1 *) cpos; 102 if (cpos == NULL || len < sizeof(*hdr1)) {
|
/freebsd-9.3-release/sys/kern/ |
H A D | vfs_default.c | 74 char **cpos, int *len, int *eofflag, 266 int dirbuflen, off_t *off, char **cpos, int *len, 302 *cpos = dirbuf; 309 dp = (struct dirent *)(*cpos); 317 *cpos += reclen; 329 char *dirbuf, *cpos; local 353 &cpos, &len, &eofflag, td); 769 char *dirbuf, *cpos; local 835 &cpos, &len, &eofflag, td); 265 get_next_dirent(struct vnode *vp, struct dirent **dpp, char *dirbuf, int dirbuflen, off_t *off, char **cpos, int *len, int *eofflag, struct thread *td) argument
|
/freebsd-9.3-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 1547 char *cpos, *cend, *rbuf; local 1679 cpos = rbuf; 1681 dp = (struct dirent *)cpos; 1693 while (cpos < cend && ncookies > 0 && 1696 cpos += dp->d_reclen; 1697 dp = (struct dirent *)cpos; 1701 if (cpos >= cend || ncookies == 0) { 1724 while (cpos < cend && ncookies > 0) { 1758 cpos += dp->d_reclen; 1759 dp = (struct dirent *)cpos; 1793 char *cpos, *cend, *rbuf; local [all...] |
/freebsd-9.3-release/contrib/libreadline/ |
H A D | display.c | 1781 int cpos, dpos; /* current and desired cursor positions */ local 1784 cpos = _rl_last_c_pos; 1811 if (cpos == dpos) 1831 cpos = _rl_last_c_pos = 0; 1834 if (cpos < dpos) 1857 for (i = cpos; i < dpos; i++) 1868 for (i = cpos; i < new; i++) 1878 else if (cpos > dpos) 1879 _rl_backspace (cpos - dpos);
|
/freebsd-9.3-release/sys/nfsserver/ |
H A D | nfs_serv.c | 2741 char *cpos, *cend, *rbuf; local 2894 cpos = rbuf; 2896 dp = (struct dirent *)cpos; 2907 while (cpos < cend && ncookies > 0 && 2910 cpos += dp->d_reclen; 2911 dp = (struct dirent *)cpos; 2915 if (cpos >= cend || ncookies == 0) { 2933 while (cpos < cend && ncookies > 0) { 2992 cpos += dp->d_reclen; 2993 dp = (struct dirent *)cpos; 3038 char *cpos, *cend, *rbuf; local [all...] |
/freebsd-9.3-release/gnu/lib/libregex/ |
H A D | regexec.c | 1916 int dst, cpos; 1940 cpos = 1943 if (cpos == -1 /* && (boundaries & 1) */) 1945 if (cpos == 0 && (boundaries & 2)) 1913 int dst, cpos; local
|
/freebsd-9.3-release/contrib/expat/lib/ |
H A D | xmlparse.c | 6383 XML_Content *cpos; local 6393 cpos = &ret[1]; 6395 build_node(parser, 0, ret, &cpos, &str);
|