Searched refs:dstbuf (Results 1 - 10 of 10) sorted by relevance

/external/ltp/testcases/kernel/io/aio/aio01/
H A Daio01.c82 char *srcbuf, *dstbuf; variable
160 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
223 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
268 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
314 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
329 if (srcbuf[j] != dstbuf[j]) {
332 dstbuf[j], srcbuf[j]);
389 posix_memalign((void **)&dstbuf, bufsize, bufsize)) != 0)
391 "posix_memalign for dstbuf "
397 if ((dstbuf
[all...]
/external/opencv/cxcore/src/
H A Dcxlogic.cpp192 CvMat dstbuf, *tdst; local
286 dstbuf = cvMat( dy, size.width, type );
288 dstbuf.step = cvAlign( dstbuf.step, 8 );
289 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size;
297 dstbuf.data.ptr = buffer;
298 tdst = &dstbuf;
356 CvMat dstbuf, *tdst; local
453 dstbuf
[all...]
H A Dcxarithm.cpp289 CvMat dstbuf, *tdst; local
442 dstbuf = cvMat( dy, size.width, type );
444 dstbuf.step = cvAlign( dstbuf.step, 8 );
445 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size;
453 dstbuf.data.ptr = buffer;
454 tdst = &dstbuf;
540 CvMat dstbuf, *tdst; local
686 dstbuf
765 CvMat dstbuf, *tdst; local
1012 CvMat dstbuf, *tdst; local
[all...]
/external/libvncserver/test/
H A Dtjbench.c79 unsigned long *jpegsize, unsigned char *dstbuf, int w, int h,
104 if(dstbuf==NULL)
106 if((dstbuf=(unsigned char *)malloc(bufsize)) == NULL)
112 memset(dstbuf, 127, bufsize);
115 if(tjDecompress2(handle, jpegbuf[0], jpegsize[0], dstbuf, scaledw,
123 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh)
160 if(savebmp(tempstr, dstbuf, scaledw, scaledh, bmpPF[pf], pitch,
182 dstbuf[rindex]=abs(dstbuf[rindex]-y);
183 dstbuf[ginde
78 decomptest(unsigned char *srcbuf, unsigned char **jpegbuf, unsigned long *jpegsize, unsigned char *dstbuf, int w, int h, int subsamp, int jpegqual, char *filename, int tilew, int tileh) argument
[all...]
H A Dbmp.c88 int srcpitch, unsigned char *dstbuf, enum BMPPIXELFORMAT dstformat, int dstpitch,
95 for(j=0, dstptr=dstbuf; j<h; j++,
87 pixelconvert(unsigned char *srcbuf, enum BMPPIXELFORMAT srcformat, int srcpitch, unsigned char *dstbuf, enum BMPPIXELFORMAT dstformat, int dstpitch, int w, int h, int flip) argument
/external/libjpeg-turbo/
H A Dtjbench.c105 unsigned long *jpegsize, unsigned char *dstbuf, int w, int h,
128 if(dstbuf==NULL)
130 if((dstbuf=(unsigned char *)malloc(pitch*scaledh))==NULL)
136 memset(dstbuf, 127, pitch*scaledh);
155 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh)
235 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf,
258 dstbuf[rindex]=abs(dstbuf[rindex]-y);
259 dstbuf[gindex]=abs(dstbuf[ginde
104 decomp(unsigned char *srcbuf, unsigned char **jpegbuf, unsigned long *jpegsize, unsigned char *dstbuf, int w, int h, int subsamp, int jpegqual, char *filename, int tilew, int tileh) argument
[all...]
H A Dbmp.c76 unsigned char *dstbuf, int dstpf, int dstbottomup, int w, int h)
81 unsigned char *dstrowptr=dstbuf, *dstcolptr;
87 if(dstbottomup) dstrowptr=&dstbuf[w*dstps*(h-1)];
75 pixelconvert(unsigned char *srcbuf, int srcpf, int srcbottomup, unsigned char *dstbuf, int dstpf, int dstbottomup, int w, int h) argument
/external/mesa3d/src/mesa/vbo/
H A Dvbo_split_copy.c89 GLubyte *dstbuf; member in struct:copy_context
90 GLubyte *dstptr; /**< dstptr == dstbuf + dstelt_max * vertsize */
216 copy->dstptr = copy->dstbuf;
294 assert(copy->dstptr == (copy->dstbuf +
518 copy->dstbuf = malloc(copy->dstbuf_size * copy->vertex_size);
519 copy->dstptr = copy->dstbuf;
531 dst->Ptr = copy->dstbuf + offset;
572 free(copy->dstbuf);
/external/protobuf/php/ext/google/protobuf/
H A Dupb.c9203 char dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); local
9215 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL);
9216 dst = dstbuf;
9243 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL);
/external/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.c9877 char dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); local
9889 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL);
9890 dst = dstbuf;
9917 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL);

Completed in 595 milliseconds