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

123

/external/skia/tests/
H A DReader32Test.cpp48 const size_t bufsize = sizeof(data) > sizeof(data2) ? local
50 char buffer[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/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);
H A Dbio_asn1.c95 int bufsize; member in struct:BIO_ASN1_BUF_CTX_t
169 ctx->bufsize = size;
237 OPENSSL_assert(ctx->buflen <= ctx->bufsize);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cc83 uptr internal_readlink(const char *path, char *buf, uptr bufsize) { argument
84 return (uptr)syscall(__NR_readlink, path, buf, bufsize);
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_win.cc182 uptr internal_readlink(const char *path, char *buf, uptr bufsize) { argument
/external/dropbear/
H A Dpacket.c320 unsigned long bufsize; local
349 bufsize = sizeof(tempbuf);
350 if (hmac_done(&hmac, tempbuf, &bufsize) != CRYPT_OK) {
525 unsigned long bufsize; local
555 bufsize = sizeof(tempbuf);
556 if (hmac_done(&hmac, tempbuf, &bufsize)
/external/e2fsprogs/lib/ext2fs/
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
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...]
/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/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/base/win/
H A Dregistry.cc114 DWORD bufsize = arraysize(buf); local
115 LONG r = ::RegEnumValue(key_, index, buf, &bufsize, NULL, NULL, NULL, NULL);
/external/chromium/net/base/
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/e2fsprogs/debugfs/
H A Dutil.c355 const char *cmd, int bufsize)
359 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize);
354 debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, const char *cmd, 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/distrib/sdl-1.2.15/src/audio/alsa/
H A DSDL_alsa_audio.c363 snd_pcm_uframes_t bufsize; local
372 status = SDL_NAME(snd_pcm_hw_params_get_buffer_size)(hwparams, &bufsize);
376 if ( !override && bufsize != spec->samples * 2 ) {
381 spec->samples = bufsize / 2;
391 fprintf(stderr, "ALSA: period size = %ld, periods = %u, buffer size = %lu\n", persize, periods, bufsize);
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_iconv.c134 static const char *getlocale(char *buffer, size_t bufsize) argument
159 SDL_strlcpy(buffer, lang, bufsize);
/external/tcpdump/
H A Dutil.c266 register int v, char *buf, size_t bufsize)
278 (void)snprintf(buf, bufsize, fmt, v);
265 tok2strbuf(register const struct tok *lp, register const char *fmt, register int v, char *buf, size_t bufsize) argument
/external/bison/lib/
H A Dquotearg.c556 size_t bufsize = quotearg_buffer (0, 0, arg, argsize, o) + 1; local
557 char *buf = xmalloc (bufsize);
558 quotearg_buffer (buf, bufsize, arg, argsize, o);
/external/qemu/audio/
H A Dfmodaudio.c49 int bufsize; member in struct:__anon10924
577 if (conf.bufsize) {
578 status = FSOUND_SetBufferSize (conf.bufsize);
580 fmod_logerr ("FSOUND_SetBufferSize (%d) failed\n", conf.bufsize);
655 .valp = &conf.bufsize,

Completed in 661 milliseconds

123