/drivers/hdf_core/framework/support/platform/src/rtc/ |
H A D | rtc_base.c | 41 uint8_t RtcIsInvalid(const struct RtcTime *time) in RtcIsInvalid() argument 43 if (time == NULL) { in RtcIsInvalid() 44 HDF_LOGE("RtcIsInvalid: time is null!"); in RtcIsInvalid() 48 return (IS_INVALID_YEAR(time->year) || IS_INVALID_MONTH(time->month) || in RtcIsInvalid() 49 (RtcIsInvalidDay(time->day, time->month, time->year) == RTC_TRUE) || in RtcIsInvalid() 50 IS_INVALID_HOUR(time->hour) || IS_INVALID_MIN(time in RtcIsInvalid() 54 RtcGetWeekDay(const struct RtcTime *time) RtcGetWeekDay() argument 85 RtcTimeToTimestamp(const struct RtcTime *time) RtcTimeToTimestamp() argument 120 TimestampToRtcTime(struct RtcTime *time, const uint64_t seconds) TimestampToRtcTime() argument [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | perf_profile.cpp | 38 void PerfProfile::SetBmsLoadStartTime(int64_t time) in SetBmsLoadStartTime() argument 40 bmsLoadStart_ = (time > 0) ? time : 0; in SetBmsLoadStartTime() 48 void PerfProfile::SetBmsLoadEndTime(int64_t time) in SetBmsLoadEndTime() argument 50 bmsLoadEnd_ = (time > 0 && time > bmsLoadStart_) ? time : bmsLoadStart_; in SetBmsLoadEndTime() 58 void PerfProfile::SetBundleScanStartTime(int64_t time) in SetBundleScanStartTime() argument 60 bundleScanStart_ = (time > 0) ? time in SetBundleScanStartTime() 68 SetBundleScanEndTime(int64_t time) SetBundleScanEndTime() argument 78 SetBundleDownloadStartTime(int64_t time) SetBundleDownloadStartTime() argument 88 SetBundleDownloadEndTime(int64_t time) SetBundleDownloadEndTime() argument 98 SetBundleInstallStartTime(int64_t time) SetBundleInstallStartTime() argument 108 SetBundleInstallEndTime(int64_t time) SetBundleInstallEndTime() argument 128 SetBundleUninstallStartTime(int64_t time) SetBundleUninstallStartTime() argument 138 SetBundleUninstallEndTime(int64_t time) SetBundleUninstallEndTime() argument 148 SetBundleParseStartTime(int64_t time) SetBundleParseStartTime() argument 158 SetBundleParseEndTime(int64_t time) SetBundleParseEndTime() argument 168 SetAmsLoadStartTime(int64_t time) SetAmsLoadStartTime() argument 178 SetAmsLoadEndTime(int64_t time) SetAmsLoadEndTime() argument 188 SetAbilityLoadStartTime(int64_t time) SetAbilityLoadStartTime() argument 198 SetAbilityLoadEndTime(int64_t time) SetAbilityLoadEndTime() argument 208 SetAppForkStartTime(int64_t time) SetAppForkStartTime() argument 218 SetAppForkEndTime(int64_t time) SetAppForkEndTime() argument [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | time_test.cc | 30 #include <google/protobuf/stubs/time.h> 44 DateTime time; in CreateTimestamp() local 45 time.year = year; in CreateTimestamp() 46 time.month = month; in CreateTimestamp() 47 time.day = day; in CreateTimestamp() 48 time.hour = time.minute = time.second = 0; in CreateTimestamp() 50 GOOGLE_CHECK(DateTimeToSeconds(time, &result)); in CreateTimestamp() 52 GOOGLE_CHECK(SecondsToDateTime(result, &time)); in CreateTimestamp() 60 DateTime time; TEST() local 154 DateTime time; TEST() local [all...] |
H A D | time.cc | 1 #include <google/protobuf/stubs/time.h> 73 bool ValidateDateTime(const DateTime& time) { in ValidateDateTime() argument 74 if (time.year < 1 || time.year > 9999 || in ValidateDateTime() 75 time.month < 1 || time.month > 12 || in ValidateDateTime() 76 time.day < 1 || time.day > 31 || in ValidateDateTime() 77 time.hour < 0 || time in ValidateDateTime() 91 SecondsSinceCommonEra(const DateTime& time) SecondsSinceCommonEra() argument 211 SecondsToDateTime(int64 seconds, DateTime* time) SecondsToDateTime() argument 256 DateTimeToSeconds(const DateTime& time, int64* seconds) DateTimeToSeconds() argument 272 DateTime time; FormatTime() local 286 DateTime time; ParseTime() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_time.py | 10 import time namespace 58 self.t = time.time() 61 time.altzone 62 time.daylight 63 time.timezone 64 time.tzname 67 time.time() 68 info = time [all...] |
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/ |
H A D | test-cmpxchg-nolock.c | 48 cycles_t time1, time2, time; in do_testbaseline() local 60 time = time2 - time1; in do_testbaseline() 62 printk(KERN_ALERT "test results: time for baseline\n"); in do_testbaseline() 64 printk(KERN_ALERT "total time: %llu\n", time); in do_testbaseline() 65 time = div_u64_rem(time, NR_LOOPS, &rem); in do_testbaseline() 66 printk(KERN_ALERT "-> baseline takes %llu cycles\n", time); in do_testbaseline() 75 cycles_t time1, time2, time; in do_test_sync_cmpxchg() local 91 time in do_test_sync_cmpxchg() 106 cycles_t time1, time2, time; do_test_cmpxchg() local 133 cycles_t time1, time2, time; do_test_sync_inc() local 161 cycles_t time1, time2, time; do_test_inc() local 191 cycles_t time1, time2, time; do_test_enable_int() local 218 cycles_t time1, time2, time; do_test_disable_int() local 246 cycles_t time1, time2, time; do_test_int() local [all...] |
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/ |
H A D | log_timestamp.h | 31 timespec time; in LogTimeStamp() local 32 clock_gettime(id, &time); in LogTimeStamp() 33 tv_sec = static_cast<uint32_t>(time.tv_sec); in LogTimeStamp() 34 tv_nsec = static_cast<uint32_t>(time.tv_nsec); in LogTimeStamp() 37 explicit LogTimeStamp(const timespec& time) in LogTimeStamp() argument 38 : tv_sec(static_cast<uint32_t>(time.tv_sec)), in LogTimeStamp() 39 tv_nsec(static_cast<uint32_t>(time.tv_nsec)) {} in LogTimeStamp() 44 bool operator == (const LogTimeStamp& time) const in operator ==() 46 return (tv_sec == time.tv_sec) && (tv_nsec == time in operator ==() 75 operator -=(const LogTimeStamp& time) operator -=() argument 91 operator +=(const LogTimeStamp& time) operator +=() argument [all...] |
/base/account/os_account/frameworks/common/perf_stat/src/ |
H A D | perf_stat.cpp | 36 void PerfStat::SetAccountBindStartTime(int64_t time) in SetAccountBindStartTime() argument 38 accountBindBegin_ = (time > 0) ? time : 0; in SetAccountBindStartTime() 46 void PerfStat::SetAccountBindEndTime(int64_t time) in SetAccountBindEndTime() argument 48 accountBindEnd_ = (time > 0 && time > accountBindBegin_) ? time : accountBindBegin_; in SetAccountBindEndTime() 57 void PerfStat::SetAccountAddStartTime(int64_t time) in SetAccountAddStartTime() argument 59 accountAddBegin_ = (time > 0) ? time in SetAccountAddStartTime() 67 SetAccountAddEndTime(int64_t time) SetAccountAddEndTime() argument 78 SetAccountDelStartTime(int64_t time) SetAccountDelStartTime() argument 88 SetAccountDelEndTime(int64_t time) SetAccountDelEndTime() argument 99 SetAccountQueryStartTime(int64_t time) SetAccountQueryStartTime() argument 109 SetAccountQueryEndTime(int64_t time) SetAccountQueryEndTime() argument 115 SetInstanceStartTime(int64_t time) SetInstanceStartTime() argument 120 SetInstanceStopTime(int64_t time) SetInstanceStopTime() argument 125 SetInstanceCreateTime(int64_t time) SetInstanceCreateTime() argument 130 SetInstanceInitTime(int64_t time) SetInstanceInitTime() argument 136 SetAccountStateChangeTime(const std::string &stateStr, int64_t time) SetAccountStateChangeTime() argument [all...] |
/third_party/node/deps/uvwasi/src/ |
H A D | clocks.c | 3 # include <sys/time.h> 5 # include <time.h> 14 #define UVWASI__WIN_TIME_AND_RETURN(handle, get_times, time) \ 27 (time) = (((uvwasi_timestamp_t) \ 35 #define UVWASI__CLOCK_GETTIME_AND_RETURN(clk, time) \ 40 (time) = ((uvwasi_timestamp_t)(ts.tv_sec) * NANOS_PER_SEC) + ts.tv_nsec; \ 45 #define UVWASI__GETRUSAGE_AND_RETURN(who, time) \ 50 (time) = ((uvwasi_timestamp_t)(ru.ru_utime.tv_sec) * NANOS_PER_SEC) + \ 58 #define UVWASI__OSX_THREADTIME_AND_RETURN(time) \ 71 (time) 110 uvwasi__clock_gettime_realtime(uvwasi_timestamp_t* time) uvwasi__clock_gettime_realtime() argument 123 uvwasi__clock_gettime_process_cputime(uvwasi_timestamp_t* time) uvwasi__clock_gettime_process_cputime() argument 125 UVWASI__WIN_TIME_AND_RETURN(GetCurrentProcess(), GetProcessTimes, *time); uvwasi__clock_gettime_process_cputime() local 136 uvwasi__clock_gettime_thread_cputime(uvwasi_timestamp_t* time) uvwasi__clock_gettime_thread_cputime() argument 138 UVWASI__WIN_TIME_AND_RETURN(GetCurrentThread(), GetThreadTimes, *time); uvwasi__clock_gettime_thread_cputime() local 155 uvwasi__clock_getres_process_cputime(uvwasi_timestamp_t* time) uvwasi__clock_getres_process_cputime() argument 168 uvwasi__clock_getres_thread_cputime(uvwasi_timestamp_t* time) uvwasi__clock_getres_thread_cputime() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | animation_util.cpp | 104 // time from keyframe; offset from js api in ParseAnimationStyle() 126 double time = StringUtils::StringToDouble(key) / 100.0; in ParseAnimationStyle() local 127 AddAnimatable(shadow, time, AnimatableType::PROPERTY_BOX_SHADOW); in ParseAnimationStyle() 139 [](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame() 140 util.AddAnimatable(util.ParseColor(value), time, AnimatableType::PROPERTY_BG_COLOR); in KeyframesAddKeyFrame() 143 [](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame() 149 util.AddAnimatable(backgroundImageSize, time, AnimatableType::PROPERTY_BACKGROUND_SIZE); in KeyframesAddKeyFrame() 152 [](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame() 158 util.AddAnimatable(backgroundImagePosition, time, AnimatableType::PROPERTY_BACKGROUND_POSITION); in KeyframesAddKeyFrame() 161 [](const std::string& value, const double& time, cons in KeyframesAddKeyFrame() 479 double time = StringUtils::StringToDouble(timeStr) / 100.0; KeyframesAddKeyFrame() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | find_bit_benchmark.c | 39 ktime_t time; in test_find_first_bit() local 41 time = ktime_get(); in test_find_first_bit() 46 time = ktime_get() - time; in test_find_first_bit() 47 pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_first_bit() 56 ktime_t time; in test_find_first_and_bit() local 60 time = ktime_get(); in test_find_first_and_bit() 65 time = ktime_get() - time; in test_find_first_and_bit() 66 pr_err("find_first_and_bit: %18llu ns, %6ld iterations\n", time, cn in test_find_first_and_bit() 74 ktime_t time; test_find_next_bit() local 88 ktime_t time; test_find_next_zero_bit() local 102 ktime_t time; test_find_last_bit() local 121 ktime_t time; test_find_nth_bit() local 138 ktime_t time; test_find_next_and_bit() local [all...] |
/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | rtc_test.c | 138 ret = RtcWriteTime(tester->handle, &tester->time); in TestReadWriteTime() 140 HDF_LOGE("TestReadWriteTime: write time fail, ret: %d!", ret); in TestReadWriteTime() 148 HDF_LOGE("TestReadWriteTime: read time fail, ret: %d!", ret); in TestReadWriteTime() 152 ret = IsSameRtcTestTime(&readTime, &tester->time); in TestReadWriteTime() 154 HDF_LOGE("TestReadWriteTime: different time, ret: %d!", ret); in TestReadWriteTime() 165 tester->time.year = tester->config.year; in RtcReadWriteTimeTest() 166 tester->time.month = tester->config.month; in RtcReadWriteTimeTest() 167 tester->time.day = tester->config.day; in RtcReadWriteTimeTest() 168 tester->time.hour = tester->config.hour; in RtcReadWriteTimeTest() 169 tester->time in RtcReadWriteTimeTest() [all...] |
/test/xts/hats/hdf/audio/idl/common/render_additional/src/ |
H A D | AudioRenderMmapTest.cpp | 155 struct AudioTimeStamp time; in HWTEST_F() local 156 time.tvNSec = 0; in HWTEST_F() 157 time.tvSec = 0; in HWTEST_F() 158 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->GetMmapPosition(nullptr, &frames, &time)); in HWTEST_F() 169 struct AudioTimeStamp time; in HWTEST_F() local 170 time.tvNSec = 0; in HWTEST_F() 171 time.tvSec = 0; in HWTEST_F() 172 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->GetMmapPosition(nullptr, &frames, &time)); in HWTEST_F() 183 struct AudioTimeStamp time; in HWTEST_F() local 184 time in HWTEST_F() 197 struct AudioTimeStamp time; HWTEST_F() local 211 struct AudioTimeStamp time; HWTEST_F() local 225 struct AudioTimeStamp time; HWTEST_F() local 238 struct AudioTimeStamp time; HWTEST_F() local 252 struct AudioTimeStamp time; HWTEST_F() local 265 struct AudioTimeStamp time; HWTEST_F() local 282 struct AudioTimeStamp time; HWTEST_F() local 296 struct AudioTimeStamp time; HWTEST_F() local 310 struct AudioTimeStamp time; HWTEST_F() local 324 struct AudioTimeStamp time; HWTEST_F() local 351 struct AudioTimeStamp time; HWTEST_F() local 381 struct AudioTimeStamp time; HWTEST_F() local 397 struct AudioTimeStamp time; HWTEST_F() local 414 struct AudioTimeStamp time; HWTEST_F() local 484 struct AudioTimeStamp time; HWTEST_F() local [all...] |
/foundation/multimedia/camera_framework/services/camera_service/src/smooth_zoom/ |
H A D | cubic_bezier.cpp | 48 float time = frameInterval * i / duration; in GetZoomArray() local 49 float zoom = (currentZoom + (targetZoom - currentZoom) * GetInterpolation(time)); in GetZoomArray() 66 float CubicBezier::GetCubicBezierY(const float& time) in GetCubicBezierY() argument 68 return CUBIC_BEZIER_MULTIPLE * (1- time) * (1 - time) * time * CONTROL_POINT_Y1 + in GetCubicBezierY() 69 CUBIC_BEZIER_MULTIPLE * (1- time) * time * time * CONTROL_POINT_Y2 + time * tim in GetCubicBezierY() 72 GetCubicBezierX(const float& time) GetCubicBezierX() argument [all...] |
/kernel/linux/linux-5.10/sound/core/seq/ |
H A D | seq_prioq.c | 7 #include <linux/time.h> 91 return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick)); in compare_timestamp() 93 /* compare real time */ in compare_timestamp() 94 return (snd_seq_compare_real_time(&a->time.time, &b->time.time)); in compare_timestamp() 108 if (a->time.tick > b->time in compare_timestamp_rel() [all...] |
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_prioq.c | 7 #include <linux/time.h> 91 return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick)); in compare_timestamp() 93 /* compare real time */ in compare_timestamp() 94 return (snd_seq_compare_real_time(&a->time.time, &b->time.time)); in compare_timestamp() 108 if (a->time.tick > b->time in compare_timestamp_rel() [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | stat-cpi.py | 10 def get_key(time, event, cpu, thread): 11 return "%d-%s-%d-%d" % (time, event, cpu, thread) 13 def store_key(time, cpu, thread): 14 if (time not in times): 15 times.append(time) 23 def store(time, event, cpu, thread, val, ena, run): 24 #print("event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" % 25 # (event, cpu, thread, time, val, ena, run)) 27 store_key(time, cpu, thread) 28 key = get_key(time, even [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | stat-cpi.py | 10 def get_key(time, event, cpu, thread): 11 return "%d-%s-%d-%d" % (time, event, cpu, thread) 13 def store_key(time, cpu, thread): 14 if (time not in times): 15 times.append(time) 23 def store(time, event, cpu, thread, val, ena, run): 24 #print("event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" % 25 # (event, cpu, thread, time, val, ena, run)) 27 store_key(time, cpu, thread) 28 key = get_key(time, even [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-mc146818-lib.c | 34 * readout is unspecified. The maximum update time is ~2ms. Poll in mc146818_avoid_UIP() 81 pr_warn("Reading current time from RTC took around %li ms\n", in mc146818_avoid_UIP() 101 struct rtc_time *time; member 121 p->time->tm_sec = seconds; in mc146818_get_time_callback() 122 p->time->tm_min = CMOS_READ(RTC_MINUTES); in mc146818_get_time_callback() 123 p->time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time_callback() 124 p->time->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_time_callback() 125 p->time->tm_mon = CMOS_READ(RTC_MONTH); in mc146818_get_time_callback() 126 p->time->tm_year = CMOS_READ(RTC_YEAR); in mc146818_get_time_callback() 143 * mc146818_get_time - Get the current time fro 154 mc146818_get_time(struct rtc_time *time, int timeout) mc146818_get_time() argument 212 mc146818_set_time(struct rtc_time *time) mc146818_set_time() argument [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-mc146818-lib.c | 29 * readout is unspecified. The maximum update time is ~2ms. Poll in mc146818_avoid_UIP() 106 int mc146818_get_time(struct rtc_time *time) in mc146818_get_time() argument 120 memset(time, 0, sizeof(*time)); in mc146818_get_time() 129 * readout is unspecified. The maximum update time is ~2ms. Poll in mc146818_get_time() 136 time->tm_sec = CMOS_READ(RTC_SECONDS); in mc146818_get_time() 145 if (time->tm_sec != CMOS_READ(RTC_SECONDS)) { in mc146818_get_time() 156 time->tm_min = CMOS_READ(RTC_MINUTES); in mc146818_get_time() 157 time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time() 158 time in mc146818_get_time() 231 mc146818_set_time(struct rtc_time *time) mc146818_set_time() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | transform_convertor.cpp | 56 void TransformConvertor::Convert(const std::string& key, const std::string& value, double time) in Convert() argument 60 iter->second(value, time, *this); in Convert() 64 void TransformConvertor::InsertIdentityKeyframe(double time) in InsertIdentityKeyframe() argument 66 noneKeyframeTimes_.push_back(static_cast<float>(time)); in InsertIdentityKeyframe() 74 for (float time : noneKeyframeTimes_) { in AddAnimationToTweenOption() 75 noneKeyframes.push_back(AceType::MakeRefPtr<Keyframe<TransformOperation>>(time, operation)); in AddAnimationToTweenOption() 112 void TransformConvertor::AddKeyframe(AnimationType type, double time, const TranslateOperation& translate) in AddKeyframe() argument 117 auto keyframe = AceType::MakeRefPtr<Keyframe<TransformOperation>>(time, operation); in AddKeyframe() 121 void TransformConvertor::AddKeyframe(AnimationType type, double time, const SkewOperation& skew) in AddKeyframe() argument 126 auto keyframe = AceType::MakeRefPtr<Keyframe<TransformOperation>>(time, operatio in AddKeyframe() 130 AddKeyframe(AnimationType type, double time, const ScaleOperation& scale) AddKeyframe() argument 139 AddKeyframe(AnimationType type, double time, const RotateOperation& rotate) AddKeyframe() argument 148 AddKeyframe(AnimationType type, double time, const Matrix4& matrix) AddKeyframe() argument 157 AddKeyframe(AnimationType type, double time, const PerspectiveOperation& distance) AddKeyframe() argument [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | find_bit_benchmark.c | 39 ktime_t time; in test_find_first_bit() local 41 time = ktime_get(); in test_find_first_bit() 46 time = ktime_get() - time; in test_find_first_bit() 47 pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_first_bit() 55 ktime_t time; in test_find_next_bit() local 57 time = ktime_get(); in test_find_next_bit() 60 time = ktime_get() - time; in test_find_next_bit() 61 pr_err("find_next_bit: %18llu ns, %6ld iterations\n", time, cn in test_find_next_bit() 69 ktime_t time; test_find_next_zero_bit() local 83 ktime_t time; test_find_last_bit() local 103 ktime_t time; test_find_next_and_bit() local [all...] |
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-helpers-date.c | 47 * Helper function to get day number from time value. 52 * @return time value for day number 55 ecma_date_day (ecma_number_t time) /**< time value */ in ecma_date_day() argument 57 JERRY_ASSERT (!ecma_number_is_nan (time)); in ecma_date_day() 59 return (ecma_number_t) floor (time / ECMA_DATE_MS_PER_DAY); in ecma_date_day() 63 * Helper function to get time within day from time value. 68 * @return time value within the day 71 ecma_date_time_within_day (ecma_number_t time) /**< tim argument 128 ecma_date_year_from_time(ecma_number_t time) ecma_date_year_from_time() argument 212 ecma_date_month_from_time(ecma_number_t time) ecma_date_month_from_time() argument 256 ecma_date_date_from_time(ecma_number_t time) ecma_date_date_from_time() argument 311 ecma_date_week_day(ecma_number_t time) ecma_date_week_day() argument 330 ecma_date_local_time_zone_adjustment(ecma_number_t time) ecma_date_local_time_zone_adjustment() argument 344 ecma_date_utc(ecma_number_t time) ecma_date_utc() argument 358 ecma_date_hour_from_time(ecma_number_t time) ecma_date_hour_from_time() argument 376 ecma_date_min_from_time(ecma_number_t time) ecma_date_min_from_time() argument 394 ecma_date_sec_from_time(ecma_number_t time) ecma_date_sec_from_time() argument 412 ecma_date_ms_from_time(ecma_number_t time) ecma_date_ms_from_time() argument 493 ecma_number_t time = ecma_date_time_from_year (ym); ecma_date_make_day() local 530 ecma_date_make_date(ecma_number_t day, ecma_number_t time) ecma_date_make_date() argument 558 ecma_date_time_clip(ecma_number_t time) ecma_date_time_clip() argument 579 ecma_date_timezone_offset(ecma_number_t time) ecma_date_timezone_offset() argument [all...] |
/base/time/time_service/framework/cj/src/ |
H A D | system_date_time.cpp | 28 const std::string TIMEZONE_KEY = "persist.time.timezone"; 30 int SystemDateTimeImpl::SetTime(int64_t time) in SetTime() argument 32 auto innerCode = TimeServiceClient::GetInstance()->SetTimeV9(time); in SetTime() 44 int64_t time = 0; in getCurrentTime() local 46 innerCode = TimeServiceClient::GetInstance()->GetWallTimeNs(time); in getCurrentTime() 48 innerCode = TimeServiceClient::GetInstance()->GetWallTimeMs(time); in getCurrentTime() 54 return {SUCCESS_CODE, time}; in getCurrentTime() 60 int64_t time = 0; in getRealActiveTime() local 62 innerCode = TimeServiceClient::GetInstance()->GetMonotonicTimeNs(time); in getRealActiveTime() 64 innerCode = TimeServiceClient::GetInstance()->GetMonotonicTimeMs(time); in getRealActiveTime() 76 int64_t time = 0; getRealTime() local 89 GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time) GetDeviceTime() argument 108 int64_t time = 0; getTime() local 120 int64_t time = 0; getUpTime() local 168 std::string time; getTimezone() local [all...] |
/third_party/libinput/src/ |
H A D | evdev-middle-button.c | 143 uint64_t time, in evdev_middlebutton_idle_handle_event() 148 middlebutton_set_state(device, MIDDLEBUTTON_LEFT_DOWN, time); in evdev_middlebutton_idle_handle_event() 151 middlebutton_set_state(device, MIDDLEBUTTON_RIGHT_DOWN, time); in evdev_middlebutton_idle_handle_event() 169 uint64_t time, in evdev_middlebutton_ldown_handle_event() 177 middlebutton_post_event(device, time, in evdev_middlebutton_ldown_handle_event() 180 middlebutton_set_state(device, MIDDLEBUTTON_MIDDLE, time); in evdev_middlebutton_ldown_handle_event() 183 middlebutton_post_event(device, time, in evdev_middlebutton_ldown_handle_event() 188 time); in evdev_middlebutton_ldown_handle_event() 198 middlebutton_post_event(device, time, in evdev_middlebutton_ldown_handle_event() 201 middlebutton_set_state(device, MIDDLEBUTTON_IDLE, time); in evdev_middlebutton_ldown_handle_event() 142 evdev_middlebutton_idle_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_idle_handle_event() argument 168 evdev_middlebutton_ldown_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ldown_handle_event() argument 221 evdev_middlebutton_rdown_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_rdown_handle_event() argument 275 evdev_middlebutton_middle_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_middle_handle_event() argument 318 evdev_middlebutton_lup_pending_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_lup_pending_handle_event() argument 353 evdev_middlebutton_rup_pending_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_rup_pending_handle_event() argument 388 evdev_middlebutton_passthrough_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_passthrough_handle_event() argument 411 evdev_middlebutton_ignore_lr_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_lr_handle_event() argument 440 evdev_middlebutton_ignore_l_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_l_handle_event() argument 467 evdev_middlebutton_ignore_r_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_r_handle_event() argument 495 evdev_middlebutton_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_handle_event() argument 578 evdev_middlebutton_filter_button(struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) evdev_middlebutton_filter_button() argument [all...] |