Home
last modified time | relevance | path

Searched refs:num_bytes (Results 1 – 25 of 28) sorted by relevance

12

/external/opencore/baselibs/media_data_structures/src/
Daccess_unit_impl.cpp236 uint8 num_bytes = pattern_size_in_bits / 8; in match_bit_pattern_no_state() local
275 for (uint8 ii = 0; ii < num_bytes; ii++) in match_bit_pattern_no_state()
294 if (((*tmp_ptr) & bit_mask) == (pattern[num_bytes] & bit_mask)) in match_bit_pattern_no_state()
314 uint8 num_bytes = pattern_size_in_bits / 8; in match_bit_pattern_with_state() local
356 … if ((num_bytes > 0) && this->match_bit_pattern_no_state(idx, offset, pattern, num_bits_to_match)) in match_bit_pattern_with_state()
364 for (uint8 ii = 1; ii < num_bytes; ii++) in match_bit_pattern_with_state()
372 if (bits_in_fraction && ((*tmp_ptr & bit_mask) == (pattern[num_bytes] & bit_mask))) in match_bit_pattern_with_state()
374 return num_bytes; in match_bit_pattern_with_state()
378 return (num_bytes + 1); in match_bit_pattern_with_state()
/external/jpeg/
Djdatasrc.c128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) in skip_input_data() argument
136 if (num_bytes > 0) { in skip_input_data()
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()
144 src->pub.next_input_byte += (size_t) num_bytes; in skip_input_data()
145 src->pub.bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
Djpeglib.h735 JMETHOD(void, skip_input_data, (j_decompress_ptr cinfo, long num_bytes));
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
DSDL_fbelo.c135 int num_bytes; in eloGetPacket() local
139 num_bytes = ELO_PACKET_SIZE; in eloGetPacket()
142 num_bytes = read(fd, in eloGetPacket()
147 if (num_bytes < 0) { in eloGetPacket()
154 while (num_bytes) { in eloGetPacket()
156 SDL_memcpy(&buffer[0], &buffer[1], num_bytes-1); in eloGetPacket()
165 num_bytes--; in eloGetPacket()
/external/webkit/WebCore/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp80 void skip_input_data(j_decompress_ptr jd, long num_bytes);
147 void skipBytes(long num_bytes) { in skipBytes() argument
149 long bytesToSkip = std::min(num_bytes, (long)src->pub.bytes_in_buffer); in skipBytes()
153 if (num_bytes > bytesToSkip) in skipBytes()
154 m_bytesToSkip = (size_t)(num_bytes - bytesToSkip); in skipBytes()
383 void skip_input_data(j_decompress_ptr jd, long num_bytes) in skip_input_data() argument
386 src->decoder->skipBytes(num_bytes); in skip_input_data()
/external/qemu/distrib/sdl-1.2.12/src/audio/nas/
DSDL_nasaudio.c184 this2->really += event->num_bytes; in event_handler()
186 this2->buf_free += event->num_bytes; in event_handler()
188 this2->buf_free = event->num_bytes; in event_handler()
196 this2->really += event->num_bytes; in event_handler()
198 this2->buf_free += event->num_bytes; in event_handler()
200 this2->buf_free = event->num_bytes; in event_handler()
/external/qemu/distrib/libpng-1.2.19/
Dpng.c98 png_set_sig_bytes(png_structp png_ptr, int num_bytes) in png_set_sig_bytes() argument
102 if (num_bytes > 8) in png_set_sig_bytes()
105 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); in png_set_sig_bytes()
159 png_uint_32 num_bytes; in png_zalloc() local
167 num_bytes = (png_uint_32)items * size; in png_zalloc()
170 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes); in png_zalloc()
177 if (num_bytes > (png_uint_32)0x8000L) in png_zalloc()
181 (png_size_t)(num_bytes - (png_uint_32)0x8000L)); in png_zalloc()
185 png_memset(ptr, 0, (png_size_t)num_bytes); in png_zalloc()
/external/libpng/
Dpng.c96 png_set_sig_bytes(png_structp png_ptr, int num_bytes) in png_set_sig_bytes() argument
101 if (num_bytes > 8) in png_set_sig_bytes()
104 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); in png_set_sig_bytes()
158 png_uint_32 num_bytes; in png_zalloc() local
167 num_bytes = (png_uint_32)items * size; in png_zalloc()
170 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes); in png_zalloc()
177 if (num_bytes > (png_uint_32)0x8000L) in png_zalloc()
181 (png_size_t)(num_bytes - (png_uint_32)0x8000L)); in png_zalloc()
185 png_memset(ptr, 0, (png_size_t)num_bytes); in png_zalloc()
Dpng.h1529 int num_bytes));
/external/srec/srec/EventLog/include/
Driff.h226 unsigned int num_bytes,
237 unsigned int *num_bytes,
DSR_EventLog.h232 ESR_ReturnCode(*audioWrite)(struct SR_EventLog_t* self, void* buffer, size_t num_bytes);
353 …ENTLOG_API ESR_ReturnCode SR_EventLogAudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes);
DSR_EventLogImpl.h96 …NTLOG_API ESR_ReturnCode SR_EventLog_AudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes);
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp128 static void sk_skip_input_data(j_decompress_ptr cinfo, long num_bytes) { in sk_skip_input_data() argument
129 SkASSERT(num_bytes > 0); in sk_skip_input_data()
133 long bytesToSkip = num_bytes - src->bytes_in_buffer; in sk_skip_input_data()
145 src->next_input_byte += num_bytes; in sk_skip_input_data()
146 src->bytes_in_buffer -= num_bytes; in sk_skip_input_data()
180 static void skmem_skip_input_data(j_decompress_ptr cinfo, long num_bytes) { in skmem_skip_input_data() argument
183 src->next_input_byte = (const JOCTET*)((const char*)src->next_input_byte + num_bytes); in skmem_skip_input_data()
184 src->bytes_in_buffer -= num_bytes; in skmem_skip_input_data()
/external/srec/srec/EventLog/src/
Driff.c678 ESR_ReturnCode readRiff2Buf(FILE *f, void **waveform, unsigned int *num_bytes, in readRiff2Buf() argument
746 *num_bytes = chunk.length; /* already swapped, if need be */ in readRiff2Buf()
943 unsigned int num_bytes, in convertBuf2Riff() argument
975 num_samples = num_bytes / bytes_per_sample; in convertBuf2Riff()
977 num_samples = num_bytes; in convertBuf2Riff()
984 total_buflen = headerSize + num_bytes; in convertBuf2Riff()
1038 header.dataLength = swapConstInt(num_bytes); in convertBuf2Riff()
1055 header.dataLength = num_bytes; in convertBuf2Riff()
DEventLog.c136 ESR_ReturnCode SR_EventLogAudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes) in SR_EventLogAudioWrite() argument
143 return self->audioWrite(self, buffer, num_bytes); in SR_EventLogAudioWrite()
DEventLogImpl.c689 ESR_ReturnCode SR_EventLog_AudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes) in SR_EventLog_AudioWrite() argument
693 size_t size = num_bytes / impl->waveform_bytes_per_sample; in SR_EventLog_AudioWrite()
695 …if (num_bytes > 0 && pfwrite(buffer, impl->waveform_bytes_per_sample, size, impl->waveformFile) !=… in SR_EventLog_AudioWrite()
706 impl->waveform_num_bytes += num_bytes; in SR_EventLog_AudioWrite()
/external/webkit/WebKitTools/android/flex-2.5.4a/
Dmisc.c86 size_t num_bytes = element_size * size; local
88 mem = flex_alloc( num_bytes );
761 size_t num_bytes = element_size * size; local
763 new_array = flex_realloc( array, num_bytes );
/external/srec/srec/Recognizer/include/
DSR_RecognizerImpl.h137 ESR_ReturnCode WaveformBuffer_Write(WaveformBuffer* waveformBuffer, void *data, size_t num_bytes);
140 ESR_ReturnCode WaveformBuffer_Read(WaveformBuffer* waveformBuffer, void *data, size_t* num_bytes);
143 ESR_ReturnCode WaveformBuffer_WindBack(WaveformBuffer* waveformBuffer, const size_t num_bytes);
/external/srec/srec/Recognizer/src/
DRecognizerImpl.c3714 ESR_ReturnCode WaveformBuffer_Write(WaveformBuffer* waveformBuffer, void *data, size_t num_bytes) in WaveformBuffer_Write() argument
3727 if (available_bytes < num_bytes) in WaveformBuffer_Write()
3729 done_bytes = CircularBufferSkip(waveformBuffer->cbuffer, num_bytes - available_bytes); in WaveformBuffer_Write()
3730 if (done_bytes != num_bytes - available_bytes) in WaveformBuffer_Write()
3736 done_bytes = CircularBufferWrite(waveformBuffer->cbuffer, data, num_bytes); in WaveformBuffer_Write()
3737 if (done_bytes != num_bytes) in WaveformBuffer_Write()
3746 if (available_bytes < num_bytes) in WaveformBuffer_Write()
3748 waveformBuffer->overflow_count += num_bytes; in WaveformBuffer_Write()
3751 done_bytes = CircularBufferWrite(waveformBuffer->cbuffer, data, num_bytes); in WaveformBuffer_Write()
3752 if (done_bytes != num_bytes) in WaveformBuffer_Write()
[all …]
/external/webkit/V8Binding/v8/src/x64/
Ddisasm-x64.cc710 int num_bytes = 2; in ShiftInstruction() local
713 return num_bytes; in ShiftInstruction()
740 return num_bytes; in ShiftInstruction()
747 num_bytes = 3; in ShiftInstruction()
759 return num_bytes; in ShiftInstruction()
/external/bluetooth/hcidump/parser/
Dsdp.c71 int num_bytes; member
253 switch(sdp_siz_idx_lookup_table[siz_idx].num_bytes) { in parse_de_hdr()
264 *n = sdp_siz_idx_lookup_table[siz_idx].num_bytes; in parse_de_hdr()
/external/opencore/protocols/systems/3g-324m_pvterminal/h223/include/
Dlowerlayer.h202 void SendStuffingMsgHeader(uint8* stuffing, uint16 num_bytes);
/external/webkit/V8Binding/v8/src/ia32/
Ddisasm-ia32.cc525 int num_bytes = 2; in D1D3C1Instruction() local
538 num_bytes = 3; in D1D3C1Instruction()
564 return num_bytes; in D1D3C1Instruction()
/external/opencore/android/author/
Dauthordriver.cpp804 size_t num_bytes = s->bytes(); in TrimString() local
808 while (leading_space < num_bytes && isspace(data[leading_space])) { in TrimString()
812 size_t i = num_bytes; in TrimString()
/external/tesseract/liblept/
Djpeglib.h735 JMETHOD(void, skip_input_data, (j_decompress_ptr cinfo, long num_bytes));

12