Home
last modified time | relevance | path

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

12345678910>>...38

/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/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/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/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/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/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/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/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp47 std::copy(src, src + sizeof(T), value_ptr); in copy_bytes_from_iterator()
54 return std::copy(value_ptr, value_ptr + sizeof(value), dest); in copy_bytes_to_iterator()
80 std::copy(token.mac.begin(), token.mac.end(), pos); in authToken2HidlVec()
107 std::copy(pos, pos + kHmacSize, token.mac.data()); in hidlVec2AuthToken()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraThermalAdapter.h84 QCameraThermalAdapter(QCameraThermalAdapter const& copy); // not implemented
85 QCameraThermalAdapter& operator=(QCameraThermalAdapter const& copy); // not implemented
/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/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/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/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()
/hardware/google/av/media/sfplugin/
DCodec2Buffer.h83 virtual bool copy(const std::shared_ptr<C2Buffer> &buffer) { in copy() function
115 bool copy(const std::shared_ptr<C2Buffer> &buffer) override;
130 bool copy(const std::shared_ptr<C2Buffer> &buffer) override;
156 bool copy(const std::shared_ptr<C2Buffer> &buffer) override;
308 bool copy(const std::shared_ptr<C2Buffer> &buffer) override;
/hardware/qcom/media/msm8998/
DNOTICE33 You may obtain a copy of the License at
47 a copy of this software and associated documentation files (the
49 without limitation the rights to use, copy, modify, merge, publish,
69 Permission is hereby granted, free of charge, to any person obtaining a copy
72 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/hardware/qcom/media/msm8996/
DNOTICE33 You may obtain a copy of the License at
47 a copy of this software and associated documentation files (the
49 without limitation the rights to use, copy, modify, merge, publish,
69 Permission is hereby granted, free of charge, to any person obtaining a copy
72 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/hardware/qcom/sdm845/media/
DNOTICE33 You may obtain a copy of the License at
47 a copy of this software and associated documentation files (the
49 without limitation the rights to use, copy, modify, merge, publish,
69 Permission is hereby granted, free of charge, to any person obtaining a copy
72 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

12345678910>>...38