/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/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_runtime.cc | 80 void* __xla_cpu_runtime_AcquireInfeedBufferForDequeue(xla::int32 buffer_length, in __xla_cpu_runtime_AcquireInfeedBufferForDequeue() argument 91 CHECK_EQ(buffer->length(), buffer_length) in __xla_cpu_runtime_AcquireInfeedBufferForDequeue() 92 << "XLA program infeed request buffer size " << buffer_length in __xla_cpu_runtime_AcquireInfeedBufferForDequeue() 100 xla::int32 buffer_length, void* buffer_ptr, const void* shape_ptr, in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue() argument 109 xfeed->infeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue() 114 xla::int32 buffer_length, const void* shape_ptr, xla::int32 shape_length) { in __xla_cpu_runtime_AcquireOutfeedBufferForPopulation() argument 123 CHECK_EQ(buffer->length(), buffer_length) in __xla_cpu_runtime_AcquireOutfeedBufferForPopulation() 124 << "XLA program outfeed request buffer size " << buffer_length in __xla_cpu_runtime_AcquireOutfeedBufferForPopulation() 132 xla::int32 buffer_length, void* buffer_ptr, const void* shape_ptr, in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation() argument 141 xfeed->outfeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation()
|
D | cpu_runtime.h | 84 xla::int32 buffer_length, const void* shape, xla::int32 shape_length); 99 xla::int32 buffer_length, void* buffer_ptr, const void* shape_ptr, 105 xla::int32 buffer_length, const void* shape_ptr, xla::int32 shape_length); 117 xla::int32 buffer_length, void* buffer_ptr, const void* shape_ptr,
|
/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 …]
|
/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/brotli/python/ |
D | _brotli.cc | 108 size_t buffer_length = 0; // Request all available output. in compress_stream() local 109 const uint8_t* buffer = BrotliEncoderTakeOutput(enc, &buffer_length); in compress_stream() 110 if (buffer_length) { in compress_stream() 111 (*output).insert((*output).end(), buffer, buffer + buffer_length); in compress_stream() 411 size_t buffer_length = 0; // Request all available output. in decompress_stream() local 412 const uint8_t* buffer = BrotliDecoderTakeOutput(dec, &buffer_length); in decompress_stream() 413 if (buffer_length) { in decompress_stream() 414 (*output).insert((*output).end(), buffer, buffer + buffer_length); in decompress_stream()
|
/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 | 87 unsigned int buffer_length) const in get_name() 99 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/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/libpng/ |
D | pngpread.c | 525 png_size_t buffer_length) in png_push_restore_buffer() argument 528 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer() 529 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer() 628 png_size_t buffer_length) in png_process_IDAT_data() argument 631 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data() 640 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
|
/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/curl/lib/ |
D | strdup.h | 29 void *Curl_memdup(const void *src, size_t buffer_length);
|
/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/brotli/c/dec/ |
D | decode.c | 1923 if (s->buffer_length == 0) { /* Just connect bit reader to input stream. */ in BrotliDecoderDecompressStream() 1946 if (s->buffer_length != 0) { /* Used with internal buffer. */ in BrotliDecoderDecompressStream() 1950 s->buffer_length = 0; in BrotliDecoderDecompressStream() 1960 s->buffer.u8[s->buffer_length] = **next_in; in BrotliDecoderDecompressStream() 1961 s->buffer_length++; in BrotliDecoderDecompressStream() 1962 br->avail_in = s->buffer_length; in BrotliDecoderDecompressStream() 1975 s->buffer.u8[s->buffer_length] = **next_in; in BrotliDecoderDecompressStream() 1976 s->buffer_length++; in BrotliDecoderDecompressStream() 1987 if (s->buffer_length != 0) { in BrotliDecoderDecompressStream() 1990 s->buffer_length = 0; in BrotliDecoderDecompressStream() [all …]
|
/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()
|