Home
last modified time | relevance | path

Searched refs:timefield (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c66 time_t timefield; in convert_field() local
74 if (def->payloadLen > sizeof (timefield)) { in convert_field()
78 (void) memcpy(&timefield, field, sizeof (timefield)); in convert_field()
79 timefield = BE_32(timefield); in convert_field()
81 localtime(&timefield)) == 0) { in convert_field()
/illumos-gate/usr/src/cmd/prtfru/
H A Dprtfru.c488 time_t timefield; in print_field() local
544 if (def->payloadLen > sizeof (timefield)) { in print_field()
548 timefield = 0; in print_field()
549 (void) memcpy((((uint8_t *)&timefield) + in print_field()
550 sizeof (timefield) - def->payloadLen), in print_field()
552 if (timefield == 0) { in print_field()
556 if ((tm = gmtime(&timefield)) == NULL) { in print_field()
748 time_t timefield = 0; in print_element() local
751 (void) memcpy((uint8_t *)&timefield, data, 4); in print_element()
752 if (timefield == 0) { in print_element()
[all …]