Searched defs:bufsize (Results 1 - 25 of 112) sorted by relevance

12345

/external/chromium_org/third_party/skia/tests/
H A DReader32Test.cpp45 const size_t bufsize = sizeof(data) > sizeof(data2) ? local
47 char buffer[bufsize];
/external/skia/tests/
H A DReader32Test.cpp45 const size_t bufsize = sizeof(data) > sizeof(data2) ? local
47 char buffer[bufsize];
/external/chromium_org/third_party/leveldatabase/
H A Dchromium_logger.h34 int bufsize; local
36 bufsize = sizeof(buffer);
39 bufsize = 30000;
40 base = new char[bufsize];
43 char* limit = base + bufsize;
/external/chromium_org/third_party/libjpeg_turbo/
H A Djdatadst-tj.c43 size_t bufsize; member in struct:__anon12729
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);
189 dest->pub.free_in_buffer = dest->bufsize = *outsize;
H A Djdatadst.c55 size_t bufsize; member in struct:__anon12731
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/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Df_enum.c100 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;
190 bufsize=BIO_gets(bp,buf,size);
H A Df_int.c105 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;
194 bufsize=BIO_gets(bp,buf,size);
H A Df_string.c100 int i,j,k,m,n,again,bufsize; local
105 bufsize=BIO_gets(bp,buf,size);
108 if (bufsize < 1)
117 i=bufsize;
188 bufsize=BIO_gets(bp,buf,size);
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dposix_logger.h36 int bufsize; local
38 bufsize = sizeof(buffer);
41 bufsize = 30000;
42 base = new char[bufsize];
45 char* limit = base + bufsize;
/external/chromium_org/third_party/mesa/src/src/glx/
H A Drenderpix.c167 const GLint bufsize = image1len + image2len; local
181 buf = (GLubyte *) Xmalloc(bufsize);
194 bufsize);
/external/libpcap/tests/
H A Dopentest.c54 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 Drenderpix.c167 const GLint bufsize = image1len + image2len; local
181 buf = (GLubyte *) Xmalloc(bufsize);
194 bufsize);
/external/openssl/crypto/asn1/
H A Df_enum.c102 int i,j,k,m,n,again,bufsize; local
109 bufsize=BIO_gets(bp,buf,size);
112 if (bufsize < 1) goto err_sl;
113 i=bufsize;
192 bufsize=BIO_gets(bp,buf,size);
H A Df_int.c106 int i,j,k,m,n,again,bufsize; local
113 bufsize=BIO_gets(bp,buf,size);
116 if (bufsize < 1) goto err_sl;
117 i=bufsize;
204 bufsize=BIO_gets(bp,buf,size);
H A Df_string.c100 int i,j,k,m,n,again,bufsize; local
105 bufsize=BIO_gets(bp,buf,size);
108 if (bufsize < 1)
117 i=bufsize;
197 bufsize=BIO_gets(bp,buf,size);
/external/bison/src/
H A Dlocation.c37 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/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/raw/
H A Draw-preproc.c77 int bufsize = BSIZE; local
78 char *buf = yasm_xmalloc((size_t)bufsize);
84 if (!fgets(p, bufsize-(p-buf), preproc_raw->in)) {
96 if ((p-buf)+1 >= bufsize) {
99 bufsize *= 2;
100 buf = yasm_xrealloc(buf, (size_t)bufsize);
/external/e2fsprogs/lib/ext2fs/
H A Dswapfs.c173 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/jpeg/
H A Dansi2knr.c324 #define bufsize 5000 /* arbitrary size */ macro
370 buf = malloc(bufsize);
372 while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL )
383 f: if ( line >= buf + (bufsize - 1) ) /* overflow check */
385 if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL )
409 if ( line != buf + (bufsize - 1) ) /* overflow check */
/external/ppp/pppd/include/
H A Dpcap-int.h81 int bufsize; member in struct:pcap
/external/qemu/distrib/jpeg-6b/
H A Dansi2knr.c324 #define bufsize 5000 /* arbitrary size */ macro
370 buf = malloc(bufsize);
372 while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL )
383 f: if ( line >= buf + (bufsize - 1) ) /* overflow check */
385 if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL )
409 if ( line != buf + (bufsize - 1) ) /* overflow check */
/external/strace/
H A Dpathtrace.c104 getfdpath(struct tcb *tcp, int fd, char *buf, unsigned bufsize) argument
113 n = readlink(linkpath, buf, bufsize - 1);
116 * it returns truncated result (IOW: n == bufsize - 1).
/external/arduino/hardware/arduino/cores/arduino/
H A DWString.cpp422 void String::getBytes(unsigned char *buf, unsigned int bufsize) argument
424 if (!bufsize || !buf) return;
425 unsigned int len = bufsize - 1;
431 void String::toCharArray(char *buf, unsigned int bufsize) argument
433 if (!bufsize || !buf) return;
434 unsigned int len = bufsize - 1;
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dlibc_override_osx.h157 int bufsize = 8192; local
159 bufsize = 102400; // I picked this size arbitrarily
160 char* buffer = new char[bufsize];
161 MallocExtension::instance()->GetStats(buffer, bufsize);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dlibc_override_osx.h157 int bufsize = 8192; local
159 bufsize = 102400; // I picked this size arbitrarily
160 char* buffer = new char[bufsize];
161 MallocExtension::instance()->GetStats(buffer, bufsize);

Completed in 4824 milliseconds

12345