| /freebsd-head/contrib/less/ |
| HD | linenum.c | 276 POSITION cpos; in find_linenum() local 324 for (linenum = p->line, cpos = p->pos; cpos < pos; linenum++) in find_linenum() 329 cpos = forw_raw_line(cpos, NULL, NULL); in find_linenum() 334 if (cpos == NULL_POSITION) in find_linenum() 341 add_lnum(linenum, cpos); in find_linenum() 346 if (cpos > pos) in find_linenum() 355 for (linenum = p->line, cpos = p->pos; cpos > pos; linenum--) in find_linenum() 360 cpos = back_raw_line(cpos, NULL, NULL); in find_linenum() 365 if (cpos == NULL_POSITION) in find_linenum() 372 add_lnum(linenum, cpos); in find_linenum() [all …]
|
| HD | screen.c | 1543 COORD cpos; in _settextposition() local 1547 cpos.X = csbi.srWindow.Left + (col - 1); in _settextposition() 1548 cpos.Y = csbi.srWindow.Top + (row - 1); in _settextposition() 1549 SetConsoleCursorPosition(con_out, cpos); in _settextposition() 2383 COORD cpos; in clear_eol() 2389 cpos.X = scr.dwCursorPosition.X; in clear_eol() 2390 cpos.Y = scr.dwCursorPosition.Y; in clear_eol() 2393 scr.dwSize.X - cpos.X, cpos, &nchars); in clear_eol() 2395 scr.dwSize.X - cpos.X, cpos, &nchars); in clear_eol()
|
| /freebsd-head/crypto/heimdal/appl/ftp/ftpd/ |
| HD | ftpcmd.y | 1121 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 …]
|
| HD | ftpcmd.c | 3174 static int cpos, state; 3202 cpos = cp - cbuf; 3203 if (cpos == 0) 3204 cpos = 4; 3205 c = cbuf[cpos]; 3206 cbuf[cpos] = '\0'; 3209 cbuf[cpos] = c; 3223 if (cbuf[cpos] == ' ') { 3224 cpos++; 3227 cp = &cbuf[cpos]; [all …]
|
| /freebsd-head/libexec/ftpd/ |
| HD | ftpcmd.y | 1264 static int cpos; 1295 cpos = cp - cbuf; 1296 if (cpos == 0) 1297 cpos = 4; 1298 c = cbuf[cpos]; 1299 cbuf[cpos] = '\0'; 1302 cbuf[cpos] = c; 1313 if (cbuf[cpos] == ' ') { 1314 cpos++; 1317 cp = &cbuf[cpos]; [all …]
|
| /freebsd-head/bin/pax/ |
| HD | ar_io.c | 442 off_t cpos; in ar_set_wr() local 460 if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) || in ar_set_wr() 461 (ftruncate(arfd, cpos) < 0)) { in ar_set_wr() 588 off_t cpos; in ar_write() local 619 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) in ar_write() 621 cpos -= (off_t)res; in ar_write() 622 if (ftruncate(arfd, cpos) < 0) in ar_write() 706 off_t cpos; in ar_rdsync() local 755 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) in ar_rdsync() 757 mpos = fsbz - (cpos % (off_t)fsbz); in ar_rdsync() [all …]
|
| /freebsd-head/usr.bin/sort/ |
| HD | coll.c | 269 size_t cpos = 0; in skip_fields_to_start() local 272 while (cpos < BWSLEN(s)) { in skip_fields_to_start() 275 isblank = iswblank(BWS_GET(s, cpos)); in skip_fields_to_start() 280 return (cpos); in skip_fields_to_start() 283 ++cpos; in skip_fields_to_start() 287 return (cpos); in skip_fields_to_start() 289 size_t cpos = 0; in skip_fields_to_start() local 291 while (cpos < BWSLEN(s)) { in skip_fields_to_start() 292 if (BWS_GET(s,cpos) == (wchar_t)sort_opts_vals.field_sep) { in skip_fields_to_start() 295 return (cpos + 1); in skip_fields_to_start() [all …]
|
| /freebsd-head/contrib/wpa/src/eap_server/ |
| HD | eap_server_psk.c | 221 const u8 *cpos; in eap_psk_process_2() local 228 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, in eap_psk_process_2() 230 if (cpos == NULL || left < sizeof(*resp)) { in eap_psk_process_2() 234 resp = (const struct eap_psk_hdr_2 *) cpos; in eap_psk_process_2() 235 cpos = (const u8 *) (resp + 1); in eap_psk_process_2() 239 data->id_p = os_memdup(cpos, left); in eap_psk_process_2()
|
| /freebsd-head/usr.bin/mkuzip/ |
| HD | mkuzip.c | 429 off_t cpos; in readblock() local 435 cpos = lseek(fd, 0, SEEK_CUR); in readblock() 436 if (cpos < 0) { in readblock() 440 rval->info.offset = cpos; in readblock()
|
| /freebsd-head/crypto/openssl/crypto/modes/asm/ |
| HD | ghash-parisc.pl | 696 my $cpos=63-$3; 697 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode sa 714 my $cpos=63-$2; 716 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode pos
|
| /freebsd-head/contrib/wpa/src/eap_peer/ |
| HD | eap_psk.c | 92 const u8 *cpos; in eap_psk_process_1() local 96 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len); in eap_psk_process_1() 97 hdr1 = (const struct eap_psk_hdr_1 *) cpos; in eap_psk_process_1() 98 if (cpos == NULL || len < sizeof(*hdr1)) { in eap_psk_process_1()
|
| /freebsd-head/contrib/llvm-project/lldb/source/Target/ |
| HD | UnixSignals.cpp | 150 std::map<int32_t, SignalCode>::const_iterator cpos = in GetSignalDescription() local 152 if (cpos != pos->second.m_codes.end()) { in GetSignalDescription() 153 const SignalCode &sc = cpos->second; in GetSignalDescription()
|
| /freebsd-head/contrib/mandoc/ |
| HD | man_macro.c | 211 int cline, cpos, la, nrew, target; in blk_close() local 269 cpos = man->last->pos; in blk_close() 289 blk_imp(man, ctok, cline, cpos, pos, buf); in blk_close()
|
| /freebsd-head/crypto/openssl/crypto/sha/asm/ |
| HD | sha512-parisc.pl | 755 my $cpos=63-$3; 756 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode sa
|
| /freebsd-head/contrib/wpa/src/rsn_supp/ |
| HD | tdls.c | 1949 const u8 *cpos; in wpa_tdls_process_tpk_m1() local 1970 cpos = buf; in wpa_tdls_process_tpk_m1() 1971 cpos += 1 /* pkt_type */ + 1 /* Category */ + 1 /* Action */; in wpa_tdls_process_tpk_m1() 1974 dtoken = *cpos++; /* dialog token */ in wpa_tdls_process_tpk_m1() 2019 peer->capability = WPA_GET_LE16(cpos); in wpa_tdls_process_tpk_m1() 2020 cpos += 2; in wpa_tdls_process_tpk_m1() 2022 ielen = len - (cpos - buf); /* start of IE in buf */ in wpa_tdls_process_tpk_m1() 2029 if (wpa_supplicant_parse_ies(cpos, ielen, &kde) < 0) in wpa_tdls_process_tpk_m1()
|
| /freebsd-head/sys/fs/nfsserver/ |
| HD | nfs_nfsdport.c | 2098 char *cpos, *cend, *rbuf; in nfsrvd_readdir() local 2231 cpos = rbuf; in nfsrvd_readdir() 2233 dp = (struct dirent *)cpos; in nfsrvd_readdir() 2243 while (cpos < cend && ncookies > 0 && in nfsrvd_readdir() 2246 cpos += dp->d_reclen; in nfsrvd_readdir() 2247 dp = (struct dirent *)cpos; in nfsrvd_readdir() 2251 if (cpos >= cend || ncookies == 0) { in nfsrvd_readdir() 2285 while (cpos < cend && ncookies > 0) { in nfsrvd_readdir() 2320 cpos += dp->d_reclen; in nfsrvd_readdir() 2321 dp = (struct dirent *)cpos; in nfsrvd_readdir() [all …]
|
| /freebsd-head/crypto/openssl/crypto/bn/asm/ |
| HD | parisc-mont.pl | 961 my $cpos=63-$3; 962 $opcode |= (($cpos&0x20)<<6)|(($cpos&0x1f)<<5); # encode sa
|