Home
last modified time | relevance | path

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

12345678910>>...20

/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/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/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/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/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/intel/common/libmix/mix_common/src/
Dmixdrmparams.c51 mixparams_class->copy = (MixParamsCopyFunction)mix_drmparams_copy; in mix_drmparams_class_init()
123 if (parent_class->copy) in mix_drmparams_copy()
125 return parent_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST(src)); in mix_drmparams_copy()
Dmixparams.c71 klass->copy = mix_params_copy_default; in mix_params_class_init()
87 if (klass->copy) in mix_params_copy()
89 return klass->copy(target, src); in mix_params_copy()
/hardware/intel/common/libmix/mix_audio/src/
Dmixaip.c57 mixparams_class->copy = (MixParamsCopyFunction)mix_aip_copy; in mix_aip_class_init()
129 if (parent_class->copy) in mix_aip_copy()
131 return parent_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST(src)); in mix_aip_copy()
Dmixacpmp3.c48 mixparams_class->copy = (MixParamsCopyFunction)mix_acp_mp3_copy; in mix_acp_mp3_class_init()
124 if (klass->copy) in mix_acp_mp3_copy()
126 return klass->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST(src)); in mix_acp_mp3_copy()
Dmixacpwma.c53 mixparams_class->copy = (MixParamsCopyFunction)mix_acp_wma_copy; in mix_acp_wma_class_init()
131 if (klass->copy) in mix_acp_wma_copy()
133 return klass->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST(src)); in mix_acp_wma_copy()
/hardware/intel/common/libmix/mix_video/src/
Dmixvideoconfigparams.c49 mixparams_class->copy = (MixParamsCopyFunction) mix_videoconfigparams_copy; in mix_videoconfigparams_class_init()
120 if (parent_class->copy) { in mix_videoconfigparams_copy()
122 return parent_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST( in mix_videoconfigparams_copy()
Dmixdrmparams.c48 mixparams_class->copy = (MixParamsCopyFunction) mix_drmparams_copy; in mix_drmparams_class_init()
130 if (parent_class->copy) in mix_drmparams_copy()
132 return parent_class->copy (MIX_PARAMS_CAST (target), in mix_drmparams_copy()
Dmixvideoconfigparamsdec_vc1.c62 this_root_class->copy in mix_videoconfigparamsdec_vc1_class_init()
143 if (root_class->copy) { in mix_videoconfigparamsdec_vc1_copy()
144 return root_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST( in mix_videoconfigparamsdec_vc1_copy()
Dmixvideoconfigparamsdec_h264.c67 this_root_class->copy = in mix_videoconfigparamsdec_h264_class_init()
160 if (root_class->copy) in mix_videoconfigparamsdec_h264_copy()
162 return root_class->copy (MIX_PARAMS_CAST (target), in mix_videoconfigparamsdec_h264_copy()
Dmixvideoconfigparamsenc_preview.c72 this_root_class->copy = in mix_videoconfigparamsenc_preview_class_init()
165 if (root_class->copy) in mix_videoconfigparamsenc_preview_copy()
167 return root_class->copy (MIX_PARAMS_CAST (target), in mix_videoconfigparamsenc_preview_copy()
Dmixvideodecodeparams.c51 mixparams_class->copy = (MixParamsCopyFunction) mix_videodecodeparams_copy; in mix_videodecodeparams_class_init()
122 if (parent_class->copy) { in mix_videodecodeparams_copy()
123 return parent_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST( in mix_videodecodeparams_copy()
Dmixvideoencodeparams.c51 mixparams_class->copy = (MixParamsCopyFunction) mix_videoencodeparams_copy; in mix_videoencodeparams_class_init()
122 if (parent_class->copy) { in mix_videoencodeparams_copy()
123 return parent_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST( in mix_videoencodeparams_copy()
Dmixdisplayx11.c47 mixdisplay_class->copy = (MixDisplayCopyFunction) mix_displayx11_copy; in mix_displayx11_class_init()
121 if (parent_class->copy) { in mix_displayx11_copy()
122 return parent_class->copy(MIX_DISPLAY_CAST(target), in mix_displayx11_copy()
/hardware/intel/common/libva/test/basic/
Dtestplan.txt56 - For each different buffertype, copy data to the buffer with vaBufferData.
89 - Render single MPEG2 I-frame, copy surface data to image, check resulting
95 - Render single MPEG2 I-frame, copy half of a VAImage to surface, copy
/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/sdm845/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/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,
/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()

12345678910>>...20