/freebsd-10.1-release/crypto/heimdal/lib/gssapi/krb5/ |
H A D | display_name.c | 46 char *buf; local 52 KRB5_PRINCIPAL_UNPARSE_DISPLAY, &buf); 57 len = strlen (buf); 61 free (buf); 65 memcpy (output_name_buffer->value, buf, len); 67 free (buf);
|
/freebsd-10.1-release/crypto/heimdal/lib/krb5/ |
H A D | crypto-rand.c | 43 char buf[1024], seedfile[256]; local 53 ret = read(fd, buf, sizeof(buf)); 55 RAND_add(buf, ret, 0.0); 94 krb5_generate_random_block(void *buf, size_t len) argument 107 if (RAND_bytes(buf, len) <= 0)
|
/freebsd-10.1-release/crypto/heimdal/lib/roken/ |
H A D | readv.c | 44 char *buf, *p; local 48 buf = malloc(tot); 49 if (tot != 0 && buf == NULL) { 53 nb = ret = read (d, buf, tot); 54 p = buf; 62 free(buf);
|
H A D | recvmsg.c | 44 char *buf, *p; local 49 buf = malloc(tot); 50 if (tot != 0 && buf == NULL) { 54 nb = ret = recvfrom (s, buf, tot, flags, msg->msg_name, &msg->msg_namelen); 55 p = buf; 64 free(buf);
|
H A D | writev.c | 44 char *buf, *p; local 48 buf = malloc(tot); 49 if (tot != 0 && buf == NULL) { 53 p = buf; 58 ret = write (d, buf, tot); 59 free (buf);
|
/freebsd-10.1-release/lib/libz/ |
H A D | adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 19 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); 20 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); 21 #define DO8(buf,i) DO4(buf, [all...] |
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | adler32.c | 15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 16 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); 17 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); 18 #define DO8(buf,i) DO4(buf, [all...] |
/freebsd-10.1-release/usr.sbin/asf/ |
H A D | asf_prog.c | 48 char buf[LINE_MAX]; local 61 while (fgets(buf, sizeof(buf), kldstat)) { 63 if (buf[0] == 'I' || strstr(buf, KERNFILE)) 65 tokens = tokenize(buf, token, MAXTOKEN);
|
/freebsd-10.1-release/usr.sbin/pw/ |
H A D | fileupd.c | 45 extendline(char **buf, int * buflen, int needed) argument 48 char *tmp = realloc(*buf, needed); 51 *buf = tmp; 58 extendarray(char ***buf, int * buflen, int needed) argument 61 char **tmp = realloc(*buf, needed * sizeof(char *)); 64 *buf = tmp;
|
/freebsd-10.1-release/crypto/openssl/crypto/asn1/ |
H A D | t_pkey.c | 66 unsigned char *buf, int off) 89 buf[0] = 0; 93 n = BN_bn2bin(num, &buf[1]); 95 if (buf[1] & 0x80) 98 buf++; 105 if (BIO_printf(bp, "%02x%s", buf[i], ((i + 1) == n) ? "" : ":") 65 ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, unsigned char *buf, int off) argument
|
/freebsd-10.1-release/contrib/ncurses/ncurses/trace/ |
H A D | visbuf.c | 93 _nc_visbuf2n(int bufnum, const char *buf, int len) argument 99 if (buf == 0) 101 if (buf == CANCELLED_STRING) 105 len = (int) strlen(buf); 118 while ((--len >= 0) && (c = *buf++) != '\0') { 130 _nc_visbuf2(int bufnum, const char *buf) argument 132 return _nc_visbuf2n(bufnum, buf, -1); 136 _nc_visbuf(const char *buf) argument 138 return _nc_visbuf2(0, buf); 142 _nc_visbufn(const char *buf, in argument 164 _nc_viswbuf2n(int bufnum, const wchar_t *buf, int len) argument 207 _nc_viswbuf2(int bufnum, const wchar_t *buf) argument 213 _nc_viswbuf(const wchar_t *buf) argument 219 _nc_viswbufn(const wchar_t *buf, int len) argument 226 _nc_viswibuf(const wint_t *buf) argument 249 _nc_viscbuf2(int bufnum, const NCURSES_CH_T * buf, int len) argument 327 _nc_viscbuf(const NCURSES_CH_T * buf, int len) argument [all...] |
/freebsd-10.1-release/sys/dev/dcons/ |
H A D | dcons.c | 103 c = ch->buf[ch->pos]; 120 ch->buf[ch->pos] = c; 130 dcons_init_port(int port, int offset, int size, struct dcons_buf *buf, argument 142 dc->o.buf = (char *)buf + offset; 143 dc->i.buf = dc->o.buf + osize; 146 dc->o.ptr = &buf->optr[port]; 147 dc->i.ptr = &buf->iptr[port]; 149 buf 160 dcons_load_buffer(struct dcons_buf *buf, int size, struct dcons_softc *sc) argument 196 dcons_init(struct dcons_buf *buf, int size, struct dcons_softc *sc) argument [all...] |
/freebsd-10.1-release/contrib/ldns/compat/ |
H A D | timegm.c | 23 char buf[256]; local 24 snprintf(buf, sizeof(buf), "TZ=%s", tz);
|
/freebsd-10.1-release/contrib/libyaml/tests/ |
H A D | test-version.c | 17 char buf[64]; local 20 sprintf(buf, "%d.%d.%d", major, minor, patch); 21 assert(strcmp(buf, yaml_get_version_string()) == 0);
|
/freebsd-10.1-release/contrib/unbound/compat/ |
H A D | ctime_r.c | 23 char *ctime_r(const time_t *timep, char *buf) argument 35 if(buf && result) { 38 strcpy(buf, result);
|
/freebsd-10.1-release/gnu/usr.bin/gdb/gdbserver/ |
H A D | fbsd-i386-low.c | 68 i386_fill_gregset (void *buf) argument 73 collect_register (i, ((char *) buf) + i386_regmap[i]); 78 i386_store_gregset (const void *buf) argument 83 supply_register (i, ((char *) buf) + i386_regmap[i]); 88 i386_fill_fpregset (void *buf) argument 90 i387_cache_to_fsave (buf); 94 i386_store_fpregset (const void *buf) argument 96 i387_fsave_to_cache (buf); 100 i386_fill_fpxregset (void *buf) argument 102 i387_cache_to_fxsave (buf); 106 i386_store_fpxregset(const void *buf) argument [all...] |
/freebsd-10.1-release/lib/libc/locale/ |
H A D | wctob.c | 45 char buf[MB_LEN_MAX]; local 48 if (c == WEOF || XLOCALE_CTYPE(locale)->__wcrtomb(buf, c, &mbs) != 1) 50 return ((unsigned char)*buf);
|
/freebsd-10.1-release/sys/dev/ppbus/ |
H A D | ppbio.h | 37 #define ppb_outsb_epp(dev,buf,cnt) \ 38 (PPBUS_IO(device_get_parent(dev), PPB_OUTSB_EPP, buf, cnt, 0)) 39 #define ppb_outsw_epp(dev,buf,cnt) \ 40 (PPBUS_IO(device_get_parent(dev), PPB_OUTSW_EPP, buf, cnt, 0)) 41 #define ppb_outsl_epp(dev,buf,cnt) \ 42 (PPBUS_IO(device_get_parent(dev), PPB_OUTSL_EPP, buf, cnt, 0)) 44 #define ppb_insb_epp(dev,buf,cnt) \ 45 (PPBUS_IO(device_get_parent(dev), PPB_INSB_EPP, buf, cnt, 0)) 46 #define ppb_insw_epp(dev,buf,cnt) \ 47 (PPBUS_IO(device_get_parent(dev), PPB_INSW_EPP, buf, cn [all...] |
/freebsd-10.1-release/sys/ofed/include/net/ |
H A D | ipv6.h | 42 char *buf) 47 buf[0] = 0; 48 buf[1] = 0xff; 49 buf[2] = 0xff; 50 buf[3] = 0xff; 51 buf[4] = 0xff; 52 buf[5] = 0x10 | scope; 53 buf[6] = 0x60; 54 buf[7] = 0x1b; 55 buf[ 41 ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, char *buf) argument [all...] |
/freebsd-10.1-release/usr.sbin/bluetooth/sdpd/ |
H A D | dun.c | 41 uint8_t *buf, uint8_t const * const eob, 49 buf, eob, 56 uint8_t *buf, uint8_t const * const eob, 65 buf, eob, 72 uint8_t *buf, uint8_t const * const eob, 78 buf, eob, 84 uint8_t *buf, uint8_t const * const eob, 91 buf, eob, 97 uint8_t *buf, uint8_t const * const eob, 103 if (buf 40 dun_profile_create_service_class_id_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument 55 dun_profile_create_bluetooth_profile_descriptor_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument 71 dun_profile_create_service_name( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument 83 dun_profile_create_protocol_descriptor_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument 96 dun_profile_create_audio_feedback_support( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument [all...] |
/freebsd-10.1-release/usr.sbin/mlxcontrol/ |
H A D | util.c | 47 static char buf[32]; local 49 sprintf(buf, "%s%s", _PATH_DEV, ctrlrname(unit)); 50 return(buf); 57 static char buf[32]; local 59 sprintf(buf, "mlx%d", unit); 60 return(buf); 67 static char buf[32]; local 69 sprintf(buf, "%s%s", _PATH_DEV, drivename(unit)); 70 return(buf); 77 static char buf[3 local [all...] |
/freebsd-10.1-release/sys/compat/linux/ |
H A D | linux_stats.c | 118 (dev = findcdev(buf->st_rdev)) != NULL) { 127 tbuf.st_dev = minor(buf->st_dev) & 0xf; 128 tbuf.st_rdev = buf->st_rdev & 0xff; 138 translate_fd_major_minor(struct thread *td, int fd, struct stat *buf) argument 147 if ((!S_ISCHR(buf->st_mode) && !S_ISBLK(buf->st_mode)) || 154 buf->st_rdev = (major << 8 | minor); 161 buf->st_rdev = (major << 8 | minor); 168 newstat_copyout(struct stat *buf, void *ubuf) argument 173 tbuf.st_dev = minor(buf 196 struct stat buf; local 238 struct stat buf; local 255 stat_copyout(struct stat *buf, void *ubuf) argument 288 struct stat buf; local 310 struct stat buf; local 505 stat64_copyout(struct stat *buf, void *ubuf) argument 541 struct stat buf; local 583 struct stat buf; local 604 struct stat buf; local [all...] |
/freebsd-10.1-release/contrib/atf/atf-c/detail/ |
H A D | sanity.c | 46 char buf[4096]; local 49 vsnprintf(buf, sizeof(buf), fmt, ap); 51 warnx("%s", buf);
|
/freebsd-10.1-release/contrib/groff/src/libs/libgroff/ |
H A D | iftoa.c | 30 static char buf[INT_DIGITS + 3]; local 31 char *p = buf + INT_DIGITS + 2; 33 buf[INT_DIGITS + 2] = '\0'; 55 for (q = buf + INT_DIGITS + 2; q[-1] == '0'; --q)
|
/freebsd-10.1-release/contrib/ipfilter/lib/ |
H A D | printip.c | 30 char buf[INET6_ADDRSTRLEN + 1]; local 33 buf[0] = '\0'; 34 str = inet_ntop(AF_INET6, addr, buf, sizeof(buf) - 1);
|