Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 25 of 98) sorted by relevance

1234

/f-stack/freebsd/kern/
H A Dsubr_terminal.c274 tm->tm_class->tc_fill(tm, &r, in terminal_set_winsize_blank()
403 tm->tm_class->tc_opened(tm, 1); in termtty_open()
412 tm->tm_class->tc_opened(tm, 0); in termtty_close()
435 tm->tm_class->tc_done(tm); in termtty_outwakeup()
438 tm->tm_class->tc_bell(tm); in termtty_outwakeup()
556 tm->tm_class->tc_cngrab(tm); in termcn_cngrab()
564 tm->tm_class->tc_cnungrab(tm); in termcn_cnungrab()
616 tm->tm_class->tc_done(tm); in termcn_cnputc()
638 tm->tm_class->tc_cursor(tm, p); in termteken_cursor()
664 tm->tm_class->tc_copy(tm, r, p); in termteken_copy()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_times.c153 tm.ngx_tm_year, tm.ngx_tm_mon, in ngx_time_update()
154 tm.ngx_tm_mday, tm.ngx_tm_hour, in ngx_time_update()
155 tm.ngx_tm_min, tm.ngx_tm_sec); in ngx_time_update()
162 tm.ngx_tm_year, tm.ngx_tm_hour, in ngx_time_update()
163 tm.ngx_tm_min, tm.ngx_tm_sec, in ngx_time_update()
170 tm.ngx_tm_year, tm.ngx_tm_mon, in ngx_time_update()
171 tm.ngx_tm_mday, tm.ngx_tm_hour, in ngx_time_update()
172 tm.ngx_tm_min, tm.ngx_tm_sec, in ngx_time_update()
180 tm.ngx_tm_hour, tm.ngx_tm_min, tm.ngx_tm_sec); in ngx_time_update()
269 tm.ngx_tm_hour, tm.ngx_tm_min, tm.ngx_tm_sec); in ngx_time_sigsafe_update()
[all …]
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_time.c43 struct tm *t; in ngx_timezone_update()
66 *tm = *t; in ngx_localtime()
70 tm->ngx_tm_mon++; in ngx_localtime()
71 tm->ngx_tm_year += 1900; in ngx_localtime()
76 ngx_libc_localtime(time_t s, struct tm *tm) in ngx_libc_localtime() argument
82 struct tm *t; in ngx_libc_localtime()
85 *tm = *t; in ngx_libc_localtime()
92 ngx_libc_gmtime(time_t s, struct tm *tm) in ngx_libc_gmtime() argument
95 (void) gmtime_r(&s, tm); in ngx_libc_gmtime()
98 struct tm *t; in ngx_libc_gmtime()
[all …]
H A Dngx_time.h19 typedef struct tm ngx_tm_t;
57 void ngx_localtime(time_t s, ngx_tm_t *tm);
58 void ngx_libc_localtime(time_t s, struct tm *tm);
59 void ngx_libc_gmtime(time_t s, struct tm *tm);
/f-stack/dpdk/app/test/
H A Dtest_graph.c161 test_main_t *tm = &test_main; in test_node_worker_source() local
205 test_main_t *tm = &test_main; in test_node0_worker() local
288 test_main_t *tm = &test_main; in test_node1_worker() local
302 tm->test_node[1].idx, in test_node1_worker()
342 test_main_t *tm = &test_main; in test_node2_worker() local
398 test_main_t *tm = &test_main; in test_node3_worker() local
457 test_main_t *tm = &test_main; in test_lookup_functions() local
534 test_main_t *tm = &test_main; in test_node_clone() local
549 tm->test_node[i].idx = in test_node_clone()
570 test_main_t *tm = &test_main; in test_update_edges() local
[all …]
H A Dtest_meter.c266 struct rte_meter_trtcm tm; in tm_test_trtcm_color_blind_check() local
272 if (rte_meter_trtcm_config(&tm, &tp) != 0) in tm_test_trtcm_color_blind_check()
276 &tm, &tp, time, TM_TEST_TRTCM_CBS_DF - 1) in tm_test_trtcm_color_blind_check()
283 if (rte_meter_trtcm_config(&tm, &tp) != 0) in tm_test_trtcm_color_blind_check()
287 &tm, &tp, time, TM_TEST_TRTCM_CBS_DF + 1) in tm_test_trtcm_color_blind_check()
293 if (rte_meter_trtcm_config(&tm, &tp) != 0) in tm_test_trtcm_color_blind_check()
297 &tm, &tp, time, TM_TEST_TRTCM_PBS_DF - 1) in tm_test_trtcm_color_blind_check()
304 if (rte_meter_trtcm_config(&tm, &tp) != 0) in tm_test_trtcm_color_blind_check()
325 struct rte_meter_trtcm_rfc4115 tm; in tm_test_trtcm_rfc4115_color_blind_check() local
497 struct rte_meter_trtcm tm; in tm_test_trtcm_aware_check() local
[all …]
H A Dtest_barrier.c134 uint64_t tm; in plock_test1_lcore() local
152 tm = rte_get_timer_cycles(); in plock_test1_lcore()
170 tm = rte_get_timer_cycles() - tm; in plock_test1_lcore()
175 __func__, lc, i, tm, (long double)tm / i, in plock_test1_lcore()
H A Dtest_rwlock.c298 uint64_t ftm, stm, tm; in try_read_lcore() local
319 tm = rte_get_timer_cycles() - stm; in try_read_lcore()
320 } while (tm < ftm && rc == 0); in try_read_lcore()
323 lcd->stat.tick = tm; in try_read_lcore()
332 uint64_t ftm, stm, tm; in try_write_lcore() local
353 tm = rte_get_timer_cycles() - stm; in try_write_lcore()
354 } while (tm < ftm && rc == 0); in try_write_lcore()
357 lcd->stat.tick = tm; in try_write_lcore()
/f-stack/freebsd/sys/
H A Dterminal.h154 typedef void tc_pre_input_t(struct terminal *tm);
155 typedef void tc_post_input_t(struct terminal *tm);
157 typedef void tc_done_t(struct terminal *tm);
160 typedef int tc_cngetc_t(struct terminal *tm);
162 typedef void tc_cngrab_t(struct terminal *tm);
163 typedef void tc_cnungrab_t(struct terminal *tm);
170 typedef void tc_bell_t(struct terminal *tm);
217 void terminal_set_winsize_blank(struct terminal *tm,
220 void terminal_mute(struct terminal *tm, int yes);
222 void terminal_input_raw(struct terminal *tm, char c);
[all …]
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic.c510 &get_uint32, &p->tm.n_queues); in pmd_parse_args()
518 &get_uint32, &p->tm.qsize[0]); in pmd_parse_args()
525 &get_uint32, &p->tm.qsize[1]); in pmd_parse_args()
532 &get_uint32, &p->tm.qsize[2]); in pmd_parse_args()
539 &get_uint32, &p->tm.qsize[3]); in pmd_parse_args()
546 &get_uint32, &p->tm.qsize[4]); in pmd_parse_args()
553 &get_uint32, &p->tm.qsize[5]); in pmd_parse_args()
560 &get_uint32, &p->tm.qsize[6]); in pmd_parse_args()
567 &get_uint32, &p->tm.qsize[7]); in pmd_parse_args()
573 &get_uint32, &p->tm.qsize[8]); in pmd_parse_args()
[all …]
H A Drte_eth_softnic_tm.c153 memset(&p->soft.tm, 0, sizeof(p->soft.tm)); in tm_hierarchy_init()
2021 p->soft.tm.h.n_nodes++; in pmd_tm_node_add()
2102 p->soft.tm.h.n_nodes--; in pmd_tm_node_delete()
2775 p->params.tm.qsize[1], in hierarchy_blueprints_create()
2776 p->params.tm.qsize[2], in hierarchy_blueprints_create()
2777 p->params.tm.qsize[3], in hierarchy_blueprints_create()
2778 p->params.tm.qsize[4], in hierarchy_blueprints_create()
2779 p->params.tm.qsize[5], in hierarchy_blueprints_create()
2780 p->params.tm.qsize[6], in hierarchy_blueprints_create()
2781 p->params.tm.qsize[7], in hierarchy_blueprints_create()
[all …]
/f-stack/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_tm.c200 tm = &rpst->tm; in ipn3ke_tm_init()
207 tm->h.n_vt_nodes = 0; in ipn3ke_tm_init()
208 tm->h.n_cos_nodes = 0; in ipn3ke_tm_init()
215 tm->tm_started = 1; in ipn3ke_tm_init()
388 tm_id = tm->tm_id; in ipn3ke_pmd_tm_node_type_get()
629 tm_id = tm->tm_id; in ipn3ke_tm_node_capabilities_get()
1189 tm_id = tm->tm_id; in ipn3ke_tm_node_add()
1393 tm_id = tm->tm_id; in ipn3ke_pmd_tm_node_delete()
1518 tm_id = tm->tm_id; in ipn3ke_tm_hierarchy_commit_check()
1935 tm_id = tm->tm_id; in ipn3ke_tm_show()
[all …]
/f-stack/app/redis-5.0.5/src/
H A Dlocaltime.c59 void nolocks_localtime(struct tm *tmp, time_t t, time_t tz, int dst) { in nolocks_localtime()
113 struct tm *aux = localtime(&t); in main()
116 struct tm tm; in main() local
119 nolocks_localtime(&tm,t,timezone,daylight_active); in main()
120 strftime(buf,sizeof(buf),"%d %b %H:%M:%S",&tm); in main()
/f-stack/tools/libxo/tests/gettext/
H A Dgt_01.c93 struct tm tm; in main() local
94 (void) gmtime_r(&tv.tv_sec, &tm); in main()
97 strftime(date, sizeof(date), "%+", &tm); in main()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dldebug.c460 TMS tm; in getfuncname() local
478 case OP_EQ: tm = TM_EQ; break; in getfuncname()
479 case OP_ADD: tm = TM_ADD; break; in getfuncname()
480 case OP_SUB: tm = TM_SUB; break; in getfuncname()
481 case OP_MUL: tm = TM_MUL; break; in getfuncname()
482 case OP_DIV: tm = TM_DIV; break; in getfuncname()
483 case OP_MOD: tm = TM_MOD; break; in getfuncname()
484 case OP_POW: tm = TM_POW; break; in getfuncname()
487 case OP_LT: tm = TM_LT; break; in getfuncname()
488 case OP_LE: tm = TM_LE; break; in getfuncname()
[all …]
H A Dlvm.c114 const TValue *tm; in luaV_gettable() local
127 if (ttisfunction(tm)) { in luaV_gettable()
140 const TValue *tm; in luaV_settable() local
166 if (ttisfunction(tm)) { in luaV_settable()
179 if (ttisnil(tm)) in call_binTM()
181 if (ttisnil(tm)) return 0; in call_binTM()
182 callTM(L, tm, p1, p2, res, 1); in call_binTM()
262 const TValue *tm; in luaV_equalobj_() local
337 const TValue *tm; in luaV_objlen() local
357 callTM(L, tm, rb, rb, ra, 1); in luaV_objlen()
[all …]
H A Dltm.c52 const TValue *tm = luaH_getstr(events, ename); in luaT_gettm() local
54 if (ttisnil(tm)) { /* no tag method? */ in luaT_gettm()
58 else return tm; in luaT_gettm()
/f-stack/freebsd/amd64/amd64/
H A Defirt_machdep.c337 struct efi_tm tm; in efi_time_sysctl_handler() local
344 error = efi_get_time(&tm); in efi_time_sysctl_handler()
347 "Sec %d\n", tm.tm_year, tm.tm_mon, tm.tm_mday, tm.tm_hour, in efi_time_sysctl_handler()
348 tm.tm_min, tm.tm_sec); in efi_time_sysctl_handler()
/f-stack/dpdk/drivers/net/qede/
H A Dqede_regs.c203 struct tm *tm; in qede_set_fw_dump_file_name() local
206 tm = localtime(&ltime); in qede_set_fw_dump_file_name()
209 tm->tm_mon + 1, (int)tm->tm_mday, 1900 + tm->tm_year, in qede_set_fw_dump_file_name()
210 tm->tm_hour, tm->tm_min, tm->tm_sec); in qede_set_fw_dump_file_name()
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlvm.c111 const TValue *tm; in luaV_gettable() local
124 if (ttisfunction(tm)) { in luaV_gettable()
125 callTMres(L, val, tm, t, key); in luaV_gettable()
138 const TValue *tm; in luaV_settable() local
153 if (ttisfunction(tm)) { in luaV_settable()
154 callTM(L, tm, t, key, val); in luaV_settable()
168 if (ttisnil(tm)) in call_binTM()
170 if (ttisnil(tm)) return 0; in call_binTM()
171 callTMres(L, res, tm, p1, p2); in call_binTM()
256 const TValue *tm; in luaV_equalval() local
[all …]
H A Dltm.c51 const TValue *tm = luaH_getstr(events, ename); in luaT_gettm() local
53 if (ttisnil(tm)) { /* no tag method? */ in luaT_gettm()
57 else return tm; in luaT_gettm()
/f-stack/dpdk/app/test-pmd/
H A Dcmdline_tm.c203 cmdline_fixed_string_t tm; member
216 tm, "tm");
347 cmdline_fixed_string_t tm; member
362 tm, "tm");
497 cmdline_fixed_string_t tm; member
512 tm, "tm");
620 cmdline_fixed_string_t tm; member
739 cmdline_fixed_string_t tm; member
817 cmdline_fixed_string_t tm; member
841 tm, "tm");
[all …]
/f-stack/tools/libutil/
H A Dlogin_times.c110 in_ltm(const login_time_t *ltm, struct tm *tt, time_t *ends) in in_ltm()
145 in_ltms(const login_time_t *ltm, struct tm *tm, time_t *t) in in_ltms() argument
150 if (in_ltm(ltm + i, tm, t)) in in_ltms()
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-cn3010-evb-hs5.c81 static int validate_tm_struct(struct tm * tms) in validate_tm_struct()
110 struct tm tms; in cvmx_rtc_ds1337_read()
114 memset(&tms, 0, sizeof(struct tm)); in cvmx_rtc_ds1337_read()
156 struct tm tms; in cvmx_rtc_ds1337_write()
/f-stack/freebsd/security/audit/
H A Dbsm_token.c594 timems = tm.tv_usec/1000; in au_to_file()
597 ADD_U_INT32(dptr, tm.tv_sec); in au_to_file()
1439 struct timeval tm) in au_to_header32_tm() argument
1454 timems = tm.tv_usec/1000; in au_to_header32_tm()
1456 ADD_U_INT32(dptr, tm.tv_sec); in au_to_header32_tm()
1501 timems = tm.tv_usec/1000; in au_to_header32_ex_tm()
1511 struct timeval tm) in au_to_header64_tm() argument
1526 timems = tm.tv_usec/1000; in au_to_header64_tm()
1539 struct timeval tm; in au_to_header32_ex() local
1556 struct timeval tm; in au_to_header32() local
[all …]

1234