Lines Matching refs:linep
29 int Curl_str_until(char **linep, struct Curl_str *out, in Curl_str_until() argument
32 char *s = *linep; in Curl_str_until()
34 DEBUGASSERT(linep && *linep && out && max && delim); in Curl_str_until()
46 out->str = *linep; in Curl_str_until()
48 *linep = s; /* point to the first byte after the word */ in Curl_str_until()
54 int Curl_str_word(char **linep, struct Curl_str *out, in Curl_str_word() argument
57 return Curl_str_until(linep, out, max, ' '); in Curl_str_word()
63 int Curl_str_quotedword(char **linep, struct Curl_str *out, in Curl_str_quotedword() argument
66 char *s = *linep; in Curl_str_quotedword()
68 DEBUGASSERT(linep && *linep && out && max); in Curl_str_quotedword()
82 out->str = (*linep) + 1; in Curl_str_quotedword()
84 *linep = s + 1; in Curl_str_quotedword()
90 int Curl_str_single(char **linep, char byte) in Curl_str_single() argument
92 DEBUGASSERT(linep && *linep); in Curl_str_single()
93 if(**linep != byte) in Curl_str_single()
95 (*linep)++; /* move over it */ in Curl_str_single()
101 int Curl_str_singlespace(char **linep) in Curl_str_singlespace() argument
103 return Curl_str_single(linep, ' '); in Curl_str_singlespace()
108 int Curl_str_number(char **linep, size_t *nump, size_t max) in Curl_str_number() argument
111 DEBUGASSERT(linep && *linep && nump); in Curl_str_number()
113 while(ISDIGIT(**linep)) { in Curl_str_number()
114 int n = **linep - '0'; in Curl_str_number()
120 (*linep)++; in Curl_str_number()
128 int Curl_str_newline(char **linep) in Curl_str_newline() argument
130 DEBUGASSERT(linep && *linep); in Curl_str_newline()
131 if(ISNEWLINE(**linep)) { in Curl_str_newline()
132 (*linep)++; in Curl_str_newline()