/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | net_read.c | 47 char *cbuf = (char *)buf; local 52 count = read (fd, cbuf, rem); 61 cbuf += count; 72 char *cbuf = (char *)buf; local 83 count = _read (sock, cbuf, rem); 85 count = recv (sock, cbuf, rem, 0); 93 count = _read (sock, cbuf, rem); 96 count = recv (sock, cbuf, rem, 0); 112 cbuf += count;
|
H A D | net_write.c | 47 const char *cbuf = (const char *)buf; local 52 count = write (fd, cbuf, rem); 59 cbuf += count; 70 const char *cbuf = (const char *)buf; local 80 count = _write (sock, cbuf, rem); 82 count = send (sock, cbuf, rem, 0); 90 count = _write (sock, cbuf, rem); 93 count = send (sock, cbuf, rem, 0); 101 cbuf += count;
|
/freebsd-10.0-release/sys/boot/ofw/libofw/ |
H A D | ofw_console.c | 75 char cbuf; local 78 cbuf = '\r'; 79 OF_write(stdout, &cbuf, 1); 82 cbuf = c; 83 OF_write(stdout, &cbuf, 1);
|
/freebsd-10.0-release/usr.bin/tip/libacu/ |
H A D | biz22.c | 64 char cbuf[40]; local 76 (void)strlcpy(cbuf, "\02.\r", sizeof cbuf); 77 cbuf[1] = *mod; 78 if (cmd(cbuf)) { 82 (void)snprintf(cbuf, sizeof(cbuf), "\02D%s\r", num); 83 write(FD, cbuf, strlen(cbuf));
|
/freebsd-10.0-release/contrib/ntp/libntp/ |
H A D | dolfptoa.c | 23 u_char cbuf[24]; local 36 memset((char *) cbuf, 0, sizeof(cbuf)); 50 cp = cpend = &cbuf[10]; 60 if (cp < cbuf) abort(); /* rather die a horrible death than trash the memory */ 73 if (cp < cbuf) abort(); /* rather die a horrible death than trash the memory */ 86 cpdec = &cbuf[13]; 91 cpdec = &cbuf[10]; 123 if (cpend > (cbuf + sizeof(cbuf))) abor [all...] |
H A D | dofptoa.c | 22 u_char cbuf[12]; local 35 memset((char *)cbuf, 0, sizeof cbuf); 41 cp = cpend = &cbuf[5]; 68 cpdec = &cbuf[8];
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | ddt_zap.c | 60 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local 70 ASSERT(csize <= sizeof (cbuf)); 73 DDT_KEY_WORDS, 1, csize, cbuf); 77 ddt_decompress(cbuf, dde->dde_phys, csize, sizeof (dde->dde_phys)); 92 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local 95 csize = ddt_compress(dde->dde_phys, cbuf, 96 sizeof (dde->dde_phys), sizeof (cbuf)); 99 DDT_KEY_WORDS, 1, csize, cbuf, tx)); 118 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local 122 DDT_KEY_WORDS, 1, csize, cbuf); [all...] |
/freebsd-10.0-release/crypto/heimdal/lib/krb5/ |
H A D | net_write.c | 56 const char *cbuf = (const char *)buf; local 85 count = send (fd, cbuf, rem, 0); 101 count = write (fd, cbuf, rem); 112 cbuf += count;
|
/freebsd-10.0-release/libexec/bootpd/ |
H A D | getether.c | 198 struct strbuf cbuf; 234 cbuf.buf = tmpbuf; 235 cbuf.len = DL_ATTACH_REQ_SIZE; 236 if (putmsg(fd, &cbuf, NULL, 0) < 0) { 241 cbuf.buf = tmpbuf; 242 cbuf.maxlen = sizeof(tmpbuf); 244 if (getmsg(fd, &cbuf, NULL, &flags) < 0) { 276 cbuf.buf = tmpbuf; 277 cbuf.len = DL_BIND_REQ_SIZE; 278 if (putmsg(fd, &cbuf, NUL 195 struct strbuf cbuf; local [all...] |
/freebsd-10.0-release/sys/netgraph/ |
H A D | ng_parse.c | 108 const u_char *data, int *off, char *cbuf, int cbuflen, 158 const u_char *data, char *cbuf, int cbuflen) 162 return INVOKE(type, unparse)(type, data, &off, cbuf, cbuflen); 193 const u_char *data, int *off, char *cbuf, int cbuflen) 195 return ng_unparse_composite(type, data, off, cbuf, cbuflen, CT_STRUCT); 248 const u_char *data, int *off, char *cbuf, int cbuflen) 251 data, off, cbuf, cbuflen, CT_FIXEDARRAY); 296 const u_char *data, int *off, char *cbuf, int cbuflen) 298 return ng_unparse_composite(type, data, off, cbuf, cbuflen, CT_ARRAY); 354 const u_char *data, int *off, char *cbuf, in 157 ng_unparse(const struct ng_parse_type *type, const u_char *data, char *cbuf, int cbuflen) argument 192 ng_struct_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 247 ng_fixedarray_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 295 ng_array_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 353 ng_int8_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 449 ng_int16_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 548 ng_int32_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 643 ng_int64_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 737 ng_string_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 806 ng_fixedstring_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 909 ng_sizedstring_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 973 ng_ipaddr_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 1043 ng_enaddr_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 1131 ng_bytearray_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 1376 ng_unparse_composite(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen, const enum comptype ctype) argument 1729 char *cbuf, *p; local 1817 char *cbuf; local [all...] |
/freebsd-10.0-release/contrib/ntp/ntpd/ |
H A D | refclock_bancomm.c | 375 char cbuf[7]; local 408 sprintf(cbuf,"%3.3x", ((vts.btfp_time[ 0 ] & 0x000f) <<8) + 410 time_vme->day = (unsigned short)atoi(cbuf); 413 sprintf(cbuf,"%2.2x", vts.btfp_time[ 1 ] & 0x00ff); 415 time_vme->hr = (unsigned short)atoi(cbuf); 418 sprintf(cbuf,"%2.2x", (vts.btfp_time[ 2 ] & 0xff00) >>8); 419 time_vme->mn = (unsigned short)atoi(cbuf); 422 sprintf(cbuf,"%2.2x", vts.btfp_time[ 2 ] & 0x00ff); 423 time_vme->sec = (unsigned short)atoi(cbuf); 428 sprintf(cbuf," [all...] |
/freebsd-10.0-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ftpcmd.y | 56 char cbuf[64*1024]; 1135 if (ftpd_getline(cbuf, sizeof(cbuf)-1) == NULL) { 1141 if (strncasecmp(cbuf, "PASS", 4) != 0) 1142 setproctitle("%s: %s", proctitle, cbuf); 1144 if ((cp = strchr(cbuf, '\r'))) { 1148 if ((cp = strpbrk(cbuf, " \n"))) 1149 cpos = cp - cbuf; 1152 c = cbuf[cpos]; 1153 cbuf[cpo [all...] |
H A D | ftpcmd.c | 255 char cbuf[64*1024]; variable 3191 if (ftpd_getline(cbuf, sizeof(cbuf)-1) == NULL) { 3197 if (strncasecmp(cbuf, "PASS", 4) != 0) 3198 setproctitle("%s: %s", proctitle, cbuf); 3200 if ((cp = strchr(cbuf, '\r'))) { 3204 if ((cp = strpbrk(cbuf, " \n"))) 3205 cpos = cp - cbuf; 3208 c = cbuf[cpos]; 3209 cbuf[cpo [all...] |
/freebsd-10.0-release/contrib/opie/ |
H A D | ftpcmd.y | 147 char cbuf[512]; 219 cbuf, remotehost); 963 if (getline(cbuf, sizeof(cbuf)-1, stdin) == NULL) { 969 if (strncasecmp(cbuf, "PASS", 4) != NULL) 970 setproctitle("%s: %s", proctitle, cbuf); 972 if ((cp = strchr(cbuf, '\r'))) { 976 if ((cp = strpbrk(cbuf, " \n"))) 977 cpos = cp - cbuf; 980 c = cbuf[cpo [all...] |
/freebsd-10.0-release/contrib/byacc/test/ |
H A D | ftp.y | 99 char cbuf[512]; 915 if (get_line(cbuf, sizeof(cbuf)-1, stdin) == 0) { 921 if (strncasecmp(cbuf, "PASS", 4) != 0) 922 setproctitle("%s: %s", proctitle, cbuf); 924 if ((cp = strchr(cbuf, '\r'))) { 928 if ((cp = strpbrk(cbuf, " \n"))) 929 cpos = (int) (cp - cbuf); 932 c = cbuf[cpos]; 933 cbuf[cpo [all...] |
H A D | ftp.tab.c | 172 char cbuf[512]; variable 762 if (get_line(cbuf, sizeof(cbuf)-1, stdin) == 0) { 768 if (strncasecmp(cbuf, "PASS", 4) != 0) 769 setproctitle("%s: %s", proctitle, cbuf); 771 if ((cp = strchr(cbuf, '\r'))) { 775 if ((cp = strpbrk(cbuf, " \n"))) 776 cpos = (int) (cp - cbuf); 779 c = cbuf[cpos]; 780 cbuf[cpo [all...] |
/freebsd-10.0-release/tools/regression/usr.bin/yacc/ |
H A D | ftp.y | 99 char cbuf[512]; 889 if (get_line(cbuf, sizeof(cbuf)-1, stdin) == 0) { 895 if (strncasecmp(cbuf, "PASS", 4) != 0) 896 setproctitle("%s: %s", proctitle, cbuf); 898 if ((cp = strchr(cbuf, '\r'))) { 902 if ((cp = strpbrk(cbuf, " \n"))) 903 cpos = cp - cbuf; 906 c = cbuf[cpos]; 907 cbuf[cpo [all...] |
/freebsd-10.0-release/libexec/ftpd/ |
H A D | ftpcmd.y | 85 char cbuf[512]; 1287 n = getline(cbuf, sizeof(cbuf)-1, stdin); 1298 if (strncasecmp(cbuf, "PASS", 4) != 0) 1299 setproctitle("%s: %s", proctitle, cbuf); 1301 if ((cp = strchr(cbuf, '\r'))) { 1305 if ((cp = strpbrk(cbuf, " \n"))) 1306 cpos = cp - cbuf; 1309 c = cbuf[cpos]; 1310 cbuf[cpo [all...] |
/freebsd-10.0-release/sys/kern/ |
H A D | tty_outq.c | 137 char *cbuf = buf; local 162 memcpy(cbuf, tob->tob_data + cbegin, clen); 163 cbuf += clen; 182 return (cbuf - (char *)buf); 274 const char *cbuf = buf; local 306 memcpy(tob->tob_data + boff, cbuf, l); 308 cbuf += l; 313 return (cbuf - (const char *)buf);
|
/freebsd-10.0-release/sys/dev/ofw/ |
H A D | ofw_console.c | 227 char cbuf; local 230 cbuf = '\r'; 231 OF_write(stdout, &cbuf, 1); 234 cbuf = c; 235 OF_write(stdout, &cbuf, 1);
|
/freebsd-10.0-release/contrib/nvi/vi/ |
H A D | vs_line.c | 52 CHAR_T *cbp, *ecbp, cbuf[128]; local 141 nlen = snprintf((char*)cbuf, 142 sizeof(cbuf), O_NUMBER_FMT, (u_long)smp->lno); 143 (void)gp->scr_addstr(sp, (char*)cbuf, nlen); 340 ecbp = (cbp = cbuf) + SIZE(cbuf) - 1; 411 (void)gp->scr_waddstr(sp, cbuf, cbp - cbuf); \ 412 cbp = cbuf; \ 418 * be larger than cbuf, i [all...] |
/freebsd-10.0-release/sys/powerpc/mambo/ |
H A D | mambo_console.c | 181 char cbuf; local 183 cbuf = c; 184 mambocall(MAMBO_CONSOLE_WRITE, &cbuf, 1UL, 1UL);
|
/freebsd-10.0-release/sys/powerpc/pseries/ |
H A D | phyp_console.c | 326 } cbuf; local 333 memcpy(&cbuf, buffer, bufsize); 340 cbuf.bytes[0] = VS_DATA_PACKET_HEADER; 341 cbuf.bytes[1] = 4 + bufsize; /* total length */ 342 cbuf.bytes[2] = (seqno >> 8) & 0xff; 343 cbuf.bytes[3] = seqno & 0xff; 344 memcpy(&cbuf.bytes[4], buffer, bufsize); 348 phyp_hcall(H_PUT_TERM_CHAR, sc->vtermid, len, cbuf.u64, 0);
|
/freebsd-10.0-release/contrib/less/ |
H A D | command.c | 206 register char *cbuf; local 209 cbuf = get_cmdbuf(); 215 multi_search(cbuf, (int) number); 220 set_filter_pattern(cbuf, search_type); 227 while (*cbuf == '+' || *cbuf == ' ') 228 cbuf++; 231 if (*cbuf == '\0') 234 every_first_cmd = save(cbuf); 237 toggle_option(curropt, opt_lower, cbuf, optfla 1013 register char *cbuf; local [all...] |
/freebsd-10.0-release/gnu/usr.bin/rcs/lib/ |
H A D | rcsbase.h | 347 struct cbuf { struct 360 struct cbuf log; /* log message requested at checkin */ 362 struct cbuf ig; /* ignored phrases in admin part */ 363 struct cbuf igtext; /* ignored phrases in deltatext part */ 509 struct cbuf bufremember P((struct buf*,size_t)); 525 struct cbuf cleanlogmsg P((char*,size_t)); 526 struct cbuf getsstdin P((char const*,char const*,char const*,struct buf*)); 568 struct cbuf getphrases P((char const*)); 569 struct cbuf savestring P((struct buf*)); 660 extern struct cbuf Commen [all...] |