/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/ |
H A D | xreadlink.c | 61 size_t buf_size = size < MAXSIZE ? size + 1 : MAXSIZE; local 65 char *buffer = xmalloc (buf_size); 66 ssize_t r = readlink (file, buffer, buf_size); 79 if (link_length < buf_size) 86 if (buf_size <= MAXSIZE / 2) 87 buf_size *= 2; 88 else if (buf_size < MAXSIZE) 89 buf_size = MAXSIZE;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/ |
H A D | xreadlink.c | 78 size_t buf_size = sizeof (initial_buf); local 83 ssize_t link_length = readlink (filename, buffer, buf_size); 96 if ((size_t) link_length < buf_size) 113 if ((size_t) link_length < buf_size) 126 buf_size *= 2; 127 if (SSIZE_MAX < buf_size || (SIZE_MAX / 2 < SSIZE_MAX && buf_size == 0)) 133 buffer = (char *) xmalloc (buf_size);
|
H A D | copy-file.c | 61 const size_t buf_size = sizeof (buf); local 78 size_t n_read = safe_read (src_fd, buf, buf_size);
|
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/libgrep/ |
H A D | m-common.c | 74 check_multibyte_string (const char *buf, size_t buf_size) argument 76 char *mb_properties = (char *) malloc (buf_size); 81 memset (mb_properties, 0, sizeof (char) * buf_size); 82 for (i = 0; i < buf_size ;) 85 mbclen = mbrlen (buf + i, buf_size - i, &cur_state);
|
H A D | libgrep.h | 40 const char *buf, size_t buf_size,
|
H A D | m-common.h | 47 check_multibyte_string (const char *buf, size_t buf_size);
|
H A D | m-fgrep.c | 71 Fexecute (const void *compiled_pattern, const char *buf, size_t buf_size, argument 82 mb_properties = check_multibyte_string (buf, buf_size); 85 for (beg = buf; beg <= buf + buf_size; ++beg) 88 kwsexec (ckwset->kwset, beg, buf + buf_size - beg, &kwsmatch); 116 if (beg + len < buf + buf_size && beg[len] != eol) 125 if (try + len < buf + buf_size 154 end = memchr (beg + len, eol, (buf + buf_size) - (beg + len));
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/include/ |
H A D | rpc_tcstp.h | 34 int buf_size; member in struct:tcsd_comm_data
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | build_auth.c | 47 size_t buf_size; local 53 ASN1_MALLOC_ENCODE(EtypeList, buf, buf_size, &etypes, &len, ret); 58 if(buf_size != len) 73 ASN1_MALLOC_ENCODE(AD_IF_RELEVANT, buf, buf_size, &ad, &len, ret); 78 if(buf_size != len) 115 size_t buf_size; local 173 ASN1_MALLOC_ENCODE(Authenticator, buf, buf_size, &auth, &len, ret); 176 if(buf_size != len)
|
H A D | mk_safe.c | 48 size_t buf_size; local 104 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, &s, &len, ret); 107 if(buf_size != len) 128 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, &s, &len, ret); 132 if(buf_size != len)
|
H A D | mk_priv.c | 49 size_t buf_size; local 100 ASN1_MALLOC_ENCODE(EncKrbPrivPart, buf, buf_size, &part, &len, ret); 103 if (buf_size != len) 119 buf + buf_size - len, 130 ASN1_MALLOC_ENCODE(KRB_PRIV, buf, buf_size, &s, &len, ret); 133 if (buf_size != len) 138 ret = krb5_data_copy(outbuf, buf + buf_size - len, len);
|
H A D | mk_rep.c | 47 size_t buf_size; local 96 ASN1_MALLOC_ENCODE(EncAPRepPart, buf, buf_size, &body, &len, ret); 100 if (buf_size != len) 111 buf + buf_size - len,
|
H A D | rd_safe.c | 45 size_t buf_size; local 56 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, safe, &len, ret); 59 if(buf_size != len) 75 buf + buf_size - len,
|
/netbsd-6-1-5-RELEASE/usr.bin/sort/ |
H A D | files.c | 177 static size_t buf_size = DEFLLEN; local 184 buf = malloc(buf_size); 187 buf_size); 190 end = buf + buf_size; 201 buf_size *= 2; 202 new_buf = realloc(buf, buf_size); 205 buf_size); 207 end = new_buf + buf_size;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | ravenscar-sparc-thread.c | 67 int buf_size = register_size (gdbarch, regnum); local 70 buf = (char *) alloca (buf_size); 71 read_memory (register_addr, buf, buf_size); 156 int buf_size = register_size (gdbarch, regnum); local 157 char buf [buf_size]; 175 buf_size);
|
/netbsd-6-1-5-RELEASE/sys/lib/libsa/ |
H A D | ufs.c | 482 size_t buf_size; local 488 rc = buf_read_file(f, &buf, &buf_size); 493 edp = (struct direct *)(buf + buf_size); 512 fp->f_seekp += buf_size; 525 size_t buf_size; local 529 sblock_try[i] / DEV_BSIZE, SBLOCKSIZE, fs, &buf_size); 530 if (rc != 0 || buf_size != SBLOCKSIZE) 581 size_t buf_size; 583 SBLOCKOFFSET / DEV_BSIZE, SBLOCKSIZE, fs, &buf_size); 586 if (buf_size ! 717 size_t buf_size; local 806 size_t buf_size; local 888 size_t buf_size; local [all...] |
H A D | minixfs3.c | 414 size_t buf_size; local 421 rc = buf_read_file(f, (void *)&dbuf, &buf_size); 424 if (buf_size == 0) 430 * to truncate buf_size. 432 if (buf_size < fs->mfs_block_size) 433 buf_size = fs->mfs_block_size; 453 fp->f_seekp += buf_size; 462 size_t buf_size; local 472 SUPER_BLOCK_OFF / DEV_BSIZE, MINBSIZE, sbbuf, &buf_size); 476 if (buf_size ! 660 size_t buf_size; local 758 size_t buf_size; local 843 size_t buf_size; local [all...] |
H A D | cd9660.c | 138 size_t buf_size, nread, psize, dsize; local 146 buf_size = ISO_DEFAULT_BLOCK_SIZE; 147 buf = alloc(buf_size); 178 buf = alloc(buf_size = roundup(psize, ISO_DEFAULT_BLOCK_SIZE)); 185 buf_size, buf, &nread); 188 if (nread != buf_size) { 280 dealloc(buf, buf_size); 288 dealloc(buf, buf_size);
|
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/ |
H A D | fad-gifc.c | 147 unsigned buf_size; local 173 buf_size = 8192; 175 buf = malloc(buf_size); 183 ifc.ifc_len = buf_size; 185 memset(buf, 0, buf_size); 194 if (ifc.ifc_len < buf_size && 195 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) 198 buf_size *= 2;
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcsd/ |
H A D | tcsd_threads.c | 214 if ((data->buf_size = recv(data->sock, buffer, TCSD_TXBUF_SIZE, 0)) < 0) { 224 if (data->buf_size > TCSD_TXBUF_SIZE) { 226 data->sock, data->buf_size); 228 } else if (data->buf_size < (int)((2 * sizeof(UINT32)) + sizeof(UINT16))) { 230 data->sock, data->buf_size); 288 if ((data->buf_size = recv(data->sock, buffer, TCSD_TXBUF_SIZE, 0)) < 0) { 292 } else if (data->buf_size == 0) { 303 data->buf_size = -1; 345 data->comm.buf_size = TCSD_INIT_TXBUF_SIZE; 346 data->comm.buf = calloc(1, data->comm.buf_size); [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/utils/ |
H A D | common.c | 169 static inline int _wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, argument 173 char *pos = buf, *end = buf + buf_size; 175 if (buf_size == 0) 193 * @buf_size: Maximum buffer size in bytes (should be at least 2 * len + 1) 198 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len) argument 200 return _wpa_snprintf_hex(buf, buf_size, data, len, 0); 207 * @buf_size: Maximum buffer size in bytes (should be at least 2 * len + 1) 212 int wpa_snprintf_hex_uppercase(char *buf, size_t buf_size, const u8 *data, argument 215 return _wpa_snprintf_hex(buf, buf_size, data, len, 1);
|
/netbsd-6-1-5-RELEASE/lib/libisns/ |
H A D | isns_pdu.c | 77 int buf_size; member in struct:isns_buffer_list_s 113 * isns_lookup_buffer_list - locates the pool buffer list for the buf_size 116 * Returns: pointer to list in pool containing buf_size buffers 120 isns_lookup_buffer_list(int buf_size) argument 130 if (list_p->buf_size == buf_size) 142 * If a list containing buf_size buffers already exists in pool, additional 146 isns_add_buffer_pool(int buf_size, int count) argument 152 DBG("isns_add_buffer_pool: buf_size=%d, count=%d\n", buf_size, coun 280 isns_new_buffer(int buf_size) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/xen/include/ |
H A D | xenio.h | 73 int buf_size; member in struct:privcmd_blkmsg
|
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/printf/ |
H A D | repl-vsnprintf.c | 94 __gmp_replacement_vsnprintf (char *buf, size_t buf_size, argument 361 if (total_width <= buf_size) 373 if (buf_size != 0) 375 size_t copylen = MIN (len, buf_size-1);
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/ |
H A D | spnego.c | 417 size_t buf_size, buf_len = 0; local 419 buf_size = 1024; 420 buf = malloc(buf_size); 426 ret = encode_NegTokenResp(buf + buf_size - 1, 427 buf_size, 432 ret = der_put_length_and_tag(buf + buf_size - buf_len - 1, 433 buf_size - buf_len, 446 buf_size *= 2; 447 tmp = realloc(buf, buf_size); 468 memcpy(*outbuf, buf + buf_size 581 size_t buf_size; local 1398 gssapi_spnego_encapsulate(OM_uint32 * minor_status, unsigned char *buf, size_t buf_size, gss_buffer_t output_token, const gss_OID mech) argument 1503 size_t buf_size; local 1628 size_t buf_size; local [all...] |