/external/c-ares/ |
H A D | ares__read_line.c | 28 * ares__read_line multiple times with the same buf and bufsize 29 * pointers; *buf will be reallocated and *bufsize adjusted as 33 int ares__read_line(FILE *fp, char **buf, size_t *bufsize) argument 44 *bufsize = 128; 49 int bytestoread = aresx_uztosi(*bufsize - offset); 60 if(len < *bufsize - 1) 64 newbuf = realloc(*buf, *bufsize * 2); 68 *bufsize *= 2;
|
/external/libvncserver/libvncserver/ |
H A D | rfbssl_none.c | 36 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize) argument 41 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize) argument 46 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize) argument
|
H A D | rfbssl_openssl.c | 86 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize) argument 91 while ((ret = SSL_write(ctx->ssl, buf, bufsize)) <= 0) { 98 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize) argument 103 while ((ret = SSL_peek(ctx->ssl, buf, bufsize)) <= 0) { 110 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize) argument 115 while ((ret = SSL_read(ctx->ssl, buf, bufsize)) <= 0) {
|
H A D | rfbssl_gnutls.c | 148 static int rfbssl_do_read(rfbClientPtr cl, char *buf, int bufsize) argument 153 while ((ret = gnutls_record_recv(ctx->session, buf, bufsize)) < 0) { 172 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize) argument 177 while ((ret = gnutls_record_send(ctx->session, buf, bufsize)) < 0) { 193 static void rfbssl_gc_peekbuf(struct rfbssl_ctx *ctx, int bufsize) argument 197 if (spaceleft < bufsize) { 204 static int __rfbssl_read(rfbClientPtr cl, char *buf, int bufsize, int peek) argument 209 rfbssl_gc_peekbuf(ctx, bufsize); 213 ret = bufsize < ctx->peeklen ? bufsize 241 rfbssl_read(rfbClientPtr cl, char *buf, int bufsize) argument 246 rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize) argument [all...] |
/external/pdfium/fpdfsdk/src/ |
H A D | fpdfdoc_embeddertest.cpp | 57 unsigned long bufsize = FPDFAction_GetFilePath(action, nullptr, 0); local 58 ASSERT_EQ(kExpectedLength, bufsize); 61 EXPECT_EQ(bufsize, FPDFAction_GetFilePath(action, buf, bufsize));
|
/external/skia/tests/ |
H A D | Reader32Test.cpp | 45 const size_t bufsize = sizeof(data) > sizeof(data2) ? local 47 char buffer[bufsize];
|
/external/vboot_reference/firmware/lib/ |
H A D | utility_string.c | 13 uint32_t Uint64ToString(char *buf, uint32_t bufsize, uint64_t value, argument 38 if (++usedsize > bufsize) 45 if (++usedsize > bufsize)
|
/external/fec/ |
H A D | sumsq_test.c | 30 int bufsize = 2048; local 61 bufsize = atoi(optarg); 75 buf = (signed short *)calloc(bufsize,sizeof(signed short)); 78 (void)sumsq(buf,bufsize); 85 length = (random() % bufsize) - offset; 88 for(i=0;i<bufsize;i++)
|
/external/libjpeg-turbo/ |
H A D | jdatadst-tj.c | 43 size_t bufsize; member in struct:__anon9706 95 nextsize = dest->bufsize * 2; 101 MEMCOPY(nextbuffer, dest->buffer, dest->bufsize); 108 dest->pub.next_output_byte = nextbuffer + dest->bufsize; 109 dest->pub.free_in_buffer = dest->bufsize; 112 dest->bufsize = nextsize; 133 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); 194 dest->bufsize = *outsize; 195 dest->pub.free_in_buffer = dest->bufsize;
|
H A D | jdatadst.c | 55 size_t bufsize; member in struct:__anon9708 137 nextsize = dest->bufsize * 2; 143 MEMCOPY(nextbuffer, dest->buffer, dest->bufsize); 150 dest->pub.next_output_byte = nextbuffer + dest->bufsize; 151 dest->pub.free_in_buffer = dest->bufsize; 154 dest->bufsize = nextsize; 194 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); 277 dest->pub.free_in_buffer = dest->bufsize = *outsize;
|
/external/boringssl/src/crypto/asn1/ |
H A D | f_enum.c | 100 int i,j,k,m,n,again,bufsize; local 107 bufsize=BIO_gets(bp,buf,size); 110 if (bufsize < 1) goto err_sl; 111 i=bufsize; 189 bufsize=BIO_gets(bp,buf,size);
|
H A D | f_int.c | 105 int i,j,k,m,n,again,bufsize; local 112 bufsize=BIO_gets(bp,buf,size); 115 if (bufsize < 1) goto err_sl; 116 i=bufsize; 193 bufsize=BIO_gets(bp,buf,size);
|
H A D | f_string.c | 100 int i,j,k,m,n,again,bufsize; local 105 bufsize=BIO_gets(bp,buf,size); 108 if (bufsize < 1) 117 i=bufsize; 187 bufsize=BIO_gets(bp,buf,size);
|
/external/libpcap/tests/ |
H A D | opentest.c | 54 int dorfmon, dopromisc, snaplen, useactivate, bufsize; local 63 bufsize = 0; 100 bufsize = atoi(optarg)*1024; 101 if (bufsize <= 0) 103 useactivate = 1; /* required for bufsize */ 140 if (bufsize != 0) { 141 status = pcap_set_buffer_size(pd, bufsize); 177 "Usage: %s [ -Ipa ] [ -i interface ] [ -s snaplen ] [ -B bufsize ]\n",
|
/external/mesa3d/src/glx/ |
H A D | renderpix.c | 167 const GLint bufsize = image1len + image2len; local 181 buf = (GLubyte *) Xmalloc(bufsize); 194 bufsize);
|
/external/opencv3/3rdparty/libjpeg/ |
H A D | jdatadst.c | 52 size_t bufsize; member in struct:__anon14827 130 nextsize = dest->bufsize * 2; 136 MEMCOPY(nextbuffer, dest->buffer, dest->bufsize); 143 dest->pub.next_output_byte = nextbuffer + dest->bufsize; 144 dest->pub.free_in_buffer = dest->bufsize; 147 dest->bufsize = nextsize; 185 *dest->outsize = dest->bufsize - dest->pub.free_in_buffer; 269 dest->pub.free_in_buffer = dest->bufsize = *outsize;
|
/external/vboot_reference/utility/ |
H A D | image_types.c | 35 ImageFormat identify_image_type(const void *buf, uint32_t bufsize, argument 41 if (bufsize < sizeof(BMP_IMAGE_HEADER) && 42 bufsize < sizeof(FontArrayHeader)) {
|
/external/bison/src/ |
H A D | location.c | 37 add_column_width (int column, char const *buf, size_t bufsize) argument 44 if (INT_MAX / 2 <= bufsize) 46 width = mbsnwidth (buf, bufsize, 0); 49 width = bufsize;
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | swapfs.c | 173 void ext2fs_swap_ext_attr(char *to, char *from, int bufsize, int has_header) argument 180 char *from_end = (char *)from_header + bufsize; 183 memcpy(to_header, from_header, bufsize); 204 int bufsize) 282 if (bufsize < (int) (sizeof(struct ext2_inode) + sizeof(__u16))) 312 if (bufsize < (int) i) 331 bufsize - sizeof(struct ext2_inode) - 202 ext2fs_swap_inode_full(ext2_filsys fs, struct ext2_inode_large *t, struct ext2_inode_large *f, int hostorder, int bufsize) argument
|
/external/libdivsufsort/lib/ |
H A D | divsufsort.c | 46 saidx_t i, j, k, t, m, bufsize; local 105 buf = SA + m, bufsize = (n - (2 * m)) / tmp; 110 curbuf = buf + tmp * bufsize; 129 curbuf, bufsize, 2, n, *(SA + k) == (m - 1)); 133 buf = SA + m, bufsize = n - (2 * m); 139 buf, bufsize, 2, n, *(SA + i) == (m - 1));
|
/external/ppp/pppd/include/ |
H A D | pcap-int.h | 81 int bufsize; member in struct:pcap
|
/external/strace/ |
H A D | pathtrace.c | 99 getfdpath(struct tcb *tcp, int fd, char *buf, unsigned bufsize) argument 108 n = readlink(linkpath, buf, bufsize - 1); 111 * it returns truncated result (IOW: n == bufsize - 1).
|
/external/vboot_reference/host/lib/ |
H A D | util_misc.c | 44 uint32_t bufsize; local 51 bufsize = (2 + nwords + nwords) * sizeof(uint32_t); 52 outbuf = malloc(bufsize); 57 *keyb_size = bufsize;
|
/external/vboot_reference/tests/ |
H A D | vb21_host_sig_tests.c | 54 uint32_t bufsize; local 121 bufsize = c_sig_offs + size; 122 buf = calloc(1, bufsize); 125 c->total_size = bufsize; 138 bufsize = c_sig_offs + size; 139 buf = calloc(1, bufsize); 142 c->total_size = bufsize;
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_libc_test.cc | 62 static void temp_file_name(char *buf, size_t bufsize, const char *prefix) { argument 72 internal_strncpy(buf, tmp_path, bufsize); 83 internal_snprintf(buf, bufsize, "%s/%s%d", tmpdir, prefix, uid);
|