Home
last modified time | relevance | path

Searched refs:str_p (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/unbound/sldns/
H A Dparseutil.c325 if ((*str_p)[0] && isdigit((unsigned char)(*str_p)[0]) && in sldns_parse_escape()
326 (*str_p)[1] && isdigit((unsigned char)(*str_p)[1]) && in sldns_parse_escape()
327 (*str_p)[2] && isdigit((unsigned char)(*str_p)[2])) { in sldns_parse_escape()
330 ((*str_p)[1] - '0') * 10 + in sldns_parse_escape()
331 ((*str_p)[2] - '0')); in sldns_parse_escape()
337 *str_p += 3; in sldns_parse_escape()
340 } else if ((*str_p)[0] && !isdigit((unsigned char)(*str_p)[0])) { in sldns_parse_escape()
342 *ch_p = (uint8_t)*(*str_p)++; in sldns_parse_escape()
346 *str_p = NULL; in sldns_parse_escape()
354 switch (**str_p) { in sldns_parse_char()
[all …]
H A Dparseutil.h144 int sldns_parse_escape(uint8_t *ch_p, const char** str_p);
152 int sldns_parse_char(uint8_t *ch_p, const char** str_p);
/freebsd-14.2/contrib/bmake/
H A Dstr.c127 const char *str_p; in Substring_Words() local
147 for (str_p = str;; str_p++) { in Substring_Words()
148 char ch = *str_p; in Substring_Words()
160 if (word_start == NULL && str_p[1] == inquote) { in Substring_Words()
166 str_p++; in Substring_Words()
223 if (str_p[1] == '\0') in Substring_Words()
225 ch = *++str_p; in Substring_Words()
229 switch (ch = *++str_p) { in Substring_Words()
234 str_p--; in Substring_Words()
/freebsd-14.2/contrib/ldns/
H A Dstr2host.c266 if ((*str_p)[0] && isdigit((unsigned char)(*str_p)[0]) && in parse_escape()
267 (*str_p)[1] && isdigit((unsigned char)(*str_p)[1]) && in parse_escape()
268 (*str_p)[2] && isdigit((unsigned char)(*str_p)[2])) { in parse_escape()
272 ((*str_p)[2] - '0')); in parse_escape()
278 *str_p += 3; in parse_escape()
281 } else if ((*str_p)[0] && !isdigit((unsigned char)(*str_p)[0])) { in parse_escape()
283 *ch_p = (uint8_t)*(*str_p)++; in parse_escape()
287 *str_p = NULL; in parse_escape()
294 switch (**str_p) { in parse_char()
298 case '\\': *str_p += 1; in parse_char()
[all …]