/kernel/linux/linux-5.10/sound/drivers/opl3/ |
H A D | opl3_midi.c | 114 printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); in debug_alloc() 144 unsigned int time; in opl3_get_voice() member 150 best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ in opl3_get_voice() 163 voice_time = vp->time; in opl3_get_voice() 183 voice_time = (voice_time > vp->time) ? in opl3_get_voice() 184 voice_time : vp->time; in opl3_get_voice() 198 if (voice_time < bp->time) { in opl3_get_voice() 199 bp->time = voice_time; in opl3_get_voice() 561 vp->time = opl3->use_time++; in snd_opl3_note_on() 569 vp2->time in snd_opl3_note_on() [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-s5m.c | 25 * After writing to RTC registers (setting time or alarm) read the UDR field 47 * Operations like read time and write alarm/time require updating 53 * Device | Write time | Read time | Write alarm 61 /* Number of registers used for setting time/alarm0/alarm1 */ 63 /* First register for time, seconds */ 64 unsigned int time; member 73 * will enable update of time or alarm register. Then it will be 77 /* Auto-cleared mask in UDR field for writing time an [all...] |
H A D | rtc-sun4v.c | 21 unsigned long ret, time; in hypervisor_get_time() local 25 ret = sun4v_tod_get(&time); in hypervisor_get_time() 27 return time; in hypervisor_get_time()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | jsunit_driver.py | 21 import time namespace 112 LOG.info("prepare to read device log, may wait some time") 208 self.start_time = time.time() 220 int(time.time() - int(self.start_time)) > \ 231 while time.time() - self.start_time <= timeout: 244 time.sleep(5) # wait for log write to file 325 time [all...] |
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/entry/src/ohosTest/js/test/ |
H A D | RelationalStoreCloudSync.test.js | 138 * @tc.name get modify time using wrong table null
140 * @tc.desc rdb get modify time using wrong table null
152 console.log(TAG + `get modify time, err code is ${err.code}, message is ${err.message}.`);
160 * @tc.name get modify time using wrong table undefined
162 * @tc.desc rdb get modify time using wrong table undefined
174 console.log(TAG + `get modify time, err code is ${err.code}, message is ${err.message}.`);
182 * @tc.name get modify time using wrong table 123456
184 * @tc.desc rdb get modify time using wrong table 123456
196 console.log(TAG + `get modify time, err code is ${err.code}, message is ${err.message}.`);
203 * @tc.name get modify time usin [all...] |
/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | frame_info.h | 49 void AddTaskInfo(const std::string& tag, const int32_t id, uint64_t time, TaskType type) in AddTaskInfo() 53 layoutInfos_.push_back({ tag, id, time}); in AddTaskInfo() 56 renderInfos_.push_back({ tag, id, time}); in AddTaskInfo()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_hfp_hf_call.cpp | 100 int64_t time; in ReadFromParcel() local 101 if (!parcel.ReadInt64(time)) { in ReadFromParcel() 104 creationTime_ = time; in ReadFromParcel()
|
/foundation/multimedia/av_session/frameworks/native/session/include/ |
H A D | avsession_callback_client.h | 38 void OnFastForward(int64_t time) override; 39 void OnRewind(int64_t time) override; 40 void OnSeek(int64_t time) override;
|
/foundation/multimedia/av_session/services/session/ipc/proxy/ |
H A D | avsession_callback_proxy.h | 33 void OnFastForward(int64_t time) override; 34 void OnRewind(int64_t time) override; 35 void OnSeek(int64_t time) override;
|
/foundation/systemabilitymgr/samgr/test/autotest/testcases/level0/ |
H A D | case15_dysaprofile004.py | 17 import time
namespace 44 time.sleep(20)
50 time.sleep(1)
|
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | timing.cpp | 43 void Timer::Start(time_t time) in Start() argument 45 if (time > 0) { in Start() 46 startTime_ = time; in Start()
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
H A D | leapcrash.c | 20 #include <time.h> 21 #include <sys/time.h> 74 /* Get the current time */ in main() 85 /* set the time to 2 seconds before the leap */ in main() 96 while (tx.time.tv_sec < next_leap + 1) { in main()
|
/kernel/linux/linux-5.10/drivers/iio/common/ssp_sensors/ |
H A D | ssp_iio_sensor.h | 46 /* Converts time in ms to frequency */ 47 static inline void ssp_convert_to_freq(u32 time, int *integer_part, in ssp_convert_to_freq() argument 50 if (time == 0) { in ssp_convert_to_freq() 56 *integer_part = SSP_FACTOR_WITH_MS / time; in ssp_convert_to_freq() 61 /* Converts frequency to time in ms */
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | core907d.c | 37 s64 time; in core907d_caps_init() local 47 time = nvif_msec(core->chan.base.device, 2000ULL, in core907d_caps_init() 53 if (time < 0) in core907d_caps_init()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-sun4v.c | 21 unsigned long ret, time; in hypervisor_get_time() local 25 ret = sun4v_tod_get(&time); in hypervisor_get_time() 27 return time; in hypervisor_get_time()
|
/kernel/linux/linux-6.6/include/clocksource/ |
H A D | hyperv_timer.h | 43 u64 *cur_tsc, u64 *time) in hv_read_tsc_page_tsc() 51 * reference time we must do the following: in hv_read_tsc_page_tsc() 53 * A special '0' value indicates the time source is unreliable and we in hv_read_tsc_page_tsc() 86 *time = mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; in hv_read_tsc_page_tsc() 102 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc, u64 *time) in hv_read_tsc_page_tsc() argument 42 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc, u64 *time) hv_read_tsc_page_tsc() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | core907d.c | 37 s64 time; in core907d_caps_init() local 47 time = nvif_msec(core->chan.base.device, 2000ULL, in core907d_caps_init() 53 if (time < 0) in core907d_caps_init()
|
/kernel/linux/linux-6.6/drivers/iio/common/ssp_sensors/ |
H A D | ssp_iio_sensor.h | 46 /* Converts time in ms to frequency */ 47 static inline void ssp_convert_to_freq(u32 time, int *integer_part, in ssp_convert_to_freq() argument 50 if (time == 0) { in ssp_convert_to_freq() 56 *integer_part = SSP_FACTOR_WITH_MS / time; in ssp_convert_to_freq() 61 /* Converts frequency to time in ms */
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | recalc_apic_map_test.c | 8 #include <time.h> 63 for (t = time(NULL) + TIMEOUT; time(NULL) < t;) { in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/ |
H A D | bench_bpf_hashmap_full_update.c | 71 u64 time = ctx.skel->bss->percpu_time[i]; in hashmap_report_final() local 73 if (!time) in hashmap_report_final() 77 i, ctx.skel->bss->nr_loops * 1000000000ll / time); in hashmap_report_final()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | leapcrash.c | 20 #include <time.h> 21 #include <sys/time.h> 74 /* Get the current time */ in main() 85 /* set the time to 2 seconds before the leap */ in main() 96 while (tx.time.tv_sec < next_leap + 1) { in main()
|
/third_party/ltp/testcases/kernel/fs/lftest/ |
H A D | lftest.c | 7 * of a filesystem. It writes one buffer at a time and lseeks from 18 #include <time.h> 47 time1 = time(NULL); in run() 62 time2 = time(NULL); in run() 65 tst_res(TINFO, "total time for test to run: %d minute(s) and %d seconds", in run()
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | verbose.py | 29 import time namespace 88 return time.strftime("%M:%S.", time.gmtime(d)) + ("%03i" % millis) 95 sys.stderr.write("--- Total time: %s ---\n" % FormatTime(overall_time))
|
/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | ntfstime.h | 2 * ntfstime.h - NTFS time related functions. Originated from the Linux-NTFS project. 28 #include <time.h> 34 #include <sys/time.h> 60 * ntfs2timespec - Convert an NTFS time to Unix time 61 * @ntfs_time: An NTFS time in 100ns units since 1601 66 * Return: A Unix time (number of seconds since 1970, and nanoseconds) 84 * timespec2ntfs - Convert Linux time to NTFS time 85 * @utc_time: Linux time t [all...] |
/third_party/ninja/src/ |
H A D | depfile_parser_perftest.cc | 54 float time = delta*1000 / (float)limit; in main() local 55 printf("%s: %.1fus\n", filename, time); in main() 56 times.push_back(time); in main()
|