/external/ltp/testcases/kernel/io/aio/aio01/ |
aio01.c | 82 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 = malloc(sizeof(char) * bufsize)) == NULL [all...] |
/external/opencv/cxcore/src/ |
cxlogic.cpp | 192 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 = cvMat( dy, size.width, type ) [all...] |
cxarithm.cpp | 289 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 = cvMat( dy, size.width, type ) 765 CvMat dstbuf, *tdst; local 1012 CvMat dstbuf, *tdst; local [all...] |
/external/libvncserver/test/ |
tjbench.c | 79 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[gindex]=abs(dstbuf[gindex]-y) [all...] |
bmp.c | 88 int srcpitch, unsigned char *dstbuf, enum BMPPIXELFORMAT dstformat, int dstpitch, 95 for(j=0, dstptr=dstbuf; j<h; j++,
|
/external/libjpeg-turbo/ |
tjbench.c | 105 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) 230 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf, 253 dstbuf[rindex]=abs(dstbuf[rindex]-y); 254 dstbuf[gindex]=abs(dstbuf[gindex]-y) [all...] |
bmp.c | 76 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)];
|
/external/mesa3d/src/mesa/vbo/ |
vbo_split_copy.c | 87 GLubyte *dstbuf; member in struct:copy_context 88 GLubyte *dstptr; /**< dstptr == dstbuf + dstelt_max * vertsize */ 214 copy->dstptr = copy->dstbuf; 292 assert(copy->dstptr == (copy->dstbuf + 512 copy->dstbuf = malloc(copy->dstbuf_size * copy->vertex_size); 513 copy->dstptr = copy->dstbuf; 526 dst->Ptr = copy->dstbuf + offset; 568 free(copy->dstbuf);
|
/external/protobuf/php/ext/google/protobuf/ |
upb.c | 9203 char dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); local [all...] |
/external/protobuf/ruby/ext/google/protobuf_c/ |
upb.c | 9877 char dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); local [all...] |