Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/unbound/sldns/
HDparseutil.c321 sldns_parse_escape(uint8_t *ch_p, const char** str_p) in sldns_parse_escape() argument
325 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()
329 val = (uint16_t)(((*str_p)[0] - '0') * 100 + 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()
[all …]
HDparseutil.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-stable/contrib/bmake/
HDstr.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-stable/contrib/ldns/
HDstr2host.c262 parse_escape(uint8_t *ch_p, const char** str_p) in parse_escape() argument
266 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()
270 val = (uint16_t)(((*str_p)[0] - '0') * 100 + in parse_escape()
271 ((*str_p)[1] - '0') * 10 + 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()
[all …]