Home
last modified time | relevance | path

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

12345678910>>...49

/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 …]
DHidRawDevice.cpp155 std::copy(reportDescriptor.value, reportDescriptor.value + descriptorSize, in populateDeviceInfo()
221 std::copy(mIoBuffer.begin() + 1, mIoBuffer.begin() + size, out->begin()); in getFeature()
249 std::copy(in.begin(), in.end(), &mIoBuffer[1]); in setFeature()
284 std::copy(mIoBuffer.begin() + 1, mIoBuffer.end(), data.begin()); in sendReport()
316 std::copy(buffer + 1, buffer + res, data->begin()); in receiveReport()
320 std::copy(buffer, buffer + res, data->begin()); in receiveReport()
/hardware/qcom/sdm845/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/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/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/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/sdm845/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/sdm845/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/qcom/sdm845/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/sdm845/gps/sdm845/core/data-items/
DDataItemConcreteTypesBase.h56 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
72 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
87 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
102 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
117 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
132 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
147 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
164 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
183 virtual int32_t copy(IDataItemCore* /*src*/, bool* /*dataItemCopied = NULL*/) {return 1;} in copy() function
200 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/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/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/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/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/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[0]); in coreInitialized()
/hardware/nxp/nfc/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[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/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_master.cpp50 using std::copy;
111 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
112 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_master.cpp50 using std::copy;
111 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
112 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
/hardware/qcom/sdm845/display/libdrmutils/
Ddrm_master.cpp50 using std::copy;
110 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
111 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_master.cpp50 using std::copy;
110 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
111 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_master.cpp50 using std::copy;
110 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
111 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
/hardware/qcom/msm8998/json-c/
DCOPYING5 copy of this software and associated documentation files (the "Software"),
7 the rights to use, copy, modify, merge, publish, distribute, sublicense,
27 copy of this software and associated documentation files (the "Software"),
29 the rights to use, copy, modify, merge, publish, distribute, sublicense,

12345678910>>...49