/frameworks/base/tools/aapt/ |
printapk.cpp | 36 int bufsize; local 90 bufsize = size + (size / 1000) + 1; 91 resfile = malloc(bufsize); 93 err = decompress_zipentry(entry, resfile, bufsize);
|
/system/core/sh/ |
output.h | 45 int bufsize; member in struct:output
|
/external/openssl/crypto/asn1/ |
f_enum.c | 102 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);
|
f_int.c | 106 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);
|
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; 197 bufsize=BIO_gets(bp,buf,size);
|
bio_asn1.c | 95 int bufsize; member in struct:BIO_ASN1_BUF_CTX_t 169 ctx->bufsize = size; 237 OPENSSL_assert(ctx->buflen <= ctx->bufsize);
|
/external/dropbear/ |
packet.c | 320 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)
|
/system/core/libzipfile/ |
private.h | 24 ssize_t bufsize;
member in struct:Zipfile
|
centraldir.c | 186 ssize_t bufsize = file->bufsize;
local 194 if (bufsize < EOCD_LEN) {
195 fprintf(stderr, "Length is %d -- too small\n", bufsize);
200 if (bufsize > MAX_EOCD_SEARCH) {
201 start = buf + bufsize - MAX_EOCD_SEARCH;
205 p = buf + bufsize - 4;
219 err = read_central_dir_values(file, eocd, (buf+bufsize)-eocd);
233 len = (buf+bufsize)-p;
|
/device/samsung/crespo/libaudio2/ |
aplay.c | 54 unsigned bufsize; local 73 bufsize = pcm_buffer_size(pcm); 74 data = malloc(bufsize); 80 while (read(fd, data, bufsize) == bufsize) { 81 if (pcm_write(pcm, data, bufsize))
|
arec.c | 52 unsigned avail, xfer, bufsize; local 62 bufsize = pcm_buffer_size(pcm); 64 data = malloc(bufsize); 70 while (!pcm_read(pcm, data, bufsize)) { 71 if (write(fd, data, bufsize) != bufsize) { 72 fprintf(stderr,"could not write %d bytes\n", bufsize);
|
/external/jpeg/ |
ansi2knr.c | 324 #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/ |
pcap-int.h | 81 int bufsize; member in struct:pcap
|
/hardware/ti/omap3/dspbridge/inc/ |
rms_sh.h | 93 RMS_WORD bufsize; /* Buffer size (in DSP words) */ member in struct:RMS_StrmDef
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
rms_sh.h | 93 RMS_WORD bufsize; /* Buffer size (in DSP words) */ member in struct:RMS_StrmDef
|
/device/samsung/crespo/alsa-lib/src/seq/ |
seq_midi_event.c | 43 size_t bufsize; member in struct:snd_midi_event 133 * \param bufsize buffer size for MIDI message 139 int snd_midi_event_new(size_t bufsize, snd_midi_event_t **rdev) 147 if (bufsize > 0) { 148 dev->buf = malloc(bufsize); 154 dev->bufsize = bufsize; 238 * \param bufsize new requested buffer size 243 int snd_midi_event_resize_buffer(snd_midi_event_t *dev, size_t bufsize) 247 if (bufsize == dev->bufsize [all...] |
/external/chromium/base/ |
registry.cc | 254 DWORD bufsize = sizeof(buf)/sizeof(*buf); local 255 LRESULT r = ::RegEnumValue(key_, index, buf, &bufsize, NULL, NULL,
|
/external/chromium/net/base/ |
nss_memio.c | 30 int bufsize; /* number of bytes allocated to buf */ member in struct:memio_buffer 87 mb->bufsize = size; 103 return (((mb->tail >= mb->head) ? mb->tail : mb->bufsize) - mb->head); 110 return mb->bufsize - mb->tail - (mb->head == 0); 125 if (mb->tail == mb->bufsize) 137 if (mb->tail == mb->bufsize) 158 if (mb->head == mb->bufsize) 169 if (mb->head == mb->bufsize) 214 PR_ASSERT(mb->bufsize); 242 PR_ASSERT(mb->bufsize); [all...] |
/external/e2fsprogs/lib/ext2fs/ |
inode.c | 385 struct ext2_inode *inode, int bufsize) 457 memset(inode, 0, bufsize); 463 0, bufsize); 472 memset(inode, 0, bufsize); 478 0, bufsize); 481 memcpy(inode, scan->ptr, bufsize); 505 struct ext2_inode * inode, int bufsize) 528 if (bufsize == sizeof(struct ext2_inode)) { 560 if (bufsize < length) 561 length = bufsize; 591 0, bufsize); local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageProcessor.java | 188 int bufsize = sock.getReceiveBufferSize(); local 189 byte message[] = new byte[bufsize]; 190 DatagramPacket packet = new DatagramPacket(message, bufsize);
|
/external/openssl/apps/ |
enc.c | 110 unsigned char *buff=NULL,*bufsize=NULL; local 220 else if (strcmp(*argv,"-bufsize") == 0) 223 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 != '\0' [all...] |
/system/core/libcutils/ |
tzstrftime.c | 740 size_t bufsize; local 787 bufsize = namesize + st.st_size; 789 lbuf = (lbuf == NULL) ? malloc(bufsize) : realloc(lbuf, bufsize);
|
/bionic/libc/netbsd/ |
gethnamaddr.c | 857 size_t bufsize; local 860 bufsize = strlen(p->h_name) + 2 + 864 bufsize += strlen(*cp) + 1; 866 if ((tmpbuf = malloc(bufsize)) == NULL) {
|
/external/bison/lib/ |
quotearg.c | 556 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/bluetooth/bluez/src/ |
sdpd-service.c | 469 unsigned int bufsize, 480 *scanned = sdp_extract_seqtype(p, bufsize, &dtd, &seqlen); 482 bufsize -= *scanned; 484 if (bufsize < sizeof(uint8_t) + sizeof(uint8_t)) { 494 if (bufsize < (sizeof(uint8_t) * 2) + 526 if (bufsize < attrSize + sizeof(uint16_t)) { 540 pAttr = sdp_extract_attr(p + attrSize, bufsize - attrSize, 552 bufsize -= attrSize; 577 int bufsize = req->len - sizeof(sdp_pdu_hdr_t); local 584 bufsize -= sizeof(bdaddr_t) 647 int bufsize = req->len - sizeof(sdp_pdu_hdr_t); local [all...] |