Home
last modified time | relevance | path

Searched refs:data_buf (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dfx_codec_flate.cpp264 void PNG_PredictorEncode(uint8_t** data_buf, uint32_t* data_size) { in PNG_PredictorEncode() argument
270 uint8_t* pSrcData = *data_buf; in PNG_PredictorEncode()
284 FX_Free(*data_buf); in PNG_PredictorEncode()
285 *data_buf = dest_buf; in PNG_PredictorEncode()
357 bool PNG_Predictor(uint8_t*& data_buf, in PNG_Predictor() argument
372 uint8_t* pSrcData = data_buf; in PNG_Predictor()
444 FX_Free(data_buf); in PNG_Predictor()
445 data_buf = dest_buf; in PNG_Predictor()
491 bool TIFF_Predictor(uint8_t*& data_buf, in TIFF_Predictor() argument
502 uint8_t* scan_line = data_buf + row * row_size; in TIFF_Predictor()
Dfx_codec_fax.cpp51 int FindBit(const uint8_t* data_buf, int max_pos, int start_pos, int bit) { in FindBit() argument
58 uint8_t data = data_buf[start_pos / 8]; in FindBit()
73 if (data_buf[byte_pos] != skip) in FindBit()
81 return std::min(leading_pos[data_buf[byte_pos]] + byte_pos * 8, max_pos); in FindBit()
/external/pdfium/core/fxcodec/gif/
Dcfx_gifcontext.cpp429 uint8_t* data_buf = nullptr; in DecodeExtension() local
441 if (!ReadData(&data_buf, *data_size) || !ReadData(&data_size, 1)) { in DecodeExtension()
446 cmt_data_ += ByteString(data_buf, block_size); in DecodeExtension()
462 if (!ReadData(&data_buf, *data_size) || !ReadData(&data_size, 1)) { in DecodeExtension()
491 if (!ReadData(&data_buf, *data_size) || !ReadData(&data_size, 1)) { in DecodeExtension()
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io.cc110 const uint8* data_buf = in ReadValue() local
114 *value = *value | (data_buf[i] << shift); in ReadValue()
/external/pdfium/samples/
Dpdfium_test.cc1108 std::vector<char> data_buf(len); in SaveAttachments() local
1111 FPDFAttachment_GetFile(attachment, data_buf.data(), len); in SaveAttachments()
1113 data_buf.clear(); in SaveAttachments()
1115 if (data_buf.empty()) { in SaveAttachments()
1127 size_t written_len = fwrite(data_buf.data(), 1, len, fp); in SaveAttachments()
/external/pdfium/public/
Dfpdfview.h331 FPDF_LoadMemDocument(const void* data_buf, int size, FPDF_BYTESTRING password);
/external/pdfium/fpdfsdk/
Dfpdfview.cpp635 FPDF_LoadMemDocument(const void* data_buf, int size, FPDF_BYTESTRING password) { in FPDF_LoadMemDocument() argument
637 CMemFile::Create(static_cast<const uint8_t*>(data_buf), size), password); in FPDF_LoadMemDocument()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h235 Blob(const uint8_t *data_buf, uint8_t byte_width) in Blob() argument
236 : Sized(data_buf, byte_width) {} in Blob()