/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_decode.cpp | 12 …ORD _A85Decode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size) in _A85Decode() argument 14 dest_size = 0; in _A85Decode() 45 pos = dest_size = 0; in _A85Decode() 52 FXSYS_memset32(dest_buf + dest_size, 0, 4); in _A85Decode() 55 dest_size += 4; in _A85Decode() 64 dest_buf[dest_size++] = (FX_BYTE)(res >> (3 - i) * 8); in _A85Decode() 77 dest_buf[dest_size++] = (FX_BYTE)(res >> (3 - i) * 8); in _A85Decode() 85 …ORD _HexDecode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size) in _HexDecode() argument 93 dest_size = 0; in _HexDecode() 114 dest_buf[dest_size] = digit * 16; in _HexDecode() [all …]
|
D | fpdf_parser_encrypt.cpp | 664 FX_LPBYTE dest_buf, FX_DWORD& dest_size) in CryptBlock() argument 706 dest_size = 32 + nblocks * 16; in CryptBlock() 710 dest_size = src_size - 16; in CryptBlock() 711 dest_size -= dest_buf[dest_size - 1]; in CryptBlock() 714 ASSERT(dest_size == src_size); in CryptBlock() 718 CRYPT_ArcFourCryptBlock(dest_buf, dest_size, realkey, realkeylen); in CryptBlock() 935 FX_LPBYTE dest_buf, FX_DWORD& dest_size) in EncryptContent() argument 937 CryptBlock(TRUE, objnum, gennum, src_buf, src_size, dest_buf, dest_size); in EncryptContent()
|
D | fpdf_parser_filters.cpp | 308 int FPDFAPI_FlateOutput(void* context, unsigned char* dest_buf, unsigned int dest_size);
|
D | fpdf_parser_objects.cpp | 1058 … FX_LPBYTE& dest_buf, FX_DWORD& dest_size, CFX_ByteString& ImageEncoding,
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_flate.cpp | 44 int FPDFAPI_FlateOutput(void* context, unsigned char* dest_buf, unsigned int dest_size) in FPDFAPI_FlateOutput() argument 47 ((z_stream*)context)->avail_out = dest_size; in FPDFAPI_FlateOutput() 52 if (written < dest_size) { in FPDFAPI_FlateOutput() 53 FXSYS_memset8(dest_buf + written, '\0', dest_size - written); in FPDFAPI_FlateOutput() 74 …void FPDFAPI_FlateCompress(unsigned char* dest_buf, unsigned long* dest_size, const unsigned char*… in FPDFAPI_FlateCompress() argument 76 compress(dest_buf, dest_size, src_buf, src_size); in FPDFAPI_FlateCompress() 130 int CLZWDecoder::Decode(FX_LPBYTE dest_buf, FX_DWORD& dest_size, const FX_BYTE* src_buf, FX_DWORD& … in Decode() argument 163 if (m_OutPos == dest_size) { in Decode() 194 if (m_OutPos + m_StackLen > dest_size) { in Decode() 207 dest_size = m_OutPos; in Decode() [all …]
|
D | fx_codec.cpp | 131 FX_DWORD& dest_size) in RunLengthEncode() argument 240 FX_DWORD& dest_size) in A85Encode() argument 298 FX_DWORD dest_size = 0; in CheckDestSize() local 301 old_size = dest_size; in CheckDestSize() 302 dest_size += m_pSrcBuf[i] + 1; in CheckDestSize() 303 if (dest_size < old_size) { in CheckDestSize() 308 old_size = dest_size; in CheckDestSize() 309 dest_size += 257 - m_pSrcBuf[i]; in CheckDestSize() 310 if (dest_size < old_size) { in CheckDestSize() 318 if (((FX_DWORD)m_OrigWidth * m_nComps * m_bpc * m_OrigHeight + 7) / 8 > dest_size) { in CheckDestSize()
|
D | codec_int.h | 21 FX_DWORD& dest_size); 23 FX_DWORD& dest_size); 122 …de(FX_LPCBYTE src_buf, int width, int height, int pitch, FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 131 … FX_DWORD estimated_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 134 FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 135 …l FX_BOOL Encode(FX_LPCBYTE src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 150 …FX_BOOL Encode(const CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& dest_size, int qual…
|
D | fx_codec_fax.cpp | 925 void Encode(FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 952 void CCodec_FaxEncoder::Encode(FX_LPBYTE& dest_buf, FX_DWORD& dest_size) in Encode() argument 970 dest_size = m_DestBuf.GetSize(); in Encode() 973 …ode(FX_LPCBYTE src_buf, int width, int height, int pitch, FX_LPBYTE& dest_buf, FX_DWORD& dest_size) in Encode() argument 976 encoder.Encode(dest_buf, dest_size); in Encode()
|
D | fx_codec_jpeg.cpp | 113 static void _JpegEncode(const CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& dest_size, i… in _JpegEncode() argument 218 dest_size = dest_buf_length - (FX_STRSIZE)dest.free_in_buffer; in _JpegEncode() 512 …::Encode(const CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& dest_size, int quality, FX… in Encode() argument 515 return m_pExtProvider->Encode(pSource, dest_buf, dest_size, quality, icc_buf, icc_length); in Encode() 521 _JpegEncode(pSource, dest_buf, dest_size, quality, icc_buf, icc_length); in Encode()
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_image.cpp | 111 FX_STRSIZE dest_pitch = 0, dest_size = 0, opType = -1; in SetImage() local 248 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, TRUE); in SetImage() 252 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, FALSE); in SetImage() 266 dest_size = 0; in SetImage() 286 … _DCTEncodeBitmap(pDict, pNewBitmap, pParam ? pParam->nQuality : 75, dest_buf, dest_size); in SetImage() 289 … _DCTEncodeBitmap(pDict, pBitmap, pParam ? pParam->nQuality : 75, dest_buf, dest_size); in SetImage() 294 pFileWrite->WriteBlock(dest_buf, dest_size); in SetImage() 301 dest_size = dest_pitch * BitmapHeight; // Safe since checked alloc returned. in SetImage() 316 dest_size = dest_pitch * BitmapHeight; // Safe since checked alloc returned. in SetImage() 350 m_pStream->InitStream(dest_buf, dest_size, pDict); in SetImage()
|
D | fpdf_edit_create.cpp | 11 …d FlateEncode(const FX_BYTE* src_buf, FX_DWORD src_data, FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 13 FX_LPBYTE& dest_buf, FX_DWORD& dest_size);
|
/external/pdfium/core/include/fxcodec/ |
D | fx_codec.h | 89 FX_DWORD& dest_size) = 0; 91 FX_DWORD& dest_size) = 0; 130 … FX_DWORD estimated_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size) = 0; 133 FX_LPBYTE& dest_buf, FX_DWORD& dest_size) = 0; 134 …_BOOL Encode(FX_LPCBYTE src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size) = 0; 147 FX_LPBYTE& dest_buf, FX_DWORD& dest_size) = 0; 164 …de(const class CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& dest_size, int quality = 7…
|
D | fx_codec_provider.h | 33 …de(const class CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& dest_size, int quality = 7…
|
/external/vboot_reference/host/lib/ |
D | host_misc.c | 20 char* StrCopy(char* dest, const char* src, int dest_size) { in StrCopy() argument 21 strncpy(dest, src, dest_size); in StrCopy() 22 dest[dest_size - 1] = '\0'; in StrCopy()
|
/external/vboot_reference/firmware/2lib/ |
D | 2api.c | 131 uint32_t *dest_size) in vb2api_get_pcr_digest() argument 149 if (digest == NULL || *dest_size < digest_size) in vb2api_get_pcr_digest() 153 *dest_size = digest_size; in vb2api_get_pcr_digest()
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_parser_old.cpp | 251 …ORD _DecodeAllScanlines(ICodec_ScanlineDecoder* pDecoder, FX_LPBYTE& dest_buf, FX_DWORD& dest_size) in _DecodeAllScanlines() argument 266 dest_size = pitch * height; // Safe since checked alloc returned. in _DecodeAllScanlines() 280 …RD _A85Decode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 281 …RD _HexDecode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 283 … FX_DWORD estimated_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 286 CPDF_Dictionary* pParam, FX_LPBYTE& dest_buf, FX_DWORD& dest_size) in PDF_DecodeInlineStream() argument 290 return _DecodeAllScanlines(pDecoder, dest_buf, dest_size); in PDF_DecodeInlineStream() 292 return _A85Decode(src_buf, limit, dest_buf, dest_size); in PDF_DecodeInlineStream() 294 return _HexDecode(src_buf, limit, dest_buf, dest_size); in PDF_DecodeInlineStream() 296 … return FPDFAPI_FlateOrLZWDecode(FALSE, src_buf, limit, pParam, dest_size, dest_buf, dest_size); in PDF_DecodeInlineStream() [all …]
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_ps.cpp | 267 …FaxCompressData(FX_LPBYTE src_buf, int width, int height, FX_LPBYTE& dest_buf, FX_DWORD& dest_size) in FaxCompressData() argument 270 … pEncoders->GetFaxModule()->Encode(src_buf, width, height, (width + 7) / 8, dest_buf, dest_size)) { in FaxCompressData() 274 dest_size = (width + 7) / 8 * height; in FaxCompressData() 288 FX_DWORD dest_size = src_size; in PSCompressData() local 290 … if (pEncoders && pEncoders->GetFlateModule()->Encode(src_buf, src_size, dest_buf, dest_size)) { in PSCompressData() 294 …Encoders && pEncoders->GetBasicModule()->RunLengthEncode(src_buf, src_size, dest_buf, dest_size)) { in PSCompressData() 298 if (dest_size < src_size) { in PSCompressData() 300 output_size = dest_size; in PSCompressData() 636 FX_DWORD dest_size; in WritePSBinary() local 638 if (pEncoders && pEncoders->GetBasicModule()->A85Encode(data, len, dest_buf, dest_size)) { in WritePSBinary() [all …]
|
/external/v8/src/base/platform/ |
D | platform-win32.cc | 80 int strncpy_s(char* dest, size_t dest_size, const char* source, size_t count) { in strncpy_s() argument 83 CHECK_GT(dest_size, 0); in strncpy_s() 86 while (dest_size > 0 && *source != 0) { in strncpy_s() 88 --dest_size; in strncpy_s() 90 if (dest_size == 0) { in strncpy_s() 95 while (dest_size > 0 && count > 0 && *source != 0) { in strncpy_s() 97 --dest_size; in strncpy_s() 101 CHECK_GT(dest_size, 0); in strncpy_s()
|
/external/vboot_reference/host/lib/include/ |
D | host_misc.h | 17 char* StrCopy(char* dest, const char* src, int dest_size);
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_parser.h | 705 FX_LPBYTE dest_buf, FX_DWORD& dest_size) = 0; 725 FX_LPBYTE dest_buf, FX_DWORD& dest_size); 729 FX_LPBYTE dest_buf, FX_DWORD& dest_size); 801 …d FlateEncode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 802 …D FlateDecode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size); 803 …nLengthDecode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size);
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2api.h | 367 uint32_t *dest_size);
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 392 SIZE_T dest_size = REAL(strlen)(dest); in INTERCEPTOR() local 394 CHECK_UNPOISONED_STRING(dest + dest_size, 0); in INTERCEPTOR() 396 CopyShadowAndOrigin(dest + dest_size, src, src_size + 1, &stack); in INTERCEPTOR() 403 SIZE_T dest_size = REAL(strlen)(dest); in INTERCEPTOR() local 405 CHECK_UNPOISONED_STRING(dest + dest_size, 0); in INTERCEPTOR() 407 CopyShadowAndOrigin(dest + dest_size, src, copy_size, &stack); in INTERCEPTOR() 408 __msan_unpoison(dest + dest_size + copy_size, 1); // \0 in INTERCEPTOR()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | onyx_if.c | 5119 const unsigned long dest_size = dest_end - dest; in vp8_get_compressed_data() local 5120 const int tok_part_buff_size = (dest_size * 9) / (10 * num_part); in vp8_get_compressed_data() 5125 dp += dest_size/10; /* reserve 1/10 for control partition */ in vp8_get_compressed_data()
|