/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/modules/audio_processing/transient/ |
D | transient_detector_unittest.cc | 68 const size_t buffer_length = sample_rate_hz * ts::kChunkSizeMs / 1000; in TEST() local 69 std::unique_ptr<float[]> buffer(new float[buffer_length]); in TEST() 75 while (ReadInt16FromFileToFloatBuffer(&audio_file, buffer_length, in TEST() 76 buffer.get()) == buffer_length) { in TEST() 80 detector.Detect(buffer.get(), buffer_length, NULL, 0); in TEST()
|
/external/flac/src/plugin_xmms/ |
D | http.c | 71 static gint sock, rd_index, wr_index, buffer_length, prebuffer_length; variable 206 return buffer_length - (rd_index - wr_index); in http_used() 213 return (buffer_length - (wr_index - rd_index)) - 1; in http_free() 241 if (length > buffer_length) { in flac_http_read() 242 length = buffer_length; in flac_http_read() 256 rd_index = (rd_index + 1) % buffer_length; in flac_http_read() 265 cnt = min(meta_len, buffer_length - rd_index); in flac_http_read() 267 rd_index = (rd_index + cnt) % buffer_length; in flac_http_read() 292 cnt = min3(len, buffer_length - rd_index, http_used()); in flac_http_read() 295 …cnt = min4(len, buffer_length - rd_index, http_used(), icy_metaint - (gint) (buffer_read % icy_met… in flac_http_read() [all …]
|
/external/libiio/src/examples/ |
D | dummy-iiostream.c | 90 static int buffer_length = 1; variable 177 buffer_length = atoi(optarg); in parse_options() 273 printf("* Creating non-cyclic IIO buffers with %d samples\n", buffer_length); in main() 274 rxbuf = iio_device_create_buffer(dev, buffer_length, false); in main() 343 buf = malloc(sample_size * buffer_length); in main() 346 bytes = iio_channel_read_raw(channels[i], rxbuf, buf, sample_size * buffer_length); in main() 348 bytes = iio_channel_read(channels[i], rxbuf, buf, sample_size * buffer_length); in main()
|
/external/zlib/contrib/tests/fuzzers/ |
D | inflate_fuzzer.cc | 20 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local 27 stream.avail_out = buffer_length; in LLVMFuzzerTestOneInput() 28 stream.total_out = buffer_length; in LLVMFuzzerTestOneInput()
|
D | deflate_set_dictionary_fuzzer.cc | 19 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local 26 stream.avail_out = buffer_length; in LLVMFuzzerTestOneInput() 27 stream.total_out = buffer_length; in LLVMFuzzerTestOneInput()
|
D | uncompress_fuzzer.cc | 15 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local 17 uncompress(buffer, &buffer_length, data, static_cast<uLong>(size))) { in LLVMFuzzerTestOneInput()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_runtime.h | 128 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, 144 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, 150 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, 163 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length,
|
D | cpu_runtime.cc | 233 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, in __xla_cpu_runtime_AcquireInfeedBufferForDequeue() argument 247 CHECK_EQ(buffer->length(), buffer_length) in __xla_cpu_runtime_AcquireInfeedBufferForDequeue() 248 << "XLA program infeed request buffer size " << buffer_length in __xla_cpu_runtime_AcquireInfeedBufferForDequeue() 257 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue() argument 270 xfeed->infeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue() 276 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, in __xla_cpu_runtime_AcquireOutfeedBufferForPopulation() argument 290 CHECK_EQ(buffer->length(), buffer_length) in __xla_cpu_runtime_AcquireOutfeedBufferForPopulation() 291 << "XLA program outfeed request buffer size " << buffer_length in __xla_cpu_runtime_AcquireOutfeedBufferForPopulation() 300 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation() argument 313 xfeed->outfeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation()
|
/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 | 87 char *buffer, int buffer_length) { in ConvertIdentifierToString() argument 89 for (int idx = 0; (buffer_idx < buffer_length) && (idx < 16); ++idx) { in ConvertIdentifierToString() 103 buffer[(buffer_idx < buffer_length) ? buffer_idx : buffer_idx - 1] = 0; in ConvertIdentifierToString()
|
/external/oss-fuzz/projects/zlib/ |
D | zlib_uncompress_fuzzer.cc | 15 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local 16 if (Z_OK != uncompress(buffer, &buffer_length, data, in LLVMFuzzerTestOneInput()
|
D | zlib_uncompress2_fuzzer.cc | 11 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local 14 uncompress2(buffer, &buffer_length, data, &buf_size); in LLVMFuzzerTestOneInput()
|
/external/oss-fuzz/projects/binutils/ |
D | fuzz_disassemble.c | 69 disasm_info.buffer_length = Size-10; in LLVMFuzzerTestOneInput() 89 if (disasm_info.buffer_length <= (size_t) octets) in LLVMFuzzerTestOneInput() 93 disasm_info.buffer_length -= octets; in LLVMFuzzerTestOneInput()
|
/external/openscreen/osp/impl/quic/ |
D | quic_connection_impl.cc | 31 size_t buffer_length, in Write() argument 34 socket_->SendMessage(buffer, buffer_length, destination_); in Write() 35 OSP_DCHECK_LE(buffer_length, in Write() 37 return static_cast<int>(buffer_length); in Write()
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | depth_jpeg.cc | 20 int32_t ValidateAndroidDynamicDepthBuffer(const char* buffer, size_t buffer_length) { in ValidateAndroidDynamicDepthBuffer() argument 23 const string image_data(buffer, buffer_length); in ValidateAndroidDynamicDepthBuffer() 120 std::istringstream input_jpeg_stream(std::string(buffer, buffer_length)); in ValidateAndroidDynamicDepthBuffer()
|
/external/oss-fuzz/projects/bad_example/ |
D | bad_example_fuzzer.cc | 36 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local 37 if (Z_OK != uncompress(buffer, &buffer_length, data, in LLVMFuzzerTestOneInput()
|
/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/tpm2-tss/src/tss2-fapi/ |
D | ifapi_io.c | 83 io->buffer_length = length; in ifapi_io_read_async() 116 io->buffer_length - io->buffer_idx); in ifapi_io_read_finish() 130 if (io->buffer_idx < io->buffer_length) in ifapi_io_read_finish() 143 *length = io->buffer_length; in ifapi_io_read_finish() 170 io->buffer_length = length; in ifapi_io_write_async() 224 io->buffer_length - io->buffer_idx); in ifapi_io_write_finish() 238 if (io->buffer_idx < io->buffer_length) in ifapi_io_write_finish()
|
D | ifapi_io.h | 20 size_t buffer_length; member 35 #define IFAPI_IO_BUFFLEN context->io.buffer_length
|
/external/libaom/libaom/av1/common/ |
D | obu_util.c | 97 aom_codec_err_t aom_read_obu_header(uint8_t *buffer, size_t buffer_length, in aom_read_obu_header() argument 100 if (buffer_length < 1 || !consumed || !header) return AOM_CODEC_INVALID_PARAM; in aom_read_obu_header() 104 struct aom_read_bit_buffer rb = { buffer, buffer + buffer_length, 0, NULL, in aom_read_obu_header()
|
/external/google-breakpad/src/tools/windows/converter_exe/ |
D | wininet_client.cc | 79 DWORD buffer_length, 230 DWORD buffer_length, in ReadData() argument 239 buffer_length, in ReadData()
|
D | winhttp_client.cc | 80 DWORD buffer_length, 231 DWORD buffer_length, in ReadData() argument 240 buffer_length, in ReadData()
|
/external/dynamic_depth/internal/xmpmeta/ |
D | xmp_writer.cc | 145 const int buffer_length = static_cast<int>(buffer.length()); in CreateExtendedSections() local 148 buffer_length / (XmpConst::ExtendedMaxBufferSize() - overhead) + 1; in CreateExtendedSections() 151 std::min(static_cast<int>(buffer_length - position + overhead), in CreateExtendedSections() 163 WriteIntTo4Bytes(buffer_length, &data_stream); in CreateExtendedSections()
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_interpreter_test.cc | 275 int buffer_length = tflite::ElementCount(*cur_tensor->dims); in TF_LITE_MICRO_TEST() local 282 for (int j = 0; j < buffer_length; ++j) { in TF_LITE_MICRO_TEST() 289 for (int j = 0; j < buffer_length; ++j) { in TF_LITE_MICRO_TEST() 304 int buffer_length = tflite::ElementCount(*cur_tensor->dims); in TF_LITE_MICRO_TEST() local 311 for (int j = 0; j < buffer_length; ++j) { in TF_LITE_MICRO_TEST() 318 for (int j = 0; j < buffer_length; ++j) { in TF_LITE_MICRO_TEST()
|