/third_party/libbpf/src/ |
H A D | libbpf_internal.h | 439 #define for_each_btf_ext_sec(seg, sec) \ 440 for (sec = (seg)->info; \ 441 (void *)sec < (seg)->info + (seg)->len; \ 442 sec = (void *)sec + sizeof(struct btf_ext_info_sec) + \ 443 (seg)->rec_size * sec->num_info) 445 #define for_each_btf_ext_rec(seg, sec, i, rec) \ 446 for (i = 0, rec = (void *)&(sec)->data; \ 447 i < (sec)->num_info; \
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | eloop_win.c | 251 now_sec = timeout->time.sec; in eloop_register_timeout() 252 timeout->time.sec += secs; in eloop_register_timeout() 253 if (timeout->time.sec < now_sec) { in eloop_register_timeout() 265 timeout->time.sec++; in eloop_register_timeout() 323 remaining->sec = remaining->usec = 0; in eloop_cancel_timeout_one() 368 requested.sec = req_secs; in eloop_deplete_timeout() 375 eloop_register_timeout(requested.sec, in eloop_deplete_timeout() 400 requested.sec = req_secs; in eloop_replenish_timeout() 407 eloop_register_timeout(requested.sec, in eloop_replenish_timeout() 543 tv.sec in eloop_run() [all...] |
H A D | eloop.c | 858 now_sec = timeout->time.sec; in eloop_register_timeout() 859 timeout->time.sec += secs; in eloop_register_timeout() 860 if (timeout->time.sec < now_sec) { in eloop_register_timeout() 872 timeout->time.sec++; in eloop_register_timeout() 951 remaining->sec = remaining->usec = 0; in eloop_cancel_timeout_one() 1004 requested.sec = req_secs; in eloop_deplete_timeout() 1011 eloop_register_timeout(requested.sec, in eloop_deplete_timeout() 1036 requested.sec = req_secs; in eloop_replenish_timeout() 1043 eloop_register_timeout(requested.sec, in eloop_replenish_timeout() 1217 tv.sec in eloop_run() 1364 int sec, usec; eloop_destroy() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | eloop_win.c | 251 now_sec = timeout->time.sec; in eloop_register_timeout() 252 timeout->time.sec += secs; in eloop_register_timeout() 253 if (timeout->time.sec < now_sec) { in eloop_register_timeout() 265 timeout->time.sec++; in eloop_register_timeout() 323 remaining->sec = remaining->usec = 0; in eloop_cancel_timeout_one() 368 requested.sec = req_secs; in eloop_deplete_timeout() 375 eloop_register_timeout(requested.sec, in eloop_deplete_timeout() 400 requested.sec = req_secs; in eloop_replenish_timeout() 407 eloop_register_timeout(requested.sec, in eloop_replenish_timeout() 543 tv.sec in eloop_run() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | JavaTimeZone.java | 124 int hour, min, sec, mil; in getOffset() 128 sec = tmp % 60; in getOffset() 133 javacal.set(fields[0], fields[1], fields[2], hour, min, sec); in getOffset() 143 if (fields[4] != doy1 || hour != hour1 || min != min1 || sec != sec1 || mil != mil1) { in getOffset() 148 int delta = ((((dayDelta * 24) + hour1 - hour) * 60 + min1 - min) * 60 + sec1 - sec) * 1000 + mil1 - mil; in getOffset()
|
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
H A D | TimeZoneJDK.java | 106 int hour, min, sec, mil; in getOffset() 110 sec = tmp % 60; in getOffset() 115 fJdkCal.set(fields[0], fields[1], fields[2], hour, min, sec); in getOffset() 125 if (fields[4] != doy1 || hour != hour1 || min != min1 || sec != sec1 || mil != mil1) { in getOffset() 130 int delta = ((((dayDelta * 24) + hour1 - hour) * 60 + min1 - min) * 60 + sec1 - sec) * 1000 + mil1 - mil; in getOffset()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | JavaTimeZone.java | 126 int hour, min, sec, mil; in getOffset() 130 sec = tmp % 60; in getOffset() 135 javacal.set(fields[0], fields[1], fields[2], hour, min, sec); in getOffset() 145 if (fields[4] != doy1 || hour != hour1 || min != min1 || sec != sec1 || mil != mil1) { in getOffset() 150 int delta = ((((dayDelta * 24) + hour1 - hour) * 60 + min1 - min) * 60 + sec1 - sec) * 1000 + mil1 - mil; in getOffset()
|
/third_party/json/docs/examples/ |
H A D | sax_parse__binary.cpp | 101 sax_event_consumer sec; in main() local 104 bool result = json::sax_parse(vec, &sec, json::input_format_t::cbor); in main() 107 for (auto& event : sec.events) in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | scan.h | 13 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec); 15 int sec, int usec); 38 void wpa_supplicant_update_scan_int(struct wpa_supplicant *wpa_s, int sec);
|
/third_party/curl/tests/ |
H A D | serverhelp.pm | 79 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = 81 $now = sprintf("%02d:%02d:%02d.%06d ", $hour, $min, $sec, $usec); 85 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = 87 $now = sprintf("%02d:%02d:%02d ", $hour, $min, $sec);
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | caltztst.cpp | 183 CalendarTimeZoneTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) in date() argument 188 cal->set(1900 + y, m, d, hr, min, sec); // Add 1900 to follow java.util.Date protocol in date() 202 CalendarTimeZoneTest::utcDate(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) 207 Date dt = date(y, m, d, hr, min, sec) + 221 CalendarTimeZoneTest::dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int32_t& min, int32_t& sec) in dateToFields() argument 232 sec = cal->get(UCAL_SECOND, status); in dateToFields()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | TestCase.java | 92 * @param sec The SECOND field of tested calendar on the given julian day 97 int hour, int min, int sec) in TestCase() 108 set(Calendar.SECOND, sec); in TestCase() 126 * @param sec The SECOND field of tested calendar on the given gregorian date 131 int hour, int min, int sec) in TestCase() 145 set(Calendar.SECOND, sec); in TestCase() 94 TestCase(double julian, int era, int year, int month, int day, int dayOfWeek, int hour, int min, int sec) TestCase() argument 128 TestCase(int gregYear, int gregMonth, int gregDay, int era, int year, int month, int day, int dayOfWeek, int hour, int min, int sec) TestCase() argument
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | TestCase.java | 89 * @param sec The SECOND field of tested calendar on the given julian day 94 int hour, int min, int sec) in TestCase() 105 set(Calendar.SECOND, sec); in TestCase() 123 * @param sec The SECOND field of tested calendar on the given gregorian date 128 int hour, int min, int sec) in TestCase() 142 set(Calendar.SECOND, sec); in TestCase() 91 TestCase(double julian, int era, int year, int month, int day, int dayOfWeek, int hour, int min, int sec) TestCase() argument 125 TestCase(int gregYear, int gregMonth, int gregDay, int era, int year, int month, int day, int dayOfWeek, int hour, int min, int sec) TestCase() argument
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
H A D | 4-1-buildonly.c | 16 time_t sec; in dummyfcn() local 19 sec = t.tv_sec; in dummyfcn()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | pmksa_cache_auth.c | 115 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire() 127 int sec; in pmksa_cache_set_expiration() local 134 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration() 135 if (sec < 0) in pmksa_cache_set_expiration() 136 sec = 0; in pmksa_cache_set_expiration() 137 eloop_register_timeout(sec + 1, 0, pmksa_cache_expire, pmksa, NULL); in pmksa_cache_set_expiration() 343 entry->expiration = now.sec; in pmksa_cache_auth_create_entry() 660 (int) (entry->expiration - now.sec), in pmksa_cache_auth_list() 725 (int) (entry->expiration - now.sec)); in pmksa_cache_auth_list_mesh() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | pmksa_cache_auth.c | 115 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire() 127 int sec; in pmksa_cache_set_expiration() local 134 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration() 135 if (sec < 0) in pmksa_cache_set_expiration() 136 sec = 0; in pmksa_cache_set_expiration() 137 eloop_register_timeout(sec + 1, 0, pmksa_cache_expire, pmksa, NULL); in pmksa_cache_set_expiration() 343 entry->expiration = now.sec; in pmksa_cache_auth_create_entry() 654 (int) (entry->expiration - now.sec), in pmksa_cache_auth_list() 719 (int) (entry->expiration - now.sec)); in pmksa_cache_auth_list_mesh() [all...] |
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-helpers-date.c | 398 ecma_number_t sec = (ecma_number_t) fmod (floor (time / ECMA_DATE_MS_PER_SECOND), in ecma_date_sec_from_time() local 400 return (sec < 0) ? ECMA_DATE_SECONDS_PER_MINUTE + sec : sec; in ecma_date_sec_from_time() 421 * Helper function to make time value from hour, min, sec and ms. 431 ecma_number_t sec, /**< second value */ in ecma_date_make_time() 436 || ecma_number_is_nan (sec) in ecma_date_make_time() 440 || ecma_number_is_infinity (sec) in ecma_date_make_time() 449 ecma_number_t s = ecma_number_trunc (sec); in ecma_date_make_time() 429 ecma_date_make_time(ecma_number_t hour, ecma_number_t min, ecma_number_t sec, ecma_number_t ms) ecma_date_make_time() argument
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | a_time.c | 552 int day, sec; in ASN1_TIME_cmp_time_t() local 560 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) in ASN1_TIME_cmp_time_t() 563 if (day > 0 || sec > 0) in ASN1_TIME_cmp_time_t() 565 if (day < 0 || sec < 0) in ASN1_TIME_cmp_time_t() 582 int day, sec; in ASN1_TIME_compare() local 584 if (!ASN1_TIME_diff(&day, &sec, b, a)) in ASN1_TIME_compare() 586 if (day > 0 || sec > 0) in ASN1_TIME_compare() 588 if (day < 0 || sec < 0) in ASN1_TIME_compare()
|
/third_party/rust/crates/humantime/src/ |
H A D | date.rs | 382 fn from_sec(sec: u64) -> (String, SystemTime) { in from_sec() 383 let s = time::at_utc(time::Timespec { sec: sec as i64, nsec: 0 }) in from_sec() 385 let time = UNIX_EPOCH + Duration::new(sec, 0); in from_sec() 519 let sec = rand::thread_rng().gen_range(0, upper); in random_past() 520 let (s, time) = from_sec(sec); in random_past() 529 let sec = rand::thread_rng().gen_range(0, max::SECONDS); in random_wide_range() 530 let (s, time) = from_sec(sec); in random_wide_range()
|
/third_party/openssl/crypto/asn1/ |
H A D | a_time.c | 552 int day, sec; in ASN1_TIME_cmp_time_t() local 560 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) in ASN1_TIME_cmp_time_t() 563 if (day > 0 || sec > 0) in ASN1_TIME_cmp_time_t() 565 if (day < 0 || sec < 0) in ASN1_TIME_cmp_time_t() 582 int day, sec; in ASN1_TIME_compare() local 584 if (!ASN1_TIME_diff(&day, &sec, b, a)) in ASN1_TIME_compare() 586 if (day > 0 || sec > 0) in ASN1_TIME_compare() 588 if (day < 0 || sec < 0) in ASN1_TIME_compare()
|
/third_party/ltp/testcases/kernel/syscalls/getitimer/ |
H A D | getitimer01.c | 33 static void set_setitimer_value(int sec, int usec) in set_setitimer_value() argument 35 value->it_value.tv_sec = sec; in set_setitimer_value() 37 value->it_interval.tv_sec = sec; in set_setitimer_value()
|
/third_party/ltp/testcases/kernel/syscalls/setitimer/ |
H A D | setitimer01.c | 51 static void set_setitimer_value(int sec, int usec) in set_setitimer_value() argument 53 value->it_value.tv_sec = sec; in set_setitimer_value() 55 value->it_interval.tv_sec = sec; in set_setitimer_value()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | scan.h | 37 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec); 39 int sec, int usec); 65 void wpa_supplicant_update_scan_int(struct wpa_supplicant *wpa_s, int sec);
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_date_time.cpp | 689 time_t sec; in CurrentDateTimeAndZone() local 691 time (&sec); in CurrentDateTimeAndZone() 700 t = *localtime (&sec); in CurrentDateTimeAndZone() 701 zt = *gmtime (&sec); in CurrentDateTimeAndZone() 755 time_t sec = (time_t) unixTime; in DecodeUnixTime() local 767 tm *tp = localtime (&sec); in DecodeUnixTime() 773 tm *tp = gmtime (&sec); in DecodeUnixTime()
|
/third_party/libinput/tools/ |
H A D | libinput-analyze-touch-down-state.py | 138 sec=evdev[0], 183 last_time = e.sec * 1000000 + e.usec 186 t = e.sec * 1000000 + e.usec 192 "{:2d}.{:06d} | {:+7.3f}s | {}".format(e.sec, e.usec, tdelta, fmt)
|