Home
last modified time | relevance | path

Searched refs:buffer_length (Results 1 – 25 of 42) sorted by relevance

12

/external/v8/src/
Dunicode-decoder.h17 inline Utf8DecoderBase(uint16_t* buffer, size_t buffer_length,
24 void Reset(uint16_t* buffer, size_t buffer_length, const uint8_t* stream,
57 Utf8DecoderBase::Utf8DecoderBase(uint16_t* buffer, size_t buffer_length, in Utf8DecoderBase() argument
59 Reset(buffer, buffer_length, stream, stream_length); in Utf8DecoderBase()
82 size_t buffer_length = in WriteUtf16() local
84 size_t memcpy_length = length <= buffer_length ? length : buffer_length; in WriteUtf16()
86 if (length <= buffer_length) return length; in WriteUtf16()
89 WriteUtf16Slow(unbuffered_start_, unbuffered_length_, data + buffer_length, in WriteUtf16()
90 length - buffer_length); in WriteUtf16()
Dunicode-decoder.cc13 void Utf8DecoderBase::Reset(uint16_t* buffer, size_t buffer_length, in Reset() argument
34 if (utf16_length <= buffer_length) { in Reset()
41 if (utf16_length == buffer_length) { in Reset()
/external/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc114 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local
116 Get(index + src_offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo()
121 buffer_length = std::min<int32_t>(b.size(), remaining_length); in CopyTo()
134 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local
135 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo()
138 buffer_length = std::min<int32_t>(b.size(), length - index); in CopyTo()
147 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyFrom() local
148 while ((bytes_read = is->Read(&b, 0, buffer_length)) > 0) { in CopyFrom()
158 buffer_length = std::min<int32_t>(b.size(), length); in CopyFrom()
167 int32_t buffer_length = COPY_BUFFER_SIZE; in CopyFrom() local
[all …]
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_detector_unittest.cc80 const size_t buffer_length = sample_rate_hz * ts::kChunkSizeMs / 1000; in TEST() local
81 rtc::scoped_ptr<float[]> buffer(new float[buffer_length]); in TEST()
88 buffer_length, in TEST()
89 buffer.get()) == buffer_length) { in TEST()
93 detector.Detect(buffer.get(), buffer_length, NULL, 0); in TEST()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp8.h152 size_t buffer_length) const;
157 int WriteExtensionFields(uint8_t* buffer, size_t buffer_length) const;
163 size_t buffer_length,
170 size_t buffer_length,
178 size_t buffer_length,
184 int WritePictureID(uint8_t* buffer, size_t buffer_length) const;
Drtp_format_vp8.cc463 size_t buffer_length) const { in WriteHeaderAndPayload()
489 const int extension_length = WriteExtensionFields(buffer, buffer_length); in WriteHeaderAndPayload()
503 size_t buffer_length) const { in WriteExtensionFields()
511 x_field, buffer, buffer_length, &extension_length) < 0) { in WriteExtensionFields()
517 x_field, buffer, buffer_length, &extension_length) < 0) { in WriteExtensionFields()
523 x_field, buffer, buffer_length, &extension_length) < 0) { in WriteExtensionFields()
534 size_t buffer_length, in WritePictureIDFields() argument
537 assert(buffer_length >= in WritePictureIDFields()
541 buffer_length - vp8_fixed_payload_descriptor_bytes_ - *extension_length); in WritePictureIDFields()
549 size_t buffer_length) const { in WritePictureID()
[all …]
/external/libvncserver/libvncclient/
Dzrle.c80 uint8_t* buffer,size_t buffer_length,
237 uint8_t* buffer,size_t buffer_length, in HandleZRLETile() argument
240 uint8_t* buffer_end = buffer+buffer_length; in HandleZRLETile()
247 if(buffer_length<1) in HandleZRLETile()
272 if(1+w*h*REALBPP/8>buffer_length) { in HandleZRLETile()
273 rfbClientLog("expected %d bytes, got only %d (%dx%d)\n",1+w*h*REALBPP/8,buffer_length,w,h); in HandleZRLETile()
289 if(1+REALBPP/8>buffer_length) in HandleZRLETile()
305 if(1+type*REALBPP/8+((w+divider-1)/divider)*h>buffer_length) in HandleZRLETile()
371 if(2+(type-128)*REALBPP/8>buffer_length) in HandleZRLETile()
/external/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc63 int buffer_length) { in SaveFile() argument
65 if (buffer_length > 0) { in SaveFile()
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile()
77 return buffer_length == byte_count; in SaveFile()
/external/google-breakpad/src/common/mac/
Dfile_id.cc86 char *buffer, int buffer_length) { in ConvertIdentifierToString() argument
88 for (int idx = 0; (buffer_idx < buffer_length) && (idx < 16); ++idx) { in ConvertIdentifierToString()
102 buffer[(buffer_idx < buffer_length) ? buffer_idx : buffer_idx - 1] = 0; in ConvertIdentifierToString()
Dfile_id.h72 char *buffer, int buffer_length);
/external/google-breakpad/src/common/linux/
Dfile_id.cc161 char* buffer, int buffer_length) { in ConvertIdentifierToString() argument
175 (buffer_idx < buffer_length) && (idx < kMDGUIDSize); in ConvertIdentifierToString()
188 buffer[(buffer_idx < buffer_length) ? buffer_idx : buffer_idx - 1] = 0; in ConvertIdentifierToString()
Dfile_id.h69 char* buffer, int buffer_length);
/external/avahi/avahi-core/
Dnetlink.c40 size_t buffer_length; member
58 iov.iov_len = nl->buffer_length; in avahi_netlink_work()
154 if (!(nl->buffer = avahi_new(uint8_t, nl->buffer_length = 64*1024))) { in avahi_netlink_new()
/external/harfbuzz_ng/src/
Dhb-ot-name-table.hh85 unsigned int buffer_length) const in get_name()
97 unsigned int length = MIN (buffer_length, (unsigned int) match->length); in get_name()
/external/google-breakpad/src/common/solaris/
Dfile_id.cc175 char *buffer, int buffer_length) { in ConvertIdentifierToString() argument
176 if (buffer_length < 34) in ConvertIdentifierToString()
Dfile_id.h57 char *buffer, int buffer_length);
/external/curl/lib/
Dstrdup.h29 char *Curl_memdup(const char *src, size_t buffer_length);
/external/libpng/
Dpngpread.c519 png_size_t buffer_length) in png_push_restore_buffer() argument
522 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer()
523 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer()
622 png_size_t buffer_length) in png_process_IDAT_data() argument
625 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data()
634 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.h88 LineInfo(const char* buffer_, uint64 buffer_length,
640 CallFrameInfo(const char *buffer, size_t buffer_length,
643 : buffer_(buffer), buffer_length_(buffer_length), in buffer_()
/external/opencv3/3rdparty/libpng/
Dpngpread.c744 png_size_t buffer_length) in png_push_restore_buffer() argument
747 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer()
748 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer()
856 png_size_t buffer_length) in png_process_IDAT_data() argument
859 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data()
867 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
/external/pdfium/third_party/lpng_v163/
Dpngpread.c716 png_size_t buffer_length) in png_push_restore_buffer() argument
719 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer()
720 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer()
828 png_size_t buffer_length) in png_process_IDAT_data() argument
831 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data()
840 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
/external/webrtc/webrtc/call/
Drtc_event_log.cc377 uint32_t buffer_length = 0;
401 memcpy(buffer + buffer_length, block_begin, block_size);
402 buffer_length += block_size;
416 rtcp_event.mutable_rtcp_packet()->set_packet_data(buffer, buffer_length);
/external/v8/src/parsing/
Dscanner-character-streams.cc423 size_t buffer_length = buffer_end_ - buffer_cursor_; in SetBookmark() local
425 bookmark_buffer_ = Vector<uint16_t>::New(static_cast<int>(buffer_length)); in SetBookmark()
426 CopyCharsUnsigned(bookmark_buffer_.start(), buffer_cursor_, buffer_length); in SetBookmark()
/external/libusb/libusb/os/
Dlinux_usbfs.h91 int buffer_length; member
/external/v8/src/runtime/
Druntime-typedarray.cc430 size_t buffer_length = 0; in RUNTIME_FUNCTION() local
434 TryNumberToSize(isolate, buffer->byte_length(), &buffer_length)); in RUNTIME_FUNCTION()
440 RUNTIME_ASSERT(offset <= buffer_length); in RUNTIME_FUNCTION()
441 RUNTIME_ASSERT(offset + length <= buffer_length); in RUNTIME_FUNCTION()

12