Home
last modified time | relevance | path

Searched refs:bytes_in_buffer (Results 1 – 18 of 18) sorted by relevance

/external/srtp/crypto/cipher/
Daes_icm.c193 c->bytes_in_buffer = 0; in aes_icm_context_init()
237 c->bytes_in_buffer = sizeof(v128_t); in aes_icm_set_octet()
245 c->bytes_in_buffer = sizeof(v128_t) - tail_num; in aes_icm_set_octet()
250 c->bytes_in_buffer = 0; in aes_icm_set_octet()
274 c->bytes_in_buffer = 0; in aes_icm_set_iv()
293 c->bytes_in_buffer = sizeof(v128_t); in aes_icm_advance_ismacryp()
345 if (bytes_to_encr <= (unsigned int)c->bytes_in_buffer) { in aes_icm_encrypt_ismacryp()
348 for (i = (sizeof(v128_t) - c->bytes_in_buffer); in aes_icm_encrypt_ismacryp()
349 i < (sizeof(v128_t) - c->bytes_in_buffer + bytes_to_encr); i++) in aes_icm_encrypt_ismacryp()
354 c->bytes_in_buffer -= bytes_to_encr; in aes_icm_encrypt_ismacryp()
[all …]
/external/skia/src/images/
DSkJpegUtility.cpp16 src->bytes_in_buffer = 0; in sk_init_source()
33 src->bytes_in_buffer = 0; in sk_seek_input_data()
51 src->bytes_in_buffer = bytes; in sk_fill_input_buffer()
58 if (num_bytes > (long)src->bytes_in_buffer) { in sk_skip_input_data()
59 long bytesToSkip = num_bytes - src->bytes_in_buffer; in sk_skip_input_data()
71 src->bytes_in_buffer = 0; in sk_skip_input_data()
74 src->bytes_in_buffer -= num_bytes; in sk_skip_input_data()
89 src->bytes_in_buffer = 0; in sk_resync_to_restart()
100 src->bytes_in_buffer = src->fMemoryBaseSize; in skmem_init_source()
113 src->bytes_in_buffer -= num_bytes; in skmem_skip_input_data()
/external/qemu/distrib/jpeg-6b/
Djdatasrc.c108 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
137 while (num_bytes > (long) src->pub.bytes_in_buffer) { in skip_input_data()
138 num_bytes -= (long) src->pub.bytes_in_buffer; in skip_input_data()
145 src->pub.bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
210 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_stdio_src()
Djdhuff.h92 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member
111 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \
117 cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \
Djdhuff.c300 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local
312 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
316 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
318 bytes_in_buffer--; in jpeg_fill_bit_buffer()
329 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
333 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
335 bytes_in_buffer--; in jpeg_fill_bit_buffer()
385 state->bytes_in_buffer = bytes_in_buffer; in jpeg_fill_bit_buffer()
866 cinfo->src->bytes_in_buffer = cinfo->src->current_offset - offset; in jset_input_stream_position()
893 return cinfo->src->current_offset - cinfo->src->bytes_in_buffer; in jget_input_stream_position()
Djdmarker.c122 size_t bytes_in_buffer = datasrc->bytes_in_buffer
127 datasrc->bytes_in_buffer = bytes_in_buffer )
132 bytes_in_buffer = datasrc->bytes_in_buffer )
139 if (bytes_in_buffer == 0) { \
150 bytes_in_buffer--; \
158 bytes_in_buffer--; \
161 bytes_in_buffer--; \
794 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker()
796 bytes_in_buffer--; in save_marker()
1256 while (cinfo->src->bytes_in_buffer > 0) { in get_sos_marker_position()
Ddjpeg.c359 if (datasrc->bytes_in_buffer == 0) { in jpeg_getc()
363 datasrc->bytes_in_buffer--; in jpeg_getc()
Djpeglib.h789 size_t bytes_in_buffer; /* # of bytes remaining in buffer */ member
Dlibjpeg.doc1451 size_t bytes_in_buffer; /* # of bytes remaining in buffer */
1463 bytes_in_buffer set to 0 (in which case a fill_input_buffer() call
1467 This is called whenever bytes_in_buffer has reached zero and more
1470 bytes_in_buffer), reset the pointer & count to the start of the
1473 least one more byte. bytes_in_buffer MUST be set to a positive value
1484 skips are uncommon. bytes_in_buffer may be zero on return.
1617 called, next_input_byte/bytes_in_buffer point to the current restart point,
1629 decompressor; it can decrement bytes_in_buffer to zero, but no more. If the
1631 buffer, then skip_input_data() must set bytes_in_buffer to zero and record the
/external/jpeg/
Djdatasrc.c108 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
137 while (num_bytes > (long) src->pub.bytes_in_buffer) { in skip_input_data()
138 num_bytes -= (long) src->pub.bytes_in_buffer; in skip_input_data()
145 src->pub.bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
210 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_stdio_src()
Djdhuff.h92 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member
111 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \
117 cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \
Djdhuff.c300 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local
312 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
316 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
318 bytes_in_buffer--; in jpeg_fill_bit_buffer()
329 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
333 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
335 bytes_in_buffer--; in jpeg_fill_bit_buffer()
385 state->bytes_in_buffer = bytes_in_buffer; in jpeg_fill_bit_buffer()
866 cinfo->src->bytes_in_buffer = cinfo->src->current_offset - offset; in jset_input_stream_position()
893 return cinfo->src->current_offset - cinfo->src->bytes_in_buffer; in jget_input_stream_position()
Djdmarker.c122 size_t bytes_in_buffer = datasrc->bytes_in_buffer
127 datasrc->bytes_in_buffer = bytes_in_buffer )
132 bytes_in_buffer = datasrc->bytes_in_buffer )
139 if (bytes_in_buffer == 0) { \
150 bytes_in_buffer--; \
158 bytes_in_buffer--; \
161 bytes_in_buffer--; \
794 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker()
796 bytes_in_buffer--; in save_marker()
1256 while (cinfo->src->bytes_in_buffer > 0) { in get_sos_marker_position()
Ddjpeg.c359 if (datasrc->bytes_in_buffer == 0) { in jpeg_getc()
363 datasrc->bytes_in_buffer--; in jpeg_getc()
Djpeglib.h789 size_t bytes_in_buffer; /* # of bytes remaining in buffer */ member
Dlibjpeg.doc1451 size_t bytes_in_buffer; /* # of bytes remaining in buffer */
1463 bytes_in_buffer set to 0 (in which case a fill_input_buffer() call
1467 This is called whenever bytes_in_buffer has reached zero and more
1470 bytes_in_buffer), reset the pointer & count to the start of the
1473 least one more byte. bytes_in_buffer MUST be set to a positive value
1484 skips are uncommon. bytes_in_buffer may be zero on return.
1617 called, next_input_byte/bytes_in_buffer point to the current restart point,
1629 decompressor; it can decrement bytes_in_buffer to zero, but no more. If the
1631 buffer, then skip_input_data() must set bytes_in_buffer to zero and record the
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp175 long bytesToSkip = std::min(numBytes, (long)src->pub.bytes_in_buffer); in skipBytes()
176 src->pub.bytes_in_buffer -= (size_t)bytesToSkip; in skipBytes()
187 unsigned readOffset = m_bufferLength - m_info.src->bytes_in_buffer; in decode()
189 m_info.src->bytes_in_buffer += newByteCount; in decode()
261 m_bufferLength -= m_info.src->bytes_in_buffer; in decode()
262 m_info.src->bytes_in_buffer = 0; in decode()
/external/srtp/crypto/include/
Daes_icm.h22 int bytes_in_buffer; /* number of unused bytes in buffer */ member