Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 122) sorted by relevance

12345

/drivers/hdf_core/adapter/uhdf2/hdi/test/smq_test/
Dsmq_test.cpp60 size_t begin = 0; in Split() local
61 size_t pos = src.find(limit, begin); in Split()
63 std::string element = src.substr(begin, pos - begin); in Split()
67 begin = pos + limit.size(); in Split()
68 pos = src.find(limit, begin); in Split()
71 if (begin < src.size()) { in Split()
72 std::string element = src.substr(begin); in Split()
223 std::set_difference(fds2.begin(), fds2.end(), fds1.begin(), fds1.end(),
224 std::inserter(unclosedFds, unclosedFds.begin()));
283 std::set_difference(hostFds2.begin(), hostFds2.end(), hostFds1.begin(), hostFds1.end(),
[all …]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/src/
Dhost_stream_mgr_impl.cpp35 …auto it = std::find_if(streams_.begin(), streams_.end(), [info](const std::unique_ptr<HostStream>&… in CreateHostStream()
58 …auto it = std::find_if(streams_.begin(), streams_.end(), [streamId](const std::unique_ptr<HostStre… in DestroyHostStream()
72 std::transform(streams_.begin(), streams_.end(), std::back_inserter(s), in GetStreamTypes()
74 std::sort(s.begin(), s.end(), [](const int32_t& f, const int32_t& n) { in GetStreamTypes()
81 std::transform(streams_.begin(), streams_.end(), std::back_inserter(s), in GetStreamIds()
87 auto it = std::find_if(streams_.begin(), streams_.end(), in GetStreamInfo()
97 …auto it = std::find_if(streams_.begin(), streams_.end(), [streamId](const std::unique_ptr<HostStre… in GetBufferCb()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
Dhdf_vendor_mk_file.py32 begin = '\n# <begin %s\n' % module_id
34 return begin, end
37 begin, end = self._begin_end(module)
39 return hdf_utils.SectionContent(begin, '', end)
50 return hdf_utils.SectionContent(begin, module_item, end)
Dhdf_manager_config_file.py90 begin, end = self._begin_end(module, driver)
91 return hdf_utils.SectionContent(begin, contents, end)
116 begin, end = self._begin_end(module, driver)
117 empty_device = hdf_utils.SectionContent(begin, '', end)
130 begin, end = self._begin_end(module, module)
131 return hdf_utils.SectionContent(begin, host_content, end)
146 begin, end = self._begin_end(module, module)
147 empty_section = hdf_utils.SectionContent(begin, "", end)
Dhdf_vendor_makefile.py39 begin = '\n# <begin %s\n' % module_id
41 return begin, end
Dhdf_module_mk_file.py31 begin = '\n# <begin %s\n' % driver_id
33 return begin, end
/drivers/peripheral/power/test/unittest/mock/
Dmock_wakelock_name.cpp28 auto it = std::find(wakeLockName.begin(), wakeLockName.end(), name); in FindWakeLockName()
37 auto it = std::find(wakeLockName.begin(), wakeLockName.end(), name); in WriteWakeLockName()
45 auto it = std::find(wakeLockName.begin(), wakeLockName.end(), name); in WriteWakeUnlockName()
/drivers/hdf_core/framework/tools/hdi-gen/util/
Dstring_helper.cpp29 size_t begin = 0; in Split() local
30 size_t pos = sources.find(limit, begin); in Split()
32 std::string element = sources.substr(begin, pos - begin); in Split()
36 begin = pos + limit.size(); in Split()
37 pos = sources.find(limit, begin); in Split()
40 if (begin < sources.size()) { in Split()
41 std::string element = sources.substr(begin); in Split()
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
Dbuffer_pool.cpp169 auto it = idleList_.begin(); in AcquireBuffer()
171 busyList_.splice(busyList_.begin(), idleList_, it); in AcquireBuffer()
182 auto it = idleList_.begin(); in AcquireBuffer()
184 busyList_.splice(busyList_.begin(), idleList_, it); in AcquireBuffer()
199 auto it = idleList_.begin(); in AcquireBuffer()
201 busyList_.splice(busyList_.begin(), idleList_, it); in AcquireBuffer()
215 auto it = std::find(busyList_.begin(), busyList_.end(), buffer); in ReturnBuffer()
Dbuffer_loop_tracking.cpp45 auto it = std::find_if(trackingBufferList_.begin(), trackingBufferList_.end(), in FindTrackingBuffer()
69 auto it = std::find_if(trackingBufferList_.begin(), trackingBufferList_.end(), in DetachTrackingBuffer()
108 auto it = std::find_if(trackingNodeList_.begin(), trackingNodeList_.end(), in FindTrackingNode()
140 auto it = std::find(trackingNodeList_.begin(), trackingNodeList_.end(), node); in DetachTrackingNode()
274 trackingStreamList_.begin(), trackingStreamList_.end(), in FindTrackingStream()
332 auto it = std::find_if(trackingStreamList_.begin(), trackingStreamList_.end(), in DeleteTrackingStream()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/node_base/
Dnode_base.cpp123 auto it = std::find_if(portVec_.begin(), portVec_.end(), in GetPort()
174 …int32_t re = std::count_if(portVec_.begin(), portVec_.end(), [](auto &it) { return it->Direction()… in GetNumberOfInPorts()
181 …int32_t re = std::count_if(portVec_.begin(), portVec_.end(), [](auto &it) { return it->Direction()… in GetNumberOfOutPorts()
189 std::copy_if(portVec_.begin(), portVec_.end(), std::back_inserter(re), in GetInPorts()
199 std::copy_if(portVec_.begin(), portVec_.end(), std::back_inserter(out), in GetOutPorts()
236 auto it = std::find_if(outPorts.begin(), outPorts.end(), in DeliverBuffer()
251 auto it = std::find_if(outPorts.begin(), outPorts.end(), in DeliverBuffers()
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dstreamcapture_fuzzer/
Ddstreamcapture_fuzzer.cpp39 info.streamIds_.assign(streamIds.begin(), streamIds.end()); in DstreamCaptureFuzzTest()
40 info.captureSetting_.assign(captureSetting.begin(), captureSetting.end()); in DstreamCaptureFuzzTest()
/drivers/external_device_manager/services/native/driver_extension_manager/src/input_emit_event/
Dinject_thread.cpp68 injectQueue_.insert(injectQueue_.begin(), items.begin(), items.end()); in WaitFunc()
/drivers/peripheral/thermal/interfaces/hdi_service/src/
Dthermal_hdf_utils.cpp78 str.erase(std::remove(str.begin(), str.end(), '\n'), str.end()); in TrimStr()
79 str.erase(std::remove(str.begin(), str.end(), '\r'), str.end()); in TrimStr()
/drivers/peripheral/camera/vdi_base/usb_camera/vdi_impl/src/camera_host/
Dcamera_host_usb_config.cpp48 auto itr = cameraAbilityMap_.begin(); in GetCameraIds()
148 for (auto iter = enumCameraIdMap_.begin(); iter != enumCameraIdMap_.end(); iter++) { in ReturnPhysicalCameraIdToString()
158 for (auto iter = cameraIdMap_.begin(); iter != cameraIdMap_.end(); iter++) { in ReturnLogicalCameraIdToString()
173 auto iter = std::find(usbCameraIdVector_.begin(), usbCameraIdVector_.end(), cameraId); in SearchUsbCameraId()
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
Dhdi_service_test.cpp116 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in CheckSubfolderNode()
144 auto iter = g_filenodeName.begin(); in TraversalBaseNode()
154 iter = g_filenodeName.begin(); in TraversalBaseNode()
164 for (auto it = g_filenodeName.begin(); it != g_filenodeName.end(); ++it) { in TraversalBaseNode()
216 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadTemperatureSysfs()
253 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadVoltageSysfs()
290 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadCapacitySysfs()
328 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadTotalEnergySysfs()
366 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadCurrentAverageSysfs()
404 for (auto iter = g_nodeInfo.begin(); iter != g_nodeInfo.end(); ++iter) { in ReadCurrentNowSysfs()
[all …]
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
Ddbuffer_manager.cpp27 auto it = idleList_.begin(); in AcquireBuffer()
28 busyList_.splice(busyList_.begin(), idleList_, it); in AcquireBuffer()
51 auto it = std::find(busyList_.begin(), busyList_.end(), buffer); in RemoveBuffer()
/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast.cpp74 size_t begin = 0; in ParseNamespace() local
76 while ((index = nspaceStr.find('.', begin)) != std::string::npos) { in ParseNamespace()
77 std::string ns = StringHelper::SubStr(nspaceStr, begin, index); in ParseNamespace()
93 begin = index + 1; in ParseNamespace()
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/
Dcamera_host_config.cpp89 auto itr = cameraAbilityMap_.begin(); in GetCameraIds()
189 for (auto iter = enumCameraIdMap_.begin(); iter != enumCameraIdMap_.end(); iter++) { in ReturnPhysicalCameraIdToString()
199 for (auto iter = cameraIdMap_.begin(); iter != cameraIdMap_.end(); iter++) { in ReturnLogicalCameraIdToString()
214 auto iter = std::find(usbCameraIdVector_.begin(), usbCameraIdVector_.end(), cameraId); in SearchUsbCameraId()
/drivers/peripheral/display/composer/test/common/
Dhdi_test_device.cpp83 DISPLAY_TEST_CHK_RETURN((displays_.begin() == displays_.end()), nullptr, in GetFirstDisplay()
85 return displays_.begin()->second; in GetFirstDisplay()
/drivers/peripheral/camera/vdi_base/v4l2/src/offline_stream_operator/
Doffline_stream_operator_vdi_impl.cpp81 for (auto it = offlineStreamMap_.begin(); it != offlineStreamMap_.end(); it++) { in Release()
107 for (auto it = offlineStreamMap_.begin(); it != offlineStreamMap_.end(); it++) { in FindStreamByCaptureId()
/drivers/peripheral/camera/test/ut/buffer_manager/
Dbuffer_manager_utest.cpp235 auto begin = std::chrono::system_clock::now(); variable
238 auto timeElapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - begin);
245 begin = std::chrono::system_clock::now();
248 timeElapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - begin);
256 begin = std::chrono::system_clock::now();
260 timeElapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - begin);
297 auto it = idleList.begin(); in __anonbce123ec0802()
299 busyList.splice(busyList.begin(), idleList, it); in __anonbce123ec0802()
323 auto it = inuseBufferList.begin(); in __anonbce123ec0a02()
325 auto retBufferIt = std::find(busyList.begin(), busyList.end(), *it); in __anonbce123ec0a02()
[all …]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/dispatcher/
Dstream_pipeline_dispatcher.cpp82 for (auto iter = seqNode_.begin(); iter != seqNode_.end(); iter++) { in SetDispatcherCallback()
92 …auto it = std::find_if(branch.begin(), branch.end(), [streamId](const std::shared_ptr<INode> node)… in CutUselessBranch()
197 for (auto it = seqNode_[streamId].begin(); it != seqNode_[streamId].end(); it++) { in Capture()
211 for (auto it = seqNode_[streamId].begin(); it != seqNode_[streamId].end(); it++) { in CancelCapture()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
Dstream_operator_vdi_impl.cpp99 …std::set_difference(inputIDSet.begin(), inputIDSet.end(), currentIDSet.begin(), currentIDSet.end(), in GetStreamSupportType()
100 std::inserter(cfiSet, cfiSet.begin())); in GetStreamSupportType()
104 std::set_difference(inputIDSet.begin(), inputIDSet.end(), cfiSet.begin(), cfiSet.end(), in GetStreamSupportType()
105 std::inserter(expectCurrentSet, expectCurrentSet.begin())); in GetStreamSupportType()
108 …std::equal(expectCurrentSet.begin(), expectCurrentSet.end(), currentIDSet.begin(), currentIDSet.en… in GetStreamSupportType()
148 auto uniqueIt = std::unique(checkStreamIdVec.begin(), checkStreamIdVec.end()); in IsStreamsSupported()
149 if (checkStreamIdVec.size() != (uint32_t)(std::distance(checkStreamIdVec.begin(), uniqueIt))) { in IsStreamsSupported()
332 std::transform(streamMap_.begin(), streamMap_.end(), std::back_inserter(configs), in CommitStreams()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/strategy/
Dstream_pipeline_strategy.cpp59 auto peerNode = std::find_if(pipe.nodeSpecSet_.begin(), pipe.nodeSpecSet_.end(), in SetUpBasicOutPortFormat()
67 auto peerPort = std::find_if(peerNode->portSpecSet_.begin(), peerNode->portSpecSet_.end(), in SetUpBasicOutPortFormat()
82 auto outPort = std::find_if(nodeSpec.portSpecSet_.begin(), nodeSpec.portSpecSet_.end(), in SetUpBasicInPortFormat()
195 auto nextNode = std::find_if(pipelineSpec_->nodeSpecSet_.begin(), in PrintConnection()
213 … auto node = std::find_if(pipelineSpec_->nodeSpecSet_.begin(), pipelineSpec_->nodeSpecSet_.end(), in CombineSpecs()

12345