Lines Matching defs:tok
116 char *tok;
123 tok=strtok_r(netrcbuffer, " \t\n", &tok_buf);
124 while(!done && tok) {
133 if(Curl_raw_equal("machine", tok)) {
134 /* the next tok is the machine name, this is in itself the
140 else if(Curl_raw_equal("default", tok)) {
146 if(Curl_raw_equal(host, tok)) {
159 state_our_login = Curl_raw_equal(*loginp, tok);
163 *loginp = strdup(tok);
174 *passwordp = strdup(tok);
182 else if(Curl_raw_equal("login", tok))
184 else if(Curl_raw_equal("password", tok))
186 else if(Curl_raw_equal("machine", tok)) {
194 tok = strtok_r(NULL, " \t\n", &tok_buf);
195 } /* while(tok) */