Searched refs:max_bytes_to_read (Results 1 – 2 of 2) sorted by relevance
| /external/libgdx/gdx/jni/gdx2d/ |
| D | jpgd.h | 68 virtual int read(uint8 *pBuf, int max_bytes_to_read, bool *pEOF_flag) = 0; 87 virtual int read(uint8 *pBuf, int max_bytes_to_read, bool *pEOF_flag); 105 virtual int read(uint8 *pBuf, int max_bytes_to_read, bool *pEOF_flag);
|
| D | jpgd.cpp | 3002 int jpeg_decoder_file_stream::read(uint8 *pBuf, int max_bytes_to_read, bool *pEOF_flag) in read() argument 3016 int bytes_read = static_cast<int>(fread(pBuf, 1, max_bytes_to_read, m_pFile)); in read() 3017 if (bytes_read < max_bytes_to_read) in read() 3041 int jpeg_decoder_mem_stream::read(uint8 *pBuf, int max_bytes_to_read, bool *pEOF_flag) in read() argument 3049 if ((uint)max_bytes_to_read > bytes_remaining) in read() 3051 max_bytes_to_read = bytes_remaining; in read() 3055 memcpy(pBuf, m_pSrc_data + m_ofs, max_bytes_to_read); in read() 3056 m_ofs += max_bytes_to_read; in read() 3058 return max_bytes_to_read; in read()
|