/drivers/hdf_core/adapter/uhdf2/hdi/test/smq_test/ |
D | smq_test.cpp | 60 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/ |
D | host_stream_mgr_impl.cpp | 35 …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/ |
D | hdf_vendor_mk_file.py | 32 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)
|
D | hdf_manager_config_file.py | 90 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)
|
D | hdf_vendor_makefile.py | 39 begin = '\n# <begin %s\n' % module_id 41 return begin, end
|
D | hdf_module_mk_file.py | 31 begin = '\n# <begin %s\n' % driver_id 33 return begin, end
|
/drivers/peripheral/power/test/unittest/mock/ |
D | mock_wakelock_name.cpp | 28 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/ |
D | string_helper.cpp | 29 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/ |
D | buffer_pool.cpp | 169 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()
|
D | buffer_loop_tracking.cpp | 45 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/ |
D | node_base.cpp | 123 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/ |
D | dstreamcapture_fuzzer.cpp | 39 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/ |
D | inject_thread.cpp | 68 injectQueue_.insert(injectQueue_.begin(), items.begin(), items.end()); in WaitFunc()
|
/drivers/peripheral/thermal/interfaces/hdi_service/src/ |
D | thermal_hdf_utils.cpp | 78 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/ |
D | camera_host_usb_config.cpp | 48 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/ |
D | hdi_service_test.cpp | 116 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/ |
D | dbuffer_manager.cpp | 27 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/ |
D | ast.cpp | 74 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/ |
D | camera_host_config.cpp | 89 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/ |
D | hdi_test_device.cpp | 83 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/ |
D | offline_stream_operator_vdi_impl.cpp | 81 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/ |
D | buffer_manager_utest.cpp | 235 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/ |
D | stream_pipeline_dispatcher.cpp | 82 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/ |
D | stream_operator_vdi_impl.cpp | 99 …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/ |
D | stream_pipeline_strategy.cpp | 59 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()
|