/external/jpeg/ |
H A D | jdatasrc.c | 128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument 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/chromium/net/base/ |
H A D | upload_data_stream.cc | 28 void UploadDataStream::DidConsume(size_t num_bytes) { argument 30 CHECK(num_bytes <= buf_len_); 32 buf_len_ -= num_bytes; 34 memmove(buf_->data(), buf_->data() + num_bytes, buf_len_); 38 current_position_ += num_bytes;
|
/external/chromium/base/crypto/ |
H A D | rsa_private_key.cc | 54 int num_bytes, 56 while (num_bytes > 0) { 57 --num_bytes; 58 data->push_front(val[start + num_bytes]); 68 uint8 num_bytes = 0; local 72 num_bytes++; 74 CHECK(num_bytes <= 4); 75 data->push_front(0x80 | num_bytes); 87 int num_bytes, 90 PrependBytes(val, 0, num_bytes, outpu 52 PrependBytes(uint8* val, int start, int num_bytes, std::list<uint8>* data) argument 86 PrependBitString(uint8* val, int num_bytes, std::list<uint8>* output) argument [all...] |
/external/srec/srec/EventLog/src/ |
H A D | EventLog.c | 136 ESR_ReturnCode SR_EventLogAudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes) argument 143 return self->audioWrite(self, buffer, num_bytes);
|
H A D | EventLogImpl.c | 689 ESR_ReturnCode SR_EventLog_AudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes) argument 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;
|
H A D | riff.c | 672 * waveform: allocated with size num_bytes 678 ESR_ReturnCode readRiff2Buf(FILE *f, void **waveform, unsigned int *num_bytes, argument 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; 941 convertBuf2Riff( unsigned char *waveform, unsigned int num_bytes, wchar_t *audio_type, int rate, int bytes_per_sample, SwiRiffStruct *swichunk, unsigned char **buf, unsigned int *buflen) argument [all...] |
/external/skia/src/images/ |
H A D | SkJpegUtility.cpp | 62 static void sk_skip_input_data(j_decompress_ptr cinfo, long num_bytes) { argument 65 if (num_bytes > (long)src->bytes_in_buffer) { 66 long bytesToSkip = num_bytes - src->bytes_in_buffer; 80 src->next_input_byte += num_bytes; 81 src->bytes_in_buffer -= num_bytes; 116 static void skmem_skip_input_data(j_decompress_ptr cinfo, long num_bytes) { argument 118 // SkDebugf("xxxxxxxxxxxxxx skmem_skip_input_data called %d\n", num_bytes); 119 src->next_input_byte = (const JOCTET*)((const char*)src->next_input_byte + num_bytes); 120 src->bytes_in_buffer -= num_bytes;
|
/external/chromium/net/proxy/ |
H A D | proxy_script_fetcher.cc | 98 virtual void OnReadCompleted(URLRequest* request, int num_bytes); 268 int num_bytes) { 270 if (num_bytes > 0) { 272 if (num_bytes + result_bytes_->size() > 278 result_bytes_->append(buf_->data(), num_bytes); 297 int num_bytes; local 298 if (request->Read(buf_, kBufSize, &num_bytes)) { 299 OnReadCompleted(request, num_bytes); 267 OnReadCompleted(URLRequest* request, int num_bytes) argument
|
/external/bluetooth/hcidump/parser/ |
H A D | sdp.c | 71 int num_bytes; member in struct:__anon672 253 switch(sdp_siz_idx_lookup_table[siz_idx].num_bytes) { 264 *n = sdp_siz_idx_lookup_table[siz_idx].num_bytes;
|
/external/qemu/distrib/libpng-1.2.19/ |
H A D | 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) argument 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_3 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
H A D | 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--;
|
/external/webkit/WebCore/platform/image-decoders/jpeg/ |
H A D | JPEGImageDecoder.cpp | 79 void skip_input_data(j_decompress_ptr jd, long num_bytes); 146 void skipBytes(long num_bytes) { argument 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) argument 385 src->decoder->skipBytes(num_bytes);
|
/external/webkit/WebKitTools/android/flex-2.5.4a/ |
H A D | 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/chromium/base/third_party/symbolize/ |
H A D | symbolize.cc | 128 ssize_t num_bytes = 0; local 129 while (num_bytes < count) { 131 NO_INTR(len = read(fd, buf0 + num_bytes, count - num_bytes)); 138 num_bytes += len; 140 SAFE_ASSERT(num_bytes <= count); 141 return num_bytes; 395 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_); local 396 if (num_bytes <= 0) { // EOF or error. 399 eod_ = buf_ + num_bytes; 411 const ssize_t num_bytes = ReadPersistent(fd_, append_pos, local [all...] |
/external/chromium/net/disk_cache/ |
H A D | disk_format.h | 85 int32 num_bytes; // Total size of the stored data. member in struct:disk_cache::IndexHeader
|
/external/chromium/net/socket/ |
H A D | tcp_client_socket_win.cc | 672 DWORD num_bytes, flags; local 674 &num_bytes, FALSE, &flags); 676 TRACE_EVENT_END("socket.read", this, StringPrintf("%d bytes", num_bytes)); 679 DoReadCallback(ok ? num_bytes : MapWinsockError(WSAGetLastError())); 685 DWORD num_bytes, flags; local 687 &num_bytes, FALSE, &flags); 689 TRACE_EVENT_END("socket.write", this, StringPrintf("%d bytes", num_bytes)); 692 DoWriteCallback(ok ? num_bytes : MapWinsockError(WSAGetLastError()));
|
/external/libpng/ |
H A D | 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) argument 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_3 [all...] |
/external/chromium/net/http/ |
H A D | http_cache_transaction.cc | 1486 int HttpCache::Transaction::DoCacheWriteData(int num_bytes) { argument 1490 return AppendResponseDataToEntry(read_buf_, num_bytes, cache_callback_);
|
/external/v8/src/ia32/ |
H A D | disasm-ia32.cc | 551 int num_bytes = 2; local 567 num_bytes = 3; 581 return num_bytes;
|
/external/srec/srec/Recognizer/src/ |
H A D | RecognizerImpl.c | 3714 ESR_ReturnCode WaveformBuffer_Write(WaveformBuffer* waveformBuffer, void *data, size_t num_bytes) argument 3727 if (available_bytes < num_bytes) 3729 done_bytes = CircularBufferSkip(waveformBuffer->cbuffer, num_bytes - available_bytes); 3730 if (done_bytes != num_bytes - available_bytes) 3736 done_bytes = CircularBufferWrite(waveformBuffer->cbuffer, data, num_bytes); 3737 if (done_bytes != num_bytes) 3746 if (available_bytes < num_bytes) 3748 waveformBuffer->overflow_count += num_bytes; 3751 done_bytes = CircularBufferWrite(waveformBuffer->cbuffer, data, num_bytes); 3752 if (done_bytes != num_bytes) 3765 WaveformBuffer_Read(WaveformBuffer* waveformBuffer, void *data, size_t* num_bytes) argument 3808 WaveformBuffer_WindBack(WaveformBuffer* waveformBuffer, const size_t num_bytes) argument 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/v8/src/x64/ |
H A D | disasm-x64.cc | 726 int num_bytes = 2; local 729 return num_bytes; 756 return num_bytes; 763 num_bytes = 3; 775 return num_bytes;
|