Lines Matching +full:12 +full:v

43   { 9, "september" }, { 10, "october" }, { 11, "november" }, { 12, "december" },
82 vary_append(struct vary *v, char *arg) in vary_append() argument
86 if (v) { in vary_append()
87 result = v; in vary_append()
88 while (v->next) in vary_append()
89 v = v->next; in vary_append()
90 nextp = &v->next; in vary_append()
101 static int mdays[12] = { 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
119 else if (t->tm_mon >= 0 && t->tm_mon < 12) in daysinmonth()
164 if (!adjyear(t, '+', (t->tm_mon + val) / 12, 0)) in adjmon()
166 val %= 12; in adjmon()
169 t->tm_mon -= 12; in adjmon()
181 if (!adjyear(t, '-', val / 12, 0)) in adjmon()
183 val %= 12; in adjmon()
187 val -= 12; in adjmon()
194 if (val > 12 || val < 1) in adjmon()
199 /* e.g., -v-1m on March, 31 is the last day of February in common sense */ in adjmon()
265 val *= 7; /* "-v+5w" == "5 weeks in the future" */ in adjwday()
274 val *= 7; /* "-v-5w" == "5 weeks ago" */ in adjwday()
415 vary_apply(const struct vary *v, struct tm *t) in vary_apply() argument
423 for (; v; v = v->next) { in vary_apply()
424 type = *v->arg; in vary_apply()
425 arg = v->arg; in vary_apply()
432 return v; in vary_apply()
441 return v; in vary_apply()
446 return v; in vary_apply()
448 return v; in vary_apply()
457 return v; in vary_apply()
461 return v; in vary_apply()
465 return v; in vary_apply()
470 return v; in vary_apply()
475 return v; in vary_apply()
480 return v; in vary_apply()
485 return v; in vary_apply()
488 return v; in vary_apply()
496 vary_destroy(struct vary *v) in vary_destroy() argument
500 while (v) { in vary_destroy()
501 n = v->next; in vary_destroy()
502 free(v); in vary_destroy()
503 v = n; in vary_destroy()