Home
last modified time | relevance | path

Searched refs:copyFrom (Results 1 – 25 of 34) sorted by relevance

12

/hardware/google/aemu/base/include/aemu/base/network/
DIpAddress.h117 IpAddress(const IpAddress& other) { copyFrom(this, &other); } in IpAddress()
121 copyFrom(this, &other);
126 IpAddress(IpAddress&& other) { copyFrom(this, &other); } in IpAddress()
129 copyFrom(this, &other);
155 static void copyFrom(IpAddress* dst, const IpAddress* src);
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DBufferTest.cpp151 TEST(BufferTest, copyFrom) { in TEST() argument
155 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeStatusOk)); in TEST()
158 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
168 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
173 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
184 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
189 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
200 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
205 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
DMockBuffer.h32 MOCK_METHOD(ndk::ScopedAStatus, copyFrom,
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DBufferTest.cpp149 TEST(BufferTest, copyFrom) { in TEST() argument
153 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeSuccessful)); in TEST()
156 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
166 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeGeneralError)); in TEST()
169 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
180 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
185 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
196 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
201 const auto result = buffer->copyFrom(kMemory, {}); in TEST()
DMockBuffer.h33 MOCK_METHOD(Return<V1_3::ErrorStatus>, copyFrom,
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientBufferTest.cpp172 TEST(ResilientBufferTest, copyFrom) { in TEST() argument
175 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(Return(kNoError)); in TEST()
179 const auto result = buffer->copyFrom(memory, {}); in TEST()
189 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
193 const auto result = buffer->copyFrom(memory, {}); in TEST()
203 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
208 const auto result = buffer->copyFrom(memory, {}); in TEST()
218 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
220 EXPECT_CALL(*recoveredMockBuffer, copyFrom(_, _)).Times(1).WillOnce(Return(kNoError)); in TEST()
225 const auto result = buffer->copyFrom(memory, {}); in TEST()
DMockBuffer.h31 MOCK_METHOD(GeneralResult<void>, copyFrom,
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DBuffer.cpp49 nn::GeneralResult<void> copyFrom(const nn::SharedBuffer& buffer, const hidl_memory& src, in copyFrom() function
52 NN_TRY(buffer->copyFrom(memory, dimensions)); in copyFrom()
72 Return<V1_3::ErrorStatus> Buffer::copyFrom(const hidl_memory& src, in copyFrom() function in android::hardware::neuralnetworks::adapter::Buffer
74 auto result = adapter::copyFrom(kBuffer, src, dimensions); in copyFrom()
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DBuffer.cpp53 nn::GeneralResult<void> copyFrom(const nn::IBuffer& buffer, const Memory& src, in copyFrom() function
57 return buffer.copyFrom(nnSrc, nnDims); in copyFrom()
77 ndk::ScopedAStatus Buffer::copyFrom(const Memory& src, const std::vector<int32_t>& dimensions) { in copyFrom() function in aidl::android::hardware::neuralnetworks::adapter::Buffer
78 const auto result = adapter::copyFrom(*kBuffer, src, dimensions); in copyFrom()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBuffer.cpp66 nn::GeneralResult<void> Buffer::copyFrom(const nn::SharedMemory& src, in copyFrom() function in aidl::android::hardware::neuralnetworks::utils::Buffer
71 const auto ret = kBuffer->copyFrom(aidlSrc, aidlDimensions); in copyFrom()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DBuffer.cpp74 nn::GeneralResult<void> Buffer::copyFrom(const nn::SharedMemory& src, in copyFrom() function in android::hardware::neuralnetworks::V1_3::utils::Buffer
79 const auto ret = kBuffer->copyFrom(hidlSrc, hidlDimensions); in copyFrom()
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIBuffer.aidl41 void copyFrom(in Memory src, in int[] dimensions); in copyFrom() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DIBuffer.aidl37 void copyFrom(in android.hardware.neuralnetworks.Memory src, in int[] dimensions); in copyFrom() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIBuffer.aidl37 void copyFrom(in android.hardware.neuralnetworks.Memory src, in int[] dimensions); in copyFrom() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIBuffer.aidl37 void copyFrom(in android.hardware.neuralnetworks.Memory src, in int[] dimensions); in copyFrom() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DIBuffer.aidl37 void copyFrom(in android.hardware.neuralnetworks.Memory src, in int[] dimensions); in copyFrom() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DIBuffer.aidl37 void copyFrom(in android.hardware.neuralnetworks.Memory src, in int[] dimensions); in copyFrom() method
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientBuffer.cpp107 nn::GeneralResult<void> ResilientBuffer::copyFrom(const nn::SharedMemory& src, in copyFrom() function in android::hardware::neuralnetworks::utils::ResilientBuffer
110 return buffer.copyFrom(src, dimensions); in copyFrom()
DInvalidBuffer.cpp37 nn::GeneralResult<void> InvalidBuffer::copyFrom(const nn::SharedMemory& /*src*/, in copyFrom() function in android::hardware::neuralnetworks::utils::InvalidBuffer
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidBuffer.h36 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
DResilientBuffer.h51 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DBuffer.h38 ndk::ScopedAStatus copyFrom(const Memory& src, const std::vector<int32_t>& dimensions) override;
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DBuffer.h37 Return<V1_3::ErrorStatus> copyFrom(const hidl_memory& src,
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DBuffer.h46 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DBuffer.h46 nn::GeneralResult<void> copyFrom(const nn::SharedMemory& src,

12