Searched refs:bufsize (Results 1 - 25 of 102) sorted by relevance

12345

/external/elfutils/libcpu/
H A Di386_data.h121 if (*d->bufcntp + 4 > d->bufsize)
122 return *d->bufcntp + 4 - d->bufsize;
164 size_t bufsize = d->bufsize; local
201 if (*bufcntp + n + 1 > bufsize)
202 return *bufcntp + n + 1 - bufsize;
275 if (*bufcntp + n + 1 > bufsize)
276 return *bufcntp + n + 1 - bufsize;
373 if (*bufcntp + (cp - tmpbuf) > bufsize)
374 return *bufcntp + (cp - tmpbuf) - bufsize;
506 size_t bufsize = d->bufsize; local
533 size_t bufsize = d->bufsize; local
[all...]
H A Di386_disasm.c263 size_t bufsize; member in struct:output_data
289 if (unlikely (bufcnt == bufsize)) \
298 if (unlikely (bufcnt + _len > bufsize)) \
316 size_t bufsize = BUFSIZE; local
324 .bufsize = bufsize,
436 buf = malloc (2 * bufsize);
438 buf = realloc (buf, 2 * bufsize);
445 bufsize *= 2;
448 output_data.bufsize
[all...]
/external/chromium/net/base/
H A Dnss_memio.h41 PRFileDesc *memio_CreateIOLayer(int bufsize);
H A Dnss_memio.c30 int bufsize; /* number of bytes allocated to buf */ member in struct:memio_buffer
90 mb->bufsize = size;
106 return (((mb->tail >= mb->head) ? mb->tail : mb->bufsize) - mb->head);
119 return mb->bufsize - mb->tail - (mb->head == 0);
134 if (mb->tail == mb->bufsize)
146 if (mb->tail == mb->bufsize)
167 if (mb->head == mb->bufsize)
178 if (mb->head == mb->bufsize)
223 PR_ASSERT(mb->bufsize);
251 PR_ASSERT(mb->bufsize);
353 memio_CreateIOLayer(int bufsize) argument
[all...]
/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_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);
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);
/external/javassist/src/main/javassist/
H A DClassPoolTail.java386 int bufsize = 4096;
389 bufs[i] = new byte[bufsize];
393 len = fin.read(bufs[i], size, bufsize - size);
397 byte[] result = new byte[bufsize - 4096 + size];
407 } while (size < bufsize);
408 bufsize *= 2;
422 int bufsize = 4096;
424 byte[] buf = new byte[bufsize];
428 len = fin.read(buf, size, bufsize - size);
435 } while (size < bufsize);
[all...]
/external/ppp/pppd/include/
H A Dpcap-int.h81 int bufsize; member in struct:pcap
/external/kernel-headers/original/linux/sunrpc/
H A Dgss_api.h38 size_t bufsize,
90 size_t bufsize,
/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/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/nist-sip/java/gov/nist/javax/sip/stack/
H A DUDPMessageProcessor.java188 int bufsize = sock.getReceiveBufferSize();
189 byte message[] = new byte[bufsize];
190 DatagramPacket packet = new DatagramPacket(message, bufsize);
/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;
H A DWString.h79 void getBytes(unsigned char *buf, unsigned int bufsize);
80 void toCharArray(char *buf, unsigned int bufsize);
/external/openssh/
H A Dsshlogin.c73 char *buf, size_t bufsize)
78 strlcpy(buf, li.hostname, bufsize);
72 get_last_login_time(uid_t uid, const char *logname, char *buf, size_t bufsize) argument
/external/e2fsprogs/lib/ext2fs/
H A Dinode.c405 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)
548 if (bufsize == sizeof(struct ext2_inode)) {
580 if (bufsize < length)
581 length = bufsize;
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
609 0, bufsize); local
628 ext2fs_write_inode_full(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode * inode, int bufsize) argument
[all...]
H A Dswapfs.c133 void ext2fs_swap_ext_attr(char *to, char *from, int bufsize, int has_header) argument
140 char *from_end = (char *)from_header + bufsize;
143 memcpy(to_header, from_header, bufsize);
164 int bufsize)
242 if (bufsize < (int) (sizeof(struct ext2_inode) + sizeof(__u16)))
257 if (bufsize < (int) i)
276 bufsize - sizeof(struct ext2_inode) -
162 ext2fs_swap_inode_full(ext2_filsys fs, struct ext2_inode_large *t, struct ext2_inode_large *f, int hostorder, int bufsize) argument
/external/openssl/apps/
H A Denc.c107 unsigned char *buff=NULL,*bufsize=NULL; local
218 else if (strcmp(*argv,"-bufsize") == 0)
221 bufsize=(unsigned char *)*(++argv);
312 BIO_printf(bio_err,"%-14s buffer size\n","-bufsize <n>");
345 if (bufsize != NULL)
349 for (n=0; *bufsize; bufsize++)
351 i= *bufsize;
357 bufsize++;
361 if (*bufsize !
[all...]
/external/qemu/audio/
H A Ddsoundaudio.c580 int bufsize; local
588 bufsize = hw->samples << hwshift;
606 cur_blat = audio_ring_dist (wpos, ppos, bufsize);
611 old_pos %= bufsize;
631 ds->played += audio_ring_dist (ds->old_pos, ppos, hw->bufsize);
640 if ((old_pos > ppos) && ((old_pos + len) > (ppos + bufsize))) {
641 len = bufsize - old_pos + ppos;
645 if (audio_bug (AUDIO_FUNC, len < 0 || len > bufsize)) {
646 dolog ("len=%d bufsize=%d old_pos=%ld ppos=%ld\n",
647 len, bufsize, old_po
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cc74 uptr internal_readlink(const char *path, char *buf, uptr bufsize) { argument
75 return readlink(path, buf, bufsize);
H A Dsanitizer_libc.h63 uptr internal_readlink(const char *path, char *buf, uptr bufsize);
/external/skia/tests/
H A DReader32Test.cpp48 const size_t bufsize = sizeof(data) > sizeof(data2) ? local
50 char buffer[bufsize];
/external/mesa3d/include/pixelflinger2/
H A Dpixelflinger2_interface.h254 void (* ShaderGetInfoLog)(const gl_shader_t * shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);
258 void (* ShaderProgramGetInfoLog)(const gl_shader_program_t * program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
327 void GGLShaderGetInfoLog(const gl_shader_t * shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);
331 void GGLShaderProgramGetInfoLog(const gl_shader_program_t * program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
/external/oprofile/daemon/liblegacy/
H A Dp_module.h185 int query_module(char const * name, int which, void *buf, size_t bufsize,

Completed in 684 milliseconds

12345