Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 1763) sorted by relevance

12345678910>>...71

/hardware/libhardware/modules/sensors/dynamic_sensor/
DRingBuffer.cpp47 size_t copy = mSize - writePos; in write() local
49 if (copy > size) { in write()
50 copy = size; in write()
53 memcpy(&mData[writePos], ev, copy * sizeof(sensors_event_t)); in write()
55 if (size > copy) { in write()
56 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t)); in write()
86 size_t copy = mSize - readPos; in read() local
88 if (copy > size) { in read()
89 copy = size; in read()
92 memcpy(ev, &mData[readPos], copy * sizeof(sensors_event_t)); in read()
[all …]
/hardware/qcom/gps/msm8960/core/
DMsgTask.cpp94 MsgTask* copy = (MsgTask*)arg; in loopMain() local
99 if (NULL != copy->mAssociator) { in loopMain()
100 copy->mAssociator(); in loopMain()
109 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain()
115 msg_q_destroy((void**)&(copy->mQ)); in loopMain()
116 delete copy; in loopMain()
127 delete copy; in loopMain()
/hardware/qcom/gps/msm8084/core/
DMsgTask.cpp109 MsgTask* copy = (MsgTask*)arg; in loopMain() local
114 if (NULL != copy->mAssociator) { in loopMain()
115 copy->mAssociator(); in loopMain()
124 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain()
130 msg_q_destroy((void**)&(copy->mQ)); in loopMain()
131 delete copy; in loopMain()
142 delete copy; in loopMain()
/hardware/qcom/gps/msm8994/core/
DMsgTask.cpp109 MsgTask* copy = (MsgTask*)arg; in loopMain() local
114 if (NULL != copy->mAssociator) { in loopMain()
115 copy->mAssociator(); in loopMain()
124 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain()
130 msg_q_destroy((void**)&(copy->mQ)); in loopMain()
131 delete copy; in loopMain()
142 delete copy; in loopMain()
/hardware/qcom/gps/core/
DMsgTask.cpp109 MsgTask* copy = (MsgTask*)arg; in loopMain() local
114 if (NULL != copy->mAssociator) { in loopMain()
115 copy->mAssociator(); in loopMain()
124 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain()
130 msg_q_destroy((void**)&(copy->mQ)); in loopMain()
131 delete copy; in loopMain()
142 delete copy; in loopMain()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_host_image_copy/
Dcopies.adoc5 The following commands can be used to copy between host memory and images.
11 To copy data from host memory to an image object, call:
18 slink:VkCopyMemoryToImageInfoEXT structure describing the copy
35 …ageInfoEXT',desc='Structure specifying parameters of host memory to image copy command',type='stru…
53 describing additional copy parameters.
56 for the copy.
57 * pname:regionCount is the number of regions to copy.
59 structures specifying the regions to copy.
63 copy.
65 reads from or writes to the copy regions has completed before the host
[all …]
/hardware/qcom/sm7150/gps/core/data-items/
DDataItemConcreteTypesBase.h117 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
133 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
148 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
163 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
178 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
193 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
208 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
225 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
244 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
261 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
[all …]
/hardware/qcom/sm8150p/gps/core/data-items/
DDataItemConcreteTypesBase.h117 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
133 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
148 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
163 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
178 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
193 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
208 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
225 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
244 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
261 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
[all …]
/hardware/qcom/sm8150/gps/core/data-items/
DDataItemConcreteTypesBase.h117 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
133 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
148 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
163 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
178 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
193 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
208 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
225 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
244 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
261 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
[all …]
/hardware/qcom/sm7250/gps/core/data-items/
DDataItemConcreteTypesBase.h117 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
133 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
148 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
163 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
178 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
193 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
208 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
225 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
244 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
261 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
[all …]
/hardware/interfaces/automotive/can/1.0/hidl-utils/include/hidl-utils/
Dhidl-utils.h44 void operator()(const T&... args) { copy<0, T...>(args...); } in operator()
50 inline void copy(const First& first) { in copy() function
55 inline void copy(const First& first, const Rest&... rest) { in copy() function
57 copy<Pos + 1, Rest...>(rest...); in copy()
/hardware/interfaces/radio/aidl/compat/service/
Dhidl-utils.h48 void operator()(const T&... args) { copy<0, T...>(args...); } in operator()
54 inline void copy(const First& first) { in copy() function
59 inline void copy(const First& first, const Rest&... rest) { in copy() function
61 copy<Pos + 1, Rest...>(rest...); in copy()
/hardware/nxp/nfc/pn8x/1.1/
DNfc.cpp69 hidl_vec<uint8_t> copy = data; in write() local
70 return phNxpNciHal_write(copy.size(), &copy[0]); in write()
74 hidl_vec<uint8_t> copy = data; in coreInitialized() local
75 NFCSTATUS status = phNxpNciHal_core_initialized(copy.size(), &copy[0]); in coreInitialized()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidTree.cpp51 std::shared_ptr<HidTreeNode> copy(new HidTreeNode(parent, mData, mFullUsage, mNodeType)); in deepCopy() local
53 copy->mChildren.push_back(i->deepCopy(copy)); in deepCopy()
55 return copy; in deepCopy()
115 std::shared_ptr<HidTreeNode> copy(new HidReportNode(parent, mReport)); in deepCopy() local
116 return copy; in deepCopy()
/hardware/nxp/nfc/pn8x/1.2/
DNfc.cpp68 hidl_vec<uint8_t> copy = data; in write() local
69 return phNxpNciHal_write(copy.size(), &copy[0]); in write()
73 hidl_vec<uint8_t> copy = data; in coreInitialized() local
74 NFCSTATUS status = phNxpNciHal_core_initialized(copy.size(), &copy[0]); in coreInitialized()
/hardware/nxp/nfc/snxxx/1.1/
DNfc.cpp77 hidl_vec<uint8_t> copy = data; in write() local
78 return phNxpNciHal_write(copy.size(), &copy[0]); in write()
82 hidl_vec<uint8_t> copy = data; in coreInitialized() local
83 NFCSTATUS status = phNxpNciHal_core_initialized(copy.size(), &copy[0]); in coreInitialized()
/hardware/nxp/nfc/snxxx/1.2/
DNfc.cpp79 hidl_vec<uint8_t> copy = data; in write() local
80 return phNxpNciHal_write(copy.size(), &copy[0]); in write()
84 hidl_vec<uint8_t> copy = data; in coreInitialized() local
85 NFCSTATUS status = phNxpNciHal_core_initialized(copy.size(), &copy[0]); in coreInitialized()
/hardware/google/gfxstream/guest/mesa/bin/
Dpost_version_test.py45 with mock.patch('bin.post_version.csv.reader', mock.Mock(return_value=data.copy())), \
60 with mock.patch('bin.post_version.csv.reader', mock.Mock(return_value=data.copy())), \
64 d = data.copy()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_host_image_copy.adoc14 …mages in Vulkan requires staging the data in a buffer first, and using the GPU to perform the copy.
15 Similarly, copying data out of an optimal-layout image requires a copy to a buffer.
19 …load the data to memory (one copy), then initialize the buffer (second copy) and finally copy over…
20 Applications can remove one copy from the above scenario by creating and memory mapping the buffer …
23 The extra copy involved due to it going through a buffer is not just a performance cost though.
24 …hat is allocated for the image copy is at least as big as the image itself, and lives for a short …
28 …be copied from/to host memory directly, obviating the need to perform the copy through a buffer an…
68 Defining regions to copy to an image:
86 Defining regions to copy from an image:
103 Defining regions to copy between images
[all …]
/hardware/samsung/nfc/1.2/
DSecNfc.cpp73 hidl_vec<uint8_t> copy = data; in write() local
74 return nfc_hal_write(copy.size(), &copy[0]); in write()
78 hidl_vec<uint8_t> copy = data; in coreInitialized() local
79 NFCSTATUS status = nfc_hal_core_initialized((unsigned char*)&copy[0]); in coreInitialized()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/contrib/
Dcopy-tex.mjs8 // Modifies fragment in-place. Useful for writing your own 'copy' handler,
9 // as in copy-tex.js.
60 document.addEventListener('copy', function (event) {
71 } // Preserve usual HTML copy/paste behavior.
82 ….setData('text/plain', katexReplaceWithTex(fragment).textContent); // Prevent normal copy handling.
Dcopy-tex.css2 * copy/paste the entire source code. If you omit this CSS, partial
3 * selections of a formula will work, but will copy the ugly HTML
/hardware/st/nfc/1.1/
DNfc.cpp69 hidl_vec<uint8_t> copy = data; in write() local
75 hidl_vec<uint8_t> copy = data; in coreInitialized() local
78 if (copy.size() == 0) in coreInitialized()
81 ret = StNfc_hal_core_initialized(&copy[0]); in coreInitialized()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraThermalAdapter.h84 QCameraThermalAdapter(QCameraThermalAdapter const& copy); // not implemented
85 QCameraThermalAdapter& operator=(QCameraThermalAdapter const& copy); // not implemented
/hardware/st/nfc/1.2/
DNfc.cpp78 hidl_vec<uint8_t> copy = data; in write() local
84 hidl_vec<uint8_t> copy = data; in coreInitialized() local
87 if (copy.size() == 0) in coreInitialized()
90 ret = StNfc_hal_core_initialized(&copy[0]); in coreInitialized()

12345678910>>...71