Home
last modified time | relevance | path

Searched refs:tempbuf (Results 1 – 10 of 10) sorted by relevance

/external/libvncserver/test/
Dbmp.c112 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/syslinux/com32/modules/
Dpcitest.c49 char tempbuf[10]; \
52 fgets(tempbuf, sizeof tempbuf, stdin); \
/external/syslinux/com32/gplinclude/dmi/
Ddmi.h43 …f (display_line == 24) { char tempbuf[10]; display_line=0; printf("Press enter to continue"); fget…
/external/f2fs-tools/tools/
Df2fscrypt.c456 unsigned char tempbuf[SHA512_LENGTH] = {0}; in pbkdf2_sha512() local
463 __u32 *temp_u32 = (__u32 *)tempbuf; in pbkdf2_sha512()
484 f2fs_sha512(saltbuf, actual_saltbuf_len, tempbuf); in pbkdf2_sha512()
489 memcpy(buf, tempbuf, SHA512_LENGTH); in pbkdf2_sha512()
490 f2fs_sha512(buf, actual_buf_len, tempbuf); in pbkdf2_sha512()
/external/e2fsprogs/misc/
De4crypt.c411 unsigned char tempbuf[SHA512_LENGTH] = {0}; in pbkdf2_sha512() local
418 __u32 *temp_u32 = (__u32 *)tempbuf; in pbkdf2_sha512()
439 ext2fs_sha512(saltbuf, actual_saltbuf_len, tempbuf); in pbkdf2_sha512()
444 memcpy(buf, tempbuf, SHA512_LENGTH); in pbkdf2_sha512()
445 ext2fs_sha512(buf, actual_buf_len, tempbuf); in pbkdf2_sha512()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp584 uint8_t tempbuf[32]; in OnCreateInternal() local
585 memcpy(tempbuf, defpasscode, 32); in OnCreateInternal()
586 CRYPT_ArcFourCryptBlock(tempbuf, 32, m_EncryptKey, key_len); in OnCreateInternal()
587 pEncryptDict->SetNewFor<CPDF_String>("U", ByteString(tempbuf, 32), false); in OnCreateInternal()
/external/libpcap/
Dsockutils.h219 int sock_bufferize(const char *buffer, int size, char *tempbuf, int *offset, int totsize, int check…
Dsockutils.c647 int sock_bufferize(const char *buffer, int size, char *tempbuf, int *offset, int totsize, int check… in sock_bufferize() argument
657 memcpy(tempbuf + (*offset), buffer, size); in sock_bufferize()
/external/curl/lib/
Durldata.h1175 struct tempbuf { struct
1241 struct tempbuf tempwrite[3]; /* BOTH, HEADER, BODY */
Deasy.c1052 struct tempbuf writebuf[3]; /* there can only be three */ in curl_easy_pause()