Searched refs:tm (Results 1 – 7 of 7) sorted by relevance
| /xnu-12377.61.12/tests/ |
| H A D | host_notifications.c | 40 struct timeval tm; 41 if (gettimeofday(&tm, NULL) != 0 || settimeofday(&tm, NULL) != 0) { 50 struct timeval tm; 51 if (gettimeofday(&tm, NULL) != 0 || settimeofday(&tm, NULL) != 0) {
|
| /xnu-12377.61.12/tests/skywalk/ |
| H A D | skt_flowswitch_ns_reserve.c | 83 struct test_message tm; in reader_thread_bsd() local 96 rv = read(fd, &tm, sizeof(tm)); in reader_thread_bsd() 97 assert(rv == sizeof(tm)); in reader_thread_bsd() 101 rv = recv(ta->ta_sock, &tm, sizeof(tm), MSG_WAITALL); in reader_thread_bsd() 102 assert(rv == sizeof(tm)); in reader_thread_bsd() 105 if (strncmp(tm.tm_string, MESSAGE_STRING, sizeof(tm.tm_string))) { in reader_thread_bsd() 118 struct test_message tm; in skt_flowswitch_ns_bsd() local 178 strncpy(tm.tm_string, MESSAGE_STRING, sizeof(tm.tm_string)); in skt_flowswitch_ns_bsd() 180 rv = write(wsock, &tm, sizeof(tm)); in skt_flowswitch_ns_bsd() 182 rv = send(wsock, &tm, sizeof(tm), 0); in skt_flowswitch_ns_bsd() [all …]
|
| /xnu-12377.61.12/tests/benchmark/ |
| H A D | helpers.c | 22 struct tm local_time; in benchmark_log() 29 struct tm* ret = localtime_r(&now, &local_time); in benchmark_log()
|
| /xnu-12377.61.12/bsd/security/audit/ |
| H A D | audit_bsm_token.c | 528 au_to_file(const char *file, struct timeval tm) in au_to_file() argument 545 timems = tm.tv_usec / 1000; in au_to_file() 548 ADD_U_INT32(dptr, tm.tv_sec); in au_to_file() 1458 struct timeval tm, struct auditinfo_addr *aia) in au_to_header32_ex_tm() argument 1489 timems = tm.tv_usec / 1000; in au_to_header32_ex_tm() 1491 ADD_U_INT32(dptr, tm.tv_sec); in au_to_header32_ex_tm() 1507 struct timeval tm) in au_to_header32_tm() argument 1522 timems = tm.tv_usec / 1000; in au_to_header32_tm() 1524 ADD_U_INT32(dptr, tm.tv_sec); in au_to_header32_tm() 1532 struct timeval tm) in au_to_header64_tm() argument [all …]
|
| H A D | audit_bsm.c | 121 struct timeval tm; in kau_close() local 147 tm.tv_usec = ctime->tv_nsec / 1000; in kau_close() 148 tm.tv_sec = ctime->tv_sec; in kau_close() 150 hdr = au_to_header32_ex_tm(tot_rec_size, event, 0, tm, &ak); in kau_close() 152 hdr = au_to_header32_tm(tot_rec_size, event, 0, tm); in kau_close()
|
| /xnu-12377.61.12/bsd/bsm/ |
| H A D | audit_record.h | 216 token_t *au_to_file(const char *file, struct timeval tm) 220 struct timeval tm) 223 struct timeval tm, struct auditinfo_addr *aia) 226 struct timeval tm)
|
| /xnu-12377.61.12/bsd/net/ |
| H A D | dlil.c | 6134 ifp_if_set_bpf_tap(struct ifnet *ifp, bpf_tap_mode tm, bpf_packet_func f) in ifp_if_set_bpf_tap() argument 6136 #pragma unused(ifp, tm, f) in ifp_if_set_bpf_tap()
|