Home
last modified time | relevance | path

Searched refs:bufsize (Results 1 – 25 of 100) sorted by relevance

1234

/external/elfutils/libcpu/
Di386_data.h121 if (*d->bufcntp + 4 > d->bufsize) in data_prefix()
122 return *d->bufcntp + 4 - d->bufsize; in data_prefix()
164 size_t bufsize = d->bufsize; in general_mod$r_m() local
201 if (*bufcntp + n + 1 > bufsize) in general_mod$r_m()
202 return *bufcntp + n + 1 - bufsize; in general_mod$r_m()
275 if (*bufcntp + n + 1 > bufsize) in general_mod$r_m()
276 return *bufcntp + n + 1 - bufsize; in general_mod$r_m()
373 if (*bufcntp + (cp - tmpbuf) > bufsize) in general_mod$r_m()
374 return *bufcntp + (cp - tmpbuf) - bufsize; in general_mod$r_m()
398 size_t avail = d->bufsize - *bufcntp; in FCT_MOD$R_M()
[all …]
Di386_disasm.c263 size_t bufsize; member
289 if (unlikely (bufcnt == bufsize)) \
298 if (unlikely (bufcnt + _len > bufsize)) \
316 size_t bufsize = BUFSIZE; in i386_disasm() local
324 .bufsize = bufsize, in i386_disasm()
436 buf = malloc (2 * bufsize); in i386_disasm()
438 buf = realloc (buf, 2 * bufsize); in i386_disasm()
445 bufsize *= 2; in i386_disasm()
448 output_data.bufsize = bufsize; in i386_disasm()
977 size_t bufavail = bufsize - bufcnt; in i386_disasm()
[all …]
/external/chromium/net/base/
Dnss_memio.c30 int bufsize; /* number of bytes allocated to buf */ member
90 mb->bufsize = size; in memio_buffer_new()
106 return (((mb->tail >= mb->head) ? mb->tail : mb->bufsize) - mb->head); in memio_buffer_used_contiguous()
119 return mb->bufsize - mb->tail - (mb->head == 0); in memio_buffer_unused_contiguous()
134 if (mb->tail == mb->bufsize) in memio_buffer_put()
146 if (mb->tail == mb->bufsize) in memio_buffer_put()
167 if (mb->head == mb->bufsize) in memio_buffer_get()
178 if (mb->head == mb->bufsize) in memio_buffer_get()
223 PR_ASSERT(mb->bufsize); in memio_Recv()
251 PR_ASSERT(mb->bufsize); in memio_Send()
[all …]
/external/javassist/src/main/javassist/
DClassPoolTail.java386 int bufsize = 4096; in readStream() local
389 bufs[i] = new byte[bufsize]; in readStream()
393 len = fin.read(bufs[i], size, bufsize - size); in readStream()
397 byte[] result = new byte[bufsize - 4096 + size]; in readStream()
407 } while (size < bufsize); in readStream()
408 bufsize *= 2; in readStream()
422 int bufsize = 4096; in copyStream() local
424 byte[] buf = new byte[bufsize]; in copyStream()
428 len = fin.read(buf, size, bufsize - size); in copyStream()
435 } while (size < bufsize); in copyStream()
[all …]
/external/openssl/crypto/asn1/
Df_string.c100 int i,j,k,m,n,again,bufsize; in a2i_ASN1_STRING() local
105 bufsize=BIO_gets(bp,buf,size); in a2i_ASN1_STRING()
108 if (bufsize < 1) in a2i_ASN1_STRING()
117 i=bufsize; in a2i_ASN1_STRING()
197 bufsize=BIO_gets(bp,buf,size); in a2i_ASN1_STRING()
Df_enum.c102 int i,j,k,m,n,again,bufsize; in a2i_ASN1_ENUMERATED() local
109 bufsize=BIO_gets(bp,buf,size); in a2i_ASN1_ENUMERATED()
112 if (bufsize < 1) goto err_sl; in a2i_ASN1_ENUMERATED()
113 i=bufsize; in a2i_ASN1_ENUMERATED()
192 bufsize=BIO_gets(bp,buf,size); in a2i_ASN1_ENUMERATED()
Df_int.c106 int i,j,k,m,n,again,bufsize; in a2i_ASN1_INTEGER() local
113 bufsize=BIO_gets(bp,buf,size); in a2i_ASN1_INTEGER()
116 if (bufsize < 1) goto err_sl; in a2i_ASN1_INTEGER()
117 i=bufsize; in a2i_ASN1_INTEGER()
204 bufsize=BIO_gets(bp,buf,size); in a2i_ASN1_INTEGER()
/external/e2fsprogs/lib/ext2fs/
Dinode.c405 struct ext2_inode *inode, int bufsize) in ext2fs_get_next_inode_full() argument
479 memset(inode, 0, bufsize); in ext2fs_get_next_inode_full()
483 0, bufsize); in ext2fs_get_next_inode_full()
492 memset(inode, 0, bufsize); in ext2fs_get_next_inode_full()
496 0, bufsize); in ext2fs_get_next_inode_full()
498 memcpy(inode, scan->ptr, bufsize); in ext2fs_get_next_inode_full()
523 struct ext2_inode * inode, int bufsize) in ext2fs_read_inode_full() argument
548 if (bufsize == sizeof(struct ext2_inode)) { in ext2fs_read_inode_full()
580 if (bufsize < length) in ext2fs_read_inode_full()
581 length = bufsize; in ext2fs_read_inode_full()
[all …]
Dswapfs.c133 void ext2fs_swap_ext_attr(char *to, char *from, int bufsize, int has_header) in ext2fs_swap_ext_attr() argument
140 char *from_end = (char *)from_header + bufsize; in ext2fs_swap_ext_attr()
143 memcpy(to_header, from_header, bufsize); in ext2fs_swap_ext_attr()
164 int bufsize) in ext2fs_swap_inode_full() argument
242 if (bufsize < (int) (sizeof(struct ext2_inode) + sizeof(__u16))) in ext2fs_swap_inode_full()
257 if (bufsize < (int) i) in ext2fs_swap_inode_full()
276 bufsize - sizeof(struct ext2_inode) - in ext2fs_swap_inode_full()
/external/openssl/apps/
Denc.c107 unsigned char *buff=NULL,*bufsize=NULL; in MAIN() local
221 bufsize=(unsigned char *)*(++argv); in MAIN()
345 if (bufsize != NULL) in MAIN()
349 for (n=0; *bufsize; bufsize++) in MAIN()
351 i= *bufsize; in MAIN()
357 bufsize++; in MAIN()
361 if (*bufsize != '\0') in MAIN()
400 if (bufsize != NULL) in MAIN()
456 if (bufsize != NULL) in MAIN()
/external/jpeg/
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/
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/
DWString.cpp422 void String::getBytes(unsigned char *buf, unsigned int bufsize) in getBytes() argument
424 if (!bufsize || !buf) return; in getBytes()
425 unsigned int len = bufsize - 1; in getBytes()
431 void String::toCharArray(char *buf, unsigned int bufsize) in toCharArray() argument
433 if (!bufsize || !buf) return; in toCharArray()
434 unsigned int len = bufsize - 1; in toCharArray()
DWString.h79 void getBytes(unsigned char *buf, unsigned int bufsize);
80 void toCharArray(char *buf, unsigned int bufsize);
/external/qemu/audio/
Ddsoundaudio.c580 int bufsize; in dsound_run_out() local
588 bufsize = hw->samples << hwshift; in dsound_run_out()
606 cur_blat = audio_ring_dist (wpos, ppos, bufsize); in dsound_run_out()
611 old_pos %= bufsize; in dsound_run_out()
631 ds->played += audio_ring_dist (ds->old_pos, ppos, hw->bufsize); in dsound_run_out()
640 if ((old_pos > ppos) && ((old_pos + len) > (ppos + bufsize))) { in dsound_run_out()
641 len = bufsize - old_pos + ppos; in dsound_run_out()
645 if (audio_bug (AUDIO_FUNC, len < 0 || len > bufsize)) { in dsound_run_out()
647 len, bufsize, old_pos, ppos); in dsound_run_out()
685 ds->old_pos = (old_pos + (decr << hwshift)) % bufsize; in dsound_run_out()
/external/bison/src/
Dlocation.c37 add_column_width (int column, char const *buf, size_t bufsize) in add_column_width() argument
44 if (INT_MAX / 2 <= bufsize) in add_column_width()
46 width = mbsnwidth (buf, bufsize, 0); in add_column_width()
49 width = bufsize; in add_column_width()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DUDPMessageProcessor.java188 int bufsize = sock.getReceiveBufferSize(); in run() local
189 byte message[] = new byte[bufsize]; in run()
190 DatagramPacket packet = new DatagramPacket(message, bufsize); in run()
/external/bison/lib/
Dunistd.in.h1160 (int fd, void *buf, size_t bufsize, off_t offset)
1163 (int fd, void *buf, size_t bufsize, off_t offset));
1167 (int fd, void *buf, size_t bufsize, off_t offset)
1171 (int fd, void *buf, size_t bufsize, off_t offset));
1195 (int fd, const void *buf, size_t bufsize, off_t offset)
1198 (int fd, const void *buf, size_t bufsize, off_t offset));
1202 (int fd, const void *buf, size_t bufsize, off_t offset)
1206 (int fd, const void *buf, size_t bufsize, off_t offset));
1251 (const char *file, char *buf, size_t bufsize)
1254 (const char *file, char *buf, size_t bufsize));
[all …]
/external/bison/linux-lib/
Dunistd.h1472 (int fd, void *buf, size_t bufsize, off_t offset)
1475 (int fd, void *buf, size_t bufsize, off_t offset));
1479 (int fd, void *buf, size_t bufsize, off_t offset)
1483 (int fd, void *buf, size_t bufsize, off_t offset));
1507 (int fd, const void *buf, size_t bufsize, off_t offset)
1510 (int fd, const void *buf, size_t bufsize, off_t offset));
1514 (int fd, const void *buf, size_t bufsize, off_t offset)
1518 (int fd, const void *buf, size_t bufsize, off_t offset));
1563 (const char *file, char *buf, size_t bufsize)
1566 (const char *file, char *buf, size_t bufsize));
[all …]
/external/bison/darwin-lib/
Dunistd.h1472 (int fd, void *buf, size_t bufsize, off_t offset)
1475 (int fd, void *buf, size_t bufsize, off_t offset));
1479 (int fd, void *buf, size_t bufsize, off_t offset)
1483 (int fd, void *buf, size_t bufsize, off_t offset));
1507 (int fd, const void *buf, size_t bufsize, off_t offset)
1510 (int fd, const void *buf, size_t bufsize, off_t offset));
1514 (int fd, const void *buf, size_t bufsize, off_t offset)
1518 (int fd, const void *buf, size_t bufsize, off_t offset));
1563 (const char *file, char *buf, size_t bufsize)
1566 (const char *file, char *buf, size_t bufsize));
[all …]
/external/opencv/cv/src/
Dcvderiv.cpp151 ( CvSize roi, int* bufsize );
154 ( CvSize roi, int masksize, int* bufsize );
294 int bufsize = 0, masksize = aperture_size == 3 ? 33 : 55; in cvSobel() local
304 ipp_sobel_getbufsize_func( size, masksize, &bufsize ) : in cvSobel()
305 ipp_scharr_getbufsize_func( size, &bufsize ); in cvSobel()
309 if( bufsize <= CV_MAX_LOCAL_SIZE ) in cvSobel()
311 buffer = cvStackAlloc( bufsize ); in cvSobel()
315 CV_CALL( buffer = cvAlloc( bufsize )); in cvSobel()
835 int bufsize = 0, masksize = aperture_size == 3 ? 33 : 55; in cvLaplace() local
844 status = ipp_laplace_getbufsize_func( size, masksize, &bufsize ); in cvLaplace()
[all …]
/external/kernel-headers/original/linux/sunrpc/
Dgss_api.h38 size_t bufsize,
90 size_t bufsize,
/external/openssh/
Dsshlogin.c73 char *buf, size_t bufsize) in get_last_login_time() argument
78 strlcpy(buf, li.hostname, bufsize); in get_last_login_time()
/external/dropbear/
Dpacket.c320 unsigned long bufsize; in checkmac() local
349 bufsize = sizeof(tempbuf); in checkmac()
350 if (hmac_done(&hmac, tempbuf, &bufsize) != CRYPT_OK) { in checkmac()
525 unsigned long bufsize; in writemac() local
555 bufsize = sizeof(tempbuf); in writemac()
556 if (hmac_done(&hmac, tempbuf, &bufsize) in writemac()
/external/libpcap/
Dpcap-pf.c105 cc = read(pc->fd, (char *)pc->buffer + pc->offset, pc->bufsize); in pcap_read_pf()
110 lseek(pc->fd, 0L, SEEK_CUR) + pc->bufsize < 0) { in pcap_read_pf()
485 p->bufsize = BUFSPACE; in pcap_open_live()
486 p->buffer = (u_char*)malloc(p->bufsize + p->offset); in pcap_open_live()

1234