/external/curl/tests/server/ |
H A D | getpart.c | 75 * and 'bufsize' pointers to avoid multiple buffer allocations. Buffer 76 * will be reallocated and 'bufsize' increased until whole line fits in 87 static int readline(char **buffer, size_t *bufsize, FILE *stream) argument 97 *bufsize = 128; 101 int bytestoread = curlx_uztosi(*bufsize - offset); 110 if(length < *bufsize - 1) 113 newptr = realloc(*buffer, *bufsize * 2); 117 *bufsize *= 2; 265 size_t bufsize = 0; local 287 while((error = readline(&buffer, &bufsize, strea [all...] |
/external/e2fsprogs/debugfs/ |
H A D | util.c | 387 const char *cmd, int bufsize) 391 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize); 415 int bufsize) 420 inode, bufsize); 386 debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, const char *cmd, int bufsize) argument 412 debugfs_write_inode_full(ext2_ino_t ino, struct ext2_inode *inode, const char *cmd, int bufsize) argument
|
/external/iproute2/tipc/ |
H A D | bearer.c | 104 static int generate_multicast(short af, char *buf, int bufsize) argument 119 snprintf(buf, bufsize, "228.0.%u.%u", (netid>>8) & 0xFF, netid & 0xFF); 121 snprintf(buf, bufsize, "ff02::%u", netid);
|
/external/nanopb-c/ |
H A D | pb_encode.c | 69 pb_ostream_t pb_ostream_from_buffer(uint8_t *buf, size_t bufsize) argument 78 stream.max_size = bufsize;
|
H A D | pb_decode.c | 148 pb_istream_t pb_istream_from_buffer(uint8_t *buf, size_t bufsize) argument 157 stream.bytes_left = bufsize;
|
/external/pdfium/core/src/fxcrt/ |
H A D | fx_basic_gcc.cpp | 129 FX_DWORD FXSYS_GetModuleFileName(void* hModule, char* buf, FX_DWORD bufsize) { argument
|
/external/vboot_reference/cgpt/ |
H A D | cgpt_nor.c | 99 const int bufsize = 4096; local 100 char *buf = malloc(bufsize); 123 if (to_read > bufsize) { 124 to_read = bufsize;
|
/external/vboot_reference/tests/ |
H A D | vb21_host_key_tests.c | 44 uint32_t bufsize; local 93 TEST_SUCC(vb2_read_file(testfile, &buf, &bufsize), "Read key raw"); 97 buf2 = malloc(bufsize); 98 memcpy(buf2, buf, bufsize); 100 TEST_SUCC(vb2_private_key_unpack(&k2, buf, bufsize), 104 memcpy(buf, buf2, bufsize); 106 TEST_EQ(vb2_private_key_unpack(&k2, buf, bufsize), 111 memcpy(buf, buf2, bufsize); 113 TEST_EQ(vb2_private_key_unpack(&k2, buf, bufsize), 117 memcpy(buf, buf2, bufsize); 178 uint32_t bufsize; local [all...] |
/external/boringssl/src/crypto/asn1/ |
H A D | bio_asn1.c | 93 int bufsize; member in struct:BIO_ASN1_BUF_CTX_t 170 ctx->bufsize = size; 238 assert(ctx->buflen <= ctx->bufsize);
|
/external/curl/lib/ |
H A D | hostip.c | 161 * bufsize bytes big. 166 Curl_printable_address(const Curl_addrinfo *ai, char *buf, size_t bufsize) argument 180 bufsize); 186 bufsize);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | inode.c | 405 struct ext2_inode *inode, int bufsize) 479 memset(inode, 0, bufsize); 483 0, bufsize); 492 memset(inode, 0, bufsize); 496 0, bufsize); 498 memcpy(inode, scan->ptr, bufsize); 523 struct ext2_inode * inode, int bufsize) 536 ((bufsize == sizeof(struct ext2_inode)) || 551 if (bufsize == sizeof(struct ext2_inode)) { 583 if (bufsize < lengt 404 ext2fs_get_next_inode_full(ext2_inode_scan scan, ext2_ino_t *ino, struct ext2_inode *inode, int bufsize) argument 522 ext2fs_read_inode_full(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode * inode, int bufsize) argument 612 0, bufsize); local 631 ext2fs_write_inode_full(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode * inode, int bufsize) argument [all...] |
/external/iputils/ninfod/ |
H A D | ni_ifaddrs.c | 166 size_t bufsize = 65536, lastbufsize = 0; local 172 void *newbuff = realloc(buff, bufsize); 173 if (newbuff == NULL || bufsize < lastbufsize) { 179 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags); 181 lastbufsize = bufsize; 182 bufsize *= 2;
|
/external/libdivsufsort/lib/ |
H A D | sssort.c | 656 saidx_t *buf, saidx_t bufsize, saidx_t depth) { 676 if((last - middle) <= bufsize) { 685 if((middle - first) <= bufsize) { 749 saidx_t *buf, saidx_t bufsize, 763 if((bufsize < SS_BLOCKSIZE) && 764 (bufsize < (last - first)) && 765 (bufsize < (limit = ss_isqrt(last - first)))) { 767 buf = middle = last - limit, bufsize = limit; 779 if(curbufsize <= bufsize) { curbufsize = bufsize, curbu 654 ss_swapmerge(const sauchar_t *T, const saidx_t *PA, saidx_t *first, saidx_t *middle, saidx_t *last, saidx_t *buf, saidx_t bufsize, saidx_t depth) argument 747 sssort(const sauchar_t *T, const saidx_t *PA, saidx_t *first, saidx_t *last, saidx_t *buf, saidx_t bufsize, saidx_t depth, saidx_t n, saint_t lastsuffix) argument [all...] |
/external/libjpeg-turbo/simd/ |
H A D | jsimd_arm.c | 63 parse_proc_cpuinfo (int bufsize) argument 65 char *buffer = (char *)malloc(bufsize); 74 while (fgets(buffer, bufsize, fd)) { 102 int bufsize = 1024; /* an initial guess for the line buffer size limit */ local 116 while (!parse_proc_cpuinfo(bufsize)) { 117 bufsize *= 2; 118 if (bufsize > SOMEWHAT_SANE_PROC_CPUINFO_SIZE_LIMIT)
|
/external/libnl/lib/route/sch/ |
H A D | tbf.c | 71 int bufsize; local 79 bufsize = rtnl_tc_calc_bufsize(nl_ticks2us(opts.buffer), 81 tbf->qt_rate_bucket = bufsize; 85 bufsize = rtnl_tc_calc_bufsize(nl_ticks2us(opts.mtu), 87 tbf->qt_peakrate_bucket = bufsize;
|
/external/libnl/lib/route/ |
H A D | tc.c | 363 * @arg bufsize Size of buffer to be transmited in bytes. 370 * txtime=\frac{bufsize}{rate}10^6 375 int rtnl_tc_calc_txtime(int bufsize, int rate) argument 379 tx_time_secs = (double) bufsize / (double) rate; 393 * bufsize=\frac{{txtime} \times {rate}}{10^6} 400 double bufsize; local 402 bufsize = (double) txtime * (double) rate; 404 return bufsize / 1000000.;
|
/external/opencv3/3rdparty/libjasper/ |
H A D | jpc_qmfb.c | 308 int bufsize = JPC_CEILDIVPOW2(numcols, 1); local 312 jpc_fix_t splitbuf[bufsize]; 323 if (bufsize > QMFB_SPLITBUFSIZE) { 324 if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) { 376 int bufsize = JPC_CEILDIVPOW2(numrows, 1); local 380 jpc_fix_t splitbuf[bufsize]; 391 if (bufsize > QMFB_SPLITBUFSIZE) { 392 if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) { 444 int bufsize = JPC_CEILDIVPOW2(numrows, 1); local 448 jpc_fix_t splitbuf[bufsize * JPC_QMFB_COLGRPSIZ 533 int bufsize = JPC_CEILDIVPOW2(numrows, 1); local 621 int bufsize = JPC_CEILDIVPOW2(numcols, 1); local 686 int bufsize = JPC_CEILDIVPOW2(numrows, 1); local 751 int bufsize = JPC_CEILDIVPOW2(numrows, 1); local 837 int bufsize = JPC_CEILDIVPOW2(numrows, 1); local [all...] |
/external/opencv3/3rdparty/libpng/ |
H A D | pngerror.c | 110 png_safecat(png_charp buffer, size_t bufsize, size_t pos, argument 113 if (buffer != NULL && pos < bufsize) 116 while (*string != '\0' && pos < bufsize-1)
|
/external/bison/lib/ |
H A D | quotearg.c | 703 size_t bufsize = quotearg_buffer_restyled (0, 0, arg, argsize, p->style, local 707 char *buf = xcharalloc (bufsize); 708 quotearg_buffer_restyled (buf, bufsize, arg, argsize, p->style, flags, 713 *size = bufsize - 1;
|
/external/e2fsprogs/e2fsck/ |
H A D | journal.c | 71 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize - local 74 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer");
|
H A D | util.c | 452 struct ext2_inode *inode, int bufsize, 457 retval = ext2fs_read_inode_full(ctx->fs, ino, inode, bufsize); 466 struct ext2_inode * inode, int bufsize, 471 retval = ext2fs_write_inode_full(ctx->fs, ino, inode, bufsize); 451 e2fsck_read_inode_full(e2fsck_t ctx, unsigned long ino, struct ext2_inode *inode, int bufsize, const char *proc) argument 465 e2fsck_write_inode_full(e2fsck_t ctx, unsigned long ino, struct ext2_inode * inode, int bufsize, const char *proc) argument
|
/external/kernel-headers/original/uapi/linux/ |
H A D | scc.h | 129 unsigned int bufsize; /* used buffersize */ member in struct:scc_stat 164 unsigned int bufsize; member in struct:scc_mem_config
|
/external/libpcap/ |
H A D | pcap-int.h | 164 int bufsize; member in struct:pcap
|
/external/libunwind/src/dwarf/ |
H A D | Gfind_proc_info-lsb.c | 94 load_debug_frame (const char *file, char **buf, size_t *bufsize, argument 107 *bufsize = 0; 150 *bufsize = sec_hdrs[i].sh_size; 151 *buf = malloc (*bufsize); 153 if (*buf == NULL || fread (*buf, 1, *bufsize, f) != *bufsize) 157 *bufsize, (long) sec_hdrs[i].sh_offset); 202 if (elf_w (find_section_mapped) (&mdi, ".debug_frame", &found_section, bufsize, NULL)) { 204 *buf = malloc (*bufsize); 210 memcpy(*buf, found_section, *bufsize); 329 size_t bufsize; local 464 size_t bufsize; local [all...] |
/external/libvncserver/test/ |
H A D | tjbench.c | 87 int bufsize; local 103 bufsize=pitch*scaledh; 106 if((dstbuf=(unsigned char *)malloc(bufsize)) == NULL) 112 memset(dstbuf, 127, bufsize);
|