Searched refs:tempbuf (Results 1 – 3 of 3) sorted by relevance
/external/libvncserver/test/ |
D | bmp.c | 115 unsigned char *tempbuf=NULL; char temps[255], temps2[255]; in loadppm() local 165 if((tempbuf=(unsigned char *)malloc((*w)*(*h)*3))==NULL) in loadppm() 167 if(fread(tempbuf, (*w)*(*h)*3, 1, fs)!=1) _throw("Read error"); in loadppm() 168 pixelconvert(tempbuf, BMP_RGB, (*w)*3, *buf, f, dstpitch, *w, *h, dstbottomup); in loadppm() 173 if(tempbuf) free(tempbuf); in loadppm() 183 unsigned char *tempbuf=NULL; in loadbmp() local 255 if((tempbuf=(unsigned char *)malloc(srcpitch*(*h)))==NULL in loadbmp() 260 _unix(bytesread=read(fd, tempbuf, srcpitch*(*h))); in loadbmp() 263 pixelconvert(tempbuf, BMP_BGR, srcpitch, *buf, f, dstpitch, *w, *h, in loadbmp() 267 if(tempbuf) free(tempbuf); in loadbmp() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_encrypt.cpp | 559 FX_BYTE tempbuf[32]; in OnCreate() local 560 FXSYS_memcpy32(tempbuf, defpasscode, 32); in OnCreate() 561 CRYPT_ArcFourCryptBlock(tempbuf, 32, m_EncryptKey, key_len); in OnCreate() 562 pEncryptDict->SetAtString(FX_BSTRC("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]); \
|