Searched defs:num_bytes (Results 151 - 175 of 200) sorted by relevance

12345678

/external/chromium_org/third_party/webrtc/modules/pacing/
H A Dpaced_sender.cc385 void PacedSender::UpdateMediaBytesSent(int num_bytes) { argument
387 media_budget_->UseBudget(num_bytes);
388 padding_budget_->UseBudget(num_bytes);
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtp_utility.cc523 uint8_t num_bytes = ParsePaddingBytes(ptrRTPDataExtensionEnd, ptr); local
524 ptr += num_bytes;
/external/chromium_org/tools/android/forwarder2/
H A Dsocket.cc293 int Socket::ReadNumBytes(void* buffer, size_t num_bytes) { argument
296 while (bytes_read < num_bytes && ret > 0) {
297 ret = Read(static_cast<char*>(buffer) + bytes_read, num_bytes - bytes_read);
382 int Socket::WriteNumBytes(const void* buffer, size_t num_bytes) { argument
385 while (bytes_written < num_bytes && ret > 0) {
387 num_bytes - bytes_written);
/external/chromium_org/ui/gfx/codec/
H A Djpeg_codec.cc370 // "Skip num_bytes worth of data. The buffer pointer and count should be
371 // advanced over num_bytes input bytes, refilling the buffer as needed. This
378 void SkipInputData(j_decompress_ptr cinfo, long num_bytes) { argument
379 if (num_bytes > static_cast<long>(cinfo->src->bytes_in_buffer)) {
385 } else if (num_bytes > 0) {
386 cinfo->src->bytes_in_buffer -= static_cast<size_t>(num_bytes);
387 cinfo->src->next_input_byte += num_bytes;
/external/lldb/source/Plugins/ABI/MacOSX-arm/
H A DABIMacOSX_arm.cpp535 size_t num_bytes = new_value_sp->GetData(data); local
537 if (num_bytes <= 8)
540 if (num_bytes <= 4)
542 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes);
554 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes - offset);
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fbelo.c135 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/chromium_org/base/third_party/symbolize/
H A Dsymbolize.cc144 ssize_t num_bytes = 0; local
145 while (num_bytes < count) {
147 NO_INTR(len = read(fd, buf0 + num_bytes, count - num_bytes));
154 num_bytes += len;
156 SAFE_ASSERT(num_bytes <= count);
157 return num_bytes;
409 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_); local
410 if (num_bytes <= 0) { // EOF or error.
413 eod_ = buf_ + num_bytes;
425 const ssize_t num_bytes = ReadPersistent(fd_, append_pos, local
[all...]
/external/chromium_org/mojo/system/
H A Draw_channel_unittest.cc37 scoped_ptr<MessageInTransit> MakeTestMessage(uint32_t num_bytes) { argument
38 std::vector<unsigned char> bytes(num_bytes, 0);
39 for (size_t i = 0; i < num_bytes; i++)
40 bytes[i] = static_cast<unsigned char>(i + num_bytes);
44 num_bytes,
48 bool CheckMessageData(const void* bytes, uint32_t num_bytes) { argument
50 for (uint32_t i = 0; i < num_bytes; i++) {
51 if (b[i] != static_cast<unsigned char>(i + num_bytes))
62 uint32_t num_bytes) {
63 scoped_ptr<MessageInTransit> message(MakeTestMessage(num_bytes));
61 WriteTestMessageToHandle(const embedder::PlatformHandle& handle, uint32_t num_bytes) argument
[all...]
/external/chromium_org/native_client_sdk/src/examples/demo/drive/
H A Ddrive.cc146 size_t num_bytes = result; local
147 output->insert(output->end(), buffer_, buffer_ + num_bytes);
/external/chromium_org/net/disk_cache/blockfile/
H A Ddisk_format_v3.h69 int32 num_bytes; // Total size of the stored data. member in struct:disk_cache::IndexHeaderV3
/external/chromium_org/third_party/libpng/
H A Dpng.c91 /* 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/libyuv/files/source/
H A Dmjpeg_decoder.cc450 long num_bytes) { // NOLINT
451 cinfo->src->next_input_byte += num_bytes;
449 skip_input_data(j_decompress_ptr cinfo, long num_bytes) argument
/external/qemu/distrib/libpng-1.2.46/
H A Dpng.c92 /* Tells libpng that we have already handled the first "num_bytes" bytes
94 * stream we can set num_bytes = 8 so that libpng will not attempt to read
100 png_set_sig_bytes(png_structp png_ptr, int num_bytes) argument
107 if (num_bytes > 8)
110 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes);
164 png_uint_32 num_bytes; local
173 num_bytes = (png_uint_32)items * size;
176 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes);
183 if (num_bytes > (png_uint_3
[all...]
/external/srec/srec/EventLog/src/
H A DEventLogImpl.c701 ESR_ReturnCode SR_EventLog_AudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes) argument
705 size_t size = num_bytes / impl->waveform_bytes_per_sample;
707 if (num_bytes > 0 && pfwrite(buffer, impl->waveform_bytes_per_sample, size, impl->waveformFile) != size)
718 impl->waveform_num_bytes += num_bytes;
H A Driff.c672 * 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/chromium_org/google_apis/drive/
H A Dbase_requests.cc140 int num_bytes,
145 make_scoped_ptr(new std::string(buffer->data(), num_bytes)));
150 buffer, num_bytes,
159 data_.append(buffer->data(), num_bytes);
160 return num_bytes;
139 Write(net::IOBuffer* buffer, int num_bytes, const net::CompletionCallback& callback) argument
/external/chromium_org/net/socket/
H A Dtcp_socket_win.cc945 DWORD num_bytes, flags; local
947 &num_bytes, FALSE, &flags);
957 rv = static_cast<int>(num_bytes);
967 write_bytes.Add(num_bytes);
968 net_log_.AddByteTransferEvent(NetLog::TYPE_SOCKET_BYTES_SENT, num_bytes,
/external/chromium_org/net/udp/
H A Dudp_socket_win.cc552 DWORD num_bytes, flags; local
554 &num_bytes, FALSE, &flags);
556 int result = ok ? num_bytes : MapSystemError(WSAGetLastError());
590 DWORD num_bytes, flags; local
592 &num_bytes, FALSE, &flags);
594 int result = ok ? num_bytes : MapSystemError(WSAGetLastError());
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/
H A DJPEGImageDecoder.cpp128 void skip_input_data(j_decompress_ptr jd, long num_bytes);
663 void skip_input_data(j_decompress_ptr jd, long num_bytes) argument
666 src->decoder->skipBytes(num_bytes);
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/
H A Dsctpdataengine.cc912 const size_t num_bytes = sizeof(struct sctp_reset_streams) local
915 std::vector<uint8> reset_stream_buf(num_bytes, 0);
/external/libnfc-nci/src/nfc/include/
H A Drw_api.h190 UINT8 num_bytes; /* number of reserved/lock bytes based on the type of tlv */ member in struct:__anon24330
/external/libnfc-nci/src/nfc/tags/
H A Drw_t1t_ndef.c645 tlv_data.num_bytes = p_t1t->num_lockbytes;
682 tlv_data.num_bytes = 0;
686 tlv_data.num_bytes += p_t1t->mem_tlv[p_t1t->num_mem_tlvs].num_bytes;
697 tlv_data.num_bytes = p_t1t->num_lockbytes;
1170 p_t1t->mem_tlv[p_t1t->num_mem_tlvs].num_bytes = tlv_value[1];
1938 UINT8 num_bytes; local
1976 num_bytes = 0;
1977 while (num_bytes < p_t1t->mem_tlv[count].num_bytes)
[all...]
H A Drw_t2t_ndef.c311 tlv_data.num_bytes = p_t2t->num_lockbytes;
315 tlv_data.num_bytes = 0;
318 tlv_data.num_bytes += p_t2t->mem_tlv[p_t2t->num_mem_tlvs].num_bytes;
710 p_t2t->mem_tlv[p_t2t->num_mem_tlvs].num_bytes = p_t2t->tlv_value[1];
1501 tag_size += p_t2t->mem_tlv[xx].num_bytes;
2072 UINT8 num_bytes; local
2108 num_bytes = 0;
2109 while (num_bytes < p_t2t->mem_tlv[count].num_bytes)
[all...]
/external/valgrind/main/VEX/priv/
H A Dguest_s390_helpers.c374 s390x_dirtyhelper_CUxy(UChar *address, ULong data, ULong num_bytes) argument
378 vassert(num_bytes >= 1 && num_bytes <= 4);
382 for (i = 1; i <= num_bytes; ++i) {
383 address[num_bytes - i] = data & 0xff;
401 | 0x0 | converted bytes | num_bytes | invalid_low_surrogate |
408 UInt b1, b2, b3, b4, num_bytes, invalid_low_surrogate = 0; local
414 num_bytes = 1;
416 num_bytes = 2;
419 num_bytes
548 UInt num_bytes, invalid_character = 0; local
595 UInt num_bytes, invalid_character = 0; local
701 UInt num_bytes = 0, invalid_character = 0; local
[all...]
/external/valgrind/main/coregrind/
H A Dm_machine.c559 SizeT num_bytes, file_buf_size; local
572 num_bytes = 0;
579 num_bytes += n;
583 if (n < 0) num_bytes = 0; /* read error; ignore contents */
585 if (num_bytes > file_buf_size) {
588 file_buf = VG_(malloc)( "cpuinfo", num_bytes + 1 );
589 n = VG_(read)( fh, file_buf, num_bytes );
590 if (n < 0) num_bytes = 0;
593 file_buf[num_bytes] = '\0';
648 SizeT num_bytes, file_buf_siz local
[all...]

Completed in 4267 milliseconds

12345678