Searched defs:bufsize (Results 51 - 75 of 115) sorted by relevance

12345

/external/opencv/cv/src/
H A Dcvderiv.cpp151 ( CvSize roi, int* bufsize );
154 ( CvSize roi, int masksize, int* bufsize );
294 int bufsize = 0, masksize = aperture_size == 3 ? 33 : 55; local
304 ipp_sobel_getbufsize_func( size, masksize, &bufsize ) :
305 ipp_scharr_getbufsize_func( size, &bufsize );
309 if( bufsize <= CV_MAX_LOCAL_SIZE )
311 buffer = cvStackAlloc( bufsize );
315 CV_CALL( buffer = cvAlloc( bufsize ));
835 int bufsize = 0, masksize = aperture_size == 3 ? 33 : 55; local
844 status = ipp_laplace_getbufsize_func( size, masksize, &bufsize );
[all...]
H A Dcvpyramids.cpp1195 int bufsize = 0; local
1198 bufsize = buf->rows*buf->cols*CV_ELEM_SIZE(buf->type);
1210 bufsize -= layer_step*layer_size.height;
1213 if( bufsize < 0 )
/external/opencv3/3rdparty/libjasper/
H A Djas_stream.c102 int bufsize);
171 jas_stream_t *jas_stream_memopen(char *buf, int bufsize) argument
205 if (bufsize <= 0) {
209 obj->bufsize_ = bufsize;
223 if (bufsize > 0 && buf) {
226 obj->len_ = bufsize;
582 char *jas_stream_gets(jas_stream_t *stream, char *buf, int bufsize) argument
586 assert(bufsize > 0);
589 while (bufsize > 1) {
594 --bufsize;
705 jas_stream_initbuf(jas_stream_t *stream, int bufmode, char *buf, int bufsize) argument
999 mem_resize(jas_stream_memobj_t *m, int bufsize) argument
[all...]
/external/pdfium/third_party/lpng_v163/
H A Dpngerror.c111 png_safecat(png_charp buffer, size_t bufsize, size_t pos, argument
114 if (buffer != NULL && pos < bufsize)
117 while (*string != '\0' && pos < bufsize-1)
/external/tcpdump/
H A Dutil.c319 register u_int v, char *buf, size_t bufsize)
331 (void)snprintf(buf, bufsize, fmt, v);
318 tok2strbuf(register const struct tok *lp, register const char *fmt, register u_int v, char *buf, size_t bufsize) argument
/external/vboot_reference/host/arch/arm/lib/
H A Dcrossystem_arch.c290 static int ExecuteMosys(char * const argv[], char *buf, size_t bufsize) { argument
323 if (bufsize) {
324 bufsize--; /* Reserve 1 byte for '\0' */
325 while ((n = read(mosys_to_crossystem[0], buf, bufsize)) > 0) {
327 bufsize -= n;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cc136 uptr internal_readlink(const char *path, char *buf, uptr bufsize) { argument
137 return readlink(path, buf, bufsize);
H A Dsanitizer_linux.cc279 uptr internal_readlink(const char *path, char *buf, uptr bufsize) { argument
282 (uptr)path, (uptr)buf, bufsize);
284 return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize);
/external/curl/tests/server/
H A Dtftpd.c107 size_t bufsize; /* size of the data in buffer */ member in struct:testcase
1118 test->bufsize = count; /* set total count */
1176 test->bufsize = count; /* set total count */
/external/elfutils/libcpu/
H A Di386_data.h124 if (*d->bufcntp + 4 > d->bufsize)
125 return *d->bufcntp + 4 - d->bufsize;
167 size_t bufsize = d->bufsize; local
204 if (*bufcntp + n + 1 > bufsize)
205 return *bufcntp + n + 1 - bufsize;
278 if (*bufcntp + n + 1 > bufsize)
279 return *bufcntp + n + 1 - bufsize;
376 if (*bufcntp + (cp - tmpbuf) > bufsize)
377 return *bufcntp + (cp - tmpbuf) - bufsize;
509 size_t bufsize = d->bufsize; local
536 size_t bufsize = d->bufsize; local
[all...]
H A Di386_disasm.c266 size_t bufsize; member in struct:output_data
292 if (unlikely (bufcnt == bufsize)) \
308 if (unlikely (bufcnt + _len > bufsize)) \
326 size_t bufsize = BUFSIZE; local
334 .bufsize = bufsize,
459 buf = malloc (2 * bufsize);
461 buf = realloc (buf, 2 * bufsize);
468 bufsize *= 2;
471 output_data.bufsize
[all...]
/external/elfutils/src/
H A Dar.c1085 no0print (bool ofmt, char *buf, int bufsize, long int val) argument
1087 char tmpbuf[bufsize + 1];
1088 snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*lo" : "%-*ld", bufsize, val);
1089 memcpy (buf, tmpbuf, bufsize);
/external/libpcap/
H A Dpcap-sita.c403 static void nonUnified_IOP_port_name(char *buf, size_t bufsize, const char *proto, unit_t *u) { argument
405 snprintf(buf, bufsize, "%s_%d_%d", proto, u->chassis, u->geoslot);
408 static void unified_IOP_port_name(char *buf, size_t bufsize, const char *proto, unit_t *u, int IOPportnum) { argument
412 snprintf(buf, bufsize, "%s_%d", proto, portnum);
989 handle->bufsize = handle->snapshot;
993 handle->buffer = malloc(handle->bufsize + handle->offset);
/external/opencv3/3rdparty/libtiff/
H A Dtif_getimage.c695 tmsize_t bufsize; local
703 bufsize = TIFFSafeMultiply(tmsize_t,alpha?4:3,tilesize);
704 if (bufsize == 0) {
708 buf = (unsigned char*) _TIFFmalloc(bufsize);
713 _TIFFmemset(buf, 0, bufsize);
926 tmsize_t bufsize; local
932 bufsize = TIFFSafeMultiply(tmsize_t,alpha?4:3,stripsize);
933 if (bufsize == 0) {
937 p0 = buf = (unsigned char *)_TIFFmalloc(bufsize);
942 _TIFFmemset(buf, 0, bufsize);
[all...]
/external/opencv3/modules/imgproc/src/
H A Dcorner.cpp619 Ipp32s bufsize = 0; local
628 if (ippiHarrisCornerGetBufferSize(roisize, masksize, blockSize, datatype, cn, &bufsize) >= 0)
630 Ipp8u * buffer = ippsMalloc_8u(bufsize);
H A Dderiv.cpp824 Ipp32s bufsize; local
833 if (borderTypeIpp >= 0 && ippiFilterLaplacianGetBufferSize_##ippfavor##_C1R(roisize, masksize, &bufsize) >= 0) \
835 Ipp8u * buffer = ippsMalloc_8u(bufsize); \
/external/opencv3/modules/videoio/src/
H A Dcap_gstreamer.cpp1208 int bufsize = 0; local
1336 bufsize = frameSize.width * frameSize.height * 3;
1360 bufsize = frameSize.width * frameSize.height;
1393 g_object_set(G_OBJECT(file), "buffer-size", bufsize, NULL); local
/external/pdfium/third_party/libopenjpeg20/
H A Ddwt.c862 OPJ_UINT32 bufsize = (OPJ_UINT32)((tilec->x1 - tilec->x0) * (tilec->y1 - tilec->y0)); local
878 opj_v4dwt_interleave_h(&h, aj, (OPJ_INT32)w, (OPJ_INT32)bufsize);
889 bufsize -= w*4;
895 opj_v4dwt_interleave_h(&h, aj, (OPJ_INT32)w, (OPJ_INT32)bufsize);
/external/pdfium/third_party/libtiff/
H A Dtif_getimage.c727 tmsize_t bufsize; local
739 bufsize = TIFFSafeMultiply(tmsize_t,alpha?4:3,tilesize);
740 if (bufsize == 0) {
744 buf = (unsigned char*) _TIFFmalloc(bufsize);
749 _TIFFmemset(buf, 0, bufsize);
984 tmsize_t bufsize; local
990 bufsize = TIFFSafeMultiply(tmsize_t,alpha?4:3,stripsize);
991 if (bufsize == 0) {
995 p0 = buf = (unsigned char *)_TIFFmalloc(bufsize);
1000 _TIFFmemset(buf, 0, bufsize);
[all...]
/external/strace/
H A Dutil.c476 getfdproto(struct tcb *tcp, int fd, char *buf, unsigned bufsize) argument
486 r = getxattr(path, "system.sockprotoname", buf, bufsize - 1);
/external/avahi/avahi-compat-howl/
H A Dunsupported.c909 AVAHI_GCC_UNUSED sw_uint32 bufsize) {
904 sw_corby_object_init_from_url( AVAHI_GCC_UNUSED sw_corby_object * self, AVAHI_GCC_UNUSED struct _sw_corby_orb * orb, AVAHI_GCC_UNUSED sw_const_string url, AVAHI_GCC_UNUSED sw_socket_options options, AVAHI_GCC_UNUSED sw_uint32 bufsize) argument
/external/curl/packages/OS400/
H A Dos400sys.c578 const char * ebcdicbuf, int bufsize, const char * * buffer)
591 if(!(asciibuf = malloc(bufsize + 1))) {
595 QadrtConvertE2A(asciibuf, ebcdicbuf, bufsize, bufsize);
596 asciibuf[bufsize] = '\0';
577 cachestring(struct Curl_gsk_descriptor * p, const char * ebcdicbuf, int bufsize, const char * * buffer) argument
/external/e2fsprogs/debugfs/
H A Ddebugfs.c1578 static errcode_t copy_file(int fd, ext2_ino_t newfile, int bufsize, int make_holes) argument
1594 retval = ext2fs_get_mem(bufsize, &buf);
1601 retval = ext2fs_get_memzero(bufsize, &zero_buf);
1609 got = read(fd, buf, bufsize);
1662 int bufsize = IO_BUFSIZE; local
1745 bufsize = statbuf.st_blksize;
1747 retval = copy_file(fd, newfile, bufsize, make_holes);
/external/fio/
H A Dclient.c371 size_t bufsize)
376 from = inet_ntop(AF_INET6, (struct sockaddr *) &client->addr6.sin6_addr, buf, bufsize);
380 from = inet_ntop(AF_INET, (struct sockaddr *) &client->addr.sin_addr, buf, bufsize);
370 server_name(struct fio_client *client, char *buf, size_t bufsize) argument
/external/iputils/
H A Drdisc.c1110 unsigned bufsize; local
1124 bufsize = numifs * sizeof(struct ifreq);
1125 buf = (char *)malloc(bufsize);
1143 ifc.ifc_len = bufsize;

Completed in 1029 milliseconds

12345