Lines Matching defs:tok
87 char *tok;
96 tok = netrcbuffer;
97 while(tok) {
98 while(ISBLANK(*tok))
99 tok++;
100 /* tok is first non-space letter */
101 if(!*tok || (*tok == '#'))
106 quoted = (*tok == '\"');
108 tok_end = tok;
117 char *store = tok;
163 if(strcasecompare("macdef", tok)) {
169 else if(strcasecompare("machine", tok)) {
170 /* the next tok is the machine name, this is in itself the
176 else if(strcasecompare("default", tok)) {
182 if(!strlen(tok)) {
187 if(strcasecompare(host, tok)) {
200 state_our_login = !Curl_timestrcmp(login, tok);
202 else if(!login || Curl_timestrcmp(login, tok)) {
207 login = strdup(tok);
218 && (!password || Curl_timestrcmp(password, tok))) {
223 password = strdup(tok);
232 else if(strcasecompare("login", tok))
234 else if(strcasecompare("password", tok))
236 else if(strcasecompare("machine", tok)) {
243 tok = ++tok_end;