| /src/usr.bin/sort/ |
| append.c | 77 RECHEADER **cpos, **lastkey; local 82 for (cpos = lastkey; cpos-- > keylist;) { 83 crec = *cpos; 88 for (cpos = keylist; cpos < lastkey; cpos++) { 89 crec = *cpos;
|
| /src/external/bsd/less/dist/ |
| linenum.c | 266 POSITION cpos; local 316 for (linenum = p->line, cpos = p->pos; cpos < pos; linenum++) 321 cpos = forw_raw_line(cpos, (char **)NULL, (int *)NULL); 326 if (cpos == NULL_POSITION) 333 add_lnum(linenum, cpos); 338 if (cpos > pos) 347 for (linenum = p->line, cpos = p->pos; cpos > pos; linenum-- 377 POSITION cpos; local [all...] |
| screen.c | 1544 COORD cpos; local 1548 cpos.X = csbi.srWindow.Left + (col - 1); 1549 cpos.Y = csbi.srWindow.Top + (row - 1); 1550 SetConsoleCursorPosition(con_out, cpos); 2386 COORD cpos; 2392 cpos.X = scr.dwCursorPosition.X; 2393 cpos.Y = scr.dwCursorPosition.Y; 2396 scr.dwSize.X - cpos.X, cpos, &nchars); 2398 scr.dwSize.X - cpos.X, cpos, &nchars) [all...] |
| /src/sys/fs/ntfs/ |
| ntfs_compr.c | 54 int pos, cpos; local 69 cpos = 2; 71 while ((cpos < len + 3) && (pos < NTFS_COMPBLOCK_SIZE)) { 72 ctag = cbuf[cpos++]; 80 boff = -1 - (GET_UINT16(cbuf + cpos) >> dshift); 81 blen = 3 + (GET_UINT16(cbuf + cpos) & lmask); 86 cpos += 2; 88 dbuf[pos++] = cbuf[cpos++];
|
| /src/distrib/utils/more/ |
| linenum.c | 269 off_t cpos; local 319 for (lno = p->line, cpos = p->pos; cpos < pos; lno++) 324 cpos = forw_raw_line(cpos); 325 if (sigs || cpos == NULL_POSITION) 341 if (cpos > pos) 351 for (lno = p->line, cpos = p->pos; cpos > pos; lno--) 356 cpos = back_raw_line(cpos) [all...] |
| /src/libexec/ftpd/ |
| ftpcmd.y | 1502 static int cpos, state; 1523 cpos = cp - cmdp; 1524 if (cpos == 0) 1525 cpos = 4; 1526 c = cmdp[cpos]; 1527 cmdp[cpos] = '\0'; 1529 cmdp[cpos] = c; 1547 if (cmdp[cpos] == ' ') { 1548 cpos++; 1551 cp = &cmdp[cpos]; [all...] |
| /src/bin/pax/ |
| ar_io.c | 522 off_t cpos; local 540 if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) || 541 (ftruncate(arfd, cpos) < 0)) { 819 off_t cpos; local 850 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) 852 cpos -= (off_t)res; 853 if (ftruncate(arfd, cpos) < 0) 947 off_t cpos; local 1014 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) 1016 mpos = fsbz - (cpos % (off_t)fsbz) 1050 off_t cpos; local 1116 off_t cpos; local [all...] |
| /src/sys/dev/isa/ |
| pcdisplay.c | 186 int cpos; local 207 cpos = pcdisplay_6845_read(ph, cursorh) << 8; 208 cpos |= pcdisplay_6845_read(ph, cursorl); 211 if (cpos < 0 || cpos >= pcdisplay_scr.nrows * pcdisplay_scr.ncols) 212 cpos = 0; 216 dc->pcs.cursorrow = cpos / pcdisplay_scr.ncols; 217 dc->pcs.cursorcol = cpos % pcdisplay_scr.ncols;
|
| ega.c | 338 int cpos; local 349 cpos = vga_6845_read(&vc->hdl, cursorh) << 8; 350 cpos |= vga_6845_read(&vc->hdl, cursorl); 353 if (cpos < 0 || cpos >= type->nrows * type->ncols) 354 cpos = 0; 364 cpos = 0; 368 scr->pcs.cursorrow = cpos / type->ncols; 369 scr->pcs.cursorcol = cpos % type->ncols;
|
| /src/external/gpl2/xcvs/dist/src/ |
| admin.c | 235 size_t clen = 1024, wlen = 1024, len, cpos = 0, i; local 247 if (clen - cpos < len + 2) { 251 memcpy(&cmd[cpos], word, len); 252 cpos += len; 253 cmd[cpos++] = ' '; 255 if (cpos != 0) 256 cmd[cpos - 1] = '\0'; 258 cmd[cpos] = '\0';
|
| /src/sys/arch/atari/dev/ |
| ite_et.c | 453 u_long cpos; local 468 cpos = RCrt(ba, CRT_ID_START_ADDR_LOW) & 0xff; 469 cpos |= (RCrt(ba, CRT_ID_START_ADDR_HIGH) & 0xff) << 8; 470 cpos += ip->curx + ip->cury * ip->cols; 471 WCrt(ba, CRT_ID_CURSOR_LOC_LOW, cpos & 0xff); 472 WCrt(ba, CRT_ID_CURSOR_LOC_HIGH, (cpos >> 8) & 0xff); 473 WCrt(ba, CTR_ID_EXT_START, (cpos >> (16-2)) & 0x0c);
|
| /src/games/backgammon/common_source/ |
| fancy.c | 196 * bsect (b,rpos,cpos,cnext) 198 * position, "rpos" is the row to start printing, "cpos" is the column to 200 * and negative if it starts at the bottom. The value of "cpos" is checked 205 bsect(int b, int rpos, int cpos, int cnext) 217 if (n < 6 && cpos < 54) /* position cursor at start */ 218 curmove(rpos, cpos + 1); 220 curmove(rpos, cpos); 235 if (cpos == 54) { /* home pos */ 241 if (cpos < 54) { /* not home */
|
| /src/external/bsd/wpa/dist/src/eap_server/ |
| eap_server_psk.c | 221 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);
|
| /src/external/gpl3/binutils/dist/gas/config/ |
| tc-mmix.h | 61 #define md_parse_name(name, exp, mode, cpos) \
|
| /src/external/gpl3/binutils.old/dist/gas/config/ |
| tc-mmix.h | 61 #define md_parse_name(name, exp, mode, cpos) \
|
| /src/sys/kern/ |
| vfs_getcwd.c | 202 char *cpos; local 205 cpos = dirbuf; 211 dp = (struct dirent *) cpos; 240 cpos += reclen;
|
| /src/sys/arch/arm/samsung/ |
| exynos_soc.c | 247 char *cpos; local 252 cpos = sysctl_cpu_freqs_txt; 255 snprintf(cpos, 6, "%d ", val); 256 cpos += (val < 1000) ? 4 : 5; 258 *cpos = 0;
|
| /src/external/bsd/mdocml/dist/ |
| man_macro.c | 206 int cline, cpos, la, nrew, target; local 264 cpos = man->last->pos; 284 blk_imp(man, ctok, cline, cpos, pos, buf);
|
| /src/external/bsd/wpa/dist/src/eap_peer/ |
| eap_psk.c | 92 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)) {
|
| /src/crypto/external/apache2/openssl/dist/crypto/modes/asm/ |
| ghash-parisc.pl | 701 my $cpos=63-$3; 702 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode sa 719 my $cpos=63-$2; 721 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode pos
|
| /src/crypto/external/bsd/openssl/dist/crypto/modes/asm/ |
| ghash-parisc.pl | 701 my $cpos=63-$3; 702 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode sa 719 my $cpos=63-$2; 721 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode pos
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/modes/asm/ |
| ghash-parisc.pl | 698 my $cpos=63-$3; 699 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode sa 716 my $cpos=63-$2; 718 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode pos
|
| /src/sys/fs/nfs/server/ |
| nfs_nfsdport.c | 1578 char *cpos, *cend, *rbuf; local 1710 cpos = rbuf; 1712 dp = (struct dirent *)cpos; 1722 while (cpos < cend && ncookies > 0 && 1725 cpos += dp->d_reclen; 1726 dp = (struct dirent *)cpos; 1730 if (cpos >= cend || ncookies == 0) { 1753 while (cpos < cend && ncookies > 0) { 1787 cpos += dp->d_reclen; 1788 dp = (struct dirent *)cpos; 1822 char *cpos, *cend, *rbuf; local [all...] |
| /src/external/gpl3/gdb/dist/readline/readline/ |
| display.c | 2718 int cpos, dpos; /* current and desired cursor positions */ local 2724 cpos = _rl_last_c_pos; 2726 if (cpos == 0 && cpos == new) 2796 if (cpos == dpos) 2812 cpos = _rl_last_c_pos = 0; 2815 if (cpos < dpos) 2838 for (i = cpos; i < dpos; i++) 2848 puts_face (data + cpos, dataf + cpos, new - cpos) [all...] |
| /src/external/gpl3/gdb.old/dist/readline/readline/ |
| display.c | 2718 int cpos, dpos; /* current and desired cursor positions */ local 2724 cpos = _rl_last_c_pos; 2726 if (cpos == 0 && cpos == new) 2796 if (cpos == dpos) 2812 cpos = _rl_last_c_pos = 0; 2815 if (cpos < dpos) 2838 for (i = cpos; i < dpos; i++) 2848 puts_face (data + cpos, dataf + cpos, new - cpos) [all...] |