/freebsd-10-stable/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 71 unsigned short in_cksum (unsigned short *ptr, int nbytes) { argument 77 while (nbytes > 1) 80 nbytes -= 2; 83 if (nbytes == 1)
|
/freebsd-10-stable/usr.bin/hexdump/ |
H A D | display.c | 313 peek(u_char *buf, size_t nbytes) argument 318 if (length != -1 && nbytes > (unsigned int)length) 319 nbytes = length; 321 while (nread < nbytes && (c = getchar()) != EOF) {
|
/freebsd-10-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_iocp.c | 215 ev_ssize_t nbytes, int ok) 218 evbuffer_commit_read_(rbuf, nbytes); 226 ev_ssize_t nbytes, int ok) 229 evbuffer_commit_write_(wbuf, nbytes); 214 read_complete(struct event_overlapped *eo, uintptr_t key, ev_ssize_t nbytes, int ok) argument 225 write_complete(struct event_overlapped *eo, uintptr_t key, ev_ssize_t nbytes, int ok) argument
|
/freebsd-10-stable/contrib/ntp/ntpd/ |
H A D | refclock_datum.c | 146 char nbytes; /* number of bytes received from datum pts */ member in struct:datum_pts_unit 387 datum_pts->nbytes = 0; 530 nb = datum_pts->nbytes; 544 datum_pts->nbytes = nb;
|
/freebsd-10-stable/sbin/dhclient/ |
H A D | packet.c | 59 checksum(unsigned char *buf, unsigned nbytes, u_int32_t sum) argument 64 for (i = 0; i < (nbytes & ~1U); i += 2) { 75 if (i < nbytes) {
|
/freebsd-10-stable/tools/regression/netinet/ipbroadcast/ |
H A D | ipbroadcast.c | 130 ssize_t nbytes; local 356 nbytes = sendmsg(s, &msg, (dontroute ? MSG_DONTROUTE : 0)); 357 if (nbytes == -1) {
|
/freebsd-10-stable/usr.bin/showmount/ |
H A D | showmount.c | 118 int ch, estat, nbytes; local 221 nbytes = strsnvis(strvised, sizeof(strvised), 223 if (nbytes == -1)
|
/freebsd-10-stable/usr.sbin/nscd/ |
H A D | query.c | 1109 query_io_buffer_read(struct query_state *qstate, void *buf, size_t nbytes) argument 1122 if (nbytes < remaining) 1123 result = nbytes; 1148 size_t nbytes) 1161 if (nbytes < remaining) 1162 result = nbytes; 1185 query_socket_read(struct query_state *qstate, void *buf, size_t nbytes) argument 1195 result = read(qstate->sockfd, buf, nbytes); 1196 if (result < 0 || (size_t)result < nbytes) 1207 query_socket_write(struct query_state *qstate, const void *buf, size_t nbytes) argument 1147 query_io_buffer_write(struct query_state *qstate, const void *buf, size_t nbytes) argument [all...] |
/freebsd-10-stable/crypto/heimdal/lib/krb5/ |
H A D | send_to_kdc.c | 59 int nbytes; local 83 if (rk_SOCK_IOCTL (fd, FIONREAD, &nbytes) < 0) { 87 if(nbytes <= 0) 91 nbytes = min((size_t)nbytes, limit - rep->length); 93 tmp = realloc (rep->data, rep->length + nbytes); 99 ret = recv (fd, (char*)tmp + rep->length, nbytes, 0);
|
/freebsd-10-stable/contrib/file/src/ |
H A D | compress.c | 188 const unsigned char *buf, size_t nbytes) 208 if (nbytes < compr[i].maglen) 220 nsz = nbytes; 250 if (file_buffer(ms, -1, NULL, buf, nbytes) == -1) 379 size_t nbytes) 409 if (swrite(tfd, startbuf, nbytes) != (ssize_t)nbytes) 187 file_zmagic(struct magic_set *ms, int fd, const char *name, const unsigned char *buf, size_t nbytes) argument 378 file_pipe2file(struct magic_set *ms, int fd, const void *startbuf, size_t nbytes) argument
|
H A D | der.c | 241 der_offs(struct magic_set *ms, struct magic *m, size_t nbytes) argument 244 size_t offs = 0, len = ms->search.s_len ? ms->search.s_len : nbytes; 262 if (offs + tlen > nbytes)
|
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_subr.c | 879 dt_string2str(char *s, char *str, int nbytes) argument 883 if (nbytes == 0) { 891 if (nbytes <= len) { 892 (void) strncpy(str, s, nbytes - 1); 897 str[nbytes - 1] = '\0'; 906 dtrace_addr2str(dtrace_hdl_t *dtp, uint64_t addr, char *str, int nbytes) argument 940 return (dt_string2str(s, str, nbytes)); 945 uint64_t addr, char *str, int nbytes) 957 return (dt_string2str(c, str, nbytes)); 983 return (dt_string2str(c, str, nbytes)); 944 dtrace_uaddr2str(dtrace_hdl_t *dtp, pid_t pid, uint64_t addr, char *str, int nbytes) argument [all...] |
/freebsd-10-stable/lib/libc/db/btree/ |
H A D | bt_delete.c | 466 u_int32_t nbytes; local 486 nbytes = NBLEAF(bl); 488 memmove(from + nbytes, from, (char *)to - from); 489 h->upper += nbytes; 495 ip[0] += nbytes; 497 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
|
/freebsd-10-stable/contrib/apr/strings/ |
H A D | apr_strings.c | 178 apr_size_t nvec, apr_size_t *nbytes) 193 if (nbytes) { 194 *nbytes = len; 177 apr_pstrcatv(apr_pool_t *a, const struct iovec *vec, apr_size_t nvec, apr_size_t *nbytes) argument
|
/freebsd-10-stable/contrib/binutils/libiberty/ |
H A D | obstack.c | 398 register int nbytes = 0; 402 nbytes += lp->limit - (char *) lp; 404 return nbytes; 395 register int nbytes = 0; local
|
/freebsd-10-stable/contrib/gcclibs/libiberty/ |
H A D | obstack.c | 398 register int nbytes = 0; 402 nbytes += lp->limit - (char *) lp; 404 return nbytes; 395 register int nbytes = 0; local
|
/freebsd-10-stable/lib/libc/db/mpool/ |
H A D | mpool.libtp | 188 int nbytes; 578 int nbytes; 588 nbytes = write(fd, buf_table[bhp-bufhdr_table], BUFSIZE); 592 if ( nbytes < 0 ) { 595 } else if ( nbytes != BUFSIZE ) { 596 error_log1 ("Short write: %d bytes of %d\n", nbytes, BUFSIZE );
|
/freebsd-10-stable/lib/libc/net/ |
H A D | ip6opt.c | 70 inet6_option_space(int nbytes) argument 72 nbytes += 2; /* we need space for nxt-hdr and length fields */ 73 return(CMSG_SPACE((nbytes + 7) & ~7));
|
/freebsd-10-stable/sbin/dump/ |
H A D | dump.h | 110 ssize_t cread(int fd, void *buf, size_t nbytes, off_t offset);
|
/freebsd-10-stable/sys/geom/raid3/ |
H A D | g_raid3.h | 185 g_raid3_zone(size_t nbytes) { argument 186 if (nbytes > 65536) 188 else if (nbytes > 16384) 190 else if (nbytes > 4096)
|
/freebsd-10-stable/crypto/openssl/engines/vendor_defns/ |
H A D | cswift.h | 153 SW_U32 nbytes; /* number of bytes in the buffer "value" */ member in struct:_SW_LARGENUMBER
|
/freebsd-10-stable/lib/libthr/thread/ |
H A D | thr_syscalls.c | 393 __thr_read(int fd, void *buf, size_t nbytes) argument 400 ret = __sys_read(fd, buf, nbytes); 591 __thr_write(int fd, const void *buf, size_t nbytes) argument 598 ret = __sys_write(fd, buf, nbytes);
|
/freebsd-10-stable/contrib/binutils/gas/config/ |
H A D | tc-cr16.c | 111 l_cons (int nbytes) argument 127 if (nbytes == 0) 128 nbytes = TC_ADDRESS_BYTES (); 132 md_cons_align (nbytes); 138 unsigned int bits_available = BITS_PER_CHAR * nbytes; 174 (unsigned int)(BITS_PER_CHAR * nbytes)) 176 as_warn (_("field width %lu too big to fit in %d bytes: truncated to %d bits"), width, nbytes, (BITS_PER_CHAR * nbytes)); 177 width = BITS_PER_CHAR * nbytes; 205 << ((BITS_PER_CHAR * nbytes) [all...] |
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | roken-common.h | 348 eread (int fd, void *buf, size_t nbytes); 352 ewrite (int fd, const void *buf, size_t nbytes);
|
/freebsd-10-stable/sbin/ipfw/ |
H A D | nat.c | 921 int cmd, i, nbytes, do_cfg, do_rule, frule, lrule, nalloc, size; local 953 nbytes = nalloc; 954 while (nbytes >= nalloc) { 956 nbytes = nalloc; 957 data = safe_realloc(data, nbytes); 958 if (do_cmd(cmd, data, (uintptr_t)&nbytes) < 0) 962 if (nbytes == 0) 980 if (p == data + nbytes)
|