Searched refs:cpos (Results 1 - 22 of 22) sorted by relevance

/freebsd-11-stable/contrib/less/
H A Dlinenum.c272 POSITION cpos; local
322 for (linenum = p->line, cpos = p->pos; cpos < pos; linenum++)
327 cpos = forw_raw_line(cpos, (char **)NULL, (int *)NULL);
332 if (cpos == NULL_POSITION)
339 add_lnum(linenum, cpos);
344 if (cpos > pos)
353 for (linenum = p->line, cpos = p->pos; cpos > po
385 POSITION cpos; local
[all...]
H A Dscreen.c1482 COORD cpos; local
1486 cpos.X = csbi.srWindow.Left + (col - 1);
1487 cpos.Y = csbi.srWindow.Top + (row - 1);
1488 SetConsoleCursorPosition(con_out, cpos);
2333 COORD cpos;
2339 cpos.X = scr.dwCursorPosition.X;
2340 cpos.Y = scr.dwCursorPosition.Y;
2343 scr.dwSize.X - cpos.X, cpos, &nchars);
2345 scr.dwSize.X - cpos
[all...]
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.y1121 static int cpos, state;
1149 cpos = cp - cbuf;
1150 if (cpos == 0)
1151 cpos = 4;
1152 c = cbuf[cpos];
1153 cbuf[cpos] = '\0';
1156 cbuf[cpos] = c;
1170 if (cbuf[cpos] == ' ') {
1171 cpos++;
1174 cp = &cbuf[cpos];
[all...]
H A Dftpcmd.c3177 static int cpos, state;
3205 cpos = cp - cbuf;
3206 if (cpos == 0)
3207 cpos = 4;
3208 c = cbuf[cpos];
3209 cbuf[cpos] = '\0';
3212 cbuf[cpos] = c;
3226 if (cbuf[cpos] == ' ') {
3227 cpos++;
3230 cp = &cbuf[cpos];
3174 static int cpos, state; local
[all...]
/freebsd-11-stable/contrib/opie/
H A Dftpcmd.y951 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-11-stable/libexec/ftpd/
H A Dftpcmd.y1273 static int cpos;
1304 cpos = cp - cbuf;
1305 if (cpos == 0)
1306 cpos = 4;
1307 c = cbuf[cpos];
1308 cbuf[cpos] = '\0';
1311 cbuf[cpos] = c;
1322 if (cbuf[cpos] == ' ') {
1323 cpos++;
1326 cp = &cbuf[cpos];
[all...]
/freebsd-11-stable/bin/pax/
H A Dar_io.c458 off_t cpos; local
476 if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) ||
477 (ftruncate(arfd, cpos) < 0)) {
604 off_t cpos; local
635 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0)
637 cpos -= (off_t)res;
638 if (ftruncate(arfd, cpos) < 0)
722 off_t cpos; local
771 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0)
773 mpos = fsbz - (cpos
807 off_t cpos; local
866 off_t cpos; local
[all...]
/freebsd-11-stable/usr.bin/sort/
H A Dcoll.c274 size_t cpos = 0; local
277 while (cpos < BWSLEN(s)) {
280 isblank = iswblank(BWS_GET(s, cpos));
285 return (cpos);
288 ++cpos;
292 return (cpos);
294 size_t cpos = 0; local
296 while (cpos < BWSLEN(s)) {
297 if (BWS_GET(s,cpos) == (wchar_t)sort_opts_vals.field_sep) {
300 return (cpos
[all...]
/freebsd-11-stable/usr.bin/xlint/lint1/
H A Dfunc.c857 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 Ddecl.c2769 pos_t cpos; local
2774 STRUCT_ASSIGN(cpos, curr_pos);
2788 STRUCT_ASSIGN(curr_pos, cpos);
2935 pos_t cpos; local
2940 STRUCT_ASSIGN(cpos, curr_pos);
2955 STRUCT_ASSIGN(curr_pos, cpos);
3035 pos_t cpos; local
3040 STRUCT_ASSIGN(cpos, curr_pos);
3051 STRUCT_ASSIGN(curr_pos, cpos);
/freebsd-11-stable/contrib/wpa/src/eap_server/
H A Deap_server_psk.c221 const u8 *cpos; local
228 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData,
230 if (cpos == NULL || left < sizeof(*resp)) {
234 resp = (const struct eap_psk_hdr_2 *) cpos;
235 cpos = (const u8 *) (resp + 1);
239 data->id_p = os_memdup(cpos, left);
/freebsd-11-stable/usr.bin/mkuzip/
H A Dmkuzip.c371 off_t cpos; local
377 cpos = lseek(fd, 0, SEEK_CUR);
378 if (cpos < 0) {
382 rval->info.offset = cpos;
/freebsd-11-stable/sys/kern/
H A Dvfs_default.c74 char **cpos, int *len, int *eofflag,
270 int dirbuflen, off_t *off, char **cpos, int *len,
306 *cpos = dirbuf;
313 dp = (struct dirent *)(*cpos);
321 *cpos += reclen;
333 char *dirbuf, *cpos; local
357 &cpos, &len, &eofflag, td);
820 char *dirbuf, *cpos; local
886 &cpos, &len, &eofflag, td);
269 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-11-stable/contrib/wpa/src/eap_peer/
H A Deap_psk.c92 const u8 *cpos; local
96 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len);
97 hdr1 = (const struct eap_psk_hdr_1 *) cpos;
98 if (cpos == NULL || len < sizeof(*hdr1)) {
/freebsd-11-stable/crypto/openssl/crypto/modes/asm/
H A Dghash-parisc.pl691 my $cpos=63-$3;
692 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode sa
709 my $cpos=63-$2;
711 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode pos
/freebsd-11-stable/sys/fs/nfsserver/
H A Dnfs_nfsdport.c1573 char *cpos, *cend, *rbuf; local
1705 cpos = rbuf;
1707 dp = (struct dirent *)cpos;
1717 while (cpos < cend && ncookies > 0 &&
1720 cpos += dp->d_reclen;
1721 dp = (struct dirent *)cpos;
1725 if (cpos >= cend || ncookies == 0) {
1748 while (cpos < cend && ncookies > 0) {
1782 cpos += dp->d_reclen;
1783 dp = (struct dirent *)cpos;
1817 char *cpos, *cend, *rbuf; local
[all...]
/freebsd-11-stable/contrib/libreadline/
H A Ddisplay.c1800 int cpos, dpos; /* current and desired cursor positions */ local
1803 cpos = _rl_last_c_pos;
1834 if (cpos == dpos)
1854 cpos = _rl_last_c_pos = 0;
1857 if (cpos < dpos)
1880 for (i = cpos; i < dpos; i++)
1891 for (i = cpos; i < new; i++)
1901 else if (cpos > dpos)
1902 _rl_backspace (cpos - dpos);
/freebsd-11-stable/contrib/wpa/src/rsn_supp/
H A Dtdls.c1792 const u8 *cpos; local
1812 cpos = buf;
1813 cpos += 1 /* pkt_type */ + 1 /* Category */ + 1 /* Action */;
1816 dtoken = *cpos++; /* dialog token */
1861 peer->capability = WPA_GET_LE16(cpos);
1862 cpos += 2;
1864 ielen = len - (cpos - buf); /* start of IE in buf */
1871 if (wpa_supplicant_parse_ies(cpos, ielen, &kde) < 0)
/freebsd-11-stable/crypto/openssl/crypto/sha/asm/
H A Dsha512-parisc.pl745 my $cpos=63-$3;
746 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode sa
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/
H A Dparisc-mont.pl961 my $cpos=63-$3;
962 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode sa
/freebsd-11-stable/contrib/libgnuregex/
H A Dregexec.c1969 int dst, cpos;
1994 cpos =
1997 if (cpos == -1 /* && (boundaries & 1) */)
1999 if (cpos == 0 && (boundaries & 2))
1966 int dst, cpos; local
/freebsd-11-stable/contrib/expat/lib/
H A Dxmlparse.c6837 XML_Content *cpos; local
6847 cpos = &ret[1];
6849 build_node(parser, 0, ret, &cpos, &str);

Completed in 528 milliseconds