Lines Matching refs:input
137 cktime_val(char *fmt, char *input) in cktime_val() argument
152 input = p_time(input, LH, UH); in cktime_val()
153 if (!input) in cktime_val()
158 input = p_time(input, LM, UM); in cktime_val()
159 if (!input) in cktime_val()
164 input = p_time(input, LS, US); in cktime_val()
165 if (!input) in cktime_val()
170 input = p_time(input, LH, UH); in cktime_val()
171 if (!input) { in cktime_val()
176 input = p_delim(input, DELIM1); in cktime_val()
177 if (!input) { in cktime_val()
181 input = p_time(input, LM, UM); in cktime_val()
182 if (!input) { in cktime_val()
186 input = p_delim(input, DELIM1); in cktime_val()
187 if (!input) { in cktime_val()
191 input = p_time(input, LS, US); in cktime_val()
192 if (!input) in cktime_val()
197 input = p_time(input, LH, UH); in cktime_val()
198 if (!input) { in cktime_val()
202 input = p_delim(input, DELIM1); in cktime_val()
203 if (!input) { in cktime_val()
207 input = p_time(input, LM, UM); in cktime_val()
208 if (!input) { in cktime_val()
215 input = p_time(input, LH, USH); in cktime_val()
216 if (!input) { in cktime_val()
220 input = p_delim(input, DELIM1); in cktime_val()
221 if (!input) { in cktime_val()
225 input = p_time(input, LM, UM); in cktime_val()
226 if (!input) { in cktime_val()
230 input = p_delim(input, DELIM1); in cktime_val()
231 if (!input) { in cktime_val()
235 input = p_time(input, LS, US); in cktime_val()
236 if (!input) { in cktime_val()
240 input = p_delim(input, BLANK); in cktime_val()
241 if (!input) { in cktime_val()
245 input = p_meridian(input); in cktime_val()
246 if (!input) in cktime_val()
251 input = p_time(input, LH, USH); in cktime_val()
252 if (!input) in cktime_val()
257 input = p_meridian(input); in cktime_val()
258 if (!input) in cktime_val()
263 (void) sscanf(input++, "%1c", <rl); in cktime_val()
267 (void) sscanf(input, "%1c", &dfl); in cktime_val()
268 input++; in cktime_val()
273 if (!(*fmt) && (input) && (*input)) in cktime_val()
352 char input[MAX_INPUT], in cktime() local
366 if (getinput(input)) in cktime()
369 if (!strlen(input)) { in cktime()
377 if (strcmp(input, "?") == 0) { in cktime()
381 if (ckquit && (strcmp(input, "q") == 0)) in cktime()
384 if (cktime_val(fmt, input)) { in cktime()
388 (void) strcpy(tod, input); in cktime()