Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 941) sorted by relevance

12345678910>>...38

/third_party/typescript/tests/baselines/reference/
DdestructuredDeclarationEmit.types18 …[0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]] = [0, 1, 2, ['a', 'b', 'c', [{def: 'def'}…
19 >arr : [0, 1, 2, ["a", "b", "c", [{ def: 'def'; }, { sec: 'sec'; }]]]
21 >sec : "sec"
22 …, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]] : [0, 1, 2, ["a", "b", "c", [{ def: "def"; …
26 >['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]] : ["a", "b", "c", [{ def: "def"; }, { sec: "sec"; }]]
30 >[{def: 'def'}, {sec: 'sec'}] : [{ def: "def"; }, { sec: "sec"; }]
34 >{sec: 'sec'} : { sec: "sec"; }
35 >sec : "sec"
36 >'sec' : "sec"
40 >arr : [0, 1, 2, ["a", "b", "c", [{ def: "def"; }, { sec: "sec"; }]]]
[all …]
DdestructuredDeclarationEmit.js5 …r: [0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]] = [0, 1, 2, ['a', 'b', 'c', [{def: 'de… property
14 const [ , one, , [, bee, , [, {sec} ]]] = arr;
15 export { one, bee, sec };
31 var arr = [0, 1, 2, ['a', 'b', 'c', [{ def: 'def' }, { sec: 'sec' }]]]; property
36 exports.foo2 = exports.sec = exports.bee = exports.one = exports.ibaz = exports.baz = exports.arr =…
43 var one = foo_1.arr[1], _b = foo_1.arr[3], bee = _b[1], _c = _b[3], sec = _c[1].sec; variable
46 exports.sec = sec;
68 sec: 'sec'; property
76 declare const one: 1, bee: "b", sec: "sec";
77 export { one, bee, sec };
DdestructuredDeclarationEmit.symbols11 …[0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]] = [0, 1, 2, ['a', 'b', 'c', [{def: 'def'}…
14 >sec : Symbol(sec, Decl(foo.ts, 1, 53))
16 >sec : Symbol(sec, Decl(foo.ts, 1, 112))
47 const [ , one, , [, bee, , [, {sec} ]]] = arr;
50 >sec : Symbol(sec, Decl(index.ts, 6, 31))
53 export { one, bee, sec };
56 >sec : Symbol(sec, Decl(index.ts, 7, 18))
/third_party/uboot/u-boot-2020.01/drivers/rtc/
Dmx27rtc.c21 uint32_t day, hour, min, sec; in rtc_get() local
25 sec = readl(&rtc_regs->seconds); in rtc_get()
30 sec += min * 60 + hour * 3600 + day * 24 * 3600; in rtc_get()
32 rtc_to_tm(sec, time); in rtc_get()
40 uint32_t day, hour, min, sec; in rtc_set() local
42 sec = rtc_mktime(time); in rtc_set()
44 day = sec / (24 * 3600); in rtc_set()
45 sec = sec % (24 * 3600); in rtc_set()
46 hour = sec / 3600; in rtc_set()
47 sec = sec % 3600; in rtc_set()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dos.h20 void os_sleep(os_time_t sec, os_time_t usec);
23 os_time_t sec; member
28 os_time_t sec; member
51 return (a->sec < b->sec) || in os_time_before()
52 (a->sec == b->sec && a->usec < b->usec); in os_time_before()
59 res->sec = a->sec - b->sec; in os_time_sub()
62 res->sec--; in os_time_sub()
73 return (a->sec < b->sec) || in os_reltime_before()
74 (a->sec == b->sec && a->usec < b->usec); in os_reltime_before()
81 res->sec = a->sec - b->sec; in os_reltime_sub()
[all …]
Dos_win32.c17 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument
19 if (sec) in os_sleep()
20 Sleep(sec * 1000); in os_sleep()
44 t->sec = (os_time_t) (tt / 1000000); in os_get_time()
56 t->sec = now.sec; in os_get_reltime()
62 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
70 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || in os_mktime()
71 sec > 60) in os_mktime()
80 tm.tm_sec = sec; in os_mktime()
110 tm->sec = tm2->tm_sec; in os_gmtime()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dos.h20 void os_sleep(os_time_t sec, os_time_t usec);
23 os_time_t sec; member
28 os_time_t sec; member
51 return (a->sec < b->sec) || in os_time_before()
52 (a->sec == b->sec && a->usec < b->usec); in os_time_before()
59 res->sec = a->sec - b->sec; in os_time_sub()
62 res->sec--; in os_time_sub()
73 return (a->sec < b->sec) || in os_reltime_before()
74 (a->sec == b->sec && a->usec < b->usec); in os_reltime_before()
81 res->sec = a->sec - b->sec; in os_reltime_sub()
[all …]
Dos_win32.c17 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument
19 if (sec) in os_sleep()
20 Sleep(sec * 1000); in os_sleep()
44 t->sec = (os_time_t) (tt / 1000000); in os_get_time()
56 t->sec = now.sec; in os_get_reltime()
62 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
70 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || in os_mktime()
71 sec > 60) in os_mktime()
80 tm.tm_sec = sec; in os_mktime()
110 tm->sec = tm2->tm_sec; in os_gmtime()
/third_party/jerryscript/jerry-core/profiles/
DREADME.md64 …Enables or disables the [Annex B](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-B)…
66 …Enables or disable the [Array](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.4)…
68 …Enables or disables the [Boolean](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15…
70 …Enables or disables the [Date](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.9)…
72 …ive Error Types](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.11.6) (EvalError…
73 …**Note**: The [Error](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.11.2) objec…
75 …Enables or disables the [JSON](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.12…
77 …Enables or disables the [Math](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.8)…
79 …Enables or disables the [Number](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.…
81 …Enables or disables the [RegExp](http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.…
[all …]
/third_party/ltp/testcases/kernel/syscalls/alarm/
Dalarm02.c22 unsigned int sec; member
36 ret = alarm(tc->sec); in verify_alarm()
40 tc->sec, TST_RET); in verify_alarm()
48 tc->sec, tc->str); in verify_alarm()
52 if (tc->sec != TST_RET) { in verify_alarm()
55 tc->sec, TST_RET); in verify_alarm()
62 tc->sec, TST_RET, tc->str); in verify_alarm()
/third_party/ltp/testcases/kernel/io/aio/
Daio01.c99 int i, j, sec, usec; in main() local
146 sec = etv.tv_sec - stv.tv_sec; in main()
150 sec--; in main()
153 nr, sec, usec); in main()
177 sec = etv.tv_sec - stv.tv_sec; in main()
181 sec--; in main()
184 nr, sec, usec); in main()
208 sec = etv.tv_sec - stv.tv_sec; in main()
212 sec--; in main()
215 nr, sec, usec); in main()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dbss_load.c20 unsigned int *sec, unsigned int *usec) in get_bss_load_update_timeout() argument
35 *sec = ((update_timeout / 1000) * 1024) / 1000; in get_bss_load_update_timeout()
45 unsigned int sec, usec; in update_channel_utilization() local
60 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0) in update_channel_utilization()
78 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in update_channel_utilization()
85 unsigned int sec, usec; in bss_load_update_init() local
87 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0) in bss_load_update_init()
90 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in bss_load_update_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dbss_load.c20 unsigned int *sec, unsigned int *usec) in get_bss_load_update_timeout() argument
35 *sec = ((update_timeout / 1000) * 1024) / 1000; in get_bss_load_update_timeout()
45 unsigned int sec, usec; in update_channel_utilization() local
60 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0) in update_channel_utilization()
78 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in update_channel_utilization()
85 unsigned int sec, usec; in bss_load_update_init() local
87 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0) in bss_load_update_init()
90 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in bss_load_update_init()
/third_party/boost/libs/dll/test/
Dlibrary_info_test.cpp28 std::vector<std::string> sec = lib_info.sections(); in main() local
29 std::copy(sec.begin(), sec.end(), std::ostream_iterator<std::string>(std::cout, ", ")); in main()
30 BOOST_TEST(std::find(sec.begin(), sec.end(), "boostdll") != sec.end()); in main()
56 sec = self_info.sections(); in main()
58 BOOST_TEST(std::find(sec.begin(), sec.end(), "boostdll") != sec.end()); in main()
/third_party/openssl/crypto/kdf/
Dtls1_prf.c17 const unsigned char *sec, size_t slen,
29 unsigned char *sec; member
52 OPENSSL_clear_free(kctx->sec, kctx->seclen); in pkey_tls1_prf_cleanup()
68 if (kctx->sec != NULL) in pkey_tls1_prf_ctrl()
69 OPENSSL_clear_free(kctx->sec, kctx->seclen); in pkey_tls1_prf_ctrl()
72 kctx->sec = OPENSSL_memdup(p2, p1); in pkey_tls1_prf_ctrl()
73 if (kctx->sec == NULL) in pkey_tls1_prf_ctrl()
132 if (kctx->sec == NULL) { in pkey_tls1_prf_derive()
140 return tls1_prf_alg(kctx->md, kctx->sec, kctx->seclen, in pkey_tls1_prf_derive()
176 const unsigned char *sec, size_t sec_len, in tls1_prf_P_hash() argument
[all …]
/third_party/boost/boost/thread/
Dxtime.hpp44 xtime_sec_t sec; member
50 boost::posix_time::seconds(static_cast<long>(sec))+ in operator system_time()
65 res.sec=static_cast< ::boost::xtime::xtime_sec_t>(time_since_epoch.total_seconds()); in get_xtime()
83 if (xt1.sec == xt2.sec) in xtime_cmp()
86 return (xt1.sec > xt2.sec) ? 1 : -1; in xtime_cmp()
/third_party/ltp/lib/newlib_tests/
Dtest_timer.c80 long long sec = tst_ts_get_sec(ts); in test_add_sub() local
84 if (sec != 1 || nsec != 0) in test_add_sub()
85 tst_res(TFAIL, "sec = %lli, nsec = %lli", sec, nsec); in test_add_sub()
87 tst_res(TPASS, "sec = %lli, nsec = %lli", sec, nsec); in test_add_sub()
92 sec = tst_ts_get_sec(ts); in test_add_sub()
96 if (sec != 0 || nsec != 999999000) in test_add_sub()
97 tst_res(TFAIL, "sec = %lli, nsec = %lli", sec, nsec); in test_add_sub()
99 tst_res(TPASS, "sec = %lli, nsec = %lli", sec, nsec); in test_add_sub()
/third_party/uboot/u-boot-2020.01/drivers/crypto/fsl/
Djr.c42 ccsr_sec_t *sec = (void *)SEC_ADDR(sec_idx); in start_jr0() local
43 u32 ctpr_ms = sec_in32(&sec->ctpr_ms); in start_jr0()
44 u32 scfgr = sec_in32(&sec->scfgr); in start_jr0()
52 sec_out32(&sec->jrstartr, CONFIG_JRSTARTR_JR0); in start_jr0()
56 sec_out32(&sec->jrstartr, CONFIG_JRSTARTR_JR0); in start_jr0()
62 ccsr_sec_t *sec = (void *)SEC_ADDR(sec_idx); in jr_reset_liodn() local
63 sec_out32(&sec->jrliodnr[0].ls, 0); in jr_reset_liodn()
415 ccsr_sec_t *sec = (void *)SEC_ADDR(sec_idx); in sec_reset_idx() local
416 uint32_t mcfgr = sec_in32(&sec->mcfgr); in sec_reset_idx()
420 sec_out32(&sec->mcfgr, mcfgr); in sec_reset_idx()
[all …]
/third_party/skia/src/core/
DSkBitmapProcState.h119 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument
123 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument
129 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument
131 SkASSERT((uint16_t)sec == sec); in pack_two_shorts()
132 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts()
135 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
/third_party/boost/libs/chrono/example/
Dxtime.cpp53 long sec; member
62 xt.sec = static_cast<long>(duration_cast<seconds>(d).count()); in to_xtime_truncate()
63 xt.usec = static_cast<long>(duration_cast<microseconds>(d - seconds(xt.sec)).count()); in to_xtime_truncate()
72 xt.sec = static_cast<long>(duration_cast<seconds>(d).count()); in to_xtime_round_up()
73 xt.usec = static_cast<unsigned long>(round_up<microseconds>(d - seconds(xt.sec)).count()); in to_xtime_round_up()
80 return seconds(xt.sec) + microseconds(xt.usec); in from_xtime()
85 std::cout << '{' << xt.sec << ',' << xt.usec << "}\n"; in print()
/third_party/lwip/src/apps/sntp/
Dsntp.c170 SNTP_SEC_FRAC_TO_S64(lwip_ntohl((t).sec), lwip_ntohl((t).frac))
177 u32_t sec; member
274 sntp_format_time(s32_t sec) in sntp_format_time() argument
277 ut = (u32_t)((u32_t)sec + DIFF_SEC_1970_2036); in sntp_format_time()
288 s32_t sec; in sntp_process() local
291 sec = (s32_t)lwip_ntohl(timestamps->xmit.sec); in sntp_process()
296 if (timestamps->recv.sec != 0 || timestamps->recv.frac != 0) in sntp_process()
306 step_sec = (dest_sec < sec) ? ((u32_t)sec - (u32_t)dest_sec) in sntp_process()
307 : ((u32_t)dest_sec - (u32_t)sec); in sntp_process()
314 t3 = SNTP_SEC_FRAC_TO_S64(sec, frac); in sntp_process()
[all …]
/third_party/flutter/skia/src/core/
DSkBitmapProcState.h134 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument
138 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument
144 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument
146 SkASSERT((uint16_t)sec == sec); in pack_two_shorts()
147 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts()
150 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
/third_party/grpc/src/core/lib/transport/
Dtimeout_encoding.cc56 static void enc_seconds(char* buffer, int64_t sec) { in enc_seconds() argument
57 sec = round_up_to_three_sig_figs(sec); in enc_seconds()
58 if (sec % 3600 == 0) { in enc_seconds()
59 enc_ext(buffer, sec / 3600, 'H'); in enc_seconds()
60 } else if (sec % 60 == 0) { in enc_seconds()
61 enc_ext(buffer, sec / 60, 'M'); in enc_seconds()
63 enc_ext(buffer, sec, 'S'); in enc_seconds()
/third_party/jerryscript/tests/jerry/
Ddate-setters.js16 var sec = 1000 * ms; variable
17 var min = 60 * sec;
40 assert (d.setSeconds(1) == sec);
43 assert (d.setSeconds(1, 1) == sec + ms);
49 assert (d.setUTCSeconds(1) == sec);
52 assert (d.setUTCSeconds(1, 1) == sec + ms);
61 assert (d.setMinutes(1, 1) == min + sec);
65 assert (d.setMinutes(1, 1, 1) == min + sec + ms);
75 assert (d.setUTCMinutes(1, 1) == min + sec);
79 assert (d.setUTCMinutes(1, 1, 1) == min + sec + ms);
[all …]
/third_party/openssl/test/
Dasn1_time_test.c116 int day, sec; in test_table() local
135 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &atime, &atime))) { in test_table()
139 if (!TEST_int_eq(day, 0) || !TEST_int_eq(sec, 0)) { in test_table()
144 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &gtime, &atime))) { in test_table()
147 } else if (!((td->cmp_result == 0 && TEST_true((day == 0 && sec == 0))) || in test_table()
148 (td->cmp_result == -1 && TEST_true((day < 0 || sec < 0))) || in test_table()
149 (td->cmp_result == 1 && TEST_true((day > 0 || sec > 0))))) { in test_table()
197 day = sec = 0; in test_table()
198 …if (!TEST_true(ASN1_TIME_diff(&day, &sec, ptime, &atime)) || !TEST_int_eq(day, 0) || !TEST_int_eq( in test_table()
199 …("ASN1_TIME_diff(day=%d, sec=%d, %s) after ASN1_TIME_set_string_gmt() failed", day, sec, td->data); in test_table()
[all …]

12345678910>>...38