Home
last modified time | relevance | path

Searched refs:time (Results 3026 - 3050 of 4888) sorted by relevance

1...<<121122123124125126127128129130>>...196

/third_party/libuv/src/unix/
H A Dsunos.c40 #include <sys/time.h>
201 base = loop->time; in uv__io_poll()
254 /* Update loop->time unconditionally. It's tempting to skip the update when in uv__io_poll()
343 /* Poll for more events but don't block this time. */ in uv__io_poll()
364 diff = loop->time - base; in uv__io_poll()
/third_party/mbedtls/programs/test/
H A Dudp_proxy.c23 #include <time.h>
24 #define mbedtls_time time
64 #include <sys/time.h>
127 " seed=%%d default: (use current time)\n" \
352 /* Return elapsed time in milliseconds since the first call */
/third_party/lzma/C/Util/7z/
H A D7zMain.c24 #include <time.h>
26 #include <sys/time.h>
331 const time_t utc = time(NULL); in TIME_GetBias()
395 // ts.tv_nsec = UTIME_NOW; // set to the current time in FILETIME_To_timespec()
/third_party/lame/misc/
H A Dath.c41 #include <time.h>
44 #include <sys/time.h>
319 srand ( time (NULL) ); in open_amplifier()
/third_party/ltp/testcases/network/stress/ns-tools/
H A Dns-icmp_redirector.c48 #include <time.h>
742 double start_time; /* capture starting time */ in capture_frames()
760 start_time = time(NULL); in capture_frames()
793 difftime(time(NULL), start_time)) in capture_frames()
/third_party/lwip/src/netif/ppp/
H A Dutils.c45 #include <time.h>
51 #include <sys/time.h>
116 * %q (quoted string), %t (current time) and %I (IP address) formats.
277 time(&t); in ppp_vslprintf()
/third_party/node/deps/uv/src/unix/
H A Dsunos.c40 #include <sys/time.h>
201 base = loop->time; in uv__io_poll()
254 /* Update loop->time unconditionally. It's tempting to skip the update when in uv__io_poll()
341 /* Poll for more events but don't block this time. */ in uv__io_poll()
362 diff = loop->time - base; in uv__io_poll()
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
H A Dtest_post.c33 #include <time.h>
387 start = time (NULL); in testExternalPost()
388 while ((time (NULL) - start < 5) && (multi != NULL)) in testExternalPost()
/third_party/toybox/kconfig/
H A Dconfdata.c14 #include <time.h>
446 time(&now); in conf_write()
716 time(&now); in conf_write_autoconf()
/third_party/toybox/toys/pending/
H A Dmke2fs.c118 uint32_t mtime; // Mount time
119 uint32_t wtime; // Write time
126 uint32_t lastcheck; // time of last check
127 uint32_t checkinterval; // max. time between checks
184 uint32_t atime; // Access time
185 uint32_t ctime; // Creation time
186 uint32_t mtime; // Modification time
406 sb->wtime = sb->lastcheck = sb->mkfs_time = SWAP_LE32(time(NULL)); in init_superblock()
583 dti->st.st_ctime = dti->st.st_mtime = time(NULL); in mke2fs_main()
592 dtb->st.st_ctime = dtb->st.st_mtime = time(NUL in mke2fs_main()
[all...]
/third_party/python/Lib/zoneinfo/
H A D_zoneinfo.py19 # Loading every time zone in the 2020a version of the time zone database
115 """Convert from datetime in UTC to datetime in local time"""
234 # Convert all the transition times (UTC) into "seconds since 1970-01-01 local time"
260 # Set the "fallback" time zone
265 raise ValueError("No time zone information found.")
289 # zones should almost certainly not be used with datetime.time (the
321 # We're only going to look at daylight saving time
363 """Generate number of seconds since 1970 *in the local time*.
365 This is necessary to easily find the transition times in local time"""
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_tasks.py651 # Test which did not time out.
1072 self.assertAlmostEqual(0.3, loop.time())
1108 self.assertAlmostEqual(0.15, loop.time())
1110 # Doing it again should take no time and exercise a different path.
1112 self.assertAlmostEqual(0.15, loop.time())
1165 self.assertAlmostEqual(0.1, loop.time())
1218 self.assertAlmostEqual(0, loop.time())
1248 self.assertAlmostEqual(0.01, loop.time())
1281 self.assertAlmostEqual(0.15, loop.time())
1284 self.assertAlmostEqual(0.15, loop.time())
[all...]
H A Dtest_base_events.py9 import time namespace
278 when = self.loop.time() + delay
280 t0 = self.loop.time()
282 dt = self.loop.time() - t0
305 loop.call_at(loop.time() + 60, cb)
309 loop.call_at(loop.time() + 60, cb)
359 h1 = asyncio.TimerHandle(time.monotonic() + 5.0, lambda: True, (),
361 h2 = asyncio.TimerHandle(time.monotonic() + 10.0, lambda: True, (),
391 h = asyncio.TimerHandle(time.monotonic() - 1, cb, (self.loop,),
1887 self.loop.call_at(self.loop.time()
[all...]
/third_party/cups-filters/utils/
H A Dcups-browsed.c38 #include <time.h>
166 /* Data structure for taking note of each time the remote printer
745 time_t curtime = time(NULL); in debug_printf()
781 time_t curtime = time(NULL); in debug_log_out()
6030 q->timeout = time(NULL) + TIMEOUT_IMMEDIATELY; in join_cluster_if_needed()
6282 /* We keep track of the printer which we used last time and start in on_job_state()
6283 checking with the next printer this time, to get a "round robin" in on_job_state()
6702 p->timeout = time(NULL) + TIMEOUT_IMMEDIATELY; in on_printer_deleted()
6960 p->timeout = time(NULL) + TIMEOUT_IMMEDIATELY; in on_printer_modified()
6970 p->timeout = time(NUL in on_printer_modified()
[all...]
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dproducer_surface_test.cpp1321 int64_t time = 0; in HWTEST_F() local
1323 GSError ret = surface_->GetPresentTimestamp(firstSeqnum, type, time); in HWTEST_F()
1341 int64_t time = 0; in HWTEST_F() local
1343 GSError ret = pSurface->GetPresentTimestamp(firstSeqnum, type, time); in HWTEST_F()
1358 int64_t time = 0; in HWTEST_F() local
1359 GSError ret = pSurface->GetPresentTimestamp(-1, type, time); in HWTEST_F()
1381 int64_t time = 0; in HWTEST_F() local
1382 ret = pSurface->GetPresentTimestamp(sequence, type, time); in HWTEST_F()
/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/
H A Dnapi_audio_capturer.cpp515 context->time = static_cast<uint64_t>(timestamp.time.tv_nsec) + in GetAudioTime()
516 static_cast<uint64_t>(timestamp.time.tv_sec) * secToNanosecond; in GetAudioTime()
523 NapiParamUtils::SetValueInt64(env, static_cast<int64_t>(context->time), output); in GetAudioTime()
545 uint64_t time = static_cast<uint64_t>(timestamp.time.tv_nsec) + in GetAudioTimeSync() local
546 static_cast<uint64_t>(timestamp.time.tv_sec) * secToNanosecond; in GetAudioTimeSync()
548 NapiParamUtils::SetValueInt64(env, static_cast<int64_t>(time), result); in GetAudioTimeSync()
/foundation/multimedia/media_lite/services/recorder_lite/impl/src/
H A Drecorder_impl.cpp23 #include <sys/time.h>
1477 int64_t time; in StopInternal() local
1490 time = CalcDiffTimeMs(begin, end); in StopInternal()
1491 MEDIA_INFO_LOG("StopVideoSource cost:%lld", time); in StopInternal()
1500 time = CalcDiffTimeMs(begin, end); in StopInternal()
1501 MEDIA_INFO_LOG("StopAudioSource cost:%lld", time); in StopInternal()
1519 time = CalcDiffTimeMs(begin, end); in StopInternal()
1520 MEDIA_INFO_LOG("recorderSink Stop cost:%lld", time); in StopInternal()
/third_party/backends/frontend/
H A Dtstbackend.c35 #include <time.h>
1348 srandom(time(NULL)); in test_scan()
1567 * test sane_get_device function, if time is greter than 0,
1571 * @param time time to loop
1574 static int test_get_devices(const SANE_Device ***device_list, int time) in test_get_devices() argument
1641 /* loop on detecting device to let time to plug/unplug scanners */ in test_get_devices()
1642 while(loop<time) { in test_get_devices()
1673 printf("Usage: %s [-d backend_name] [-l test_level] [-s] [-r recursion_level] [-g time (s)]\n", execname); in usage()
1679 printf("\t-g\ttime to loop on sane_get_devices function to test scannet hotplug detection (time i in usage()
1695 int time; main() local
[all...]
/third_party/python/Lib/logging/
H A D__init__.py26 import sys, os, time, io, re, traceback, warnings, weakref, collections.abc namespace
56 #_startTime is used as the base when calculating the relative time of events
58 _startTime = time.time()
284 LogRecord instances are created every time something is logged. They
297 ct = time.time()
560 %(created)f Time when the LogRecord was created (time.time()
562 %(asctime)s Textual time whe
[all...]
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dps.c172 long long ticks, bits, time;
216 SLOT_policy, /*man sched_setscheduler*/SLOT_blkioticks,// IO wait time
319 {"TIME", "CPU time consumed", 8, SLOT_utime},
320 {"ELAPSED", "Elapsed time since PID start", 11, SLOT_starttime},
321 {"TIME+", "CPU time (high precision)", 9, SLOT_utime},
327 {"%CPU", "Percentage of CPU time used", 4, SLOT_utime2},
342 {"STIME", "Start time (ISO 8601)", 5, SLOT_starttime},
577 time_t t = time(0)-slot[SLOT_uptime]+slot[SLOT_starttime]/TT.ticks; in string_field()
653 putchar(TT.time ? '\r' : '\n'); in show_ps()
1365 // First time, wai in top_common()
[all...]
/third_party/toybox/toys/posix/
H A Dps.c93 Show process activity in real time.
215 long long ticks, bits, time;
259 SLOT_policy, /*man sched_setscheduler*/SLOT_blkioticks,// IO wait time
362 {"TIME", "CPU time consumed", 8, SLOT_utime},
363 {"ELAPSED", "Elapsed time since PID start", 11, SLOT_starttime},
364 {"TIME+", "CPU time (high precision)", 9, SLOT_utime},
370 {"%CPU", "Percentage of CPU time used", 4, SLOT_utime2},
385 {"STIME", "Start time (ISO 8601)", 5, SLOT_starttime},
620 time_t t = time(0)-slot[SLOT_uptime]+slot[SLOT_starttime]/TT.ticks; in string_field()
696 putchar(TT.time in show_ps()
[all...]
/third_party/python/Lib/test/
H A Dtest_xmlrpc.py5 import time namespace
481 with mock.patch('time.localtime') as localtime_mock:
482 time_struct = time.struct_time(
485 localtime = time.localtime()
488 time.strftime("%Y%m%dT%H:%M:%S", localtime))
494 time.strftime("%Y%m%dT%H:%M:%S", time.localtime(d)))
502 d = time.localtime(1181399930.036952)
504 self.assertEqual(str(t), time.strftime("%Y%m%dT%H:%M:%S", d))
605 # the event after it has been set the first time t
[all...]
/third_party/rust/crates/nix/src/sys/socket/
H A Dmod.rs6 use crate::sys::time::TimeSpec;
8 use crate::sys::time::TimeVal;
568 /// # use nix::sys::time::TimeVal;
676 /// A message of type `SCM_TIMESTAMP`, containing the time the
687 /// # use nix::sys::time::*;
689 /// # use std::time::*;
703 /// // Get initial time
721 /// // Check the final time
1163 /// Configure the transmission time of packets.
1684 mut timeout: Option<crate::sys::time in recvmmsg()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp71 std::string IntTimeToText(uint32_t time) in IntTimeToText() argument
73 auto minutes = (time % SECONDS_PER_HOUR) / SECONDS_PER_MINUTE; in IntTimeToText()
74 auto seconds = time % SECONDS_PER_MINUTE; in IntTimeToText()
75 if (time >= SECONDS_PER_HOUR) { in IntTimeToText()
76 auto hours = time / SECONDS_PER_HOUR; in IntTimeToText()
522 json->Put("time", static_cast<double>(currentPos)); in OnCurrentTimeChange()
786 void VideoPattern::OnUpdateTime(uint32_t time, int pos) const in OnUpdateTime() argument
811 std::string timeText = IntTimeToText(time); in OnUpdateTime()
821 sliderPattern->UpdateValue(static_cast<float>(time)); in OnUpdateTime()
1345 RefPtr<FrameNode> VideoPattern::CreateText(uint32_t time) in OnModifyDone() argument
[all...]
/third_party/glfw/src/
H A Dx11_window.c934 reply.xselection.time = request->time; in handleSelectionRequest()
1258 Time diff = event->xkey.time - window->x11.keyPressTimes[keycode]; in processEvent()
1259 if (diff == event->xkey.time || (diff > 0 && diff < ((Time)1 << 31))) in processEvent()
1264 window->x11.keyPressTimes[keycode] = event->xkey.time; in processEvent()
1323 // pairs with similar or identical time stamps in processEvent()
1335 // HACK: The time of repeat events sometimes doesn't in processEvent()
1342 if ((next.xkey.time - event->xkey.time) < 20) in processEvent()
1616 Time time in processEvent() local
[all...]

Completed in 51 milliseconds

1...<<121122123124125126127128129130>>...196