Lines Matching refs:dest_buf
12 FX_DWORD _A85Decode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size)
15 dest_buf = NULL;
43 dest_buf = FX_Alloc(FX_BYTE, zcount * 4 + (pos - zcount));
44 if (dest_buf == NULL) {
55 FXSYS_memset32(dest_buf + dest_size, 0, 4);
67 dest_buf[dest_size++] = (FX_BYTE)(res >> (3 - i) * 8);
80 dest_buf[dest_size++] = (FX_BYTE)(res >> (3 - i) * 8);
88 FX_DWORD _HexDecode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size)
96 dest_buf = FX_Alloc( FX_BYTE, i / 2 + 1);
118 dest_buf[dest_size] = digit * 16;
120 dest_buf[dest_size ++] += digit;
129 FX_DWORD RunLengthDecode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size)
157 dest_buf = FX_Alloc( FX_BYTE, dest_size);
158 if (!dest_buf) {
170 FXSYS_memset8(dest_buf + dest_count + copy_len, '\0', delta);
172 FXSYS_memcpy32(dest_buf + dest_count, src_buf + i + 1, copy_len);
180 FXSYS_memset8(dest_buf + dest_count, fill, 257 - src_buf[i]);
259 FX_DWORD estimated_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size)
276 dest_buf, dest_size);
279 FX_LPBYTE& dest_buf, FX_DWORD& dest_size, CFX_ByteString& ImageEncoding,
320 dest_buf = (FX_LPBYTE)last_buf;
336 dest_buf = (FX_LPBYTE)last_buf;
352 dest_buf = (FX_LPBYTE)last_buf;
367 dest_buf = last_buf;
411 FX_LPWSTR dest_buf = result.GetBuffer(max_chars);
426 dest_buf[dest_pos++] = unicode;
431 FX_LPWSTR dest_buf = result.GetBuffer(src_len);
433 dest_buf[i] = PDFDocEncoding[src_data[i]];
511 void FlateEncode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size)
515 pEncoders->GetFlateModule()->Encode(src_buf, src_size, dest_buf, dest_size);
519 FX_LPBYTE& dest_buf, FX_DWORD& dest_size)
523 pEncoders->GetFlateModule()->Encode(src_buf, src_size, predictor, Colors, BitsPerComponent, Columns, dest_buf, dest_size);
526 FX_DWORD FlateDecode(const FX_BYTE* src_buf, FX_DWORD src_size, FX_LPBYTE& dest_buf, FX_DWORD& dest_size)
530 return pEncoders->GetFlateModule()->FlateOrLZWDecode(FALSE, src_buf, src_size, FALSE, 0, 0, 0, 0, 0, dest_buf, dest_size);