Searched refs:tempbuf (Results 1 – 3 of 3) sorted by relevance
/external/libvncserver/test/ |
D | bmp.c | 112 unsigned char *tempbuf=NULL; char temps[255], temps2[255]; in loadppm() local 162 if((tempbuf=(unsigned char *)malloc((*w)*(*h)*3))==NULL) in loadppm() 164 if(fread(tempbuf, (*w)*(*h)*3, 1, fs)!=1) _throw("Read error"); in loadppm() 165 pixelconvert(tempbuf, BMP_RGB, (*w)*3, *buf, f, dstpitch, *w, *h, dstbottomup); in loadppm() 170 if(tempbuf) free(tempbuf); in loadppm() 180 unsigned char *tempbuf=NULL; in loadbmp() local 252 if((tempbuf=(unsigned char *)malloc(srcpitch*(*h)))==NULL in loadbmp() 257 _unix(bytesread=read(fd, tempbuf, srcpitch*(*h))); in loadbmp() 260 pixelconvert(tempbuf, BMP_BGR, srcpitch, *buf, f, dstpitch, *w, *h, in loadbmp() 264 if(tempbuf) free(tempbuf); in loadbmp() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_encrypt.cpp | 600 uint8_t tempbuf[32]; in OnCreate() local 601 FXSYS_memcpy(tempbuf, defpasscode, 32); in OnCreate() 602 CRYPT_ArcFourCryptBlock(tempbuf, 32, m_EncryptKey, key_len); in OnCreate() 603 pEncryptDict->SetAtString("U", CFX_ByteString(tempbuf, 32)); in OnCreate()
|
/external/opencv/cxcore/src/ |
D | cxmatmul.cpp | 2382 CvSize size, avgtype* tempbuf ) \ 2389 *tempbuf++ = load_macro(vec[x]) - avg[x]; \ 2390 tempbuf -= dstsize; \ 2395 double ty = tempbuf[y]; \ 2398 double t0 = dst[x] + ty*tempbuf[x]; \ 2399 double t1 = dst[x+1] + ty*tempbuf[x+1]; \ 2402 t0 = dst[x+2] + ty*tempbuf[x+2]; \ 2403 t1 = dst[x+3] + ty*tempbuf[x+3]; \ 2408 dst[x] = (avgtype)(dst[x] + ty*tempbuf[x]); \
|