Home
last modified time | relevance | path

Searched refs:buf_data (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_argmin_parser.cc40 const auto &buf_data = tflite_model->buffers.at(axis_tensor->buffer); in Parse() local
41 MS_CHECK_TRUE_MSG(buf_data != nullptr, nullptr, "the buf data is nullptr"); in Parse()
42 auto data_ptr = buf_data->data.data(); in Parse()
Dtflite_argmax_parser.cc40 const auto &buf_data = tflite_model->buffers.at(axis_tensor->buffer); in Parse() local
41 MS_CHECK_TRUE_MSG(buf_data != nullptr, nullptr, "the buf data is nullptr"); in Parse()
42 auto data_ptr = buf_data->data.data(); in Parse()
Dtflite_node_parser.h64 auto &buf_data = tflite_model_buffer[tensor->buffer]; in GetTfliteData() local
65 if (buf_data == nullptr) { in GetTfliteData()
69 auto data_ptr = buf_data->data.data(); in GetTfliteData()
147 auto &buf_data = tflite_model_buffer[tensor->buffer]; in TransTfliteDataToVec2D() local
148 if (buf_data == nullptr) { in TransTfliteDataToVec2D()
152 auto data_ptr = buf_data->data.data(); in TransTfliteDataToVec2D()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_server.cc202 CHECK_FAIL_RETURN_UNEXPECTED(!rq->buf_data().empty(), "Missing info to create cache"); in CreateService()
203 auto &create_cache_buf = rq->buf_data(0); in CreateService()
305 CHECK_FAIL_RETURN_UNEXPECTED(!rq->buf_data().empty(), "Missing cookie"); in CacheRow()
306 auto &cookie = rq->buf_data(0); in CacheRow()
312 buffers.push_back(rq->buf_data(i).data()); in CacheRow()
339 auto &cookie = rq->buf_data(BufDataIndex::kCookie); in FastCacheRow()
341 auto addr = strtoll(rq->buf_data(BufDataIndex::kAddr).data(), nullptr, kDecimal); in FastCacheRow()
344 auto sz = strtoll(rq->buf_data(BufDataIndex::kSize).data(), nullptr, kDecimal); in FastCacheRow()
388 int64_t addr = strtol(rq->buf_data(kBatchWaitIdx).data(), nullptr, kDecimal); in InternalCacheRow()
415 …rc = cs->InternalFetchRow(flatbuffers::GetRoot<FetchRowMsg>(rq->buf_data(BufDataIndex::kFetchRowMs… in InternalFetchRow()
[all …]
Dcache_grpc.proto41 repeated bytes buf_data = 6; field
Dcache_request.cc98 sz_ += rq_.buf_data(0).size(); in SerializeCacheRowRequest()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Debml-write.c415 guint8 * buf_data, guint8 * buf_data_end) in gst_ebml_write_element_push() argument
423 data_size = buf_data_end - buf_data; in gst_ebml_write_element_push()
431 if (!buf_data) { in gst_ebml_write_element_push()
433 buf_data = map.data; in gst_ebml_write_element_push()
435 if (!buf_data) in gst_ebml_write_element_push()
437 else if (!gst_byte_writer_put_data (ebml->streamheader, buf_data, in gst_ebml_write_element_push()
442 if (!buf_data) { in gst_ebml_write_element_push()
444 buf_data = map.data; in gst_ebml_write_element_push()
446 if (!buf_data) in gst_ebml_write_element_push()
448 else if (!gst_byte_writer_put_data (ebml->cache, buf_data, data_size)) in gst_ebml_write_element_push()
[all …]
Dmatroska-demux.c3882 guint8 *buf_data, *data; in gst_matroska_demux_add_wvpk_header() local
3949 buf_data = map.data; in gst_matroska_demux_add_wvpk_header()
3959 data = buf_data; in gst_matroska_demux_add_wvpk_header()
/third_party/flatbuffers/include/flatbuffers/
Dgrpc.h237 auto buf_data = buf_.scratch_data(); // pointer to memory in GetMessage() local
244 FLATBUFFERS_ASSERT(msg_data >= buf_data); in GetMessage()
245 FLATBUFFERS_ASSERT(msg_data + msg_size <= buf_data + buf_size); in GetMessage()
247 auto begin = msg_data - buf_data; in GetMessage()
250 grpc_slice slice = slice_allocator_.get_slice(buf_data, buf_size); in GetMessage()
/third_party/libsoup/tests/
Dchunk-test.c365 char *buf_data; in do_large_chunk_test() local
371 buf_data = g_malloc0 (LARGE_CHUNK_SIZE); in do_large_chunk_test()
373 buf_data[i] = i & 0xFF; in do_large_chunk_test()
374 lcd.buf = soup_buffer_new (SOUP_MEMORY_TAKE, buf_data, LARGE_CHUNK_SIZE); in do_large_chunk_test()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo_translate.c517 uint8_t *buf_data = nouveau_resource_map_offset( in nvc0_push_vbo_indirect() local
521 for (i = 0; i < draw_count; i++, buf_data += indirect->stride) { in nvc0_push_vbo_indirect()
523 DrawElementsIndirectCommand *cmd = (void *)buf_data; in nvc0_push_vbo_indirect()
530 DrawArraysIndirectCommand *cmd = (void *)buf_data; in nvc0_push_vbo_indirect()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbuffer.c744 gpointer buf_data = NULL; in gst_rtp_buffer_get_extension_bytes() local
749 if (!gst_rtp_buffer_get_extension_data (rtp, bits, &buf_data, &buf_len)) in gst_rtp_buffer_get_extension_bytes()
754 buf_data = NULL; in gst_rtp_buffer_get_extension_bytes()
758 return g_bytes_new (buf_data, 4 * buf_len); in gst_rtp_buffer_get_extension_bytes()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstvalue.c63 const guint8 buf_data[8] = { 0x12, 0x34, 0x56, 0x78, 0x90, 0xab, 0xcd, 0xef }; in GST_START_TEST() local
66 len = sizeof (buf_data); in GST_START_TEST()
69 gst_buffer_fill (buf, 0, (gchar *) buf_data, len); in GST_START_TEST()