Home
last modified time | relevance | path

Searched refs:time (Results 4076 - 4100 of 5128) sorted by relevance

1...<<161162163164165166167168169170>>...206

/third_party/libabigail/src/
H A Dabg-tools-utils.cc30 #include <sys/time.h>
32 #include <time.h>
86 #error the macro ABIGAIL_ROOT_SYSTEM_LIBDIR must be set at compile time in get_system_libdir()
205 /// To stop the timer (and record the time elapsed since the timer was
219 /// This records the time elapsed since the timer was started using
231 /// Get the elapsed time in seconds.
233 /// @return the time elapsed between the invocation of the methods
239 /// Get the elapsed time in hour:minutes:seconds:milliseconds.
276 /// Get the elapsed time as a human-readable string.
278 /// @return the elapsed time a
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_ssl.py11 import time namespace
889 # we establish connection for the first time. Start TLS
1262 time.sleep(0.5) # hopefully stuck the TCP buffer
1347 time.sleep(0.2) # wait for the peer to fill its backlog
1377 time.sleep(0.2) # wait for the peer to fill its backlog
1540 # make sure we have enough time to reproduce the issue
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dentry_points_egl_ext_autogen.cpp208 EGLnsecsANDROID time) in EGL_PresentationTimeANDROID()
212 "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", time = %llu", (uintptr_t)dpy, in EGL_PresentationTimeANDROID()
213 (uintptr_t)surface, static_cast<unsigned long long>(time)); in EGL_PresentationTimeANDROID()
221 dpyPacked, surfacePacked, time); in EGL_PresentationTimeANDROID()
223 return PresentationTimeANDROID(thread, dpyPacked, surfacePacked, time); in EGL_PresentationTimeANDROID()
206 EGL_PresentationTimeANDROID(EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time) EGL_PresentationTimeANDROID() argument
/third_party/openssl/ssl/statem/
H A Dextensions_srvr.c82 * Applications can control the behaviour. They can at any time
793 * We chose a different cipher or group id this time around to what is in tls_parse_ctos_cookie()
810 now = time(NULL); in tls_parse_ctos_cookie()
1137 agesec = (uint32_t)(time(NULL) - sess->time); in tls_parse_ctos_psk()
1751 || !WPACKET_put_bytes_u64(pkt, time(NULL)) in tls_construct_stoc_cookie()
/third_party/python/Lib/test/
H A Dtest_httpservers.py25 import time namespace
1238 now = time.time()
1240 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(now)
H A Dtest__xxsubinterpreters.py9 import time namespace
48 start_time = time.monotonic()
51 if time.monotonic() > deadline:
53 time.sleep(0.010)
1055 import time
1056 # Give plenty of time for the main interpreter to finish.
1057 time.sleep(1_000_000)
1421 time.sleep(0.1)
1440 import time
1447 time
[all...]
H A Dtest_ssl.py16 import time namespace
221 # check compile time flags like ssl.HAS_TLSv1_2
272 # local time = utc time + utc offset
273 if time.daylight and time.localtime().tm_isdst > 0:
274 return -time.altzone # seconds
275 return -time.timezone
1060 'local time needs to be different from UTC')
1094 # allow 2nd leap second for compatibility with time
[all...]
/third_party/skia/third_party/externals/zlib/
H A Ddeflate.c19 * is preferable to spend more time in matches to allow very fast string
27 * time, but has a larger average cost, uses more memory and is patented.
354 * code is written. At that time, 31*(n-2) bits have been written, just
927 put_byte(s, (Byte)(s->gzhead->time & 0xff));
928 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff));
929 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff));
930 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff));
1300 /* Compare two bytes at a time. Note: this is not always beneficial.
1317 /* Do not waste too much time if we already have a good match: */
1349 * are equal and that HASH_BITS >= 8. Compare 2 bytes at a time a
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsLongStressCase.cpp1483 // Log if a certain amount of time has passed since last log entry (or if this is the last iteration). in iterate()
1486 const deUint64 time = deGetTime(); in iterate()
1487 const deUint64 timeDiff = time - m_lastLogTime; in iterate()
1493 << TestLog::Message << "Time elapsed: " << getTimeStr(time - m_startTimeSeconds) << TestLog::EndMessage in iterate()
1497 << TestLog::Message << "Average frame time since last log entry: " << de::floatToString((float)timeDiff / (float)iterDiff, 2) << "s" << TestLog::EndMessage in iterate()
1508 m_lastLogTime = time; in iterate()
/third_party/zlib/
H A Ddeflate.c19 * is preferable to spend more time in matches to allow very fast string
27 * time, but has a larger average cost, uses more memory and is patented.
139 * key instead of complete recalculation each time.
271 * strstart == 0 && lookahead == 1 (input done a byte at time) in fill_window()
339 * time through here. WIN_INIT is set to MAX_MATCH since the longest match in fill_window()
476 * code is written. At that time, 31*(n - 2) bits have been written, just in deflateInit2_()
1071 put_byte(s, (Byte)(s->gzhead->time & 0xff)); in deflate()
1072 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff)); in deflate()
1073 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff)); in deflate()
1074 put_byte(s, (Byte)((s->gzhead->time >> 2 in deflate()
[all...]
/third_party/backends/backend/
H A Davision.c130 #include <sys/time.h>
150 #include <sys/time.h>
1825 DBG (dbg_level, "%s: power saving time: %d\n", in debug_print_nvram_data()
2012 DBG (dbg_level, "%s: [50] ir exposure time: %x\n", in debug_print_window_descriptor()
2506 /* some commands on some devices need a rather long time to respond */ in avision_cmd()
3404 set_power_save_time (Avision_Scanner* s, int time) in set_power_save_time() argument
3408 uint8_t time[2]; in set_power_save_time() member
3414 DBG (3, "set_power_save_time: time %d\n", time); in set_power_save_time()
3420 set_triple (scmd.cmd.transferlen, sizeof (scmd.time) ); in set_power_save_time()
3631 get_power_save_time(Avision_Scanner* s, SANE_Word* time) get_power_save_time() argument
9035 SANE_Word time = *((SANE_Word *) val); sane_control_option() local
[all...]
/foundation/multimedia/av_codec/test/unittest/media_demuxer_test/
H A Dmedia_demuxer_unit_test.cpp635 int32_t time = 6000; in HWTEST_F() local
640 EXPECT_EQ(time, demuxer->ReadLoop(trackId)); in HWTEST_F()
646 EXPECT_EQ(time, demuxer->ReadLoop(trackId)); in HWTEST_F()
652 EXPECT_EQ(time, demuxer->ReadLoop(trackId)); in HWTEST_F()
657 EXPECT_EQ(time, demuxer->ReadLoop(trackId)); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dthumbnail_utils.cpp205 MEDIA_ERR_LOG("Av meta data helper fetch frame at time failed"); in LoadAudioFileInfo()
525 bool ThumbnailUtils::QueryLcdCountByTime(const int64_t &time, const bool &before, ThumbRdbOpt &opts, int &outLcdCount, in QueryLcdCountByTime() argument
534 rdbPredicates.LessThanOrEqualTo(PhotoColumn::PHOTO_LAST_VISIT_TIME, to_string(time)); in QueryLcdCountByTime()
536 rdbPredicates.GreaterThan(PhotoColumn::PHOTO_LAST_VISIT_TIME, to_string(time)); in QueryLcdCountByTime()
1043 bool ThumbnailUtils::QueryNewThumbnailCount(ThumbRdbOpt &opts, const int64_t &time, int &count, in QueryNewThumbnailCount() argument
1051 rdbPredicates.GreaterThan(PhotoColumn::PHOTO_LAST_VISIT_TIME, to_string(time)); in QueryNewThumbnailCount()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_mock_sync_module_test.cpp18 #include <sys/time.h>
129 timeval time; in ChangeTime() local
130 gettimeofday(&time, nullptr); in ChangeTime()
131 time.tv_sec += sec; in ChangeTime()
132 settimeofday(&time, nullptr); in ChangeTime()
489 * @tc.desc: Test machine deal time sync ack failed.
1727 * @tc.expected: retry time should not be changed in HWTEST_F()
1825 * @tc.expected: retry time will be reset to zero in HWTEST_F()
1850 std::this_thread::sleep_for(std::chrono::seconds(1)); // sleep 1s wait for time tick in HWTEST_F()
1857 std::this_thread::sleep_for(std::chrono::seconds(1)); // sleep 1s wait for time tic in HWTEST_F()
[all...]
/third_party/curl/lib/
H A Dmulti.c547 sockets that time-out or have actions will be dealt with. Since this in curl_multi_add_handle()
553 that happens if the lastcall time is set to the same time when the handle in curl_multi_add_handle()
862 called. Do it after multi_done() in case that sets another time! */ in curl_multi_remove_handle()
1139 /* we need to let time pass, ignore socket(s) */ in multi_getsock()
1257 the outside, then use the shorter time! But only if the internal timer
1967 /* we need to wait for the connect state as only then is the start time
2794 * and not for the current time as it may have ticked a little while since
2932 * and if we have a different state in any of those sockets from last time we
3080 /* Remember for next time */
[all...]
/third_party/mksh/
H A Dsh.h43 #include <sys/time.h>
44 #include <time.h>
46 #include <sys/time.h>
48 #include <time.h>
284 /* compile-time assertions */
464 (tv).tv_sec = time(NULL); \
1074 EXTERN const char Ttime[] E_INIT("time");
1240 #define Ttime "time"
1444 /* compile-time initialised, ASCII only */
1446 /* run-time, contain
[all...]
/third_party/python/Lib/
H A Dzipfile.py18 import time namespace
537 mtime = time.localtime(st.st_mtime)
879 # or the MSB of the file time depending on the header type
1425 # Convert date/time code to (year, month, day, hour, min, sec)
1820 date_time=time.localtime(time.time())[:6])
/third_party/ffmpeg/libavformat/
H A Dmxfenc.c41 #include <time.h>
410 int timecode_base; ///< rounded time code base (25 or 30)
2451 struct tm *time = gmtime_r(&timestamp, &tmbuf); in mxf_parse_timestamp() local
2452 if (!time) in mxf_parse_timestamp()
2454 return (uint64_t)(time->tm_year+1900) << 48 | in mxf_parse_timestamp()
2455 (uint64_t)(time->tm_mon+1) << 40 | in mxf_parse_timestamp()
2456 (uint64_t) time->tm_mday << 32 | in mxf_parse_timestamp()
2457 time->tm_hour << 24 | in mxf_parse_timestamp()
2458 time->tm_min << 16 | in mxf_parse_timestamp()
2459 time in mxf_parse_timestamp()
[all...]
/device/soc/rockchip/common/vendor/drivers/power/
H A Drk817_battery.c1481 * cccv and finish switch all the time will cause dsoc freeze,
1564 /* over 10%: system halt last time */ in is_rk817_bat_last_halt()
1685 BAT_INFO("system halt last time... cap: pre=%d, now=%d\n", pre_cap, now_cap); in rk817_bat_not_first_pwron()
2395 static u64 time; in rk817_bat_lowpwr_check() local
2399 if (!time) { in rk817_bat_lowpwr_check()
2400 time = get_boot_sec(); in rk817_bat_lowpwr_check()
2403 if ((base2sec(time) > MINUTE(1)) || (battery->voltage_avg <= pwr_off_thresd - 0x32)) { in rk817_bat_lowpwr_check()
2411 time = 0; in rk817_bat_lowpwr_check()
2415 DBG("<%s>. t=%lu, dsoc=%d, current=%d, fake_offline=%d\n", __func__, base2sec(time), battery->dsoc, in rk817_bat_lowpwr_check()
3107 dev_err(rtc->dev.parent, "invalid date time\ in rk817_get_rtc_sec()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/
H A Drk817_battery.c1417 * cccv and finish switch all the time will cause dsoc freeze,
1502 /* over 10%: system halt last time */ in is_rk817_bat_last_halt()
1625 BAT_INFO("system halt last time... cap: pre=%d, now=%d\n", in rk817_bat_not_first_pwron()
2348 static u64 time; in rk817_bat_lowpwr_check() local
2352 if (!time) in rk817_bat_lowpwr_check()
2353 time = get_boot_sec(); in rk817_bat_lowpwr_check()
2355 if ((base2sec(time) > MINUTE(1)) || in rk817_bat_lowpwr_check()
2364 time = 0; in rk817_bat_lowpwr_check()
2369 __func__, base2sec(time), battery->dsoc, in rk817_bat_lowpwr_check()
3096 dev_err(rtc->dev.parent, "invalid date time\ in rk817_get_rtc_sec()
[all...]
/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp479 int64_t time = OHOS::MMI::GetSysClockTime(); in HandleKeyInjectEventHelper() local
480 g_VKeySharedKeyEvent->SetActionTime(time); in HandleKeyInjectEventHelper()
494 item.SetDownTime(time); in HandleKeyInjectEventHelper()
571 int64_t time = OHOS::MMI::GetSysClockTime(); in ToggleKeyVisualState() local
572 g_VKeySharedUIKeyEvent->SetActionTime(time); in ToggleKeyVisualState()
575 keyItem.SetDownTime(time); in ToggleKeyVisualState()
587 // Get the correct down time from pressed keys (when it is down) in ToggleKeyVisualState()
681 // Need to add valid time here. in PointerEventHandler()
3648 dfxThreadBlockMsg += ", duration time:"; in PrintLog()
/foundation/distributeddatamgr/pasteboard/services/core/src/
H A Dpasteboard_service.cpp343 "get record value fail, data is out time, pre dataId is %{public}d, cur dataId is %{public}d", dataId, in GetRecordValueByType()
362 "set record value fail, data is out time, pre dataId is %{public}d, cur dataId is %{public}d", dataId, in GetRecordValueByType()
504 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_SERVICE, "data is out of the time"); in IsDataAged()
1227 std::string time = GetTime(); in SaveData() local
1228 pasteData->SetTime(time); in SaveData()
1794 std::string history = std::move(info.time) + " " + std::move(info.bundleName) + " " + std::move(info.state) + " " + in SetPasteboardHistory()
1827 time_t timeSeconds = time(0); in GetTime()
1951 std::string time = GetTime(); in GetPasteDataDot() local
1952 HistoryInfo info{ time, bundleName, "get", remote }; in GetPasteDataDot()
2133 "set data fail, data is out time, pr in GetFullDelayPasteData()
[all...]
/applications/sample/camera/media/
H A Dcamera_sample.cpp26 #include <sys/time.h>
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/
H A Dsample_comm_sys.c23 #include <sys/time.h>
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_common.h19 #include <linux/time.h>
438 /* record context running start time */

Completed in 80 milliseconds

1...<<161162163164165166167168169170>>...206