Searched refs:opj_read_from_memory (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_jpx_unittest.cpp | 50 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 …]
|
D | codec_int.h | 34 OPJ_SIZE_T opj_read_from_memory(void* p_buffer,
|
D | fx_codec_jpx_opj.cpp | 38 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
|