/third_party/ffmpeg/fftools/ |
H A D | ffplay.c | 44 #include "libavutil/time.h" 145 double pts_drift; /* clock base minus time at which we updated the clock */ 1071 /* to be more precise, we take into account the time spent since in video_audio_display() 1370 double time = av_gettime_relative() / 1000000.0; in get_clock() local 1371 return c->pts_drift + time - (time - c->last_updated) * (1.0 - c->speed); in get_clock() 1375 static void set_clock_at(Clock *c, double pts, int serial, double time) in set_clock_at() argument 1378 c->last_updated = time; in set_clock_at() 1379 c->pts_drift = c->pts - time; in set_clock_at() 1385 double time in set_clock() local 1566 double time; video_refresh() local [all...] |
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | base_utils_test.cpp | 21 #include <sys/time.h> 127 time(&nowTime); in HWTEST_F() 194 * @tc.desc: Set the time zone within [-14, -12] 201 time(&nowTime); in HWTEST_F() 231 * @tc.desc: Set the time zone within [-12, 12] 238 time(&nowTime); in HWTEST_F() 277 * @tc.desc: Set the time zone beyond the range of [-14, 12] 284 time(&nowTime); in HWTEST_F() 302 * @tc.desc: Check the time since the device was started
|
/third_party/elfutils/debuginfod/ |
H A D | debuginfod-client.c | 88 #include <time.h> 156 the time of last cleaning. */ 166 the maximum time since last access that a file will remain in the cache. */ 306 if (time(NULL) - st.st_mtime < clean_interval) in debuginfod_clean_cache() 335 time_t now = time(NULL); in debuginfod_clean_cache() 897 /* PR 27982: Add max time if DEBUGINFOD_MAXTIME is set. */ in debuginfod_query_server() 904 dprintf(vfd, "using max time %lds\n", maxtime); in debuginfod_query_server() 1093 /* The file is empty. Attempt to download only if enough time in debuginfod_query_server() 1106 if (time(NULL) - target_mtime <= cache_miss) in debuginfod_query_server() 1403 dprintf(vfd, "Timeout with max time in debuginfod_query_server() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | concatdec.c | 650 int64_t time = 0; in concat_read_header() local 664 cat->files[i].start_time = time; in concat_read_header() 666 time = cat->files[i].start_time; in concat_read_header() 675 time += cat->files[i].user_duration; in concat_read_header() 678 avf->duration = time; in concat_read_header() 925 { "segment_time_metadata", "output file segment start time and duration as packet metadata",
|
H A D | dashenc.c | 38 #include "libavutil/time.h" 79 int64_t time; member 675 if (i == start_index || seg->time != cur_time) { in output_segment_list() 676 cur_time = seg->time; in output_segment_list() 677 avio_printf(out, "t=\"%"PRId64"\" ", seg->time); in output_segment_list() 682 os->segments[i + repeat + 1]->time == os->segments[i + repeat]->time + os->segments[i + repeat]->duration) in output_segment_list() 760 static void write_time(AVIOContext *out, int64_t time) in write_time() argument 762 int seconds = time / AV_TIME_BASE; in write_time() 763 int fractions = time in write_time() 1752 add_segment(OutputStream *os, const char *file, int64_t time, int64_t duration, int64_t start_pos, int64_t range_length, int64_t index_length, int next_exp_index) add_segment() argument [all...] |
/third_party/backends/backend/ |
H A D | canon630u-common.c | 57 #include <time.h> 294 /* write multiple bytes, one at a time (non-bulk) */ 317 /* read multiple bytes, one at a time (non-bulk) */ 350 time_t start_time = time (NULL); in read_poll_flag() 359 if ((time (NULL) - start_time) > 60) in read_poll_flag() 377 time_t start_time = time (NULL); in read_poll_min() 386 if ((time (NULL) - start_time) > 60) in read_poll_min() 494 /* Scanner init, called at calibration and scan time. Returns 1 if this 495 was the first time the scanner was plugged in, 0 afterward, and 537 /* Returns 1 if this was the first time th in init() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tzfmttst.cpp | 203 // just for making sure that it does not depends on the time zone in TestTimeZoneRoundTrip() 227 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); in TestTimeZoneRoundTrip() 232 errln((UnicodeString)"Failed to get offsets from time zone" + outtzid); in TestTimeZoneRoundTrip() 250 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip() 255 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip() 264 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip() 268 // Location: time zone rule must be preserved except in TestTimeZoneRoundTrip() 284 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip() 289 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip() 333 + ", time in TestTimeZoneRoundTrip() 359 isSpecialTimeRoundTripCase(const char* loc, const UnicodeString& id, const char* pattern, UDate time) isSpecialTimeRoundTripCase() argument 367 UDate time; isSpecialTimeRoundTripCase() member [all...] |
/third_party/libunwind/libunwind/doc/ |
H A D | libunwind.tex | 208 all at the same time! 233 targeting a cross-platform will result in a link-time error 243 any given time. 261 just-in-time (JIT) compiler). It is important to register the 269 guaranteed to execute in ``constant time'' (O(1)) and the
|
/third_party/node/deps/openssl/openssl/crypto/http/ |
H A D | http_client.c | 66 time_t max_time; /* Maximum end time of current transfer, or 0 */ 67 time_t max_total_time; /* Maximum end time of total transfer, or 0 */ 266 rctx->max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_REQ_CTX_set_expected() 396 overall_timeout > 0 ? time(NULL) + overall_timeout : 0; in http_req_ctx_new() 507 time_t time_diff, now = time(NULL); in may_still_retry() 1138 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_get() 1161 -1 /* use same max time (timeout) */, in OSSL_HTTP_get() 1308 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_proxy_connect()
|
/third_party/node/deps/uv/src/unix/ |
H A D | core.c | 45 #include <sys/time.h> 1526 struct timeval time; in uv_gettimeofday() local 1531 if (gettimeofday(&time, NULL) != 0) in uv_gettimeofday() 1534 tv->tv_sec = (int64_t) time.tv_sec; in uv_gettimeofday() 1535 tv->tv_usec = (int32_t) time.tv_usec; in uv_gettimeofday()
|
/third_party/openssl/crypto/http/ |
H A D | http_client.c | 66 time_t max_time; /* Maximum end time of current transfer, or 0 */ 67 time_t max_total_time; /* Maximum end time of total transfer, or 0 */ 259 rctx->max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_REQ_CTX_set_expected() 389 overall_timeout > 0 ? time(NULL) + overall_timeout : 0; in http_req_ctx_new() 496 time_t time_diff, now = time(NULL); in may_still_retry() 1127 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_get() 1150 -1 /* use same max time (timeout) */, in OSSL_HTTP_get() 1297 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_proxy_connect()
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_events.py | 19 import time namespace 296 t0 = self.loop.time() 298 t1 = self.loop.time() 384 time.sleep(0.05) 393 time.sleep(0.4) 939 'at the same time'): 1669 start = time.monotonic() 1672 elapsed = time.monotonic() - start 1765 self.loop.call_at(self.loop.time() + .0, func) 2348 when = time [all...] |
/third_party/python/Lib/test/ |
H A D | test_mailbox.py | 3 import time namespace 740 os.utime(foo_path, (time.time() - 129600 - 2, 754 pattern = re.compile(r"(?P<time>\d+)\.M(?P<M>\d{1,6})P(?P<P>\d+)" 908 (time.time()-5,)*2) 1501 self.assertLess(abs(msg.get_date() - time.time()), 60) 1555 msg.set_from('blah@temp', time.localtime()) 1743 time [all...] |
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | string_util.cpp | 19 #include <sys/time.h>
|
/foundation/ability/form_fwk/test/unittest/fms_form_util_test/ |
H A D | fms_form_util_test.cpp | 175 time(&rawtime); in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_framework/common/src/ |
H A D | cast_engine_dfx.cpp | 100 srand(static_cast<unsigned>(time(NULL))); in GetSequentialId()
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/include/ |
H A D | rtcp.h | 22 #include <sys/time.h>
|
/foundation/ability/ability_lite/interfaces/kits/js/napi/ |
H A D | js_aafwk.cpp | 36 int64_t time; variable
|
/foundation/ability/ability_runtime/services/common/include/ |
H A D | event_report.h | 43 int64_t time = 0; member
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | rotation_recognizer.cpp | 99 time_ = event.time; in HandleTouchMoveEvent()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | startable_object_controller.h | 68 void TickAll(const TimeSpan& time) override;
|
H A D | future.h | 40 StateType WaitFor(const TimeSpan& time) const override;
|
/foundation/multimedia/audio_framework/services/audio_service/common/include/ |
H A D | oh_audio_buffer.h | 95 // one span represents a collection of audio sampling data for a short period of time 177 void SetLastWrittenTime(int64_t time);
|
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/interface/ |
H A D | iaudio_policy_interface.h | 132 virtual int32_t SetDeviceSafeTime(DeviceType deviceType, int64_t time) = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_node_stats.cpp | 20 #include <sys/time.h>
|