Home
last modified time | relevance | path

Searched refs:opj_read_from_memory (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpx_unittest.cpp50 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, sizeof(buffer), ptr)); in TEST()
61 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, 0, &dd)); in TEST()
66 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, sizeof(buffer), &dd)); in TEST()
88 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, 0, &dd)); in TEST()
93 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, sizeof(buffer), &dd)); in TEST()
116 EXPECT_EQ(8u, opj_read_from_memory(buffer, sizeof(buffer), &dd)); in TEST()
132 EXPECT_EQ(2u, opj_read_from_memory(buffer, 2, &dd)); in TEST()
139 EXPECT_EQ(0u, opj_read_from_memory(buffer, 0, &dd)); in TEST()
144 EXPECT_EQ(6u, opj_read_from_memory(buffer, 6, &dd)); in TEST()
155 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, 0, &dd)); in TEST()
[all …]
Dcodec_int.h34 OPJ_SIZE_T opj_read_from_memory(void* p_buffer,
Dfx_codec_jpx_opj.cpp38 opj_stream_set_read_function(stream, opj_read_from_memory); in fx_opj_stream_create_memory_stream()
214 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, in opj_read_from_memory() function