Home
last modified time | relevance | path

Searched refs:SetData (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugPubTable.cpp29 Set &SetData = Sets.back(); in DWARFDebugPubTable() local
31 SetData.Length = PubNames.getU32(&Offset); in DWARFDebugPubTable()
32 SetData.Version = PubNames.getU16(&Offset); in DWARFDebugPubTable()
33 SetData.Offset = PubNames.getRelocatedValue(4, &Offset); in DWARFDebugPubTable()
34 SetData.Size = PubNames.getU32(&Offset); in DWARFDebugPubTable()
42 SetData.Entries.push_back( in DWARFDebugPubTable()
/third_party/mindspore/mindspore/lite/src/cxx_api/
Dtypes.cc34 (void)SetData(data, data_len); in Impl()
49 bool SetData(const void *data, size_t data_len) { in SetData() function in mindspore::Buffer::Impl
345 void MSTensor::SetData(void *data) { in SetData() function in mindspore::MSTensor
350 return impl_->SetData(data); in SetData()
415 bool Buffer::SetData(const void *data, size_t data_len) { in SetData() function in mindspore::Buffer
420 return impl_->SetData(data, data_len); in SetData()
/third_party/mindspore/tests/ut/cpp/cxx_api/
Dtypes_test.cc203 ASSERT_EQ(buffer1.SetData(nullptr, 1), false); in TEST_F()
204 ASSERT_EQ(buffer1.SetData(data.data(), 0), false); in TEST_F()
212 ASSERT_EQ(buffer1.SetData(nullptr, 0), true); in TEST_F()
213 ASSERT_EQ(buffer1.SetData(data.data(), data.size() * sizeof(uint32_t)), true); in TEST_F()
/third_party/mindspore/mindspore/lite/src/delegate/npu/op/
Dsplit_npu.cc45 …size_splits_tensor->SetData(reinterpret_cast<uint8_t *>(sizes_split_vec.data()), size * sizeof(int… in Init()
66 …split_dim_tensor->SetData(reinterpret_cast<uint8_t *>(split_dim_data_value.data()), 1 * sizeof(int… in SetNPUInputs()
Dpad_npu.cc87 …constant_values_tensor->SetData(reinterpret_cast<uint8_t *>(constant_values_data_value.data()), 1 … in Init()
104 padding_tensor->SetData(reinterpret_cast<uint8_t *>(paddings_vec_.data()), size * sizeof(int)); in SetNPUInputs()
Dtile_npu.cc60 …multiple_tensor->SetData(reinterpret_cast<uint8_t *>(multiples.data()), multiples.size() * sizeof(… in SetNPUInputs()
Dunsqueeze_npu.cc48 tensor->SetData(reinterpret_cast<uint8_t *>(axis_.data()), size * sizeof(int)); in Init()
Dconvolution_base_npu.cc99 …weight_tensor->SetData(reinterpret_cast<const uint8_t *>(nchw_weight_), inputs[1].ElementNum() * s… in InitWeightConst()
Dfullconnection_npu.cc52 …reshape_tensor->SetData(reinterpret_cast<uint8_t *>(reshape_data.data()), FC_INPUT_DIM * sizeof(in… in Init()
Dresize_npu.cc72 sizeTensor->SetData(reinterpret_cast<uint8_t *>(dataValue.data()), SHAPE_SIZE * sizeof(int32_t)); in Init()
/third_party/mindspore/mindspore/lite/test/st/
Ddelegate_test.cc115 in_tensor.SetData(in_data); in TEST_F()
122 out_tensor.SetData(out_data); in TEST_F()
Dgraph_test.cc151 out_tensor.SetData(out_data); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/cxx_api/
Dtypes.cc31 (void)SetData(data, data_len); in Impl()
46 bool SetData(const void *data, size_t data_len) { in SetData() function in mindspore::Buffer::Impl
442 void MSTensor::SetData(void *) { MS_LOG_EXCEPTION << "Invalid implement."; } in SetData() function in mindspore::MSTensor
479 bool Buffer::SetData(const void *data, size_t data_len) { in SetData() function in mindspore::Buffer
481 return impl_->SetData(data, data_len); in SetData()
/third_party/cef/libcef/browser/
Dstream_impl.cc143 SetData(data, datasize, copy); in CefBytesReader()
147 SetData(nullptr, 0, false); in ~CefBytesReader()
198 void CefBytesReader::SetData(void* data, int64 datasize, bool copy) { in SetData() function in CefBytesReader
Dstream_impl.h70 void SetData(void* data, int64 datasize, bool copy);
/third_party/mindspore/mindspore/ccsrc/common/
Dtrans.cc37 inline void SetData(size_t size, bool pad_zero, size_t src_idx, size_t dst_idx, const FormatArgs &a… in SetData() function
1188 SetData(size, false, src_idx, dst_idx, args, result); in NchwTo4D()
1220 SetData(size, false, src_idx, dst_idx, args, result); in ToNchw()
1276 SetData(size, pad_zero, src_idx, dst_idx, args, result); in NchwToFracZ()
1328 SetData(size, false, src_idx, dst_idx, args, result); in FracZToNchw()
1375 SetData(size, pad_zero, src_idx, dst_idx, args, result); in NchwToFracZc04()
1470 SetData(size, false, src_idx, dst_idx, args, result); in NchwToFracNz()
1478 SetData(size, false, src_idx, dst_idx, args, result); in NchwToFracNz()
1532 SetData(size, false, src_idx, dst_idx, args, result); in FracNzToNchw()
1540 SetData(size, false, src_idx, dst_idx, args, result); in FracNzToNchw()
[all …]
/third_party/mindspore/mindspore/lite/src/delegate/npu/
Dnpu_converter_utils.cc141 …ge_tensor->SetData(reinterpret_cast<const uint8_t *>(fp32_data), src.ElementNum() * sizeof(float)); in ConverterToNPUTensor()
149 ge_tensor->SetData(reinterpret_cast<const uint8_t *>(src.MutableData()), src.DataSize()); in ConverterToNPUTensor()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/
Dfont_data_table.h42 virtual void SetData(ReadableFontData* data);
Dfont_data_table.cc75 void FontDataTable::Builder::SetData(ReadableFontData* data) { in SetData() function in sfntly::FontDataTable::Builder
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/
Dfont_data_table.h42 virtual void SetData(ReadableFontData* data);
Dfont_data_table.cc75 void FontDataTable::Builder::SetData(ReadableFontData* data) { in SetData() function in sfntly::FontDataTable::Builder
/third_party/mindspore/include/api/
Dtypes.h249 void SetData(void *data);
294 bool SetData(const void *data, size_t data_len);
/third_party/cef/tests/cefclient/browser/
Dosr_dragdrop_win.h157 HRESULT __stdcall SetData(FORMATETC* pFormatEtc,
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/include/api/
Dtypes.h104 bool SetData(const void *data, size_t data_len);
/third_party/mindspore/mindspore/lite/src/c_api/
Dtensor_c.cc157 return impl->SetData(data); in OH_AI_TensorSetData()

12