/macosx-10.9.5/libiconv-41/libiconv/srclib/ |
H A D | xreadlink.c | 74 size_t buf_size = sizeof (initial_buf); local 79 ssize_t link_length = readlink (filename, buffer, buf_size); 92 if ((size_t) link_length < buf_size) 109 if ((size_t) link_length < buf_size) 122 buf_size *= 2; 123 if (SSIZE_MAX < buf_size || (SIZE_MAX / 2 < SSIZE_MAX && buf_size == 0)) 129 buffer = (char *) xmalloc (buf_size);
|
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/mfs/ |
H A D | mfs_file.c | 66 static long buf_size[MAX_BUFFS]; /* Count of bytes allocated for each buf */ variable 159 buf_size[ret] = size; 183 buf_size[ret] = 0; 201 buf_size[ret] = 0; 208 buf_size[ret] = size; 262 if (offset > buf_size[fd]) 278 if (test_off > buf_size[fd]) 286 test_off = buf_size[fd] + offset; 295 if (test_off > buf_size[fd]) 338 else if (buf_off[fd] + size > buf_size[f [all...] |
/macosx-10.9.5/adv_cmds-153/ps/ |
H A D | fmt.c | 61 static size_t buf_size; local 71 buf_size = 4 * arg_max + 1; 72 if ((buf = malloc(buf_size)) == NULL) 84 len = (buf_size - 1 - (dst - buf)) / 4; 89 if ((buf_size - 1 - (dst - buf)) / 4 > 0)
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/xnu_quick_test/ |
H A D | pipes_tests.c | 782 int buf_size = current_buf_size / 2; local 784 assert(buf_size == pipe_write_data(p, &data[0], buf_size ), 1, "cycle write failed"); 785 assert(buf_size == pipe_read_data(p, &readbuf[0], buf_size+200), 1, "reading from cycle read failed"); 786 assert(verify_data(data, readbuf, buf_size), 1, "data verification failed"); 788 assert(buf_size == pipe_write_data(p, &data[0], buf_size ), 1, "cycle write failed"); 789 assert(buf_size == pipe_read_data(p, &readbuf[0], buf_size 807 int buf_size = current_buf_size / 2; local [all...] |
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/ |
H A D | build_auth.c | 45 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 | 46 size_t buf_size; local 102 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, &s, &len, ret); 105 if(buf_size != len) 126 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, &s, &len, ret); 130 if(buf_size != len)
|
H A D | mk_priv.c | 47 size_t buf_size; local 98 ASN1_MALLOC_ENCODE(EncKrbPrivPart, buf, buf_size, &part, &len, ret); 101 if (buf_size != len) 117 buf + buf_size - len, 128 ASN1_MALLOC_ENCODE(KRB_PRIV, buf, buf_size, &s, &len, ret); 131 if (buf_size != len) 136 ret = krb5_data_copy(outbuf, buf + buf_size - len, len);
|
H A D | mk_rep.c | 45 size_t buf_size; local 94 ASN1_MALLOC_ENCODE(EncAPRepPart, buf, buf_size, &body, &len, ret); 98 if (buf_size != len) 109 buf + buf_size - len,
|
H A D | rd_safe.c | 43 size_t buf_size; local 54 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, safe, &len, ret); 57 if(buf_size != len) 73 buf + buf_size - len,
|
/macosx-10.9.5/bootp-268.1/IPConfiguration.bproj/ |
H A D | RSAKey.c | 49 size_t buf_size; local 52 buf_size = sizeof(buf); 53 status = CCRSACryptorExport(key, buf, &buf_size); 58 *ret_data = CFDataCreate(NULL, buf, buf_size);
|
/macosx-10.9.5/curl-78.94.1/curl/lib/ |
H A D | if2ip.c | 87 const char *interf, char *buf, int buf_size) 130 snprintf(buf, buf_size, "%s%s", ip, scope); 157 const char *interf, char *buf, int buf_size) 192 Curl_inet_ntop(s->sin_family, &in, buf, buf_size); 208 const char *interf, char *buf, int buf_size) 214 (void) buf_size; 86 Curl_if2ip(int af, unsigned int remote_scope, const char *interf, char *buf, int buf_size) argument 156 Curl_if2ip(int af, unsigned int remote_scope, const char *interf, char *buf, int buf_size) argument 207 Curl_if2ip(int af, unsigned int remote_scope, const char *interf, char *buf, int buf_size) argument
|
H A D | if2ip.h | 35 const char *interf, char *buf, int buf_size);
|
/macosx-10.9.5/apache-786.1/httpd/modules/arch/win32/ |
H A D | mod_isapi.h | 58 apr_uint32_t *buf_size); 62 apr_uint32_t *buf_size, 67 apr_uint32_t *buf_size); 72 apr_uint32_t *buf_size,
|
H A D | mod_isapi.c | 491 apr_uint32_t *buf_size) 513 if (*buf_size < len + 1) { 514 *buf_size = len + 1; 532 *buf_size = len + 1; 549 if (*buf_size < len + 1) { 550 *buf_size = len + 1; 566 *buf_size = len + 1; 575 if (*buf_size < len + 1) { 576 *buf_size = len + 1; 581 *buf_size 488 GetServerVariable(isapi_cid *cid, char *variable_name, void *buf_ptr, apr_uint32_t *buf_size) argument 590 ReadClient(isapi_cid *cid, void *buf_data, apr_uint32_t *buf_size) argument 814 apr_uint32_t buf_size = *size_arg; local 863 ServerSupportFunction(isapi_cid *cid, apr_uint32_t HSE_code, void *buf_ptr, apr_uint32_t *buf_size, apr_uint32_t *data_type) argument [all...] |
/macosx-10.9.5/eap8021x-180/EAP8021X.fproj/ |
H A D | EAPUtil.h | 94 EAPPacketCreate(void * buf, int buf_size,
|
/macosx-10.9.5/libpcap-42/libpcap/ |
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;
|
H A D | fad-glifc.c | 91 unsigned buf_size; local 138 buf_size = ifn.lifn_count * sizeof (struct lifreq); 139 buf = malloc(buf_size); 151 ifc.lifc_len = buf_size; 155 memset(buf, 0, buf_size);
|
/macosx-10.9.5/xnu-2422.115.4/tools/ |
H A D | cred_dump_creds.c | 38 void dump_cred_hash_table( debug_ucred * credp, size_t buf_size ); 74 void dump_cred_hash_table( debug_ucred * credp, size_t buf_size ) 76 int i, my_count = (buf_size / sizeof(debug_ucred));
|
/macosx-10.9.5/text_cmds-87/wc/ |
H A D | wc.c | 152 static off_t buf_size = SMALL_BUF_SIZE; local 170 if (fsb.f_iosize != buf_size) { 176 buf_size = SMALL_BUF_SIZE; 178 buf_size = fsb.f_iosize; 190 while ((len = read(fd, buf, buf_size))) { 232 while ((len = read(fd, buf, buf_size)) != 0) {
|
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/ |
H A D | spnego.c | 415 size_t buf_size, buf_len = 0; local 417 buf_size = 1024; 418 buf = malloc(buf_size); 424 ret = encode_NegTokenResp(buf + buf_size - 1, 425 buf_size, 430 ret = der_put_length_and_tag(buf + buf_size - buf_len - 1, 431 buf_size - buf_len, 444 buf_size *= 2; 445 tmp = realloc(buf, buf_size); 466 memcpy(*outbuf, buf + buf_size 579 size_t buf_size; local 1396 gssapi_spnego_encapsulate(OM_uint32 * minor_status, unsigned char *buf, size_t buf_size, gss_buffer_t output_token, const gss_OID mech) argument 1501 size_t buf_size; local 1626 size_t buf_size; local [all...] |
/macosx-10.9.5/cctools-845/libstuff/ |
H A D | breakout.c | 357 uint32_t i, buf_size, ncmds; local 388 buf_size = 0; 392 buf_size = sizeof(struct mach_header) + 394 buf = allocate(buf_size); 395 memcpy(buf, arch->object->mh, buf_size); 401 buf_size = sizeof(struct mach_header_64) + 403 buf = allocate(buf_size); 404 memcpy(buf, arch->object->mh64, buf_size); 416 memcpy(arch->object->mh, buf, buf_size); 418 memcpy(arch->object->mh64, buf, buf_size); [all...] |
/macosx-10.9.5/bootp-268.1/bootplib/ |
H A D | DNSNameList.c | 98 DNSBufInit(DNSBufRef db, uint8_t * buf, int buf_size) argument 104 db->db_buf_size = buf_size; 471 DNSNamesBufInit(DNSNamesBufRef nb, void * buf, int buf_size) argument 473 DNSBufInit(&nb->dnb_buf, buf, buf_size); 884 int buf_size; member in struct:test 904 DNSNameListBufferDumpCharArray(const uint8_t * buf, int buf_size) argument 910 for (i = 0, scan = buf; i < buf_size; scan++, i++) { 913 if (i == (buf_size - 1)) { 944 int buf_size; local 952 buf = DNSNameListBufferCreate(argv + 1, argc - 1, NULL, &buf_size); [all...] |
/macosx-10.9.5/ruby-104/ruby/ |
H A D | regerror.c | 201 UChar buf[], int buf_size, int *is_over) 213 if (code > 0xffff && len + 10 <= buf_size) { 220 else if (len + 6 <= buf_size) { 234 if (len >= buf_size) break; 240 len = (int )MIN((end - s), buf_size); 242 *is_over = ((buf_size < (end - s)) ? 1 : 0); 200 to_ascii(OnigEncoding enc, UChar *s, UChar *end, UChar buf[], int buf_size, int *is_over) argument
|
/macosx-10.9.5/securityd-55199.3/securityd_service/securityd_service/ |
H A D | main.c | 292 size_t buf_size = 0; local 301 buf_size = (size_t)st_info.st_size; 306 buf = (uint8_t *)calloc(1u, buf_size); 308 require(read(fd, buf, buf_size) == buf_size, done); 311 *length = buf_size; 366 size_t buf_size = 0; local 377 require_noerr(rc = aks_save_bag(session_handle, (void**)&buf, (int*)&buf_size), done); 378 require_action(_kb_save_bag_to_disk(ur, bag_file, buf, buf_size), done, rc = KB_BagError); 403 size_t buf_size local 470 size_t buf_size = 0; local 505 size_t buf_size = 0; local [all...] |
/macosx-10.9.5/apache-786.1/httpd/modules/ssl/ |
H A D | ssl_scache_shmcb.c | 162 static void shmcb_cyclic_ntoc_memcpy(unsigned int buf_size, unsigned char *data, argument 166 if (dest_offset + src_len < buf_size) 171 memcpy(data + dest_offset, src, buf_size - dest_offset); 172 memcpy(data, src + buf_size - dest_offset, 173 src_len + dest_offset - buf_size); 178 static void shmcb_cyclic_cton_memcpy(unsigned int buf_size, unsigned char *dest, argument 182 if (src_offset + src_len < buf_size) 187 memcpy(dest, data + src_offset, buf_size - src_offset); 188 memcpy(dest + buf_size - src_offset, data, 189 src_len + src_offset - buf_size); [all...] |