HomeSort by relevance Sort by last modified time
    Searched refs:num_bytes (Results 1 - 25 of 33) sorted by null

1 2

  /external/jpeg/
jdatasrc.c 128 skip_input_data (j_decompress_ptr cinfo, long num_bytes)
136 if (num_bytes > 0) {
137 while (num_bytes > (long) src->pub.bytes_in_buffer) {
138 num_bytes -= (long) src->pub.bytes_in_buffer;
144 src->pub.next_input_byte += (size_t) num_bytes;
145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
  /external/skia/src/images/
SkJpegUtility.cpp 43 static void sk_skip_input_data(j_decompress_ptr cinfo, long num_bytes) {
46 if (num_bytes > (long)src->bytes_in_buffer) {
47 long bytesToSkip = num_bytes - src->bytes_in_buffer;
60 src->next_input_byte += num_bytes;
61 src->bytes_in_buffer -= num_bytes;
94 static void skmem_skip_input_data(j_decompress_ptr cinfo, long num_bytes) {
96 // SkDebugf("xxxxxxxxxxxxxx skmem_skip_input_data called %d\n", num_bytes);
97 src->next_input_byte = (const JOCTET*)((const char*)src->next_input_byte + num_bytes);
98 src->bytes_in_buffer -= num_bytes;
  /frameworks/base/core/jni/
android_util_FileObserver.cpp 63 int num_bytes = read(fd, event_buf, sizeof(event_buf)); local
65 if (num_bytes < (int)sizeof(*event))
74 while (num_bytes >= (int)sizeof(*event))
97 num_bytes -= event_size;
  /frameworks/base/media/libstagefright/
ShoutcastSource.cpp 108 size_t num_bytes = buffer->size(); local
109 if (mMetaDataOffset > 0 && num_bytes > mBytesUntilMetaData) {
110 num_bytes = mBytesUntilMetaData;
113 ssize_t n = mHttp->receive(buffer->data(), num_bytes);
  /external/opencore/baselibs/media_data_structures/src/
access_unit_impl.cpp 236 uint8 num_bytes = pattern_size_in_bits / 8; local
260 // Either num_bytes = 0 or no match;
275 for (uint8 ii = 0; ii < num_bytes; ii++)
291 // printf("The whole %d octets are matched, now matching %d bits in the fraction byte\n", num_bytes, bits_in_fraction);
294 if (((*tmp_ptr) & bit_mask) == (pattern[num_bytes] & bit_mask))
314 uint8 num_bytes = pattern_size_in_bits / 8; local
356 if ((num_bytes > 0) && this->match_bit_pattern_no_state(idx, offset, pattern, num_bits_to_match))
362 // Either num_bytes = 0 or no match;
364 for (uint8 ii = 1; ii < num_bytes; ii++)
372 if (bits_in_fraction && ((*tmp_ptr & bit_mask) == (pattern[num_bytes] & bit_mask))
    [all...]
  /external/srec/srec/EventLog/include/
riff.h 226 unsigned int num_bytes,
237 unsigned int *num_bytes,
SR_EventLogImpl.h 96 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLog_AudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes);
SR_EventLog.h 230 * @param num_bytes The number of bytes in the buffer.
232 ESR_ReturnCode(*audioWrite)(struct SR_EventLog_t* self, void* buffer, size_t num_bytes);
351 * @param num_bytes The number of bytes in the buffer.
353 SREC_EVENTLOG_API ESR_ReturnCode SR_EventLogAudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes);
  /external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
SDL_fbelo.c 135 int num_bytes; local
139 num_bytes = ELO_PACKET_SIZE;
142 num_bytes = read(fd,
147 if (num_bytes < 0) {
154 while (num_bytes) {
156 SDL_memcpy(&buffer[0], &buffer[1], num_bytes-1);
165 num_bytes--;
  /sdk/emulator/qtools/
bb2sym.cpp 121 int num_bytes; local
123 num_bytes = sorted[ii]->bb.num_insns << 1;
125 num_bytes = sorted[ii]->bb.num_insns << 2;
126 addr_end = sorted[ii]->bb.bb_addr + num_bytes;
bbprof.cpp 203 int num_bytes; local
205 num_bytes = sorted[ii]->bb.num_insns << 1;
207 num_bytes = sorted[ii]->bb.num_insns << 2;
208 addr_end = sorted[ii]->bb.bb_addr + num_bytes;
  /external/qemu/distrib/sdl-1.2.12/src/audio/nas/
SDL_nasaudio.c 184 this2->really += event->num_bytes;
186 this2->buf_free += event->num_bytes;
188 this2->buf_free = event->num_bytes;
196 this2->really += event->num_bytes;
198 this2->buf_free += event->num_bytes;
200 this2->buf_free = event->num_bytes;
  /external/webkit/WebCore/platform/image-decoders/jpeg/
JPEGImageDecoder.cpp 79 void skip_input_data(j_decompress_ptr jd, long num_bytes);
146 void skipBytes(long num_bytes) {
148 long bytesToSkip = std::min(num_bytes, (long)src->pub.bytes_in_buffer);
152 if (num_bytes > bytesToSkip)
153 m_bytesToSkip = (size_t)(num_bytes - bytesToSkip);
382 void skip_input_data(j_decompress_ptr jd, long num_bytes)
385 src->decoder->skipBytes(num_bytes);
  /external/srec/srec/EventLog/src/
EventLog.c 136 ESR_ReturnCode SR_EventLogAudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes)
143 return self->audioWrite(self, buffer, num_bytes);
riff.c 672 * waveform: allocated with size num_bytes
678 ESR_ReturnCode readRiff2Buf(FILE *f, void **waveform, unsigned int *num_bytes,
746 *num_bytes = chunk.length; /* already swapped, if need be */
934 * INPUT: waveform, num_bytes (waveform length), audio_type,
943 unsigned int num_bytes,
975 num_samples = num_bytes / bytes_per_sample;
977 num_samples = num_bytes;
984 total_buflen = headerSize + num_bytes;
1038 header.dataLength = swapConstInt(num_bytes);
1055 header.dataLength = num_bytes;
    [all...]
EventLogImpl.c 689 ESR_ReturnCode SR_EventLog_AudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes)
693 size_t size = num_bytes / impl->waveform_bytes_per_sample;
695 if (num_bytes > 0 && pfwrite(buffer, impl->waveform_bytes_per_sample, size, impl->waveformFile) != size)
706 impl->waveform_num_bytes += num_bytes;
  /system/extras/tests/bionic/libc/other/
test_jpeg.c 75 _source_skip_input_data(j_decompress_ptr cinfo, long num_bytes)
79 if (src->jpeg_mgr.next_input_byte + num_bytes > (unsigned char*)src->end ) {
83 src->jpeg_mgr.next_input_byte += num_bytes;
84 src->jpeg_mgr.bytes_in_buffer -= num_bytes;
  /external/qemu/distrib/libpng-1.2.19/
png.c 90 /* Tells libpng that we have already handled the first "num_bytes" bytes
92 * stream we can set num_bytes = 8 so that libpng will not attempt to read
98 png_set_sig_bytes(png_structp png_ptr, int num_bytes)
102 if (num_bytes > 8)
105 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes);
159 png_uint_32 num_bytes; local
167 num_bytes = (png_uint_32)items * size;
170 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes);
177 if (num_bytes > (png_uint_32)0x8000L
    [all...]
  /external/libpng/
png.c 91 /* Tells libpng that we have already handled the first "num_bytes" bytes
93 * stream we can set num_bytes = 8 so that libpng will not attempt to read
99 png_set_sig_bytes(png_structp png_ptr, int num_bytes)
106 if (num_bytes > 8)
109 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes);
163 png_uint_32 num_bytes; local
172 num_bytes = (png_uint_32)items * size;
175 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes);
182 if (num_bytes > (png_uint_32)0x8000L
    [all...]
  /external/srec/srec/Recognizer/include/
SR_RecognizerImpl.h 137 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);
  /frameworks/base/location/java/com/android/internal/location/
GpsNetInitiatedHandler.java 297 int num_bytes = input.length; local
305 while(nPckidx < num_bytes)
325 if (nPckidx == num_bytes || (cCurr >> 1) == CHAR_CR)
  /external/webkit/WebKitTools/android/flex-2.5.4a/
misc.c 86 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/opencore/protocols/systems/3g-324m_pvterminal/h223/include/
lowerlayer.h 202 void SendStuffingMsgHeader(uint8* stuffing, uint16 num_bytes);
  /external/srec/srec/Recognizer/src/
RecognizerImpl.c 3823 PLogError(L("%s: windback buffer is too small (needed=%d, had=%d)"), ESR_rc2str(rc), num_bytes, waveformBuffer->windback_buffer_sz); local
    [all...]
  /external/bluetooth/hcidump/parser/
sdp.c 71 int num_bytes; member in struct:__anon1443
253 switch(sdp_siz_idx_lookup_table[siz_idx].num_bytes) {
264 *n = sdp_siz_idx_lookup_table[siz_idx].num_bytes;

Completed in 3404 milliseconds

1 2