Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/libsrtp/srtp/crypto/cipher/
Daes_icm.c205 c->bytes_in_buffer = 0; in aes_icm_context_init()
249 c->bytes_in_buffer = sizeof(v128_t); in aes_icm_set_octet()
257 c->bytes_in_buffer = sizeof(v128_t) - tail_num; in aes_icm_set_octet()
262 c->bytes_in_buffer = 0; in aes_icm_set_octet()
286 c->bytes_in_buffer = 0; in aes_icm_set_iv()
305 c->bytes_in_buffer = sizeof(v128_t); in aes_icm_advance_ismacryp()
357 if (bytes_to_encr <= (unsigned int)c->bytes_in_buffer) { in aes_icm_encrypt_ismacryp()
360 for (i = (sizeof(v128_t) - c->bytes_in_buffer); in aes_icm_encrypt_ismacryp()
361 i < (sizeof(v128_t) - c->bytes_in_buffer + bytes_to_encr); i++) in aes_icm_encrypt_ismacryp()
366 c->bytes_in_buffer -= bytes_to_encr; in aes_icm_encrypt_ismacryp()
[all …]
/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/chromium_org/third_party/libjpeg_turbo/
Djdatasrc-tj.c87 cinfo->src->bytes_in_buffer = 2; in fill_mem_input_buffer()
115 while (num_bytes > (long) src->bytes_in_buffer) { in skip_input_data()
116 num_bytes -= (long) src->bytes_in_buffer; in skip_input_data()
123 src->bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
183 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src_tj()
Djdatasrc.c119 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
142 cinfo->src->bytes_in_buffer = 2; in fill_mem_input_buffer()
171 while (num_bytes > (long) src->bytes_in_buffer) { in skip_input_data()
172 num_bytes -= (long) src->bytes_in_buffer; in skip_input_data()
179 src->bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
244 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_stdio_src()
280 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src()
Djdhuff.c303 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local
315 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
319 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
321 bytes_in_buffer--; in jpeg_fill_bit_buffer()
332 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
336 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
338 bytes_in_buffer--; in jpeg_fill_bit_buffer()
388 state->bytes_in_buffer = bytes_in_buffer; in jpeg_fill_bit_buffer()
723 br_state.bytes_in_buffer -= (buffer - br_state.next_input_byte); in decode_mcu_fast()
762 if (cinfo->src->bytes_in_buffer < BUFSIZE * (size_t)cinfo->blocks_in_MCU in decode_mcu()
Djdhuff.h106 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member
125 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \
131 cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \
Djdmarker.c124 size_t bytes_in_buffer = datasrc->bytes_in_buffer
129 datasrc->bytes_in_buffer = bytes_in_buffer )
134 bytes_in_buffer = datasrc->bytes_in_buffer )
141 if (bytes_in_buffer == 0) { \
152 bytes_in_buffer--; \
160 bytes_in_buffer--; \
163 bytes_in_buffer--; \
810 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker()
812 bytes_in_buffer--; in save_marker()
/external/skia/src/images/
DSkJpegUtility.cpp15 src->bytes_in_buffer = 0; in sk_init_source()
43 src->bytes_in_buffer = 0; in sk_seek_input_data()
64 src->bytes_in_buffer = bytes; in sk_fill_input_buffer()
71 if (num_bytes > (long)src->bytes_in_buffer) { in sk_skip_input_data()
72 size_t bytesToSkip = num_bytes - src->bytes_in_buffer; in sk_skip_input_data()
86 src->bytes_in_buffer = 0; in sk_skip_input_data()
89 src->bytes_in_buffer -= num_bytes; in sk_skip_input_data()
/external/chromium_org/third_party/skia/src/images/
DSkJpegUtility.cpp15 src->bytes_in_buffer = 0; in sk_init_source()
43 src->bytes_in_buffer = 0; in sk_seek_input_data()
64 src->bytes_in_buffer = bytes; in sk_fill_input_buffer()
71 if (num_bytes > (long)src->bytes_in_buffer) { in sk_skip_input_data()
72 size_t bytesToSkip = num_bytes - src->bytes_in_buffer; in sk_skip_input_data()
86 src->bytes_in_buffer = 0; in sk_skip_input_data()
89 src->bytes_in_buffer -= num_bytes; in sk_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()
/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--; \
802 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker()
804 bytes_in_buffer--; in save_marker()
1264 while (cinfo->src->bytes_in_buffer > 0) { in get_sos_marker_position()
/external/pdfium/core/src/fxcodec/libjpeg/
Djdhuff.h91 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member
110 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \
116 cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \
Dfpdfapi_jdhuff.c303 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local
315 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
319 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
321 bytes_in_buffer--; in jpeg_fill_bit_buffer()
332 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
336 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
338 bytes_in_buffer--; in jpeg_fill_bit_buffer()
388 state->bytes_in_buffer = bytes_in_buffer; in jpeg_fill_bit_buffer()
Dfpdfapi_jdmarker.c123 size_t bytes_in_buffer = datasrc->bytes_in_buffer
128 datasrc->bytes_in_buffer = bytes_in_buffer )
133 bytes_in_buffer = datasrc->bytes_in_buffer )
140 if (bytes_in_buffer == 0) { \
151 bytes_in_buffer--; \
159 bytes_in_buffer--; \
162 bytes_in_buffer--; \
828 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker()
830 bytes_in_buffer--; in save_marker()
/external/chromium_org/third_party/libvpx/source/libvpx/
Dwebmdec.cc121 size_t *bytes_in_buffer, in webm_read_frame() argument
141 *bytes_in_buffer = 0; in webm_read_frame()
183 *bytes_in_buffer = frame.len; in webm_read_frame()
195 size_t bytes_in_buffer = 0; in webm_guess_framerate() local
198 if (webm_read_frame(webm_ctx, &buffer, &bytes_in_buffer, &buffer_size)) { in webm_guess_framerate()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp43 if (num > (long)cinfo->src->bytes_in_buffer) { in _src_skip_data()
47 cinfo->src->bytes_in_buffer -= num; in _src_skip_data()
298 src.bytes_in_buffer = src_size; in _JpegLoadInfo()
392 src.bytes_in_buffer = m_SrcSize; in InitDecode()
541 return (FX_DWORD)(m_SrcSize - src.bytes_in_buffer); in GetSrcOffset()
600 if (cinfo->src->bytes_in_buffer < (size_t)num) { in _src_skip_data1()
601 …XJPEG_Context*)cinfo->client_data)->m_SkipSize = (unsigned int)(num - cinfo->src->bytes_in_buffer); in _src_skip_data1()
602 cinfo->src->bytes_in_buffer = 0; in _src_skip_data1()
605 cinfo->src->bytes_in_buffer -= num; in _src_skip_data1()
667 p->m_SrcMgr.bytes_in_buffer = 0; in Input()
[all …]
/external/chromium_org/ui/gfx/codec/
Djpeg_codec.cc345 cinfo->src->bytes_in_buffer = state->input_buffer_length; in InitSource()
379 if (num_bytes > static_cast<long>(cinfo->src->bytes_in_buffer)) { in SkipInputData()
383 cinfo->src->next_input_byte += cinfo->src->bytes_in_buffer; in SkipInputData()
384 cinfo->src->bytes_in_buffer = 0; in SkipInputData()
386 cinfo->src->bytes_in_buffer -= static_cast<size_t>(num_bytes); in SkipInputData()
/external/chromium_org/ipc/
Dsync_socket_unittest.cc292 size_t bytes_in_buffer = pair[1].Peek(); in TEST_F() local
293 EXPECT_NE(bytes_in_buffer, 0U); in TEST_F()
298 EXPECT_EQ(bytes_in_buffer, pair[1].Peek()); in TEST_F()
/external/libvpx/libvpx/
Dvpxdec.c219 size_t *bytes_in_buffer, size_t *buffer_size) { in read_frame() argument
224 buf, bytes_in_buffer, buffer_size); in read_frame()
228 buf, bytes_in_buffer, buffer_size); in read_frame()
231 buf, bytes_in_buffer, buffer_size); in read_frame()
491 size_t bytes_in_buffer = 0, buffer_size = 0; in main_loop() local
769 if (read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) in main_loop()
799 if (!read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) { in main_loop()
805 if (vpx_codec_decode(&decoder, buf, (unsigned int)bytes_in_buffer, in main_loop()

12