/external/v8/src/ |
D | unicode-decoder.h | 18 inline Utf8DecoderBase(uint16_t* buffer, size_t buffer_length, 25 void Reset(uint16_t* buffer, size_t buffer_length, const uint8_t* stream, 58 Utf8DecoderBase::Utf8DecoderBase(uint16_t* buffer, size_t buffer_length, in Utf8DecoderBase() argument 60 Reset(buffer, buffer_length, stream, stream_length); in Utf8DecoderBase() 83 size_t buffer_length = in WriteUtf16() local 85 size_t memcpy_length = length <= buffer_length ? length : buffer_length; in WriteUtf16() 87 if (length <= buffer_length) return length; in WriteUtf16() 90 WriteUtf16Slow(unbuffered_start_, unbuffered_length_, data + buffer_length, in WriteUtf16() 91 length - buffer_length); in WriteUtf16()
|
D | unicode-decoder.cc | 13 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/ |
D | byte_array.cc | 116 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local 118 Get(index + src_offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo() 123 buffer_length = std::min<int32_t>(b.size(), remaining_length); in CopyTo() 136 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local 137 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo() 140 buffer_length = std::min<int32_t>(b.size(), length - index); in CopyTo() 149 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyFrom() local 150 while ((bytes_read = is->Read(&b, 0, buffer_length)) > 0) { in CopyFrom() 160 buffer_length = std::min<int32_t>(b.size(), length); in CopyFrom() 169 int32_t buffer_length = COPY_BUFFER_SIZE; in CopyFrom() local [all …]
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | transient_detector_unittest.cc | 80 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/ |
D | rtp_format_vp8.h | 152 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;
|
D | rtp_format_vp8.cc | 463 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 …]
|
D | rtcp_packet.cc | 601 RawPacket::RawPacket(size_t buffer_length) in RawPacket() argument 602 : buffer_length_(buffer_length), length_(0) { in RawPacket() 603 buffer_.reset(new uint8_t[buffer_length]); in RawPacket()
|
/external/libvncserver/libvncclient/ |
D | zrle.c | 80 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/ |
D | chrome_subsetter.cc | 63 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/ |
D | file_id.cc | 86 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()
|
D | file_id.h | 72 char *buffer, int buffer_length);
|
/external/google-breakpad/src/common/linux/ |
D | file_id.cc | 161 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()
|
D | file_id.h | 69 char* buffer, int buffer_length);
|
/external/harfbuzz_ng/src/ |
D | hb-ot-name-table.hh | 85 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/ |
D | file_id.cc | 175 char *buffer, int buffer_length) { in ConvertIdentifierToString() argument 176 if (buffer_length < 34) in ConvertIdentifierToString()
|
D | file_id.h | 57 char *buffer, int buffer_length);
|
/external/libpng/ |
D | pngpread.c | 524 png_size_t buffer_length) in png_push_restore_buffer() argument 527 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer() 528 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer() 627 png_size_t buffer_length) in png_process_IDAT_data() argument 630 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data() 639 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
|
/external/pdfium/third_party/libpng16/ |
D | pngpread.c | 521 png_size_t buffer_length) in png_push_restore_buffer() argument 524 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer() 525 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer() 624 png_size_t buffer_length) in png_process_IDAT_data() argument 627 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data() 636 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
|
/external/skia/third_party/libpng/ |
D | pngpread.c | 530 png_size_t buffer_length) in png_push_restore_buffer() argument 533 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer() 534 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer() 633 png_size_t buffer_length) in png_process_IDAT_data() argument 636 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data() 645 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
|
/external/curl/lib/ |
D | strdup.h | 29 char *Curl_memdup(const char *src, size_t buffer_length);
|
/external/google-breakpad/src/common/dwarf/ |
D | dwarf2reader.h | 88 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/webrtc/webrtc/call/ |
D | rtc_event_log.cc | 377 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/libmojo/ipc/ |
D | ipc_message.cc | 207 size_t buffer_length = static_cast<size_t>(range_end - range_start); in FindNext() local 208 if (buffer_length < attachment_length + pickle_size) in FindNext()
|
/external/syslinux/com32/lib/libpng/ |
D | pngpread.c | 729 png_size_t buffer_length) in png_push_restore_buffer() argument 732 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer() 733 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer() 833 png_size_t buffer_length) in png_process_IDAT_data() argument 836 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data() 844 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
|
/external/libusb/libusb/os/ |
D | linux_usbfs.h | 94 int buffer_length; member
|