Lines Matching refs:format
61 * The Computime receiver sends a datagram in the following format every minute
80 static struct format computime_fmt =
108 * convert simple type format
114 struct format *format,
120 if (!Strok(buffer, format->fixed_string)) {
123 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
124 format->field_offsets[O_DAY].length) ||
125 Stoi(&buffer[format->field_offsets[O_MONTH].offset], &clock_time->month,
126 format->field_offsets[O_MONTH].length) ||
127 Stoi(&buffer[format->field_offsets[O_YEAR].offset], &clock_time->year,
128 format->field_offsets[O_YEAR].length) ||
129 Stoi(&buffer[format->field_offsets[O_HOUR].offset], &clock_time->hour,
130 format->field_offsets[O_HOUR].length) ||
131 Stoi(&buffer[format->field_offsets[O_MIN].offset], &clock_time->minute,
132 format->field_offsets[O_MIN].length) ||
133 Stoi(&buffer[format->field_offsets[O_SEC].offset], &clock_time->second,
134 format->field_offsets[O_SEC].length)) {