Lines Matching refs:p

16 nxt_time_parse(const u_char *p, size_t len)  in nxt_time_parse()  argument
36 end = p + len; in nxt_time_parse()
38 while (p < end) { in nxt_time_parse()
39 c = *p++; in nxt_time_parse()
51 while (p < end) { in nxt_time_parse()
52 if (*p != ' ') { in nxt_time_parse()
56 p++; in nxt_time_parse()
59 if (nxt_slow_path(p + 18 > end)) { in nxt_time_parse()
67 day = nxt_int_parse(p, 2); in nxt_time_parse()
71 p += 2; in nxt_time_parse()
73 if (*p == ' ') { in nxt_time_parse()
74 if (nxt_slow_path(p + 18 > end)) { in nxt_time_parse()
81 } else if (*p == '-') { in nxt_time_parse()
88 p++; in nxt_time_parse()
91 switch (*p) { in nxt_time_parse()
94 month = p[1] == 'a' ? 0 : p[2] == 'n' ? 5 : 6; in nxt_time_parse()
102 month = p[2] == 'r' ? 2 : 4; in nxt_time_parse()
106 month = p[1] == 'p' ? 3 : 7; in nxt_time_parse()
129 p += 3; in nxt_time_parse()
135 if (nxt_slow_path(*p++ != ' ')) { in nxt_time_parse()
139 yr = nxt_int_parse(p, 4); in nxt_time_parse()
143 p += 4; in nxt_time_parse()
148 if (nxt_slow_path(*p++ != '-')) { in nxt_time_parse()
152 yr = nxt_int_parse(p, 2); in nxt_time_parse()
156 p += 2; in nxt_time_parse()
163 if (nxt_slow_path(*p++ != ' ')) { in nxt_time_parse()
167 if (p[0] != ' ') { in nxt_time_parse()
170 if (p[1] == ' ') { in nxt_time_parse()
175 p++; in nxt_time_parse()
179 day = nxt_int_parse(p, n); in nxt_time_parse()
183 p += n; in nxt_time_parse()
185 if (nxt_slow_path(p + 14 > end)) { in nxt_time_parse()
193 if (nxt_slow_path(*p++ != ' ')) { in nxt_time_parse()
197 hour = nxt_int_parse(p, 2); in nxt_time_parse()
201 p += 2; in nxt_time_parse()
203 if (nxt_slow_path(*p++ != ':')) { in nxt_time_parse()
207 min = nxt_int_parse(p, 2); in nxt_time_parse()
211 p += 2; in nxt_time_parse()
213 if (nxt_slow_path(*p++ != ':')) { in nxt_time_parse()
217 sec = nxt_int_parse(p, 2); in nxt_time_parse()
223 p += 2; in nxt_time_parse()
225 if (nxt_slow_path(*p++ != ' ')) { in nxt_time_parse()
229 yr = nxt_int_parse(p, 4); in nxt_time_parse()
311 nxt_term_parse(const u_char *p, size_t len, nxt_bool_t seconds) in nxt_term_parse() argument
342 end = p + len; in nxt_term_parse()
344 while (p < end) { in nxt_term_parse()
346 ch = *p++; in nxt_term_parse()
423 if (p < end && *p == 's') { in nxt_term_parse()
427 p++; in nxt_term_parse()