/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/ |
H A D | mipi_tx_hi35xx.c | 321 SetPhyReg(CLK_TLPX, tp->clkTlpx); in MipiTxDrvSetPhyTimingParam() 335 SetPhyReg(DATA0_TLPX, tp->dataTlpx); in MipiTxDrvSetPhyTimingParam() 339 SetPhyReg(DATA1_TLPX, tp->dataTlpx); in MipiTxDrvSetPhyTimingParam() 343 SetPhyReg(DATA2_TLPX, tp->dataTlpx); in MipiTxDrvSetPhyTimingParam() 347 SetPhyReg(DATA3_TLPX, tp->dataTlpx); in MipiTxDrvSetPhyTimingParam() 376 …tp->dataTpreDelay + tp->dataTlpx + tp->dataThsPrepare + tp->dataThsZero + 7; /* 7 from algorithm */ in MipiTxDrvSetPhyHsLpSwitchTime() 379 tp->clkTlpx + tp->clkTclkPrepare + tp->clkTclkZero + 6; /* 6 from algorithm */ in MipiTxDrvSetPhyHsLpSwitchTime() 388 MipiTxPhyTimingParamTag tp = {0}; in MipiTxDrvSetPhyCfg() local 398 MipiTxDrvGetPhyTimingParam(&tp); in MipiTxDrvSetPhyCfg() 400 MipiTxDrvSetPhyTimingParam(&tp); in MipiTxDrvSetPhyCfg() [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sync/ |
H A D | wait_queue.cpp | 49 const TimePoint& tp, bool legacyMode, CPUEUTask* task) in ThreadWaitUntil() argument 63 if (wn->cv.wait_until(nl, tp) == std::cv_status::timeout) { in ThreadWaitUntil() 125 bool WaitQueue::SuspendAndWaitUntil(mutexPrivate* lk, const TimePoint& tp) noexcept in SuspendAndWaitUntil() argument 131 return ThreadWaitUntil(&ctx->wn, lk, tp, LegacyMode(task), task); in SuspendAndWaitUntil() 135 task->wue->tp = tp; in SuspendAndWaitUntil() 152 if (DelayedWakeup(we->tp, we, we->cb)) { in SuspendAndWaitUntil() 179 if (!DelayedRemove(we->tp, dwe)) { in WeNotifyProc()
|
H A D | condition_variable.cpp | 93 auto tp = ffrt::TimePoint { 97 return pc->SuspendAndWaitUntil(pm, tp) ? ffrt_error_timedout : ffrt_success;
|
H A D | wait_queue.h | 65 bool SuspendAndWaitUntil(mutexPrivate* lk, const TimePoint& tp) noexcept; 94 …bool ThreadWaitUntil(WaitUntilEntry* wn, mutexPrivate* lk, const TimePoint& tp, bool legacyMode, C…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | proxy_object.cpp | 147 if (auto tp = target->GetPropertyByName(p.first)) { in RefreshProperties() local 149 res.first->second.Bind(tp); in RefreshProperties() 204 if (auto tp = GetPointer<IObject>(p)) { in ReflectTargetForProperty() local 205 proxy->SetTarget(tp); in ReflectTargetForProperty() 263 IProperty::Ptr ProxyObject::AddProxyProperty(const IProperty::ConstPtr& tp) in AddProxyProperty() argument 265 auto p = DuplicatePropertyType(META_NS::GetObjectRegistry(), tp); in AddProxyProperty() 268 res.first->second.Bind(tp); in AddProxyProperty() 278 if (auto tp = target->GetPropertyByName(name)) { in AddProxyProperty() local 279 p = AddProxyProperty(tp); in AddProxyProperty()
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/input/ |
H A D | Kconfig | 9 bool "Enable HDF tp 5P5 GT911 driver" 16 bool "Enable HDF tp 2P35 FT6236 driver" 30 bool "Enable HDF tp 5P43 FT5406 driver" 37 bool "Enable HDF tp nxp ft5x06 touch"
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/ |
H A D | common.h | 35 struct timeval tp; \ 36 gettimeofday(&tp, nullptr); \ 38 if (localtime_r(&tp.tv_sec, &curTime) != nullptr) { \
|
/ohos5.0/foundation/resourceschedule/ffrt/src/queue/ |
H A D | queue_handler.cpp | 88 DelayedRemove(we_->tp, we_); in ~QueueHandler() 324 we->tp = std::chrono::time_point_cast<std::chrono::steady_clock::duration>(now + timeout); in SetTimeoutMonitor() 326 if (!DelayedWakeup(we->tp, we, we->cb)) { in SetTimeoutMonitor() 415 we_->tp = delay; in SendSchedTimer() 416 bool result = DelayedWakeup(we_->tp, we_, we_->cb); in SendSchedTimer() 419 … we_->tp = std::chrono::steady_clock::now() + std::chrono::microseconds(SCHED_TIME_ACC_ERROR_US); in SendSchedTimer() 420 result = DelayedWakeup(we_->tp, we_, we_->cb); in SendSchedTimer() 449 TimePoint tp = std::chrono::time_point_cast<std::chrono::steady_clock::duration>( in CheckSchedDeadline() local 452 SendSchedTimer(tp); in CheckSchedDeadline() 478 TimePoint tp = std::chrono::time_point_cast<std::chrono::steady_clock::duration>( in AddSchedDeadline() local [all …]
|
H A D | queue_monitor.cpp | 133 we_->tp = delay; in SendDelayedWorker() 136 bool result = DelayedWakeup(we_->tp, we_, we_->cb); in SendDelayedWorker() 140 we_->tp = GetDelayedTimeStamp(ALLOW_TIME_ACC_ERROR_US); in SendDelayedWorker() 141 result = DelayedWakeup(we_->tp, we_, we_->cb); in SendDelayedWorker()
|
/ohos5.0/foundation/resourceschedule/ffrt/src/util/ |
H A D | time_format.h | 39 auto tp = std::chrono::time_point_cast<std::chrono::microseconds>(timePoint); variable 40 auto us = tp.time_since_epoch().count() % UsPerSecond; 46 auto tp = std::chrono::time_point_cast<std::chrono::milliseconds>(timePoint); variable 47 auto ms = tp.time_since_epoch().count() % MsPerSecond;
|
H A D | worker_monitor.cpp | 101 …watchdogWaitEntry_.tp = std::chrono::steady_clock::now() + std::chrono::microseconds(MONITOR_SAMPL… in SubmitSamplingTask() 103 if (!DelayedWakeup(watchdogWaitEntry_.tp, &watchdogWaitEntry_, watchdogWaitEntry_.cb)) { in SubmitSamplingTask() 110 …memReleaseWaitEntry_.tp = std::chrono::steady_clock::now() + std::chrono::microseconds(TIMEOUT_MEM… in SubmitMemReleaseTask() 138 if (!DelayedWakeup(memReleaseWaitEntry_.tp, &memReleaseWaitEntry_, memReleaseWaitEntry_.cb)) { in SubmitMemReleaseTask()
|
/ohos5.0/foundation/resourceschedule/ffrt/interfaces/kits/cpp/ |
H A D | condition_variable.h | 51 …std::unique_lock<mutex>& lk, const std::chrono::time_point<Clock, Duration>& tp, Pred&& pred) noex… in wait_until() argument 54 if (wait_until(lk, tp) == cv_status::timeout) { in wait_until() 62 …ait_until(std::unique_lock<mutex>& lk, const std::chrono::time_point<Clock, Duration>& tp) noexcept in wait_until() argument 64 return _wait_for(lk, tp - Clock::now()); in wait_until()
|
/ohos5.0/commonlibrary/utils_lite/kal/timer/src/ |
H A D | kal.c | 43 static void KalMs2TimeSpec(struct timespec* tp, unsigned int ms) in KalMs2TimeSpec() argument 45 tp->tv_sec = ms / LOSCFG_BASE_CORE_MS_PER_SECOND; in KalMs2TimeSpec() 46 ms -= tp->tv_sec * LOSCFG_BASE_CORE_MS_PER_SECOND; in KalMs2TimeSpec() 47 …tp->tv_nsec = (long)(((unsigned long long)ms * OS_SYS_NS_PER_SECOND) / LOSCFG_BASE_CORE_MS_PER_SEC… in KalMs2TimeSpec()
|
/ohos5.0/docs/zh-cn/device-dev/device-test/ |
H A D | developer_test.md | 1315 run -t UT -tp PartName 1316 run -t UT -tp PartName -tm TestModuleName 1334 -tp [TESTPART]: 指定部件,可独立使用。 1417 run -t UT -tp PartName 1426 run -t UT -tp PartName -pd partdeps 1435 -tp [TESTPART]: 指定部件,可独立使用。 1468 run -t ACTS -ss arkui -tp ActsPartName 1481 -tp [TESTPART]: 指定部件,可独立使用。 1522 run -tp partname 1523 run -tp partname1 partname2 [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/native/http/http_client/ |
H A D | http_client_time.cpp | 59 auto tp = std::chrono::system_clock::from_time_t(std::mktime(&tm)); in GetNowTimeGMT() local 61 auto tmp = std::chrono::duration_cast<std::chrono::seconds>(tp.time_since_epoch()); in GetNowTimeGMT()
|
/ohos5.0/base/web/webview/ohos_nweb/src/ |
H A D | nweb_hisysevent.cpp | 44 …nt ForwardToHiSysEvent(const std::string& eventName, EventType type, const std::tuple<Args...>& tp) in ForwardToHiSysEvent() argument 53 auto mergeData = std::tuple_cat(sysData, tp); in ForwardToHiSysEvent()
|
/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/src/ |
H A D | inner_event.cpp | 230 auto tp = std::chrono::time_point_cast<std::chrono::milliseconds>(time); in DumpTimeToString() local 232 auto ms = tp.time_since_epoch().count() % MS_PER_SECOND; in DumpTimeToString() 246 auto tp = std::chrono::system_clock::now() + in DumpTimeToString() local 248 return DumpTimeToString(tp); in DumpTimeToString()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/fuzztest/taskscheduler_fuzzer/ |
H A D | taskscheduler_fuzzer.cpp | 29 std::chrono::steady_clock::time_point tp = std::chrono::steady_clock::now() + in AtFuzz() local 31 auto task = taskScheduler.At(tp, []() { }); in AtFuzz()
|
/ohos5.0/base/account/os_account/test/systemtest/common/resource/fuzzTest/include/ |
H A D | fuzz_config_parser.h | 76 auto tp = itp.value(); in ParseFromFile4FuzzTest() local 77 param += tp; in ParseFromFile4FuzzTest()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_utils.cpp | 223 struct timespec tp; in MakeNonce() local 224 clock_gettime(CLOCK_REALTIME, &tp); in MakeNonce() 227 (void)sprintf_s(secBuf, sizeof(secBuf), "%ld", tp.tv_sec); in MakeNonce() 231 (void)sprintf_s(nsecBuf, sizeof(nsecBuf), "%ld", tp.tv_nsec); in MakeNonce()
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-bundles-system.md | 144 extern int SysClockSettime64(clockid_t clockID, const struct timespec64 *tp); 145 extern int SysClockGettime64(clockid_t clockID, struct timespec64 *tp); 146 extern int SysClockGetres64(clockid_t clockID, struct timespec64 *tp);
|
/ohos5.0/foundation/resourceschedule/ffrt/interfaces/inner_api/cpp/ |
H A D | future.h | 51 future_status wait_until(const std::chrono::time_point<Clock, Duration>& tp) const noexcept in wait_until() 54 …return m_cv.wait_until(lk, tp, [this] { return get_derived().has_value(); }) ? future_status::read… in wait_until() 187 future_status wait_until(const std::chrono::time_point<Clock, Duration>& tp) const noexcept 189 return m_state->wait_until(tp);
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/ |
H A D | distributed_want.cpp | 112 auto tp = AAFwk::WantParams::GetDataType(it->second); in DistributedWant() local 113 if ((tp == DistributedWantParams::VALUE_TYPE_BOOLEAN) || in DistributedWant() 114 (tp == DistributedWantParams::VALUE_TYPE_BYTE) || in DistributedWant() 115 (tp == DistributedWantParams::VALUE_TYPE_CHAR) || in DistributedWant() 116 (tp == DistributedWantParams::VALUE_TYPE_SHORT) || in DistributedWant() 117 (tp == DistributedWantParams::VALUE_TYPE_INT) || in DistributedWant() 118 (tp == DistributedWantParams::VALUE_TYPE_LONG) || in DistributedWant() 119 (tp == DistributedWantParams::VALUE_TYPE_FLOAT) || in DistributedWant() 120 (tp == DistributedWantParams::VALUE_TYPE_DOUBLE) || in DistributedWant() 121 (tp == DistributedWantParams::VALUE_TYPE_STRING) || in DistributedWant() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_util.c | 86 void ClockGetTime(clockid_t id, struct timespec *tp) in ClockGetTime() argument 88 if (clock_gettime(id, tp) != 0) { in ClockGetTime()
|
/ohos5.0/foundation/resourceschedule/ffrt/src/dfx/watchdog/ |
H A D | watchdog_util.cpp | 85 we->tp = (now + timeoutTime + delayTime); in SendTimeoutWatchdog() 86 if (!DelayedWakeup(we->tp, we, we->cb)) { in SendTimeoutWatchdog()
|