Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/sldns/
H A Dparseutil.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 …]
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/contrib/bmake/
H A Dstr.c131 const char *str_p; in Substring_Words() local
151 for (str_p = str;; str_p++) { in Substring_Words()
152 char ch = *str_p; in Substring_Words()
164 if (word_start == NULL && str_p[1] == inquote) { in Substring_Words()
170 str_p++; in Substring_Words()
227 if (str_p[1] == '\0') in Substring_Words()
229 ch = *++str_p; in Substring_Words()
233 switch (ch = *++str_p) { in Substring_Words()
238 str_p--; in Substring_Words()
/freebsd/contrib/ldns/
H A Dstr2host.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 …]