Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_runtime.cc109 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, in __xla_cpu_runtime_AcquireInfeedBufferForDequeue() argument
123 CHECK_EQ(buffer->length(), buffer_length) in __xla_cpu_runtime_AcquireInfeedBufferForDequeue()
124 << "XLA program infeed request buffer size " << buffer_length in __xla_cpu_runtime_AcquireInfeedBufferForDequeue()
133 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue() argument
146 xfeed->infeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue()
152 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, in __xla_cpu_runtime_AcquireOutfeedBufferForPopulation() argument
166 CHECK_EQ(buffer->length(), buffer_length) in __xla_cpu_runtime_AcquireOutfeedBufferForPopulation()
167 << "XLA program outfeed request buffer size " << buffer_length in __xla_cpu_runtime_AcquireOutfeedBufferForPopulation()
176 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length, in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation() argument
189 xfeed->outfeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation()
Dcpu_runtime.h107 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length,
123 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length,
129 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length,
142 const xla::ExecutableRunOptions* run_options, xla::int32 buffer_length,
/external/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc116 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/v8/src/wasm/
Dwasm-memory.h37 size_t buffer_length);
43 size_t buffer_length = 0; member
48 void* buffer_start, size_t buffer_length) in AllocationData()
52 buffer_length(buffer_length) { in AllocationData()
60 reinterpret_cast<uintptr_t>(buffer_start) + buffer_length); in AllocationData()
/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/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()
/external/v8/src/
Dunicode-decoder.h59 inline Utf8DecoderBase(uint16_t* buffer, size_t buffer_length,
66 void Reset(uint16_t* buffer, size_t buffer_length,
99 uint16_t* buffer, size_t buffer_length, in Utf8DecoderBase() argument
101 Reset(buffer, buffer_length, stream); in Utf8DecoderBase()
Dunicode-decoder.cc53 void Utf8DecoderBase::Reset(uint16_t* buffer, size_t buffer_length, in Reset() argument
59 while (utf16_length < buffer_length && !it.Done()) { in Reset()
/external/brotli/python/
D_brotli.cc108 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/dynamic_depth/internal/dynamic_depth/
Ddepth_jpeg.cc20 int32_t ValidateAndroidDynamicDepthBuffer(const char* buffer, size_t buffer_length) { in ValidateAndroidDynamicDepthBuffer() argument
22 const string image_data(buffer, buffer_length); in ValidateAndroidDynamicDepthBuffer()
107 std::istringstream input_jpeg_stream(std::string(buffer, buffer_length)); in ValidateAndroidDynamicDepthBuffer()
/external/libaom/libaom/av1/common/
Dobu_util.c97 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/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()
/external/u-boot/drivers/usb/gadget/
Dep0.c152 urb->actual_length, urb->buffer_length, max_buf, max_length, in copy_config()
176 if (!urb || !urb->buffer || !urb->buffer_length in ep0_get_descriptor()
177 || (urb->buffer_length < 255)) { in ep0_get_descriptor()
354 urb->buffer, urb->buffer_length, urb->actual_length, in ep0_get_descriptor()
Dpxa27x_udc.c74 urb->buffer, urb->buffer_length, urb->actual_length); in udc_write_urb()
145 urb->buffer, urb->buffer_length, urb->actual_length); in udc_read_urb()
174 ep0_urb->buffer, ep0_urb->buffer_length, ep0_urb->actual_length); in udc_read_urb_ep0()
267 ep0_urb->buffer_length = in udc_handle_ep0()
/external/dynamic_depth/internal/xmpmeta/
Dxmp_writer.cc145 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/google-breakpad/src/common/solaris/
Dfile_id.cc175 char *buffer, int buffer_length) { in ConvertIdentifierToString() argument
176 if (buffer_length < 34) in ConvertIdentifierToString()
/external/pdfium/third_party/libpng16/
Dpngpread.c521 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/
Dpngpread.c525 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/dynamic_depth/includes/dynamic_depth/
Ddepth_jpeg.h10 int32_t ValidateAndroidDynamicDepthBuffer(const char* buffer, size_t buffer_length);
/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/libaom/libaom/common/
Dav1_config.c412 int read_av1config(const uint8_t *buffer, size_t buffer_length, in read_av1config() argument
414 if (!buffer || buffer_length < kAv1cSize || !bytes_read || !config) return -1; in read_av1config()
420 buffer, buffer + buffer_length, 0, &result, bitreader_error_handler in read_av1config()
/external/curl/lib/
Dstrdup.h29 void *Curl_memdup(const void *src, size_t buffer_length);

123