Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 209) sorted by relevance

123456789

/drivers/peripheral/power/test/unittest/mock/
Dmock_wakelock_name.cpp28 auto it = std::find(wakeLockName.begin(), wakeLockName.end(), name); in FindWakeLockName()
29 if (it != wakeLockName.end()) { in FindWakeLockName()
37 auto it = std::find(wakeLockName.begin(), wakeLockName.end(), name); in WriteWakeLockName()
38 if (it == wakeLockName.end()) { in WriteWakeLockName()
45 auto it = std::find(wakeLockName.begin(), wakeLockName.end(), name); in WriteWakeUnlockName()
46 if (it != wakeLockName.end()) { in WriteWakeUnlockName()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
Dhdf_manager_config_file.py54 end = start
63 end = i
66 if end != start:
67 while end > start + 1:
68 end -= 1
69 if self.contents[end] not in [' ', '\t']:
71 return hdf_utils.SectionRange(start, end)
90 begin, end = self._begin_end(module, driver)
91 return hdf_utils.SectionContent(begin, contents, end)
116 begin, end = self._begin_end(module, driver)
[all …]
Dhdf_module_kconfig_file.py75 end = start + 1
76 while end < len(self.lines):
77 line = self.lines[end]
84 end += 1
87 block_lines = end - start
89 block_lines = end - start + 1
95 end = start + 1
98 while end < len(self.lines):
99 line = self.lines[end]
105 end += 1
[all …]
Dhdf_vendor_mk_file.py33 end = '\n# %s end>\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)
/drivers/peripheral/audio/test/systemtest/hdi_service/hdiperformace/src/
Daudio_idlhdicapture_performace_test.cpp83 gettimeofday(&audiopara.end, NULL);
85 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
111 gettimeofday(&audiopara.end, NULL);
115 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
144 gettimeofday(&audiopara.end, NULL);
146 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
173 gettimeofday(&audiopara.end, NULL);
175 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
199 gettimeofday(&audiopara.end, NULL);
201 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
[all …]
Daudio_idlhdirender_performace_test.cpp90 gettimeofday(&audiopara.end, NULL);
93 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
124 gettimeofday(&audiopara.end, NULL);
128 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
156 gettimeofday(&audiopara.end, NULL);
158 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
188 gettimeofday(&audiopara.end, NULL);
190 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
217 gettimeofday(&audiopara.end, NULL);
219 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
[all …]
Daudio_idlhdiadapter_performace_test.cpp86 gettimeofday(&audiopara.end, NULL);
88 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
116 gettimeofday(&audiopara.end, NULL);
124 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
150 gettimeofday(&audiopara.end, NULL);
152 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
184 gettimeofday(&audiopara.end, NULL);
187 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
214 gettimeofday(&audiopara.end, NULL);
216 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
[all …]
Daudio_idlhdimanager_performace_test.cpp75 gettimeofday(&audiopara.end, NULL);
77 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
107 gettimeofday(&audiopara.end, NULL);
110 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
144 gettimeofday(&audiopara.end, NULL);
146 audiopara.delayTime = (audiopara.end.tv_sec * MICROSECOND + audiopara.end.tv_usec) -
/drivers/hdf_core/adapter/khdf/liteos_m/osal/src/
Dosal_time.c55 int32_t OsalDiffTime(const OsalTimespec *start, const OsalTimespec *end, OsalTimespec *diff) in OsalDiffTime() argument
60 if (start == NULL || end == NULL || diff == NULL) { in OsalDiffTime()
65 if (start->sec > end->sec) { in OsalDiffTime()
70 if (end->usec < start->usec) { in OsalDiffTime()
74 diff->usec = usec + end->usec - start->usec; in OsalDiffTime()
75 diff->sec = end->sec - start->sec - sec; in OsalDiffTime()
/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()
38 if (it != streams_.end()) { in CreateHostStream()
58 …auto it = std::find_if(streams_.begin(), streams_.end(), [streamId](const std::unique_ptr<HostStre… in DestroyHostStream()
61 if (it != streams_.end()) { 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()
89 if (it != streams_.end()) { in GetStreamInfo()
97 …auto it = std::find_if(streams_.begin(), streams_.end(), [streamId](const std::unique_ptr<HostStre… in GetBufferCb()
[all …]
/drivers/peripheral/camera/vdi_base/usb_camera/vdi_impl/src/camera_host/
Dcamera_host_usb_config.cpp49 for (; itr != cameraAbilityMap_.end(); itr++) { in GetCameraIds()
59 if (itr != cameraIdMap_.end()) { in GetPhysicCameraIds()
70 if (itr != cameraAbilityMap_.end()) { in GetCameraAbility()
83 if (itrCameraId != cameraIdMap_.end() || itrCameraAbility != cameraAbilityMap_.end()) { in AddCameraId()
104 if (itrCameraId == cameraIdMap_.end() || itrCameraAbility == cameraAbilityMap_.end()) { in SubtractCameraId()
122 if (itr == cameraIdMap_.end()) { in ReturnEnableLogicalCameraId()
139 if (itr == cameraIdMap_.end()) { in GenerateNewLogicalCameraId()
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()
[all …]
/drivers/hdf_core/adapter/khdf/uniproton/osal/src/
Dosal_time.c56 int32_t OsalDiffTime(const OsalTimespec *start, const OsalTimespec *end, OsalTimespec *diff) in OsalDiffTime() argument
61 if (start == NULL || end == NULL || diff == NULL) { in OsalDiffTime()
66 if (start->sec > end->sec) { in OsalDiffTime()
71 if (end->usec < start->usec) { in OsalDiffTime()
75 diff->usec = usec + end->usec - start->usec; in OsalDiffTime()
76 diff->sec = end->sec - start->sec - sec; in OsalDiffTime()
/drivers/hdf_core/adapter/khdf/liteos/osal/src/
Dosal_time.c56 int32_t OsalDiffTime(const OsalTimespec *start, const OsalTimespec *end, OsalTimespec *diff) in OsalDiffTime() argument
61 if (start == NULL || end == NULL || diff == NULL) { in OsalDiffTime()
66 if (start->sec > end->sec) { in OsalDiffTime()
71 if (end->usec < start->usec) { in OsalDiffTime()
75 diff->usec = usec + end->usec - start->usec; in OsalDiffTime()
76 diff->sec = end->sec - start->sec - sec; in OsalDiffTime()
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/
Dcamera_host_config.cpp90 for (; itr != cameraAbilityMap_.end(); itr++) { in GetCameraIds()
100 if (itr != cameraIdMap_.end()) { in GetPhysicCameraIds()
111 if (itr != cameraAbilityMap_.end()) { in GetCameraAbility()
124 if (itrCameraId != cameraIdMap_.end() || itrCameraAbility != cameraAbilityMap_.end()) { in AddCameraId()
145 if (itrCameraId == cameraIdMap_.end() || itrCameraAbility == cameraAbilityMap_.end()) { in SubtractCameraId()
163 if (itr != cameraIdMap_.end()) { in ReturnEnableLogicalCameraId()
180 if (itr == cameraIdMap_.end()) { in GenerateNewLogicalCameraId()
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()
[all …]
/drivers/hdf_core/adapter/khdf/linux/osal/src/
Dosal_time.c52 int32_t OsalDiffTime(const OsalTimespec *start, const OsalTimespec *end, OsalTimespec *diff) in OsalDiffTime() argument
56 if (start == NULL || end == NULL || diff == NULL) { in OsalDiffTime()
61 if (start->sec > end->sec) { in OsalDiffTime()
66 if (end->usec < start->usec) { in OsalDiffTime()
70 diff->usec = usec + end->usec - start->usec; in OsalDiffTime()
71 diff->sec = end->sec - start->sec - sec; in OsalDiffTime()
/drivers/peripheral/camera/test/mpi/src/
Dperformance_hdi_test.cpp27 float PerformanceHdiTest::calTime(struct timeval start, struct timeval end) in calTime() argument
30 time_use = (end.tv_sec - start.tv_sec) * TIME_TRANSFORMATION_US + (end.tv_usec - start.tv_usec); in calTime()
56 struct timeval end; variable
64 gettimeofday(&end, NULL);
65 time_use = calTime(start, end);
86 struct timeval end; variable
97 gettimeofday(&end, NULL);
98 time_use = calTime(start, end);
123 struct timeval end; variable
131 gettimeofday(&end, NULL);
[all …]
/drivers/hdf_core/framework/support/posix/src/
Dosal_time.c36 int32_t OsalDiffTime(const OsalTimespec *start, const OsalTimespec *end, OsalTimespec *diff) in OsalDiffTime() argument
40 if (start == NULL || end == NULL || diff == NULL) { in OsalDiffTime()
45 if (start->sec > end->sec) { in OsalDiffTime()
50 if (end->usec < start->usec) { in OsalDiffTime()
54 diff->usec = usec + end->usec - start->usec; in OsalDiffTime()
55 diff->sec = end->sec - start->sec - sec; in OsalDiffTime()
/drivers/peripheral/usb/gadget/function/include/
Ddata_fifo.h84 uint8_t *end; in DataFifoWrite() local
87 end = data + size; in DataFifoWrite()
88 while (data < end) { in DataFifoWrite()
98 uint8_t *end; in DataFifoRead() local
101 end = data + size; in DataFifoRead()
102 while (data < end) { in DataFifoRead()
/drivers/peripheral/usb/test/unittest/host_sdk/
Ddata_fifo.h90 uint8_t *end; in DataFifoWrite() local
93 end = data + size; in DataFifoWrite()
94 while (data < end) { in DataFifoWrite()
104 uint8_t *end; in DataFifoRead() local
107 end = data + size; in DataFifoRead()
108 while (data < end) { in DataFifoRead()
/drivers/peripheral/codec/hal/src/
Dcodec_death_recipient.cpp39 if (comps != g_pidCompsMap.end()) { in RegisterService()
59 if (addrPid == g_addrPidMap.end()) { in CleanMapperOfDiedService()
66 if (comps == g_pidCompsMap.end()) { in CleanMapperOfDiedService()
74 for (auto id = ids.begin(); id != ids.end(); id++) { in CleanMapperOfDiedService()
90 if (comps != g_pidCompsMap.end()) { in RemoveDestoryedComponent()
/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/hdf_core/adapter/uhdf2/hdi/src/
Dstub_collector.cpp33 if (g_constructorMap.find(ifDesc) != g_constructorMap.end()) { in StubConstructorRegister()
59 if (stub != g_stubMap.end()) { in StubCollectorGetOrNewObject()
70 if (constructor == g_constructorMap.end()) { in StubCollectorGetOrNewObject()
97 if (stub == g_stubMap.end()) { in StubCollectorRemoveObject()
102 if (constructor == g_constructorMap.end()) { in StubCollectorRemoveObject()
/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()
125 if (it != 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()
238 if (it != outPorts.end()) { in DeliverBuffer()
251 auto it = std::find_if(outPorts.begin(), outPorts.end(), in DeliverBuffers()
253 if (it != outPorts.end()) { in DeliverBuffers()
/drivers/peripheral/power/interfaces/hdi_service/src/
Drunning_lock_timer_handler.cpp78 if (typeIter != runninglockTimerMap_.end()) { in GetRunningLockTimerId()
80 if (nameIter != typeIter->second.end()) { in GetRunningLockTimerId()
90 if (typeIter == runninglockTimerMap_.end()) { in AddRunningLockTimerMap()
97 if (nameIter == typeIter->second.end()) { in AddRunningLockTimerMap()
107 if (typeIter != runninglockTimerMap_.end()) { in RemoveRunningLockTimerMap()
109 if (nameIter != typeIter->second.end()) { in RemoveRunningLockTimerMap()
/drivers/hdf_core/framework/model/storage/include/mtd/
Dmtd_core.h389 uintptr_t end = (uintptr_t)addr + (uintptr_t)size; in MtdDmaCacheClean() local
391 end = ALIGN(end, CACHE_ALIGNED_SIZE); in MtdDmaCacheClean()
392 DCacheFlushRange(start, end); in MtdDmaCacheClean()
403 uintptr_t end = (uintptr_t)addr + (uintptr_t)size; in MtdDmaCacheInv() local
405 end = ALIGN(end, CACHE_ALIGNED_SIZE); in MtdDmaCacheInv()
406 DCacheInvRange(start, end); in MtdDmaCacheInv()

123456789