Lines Matching refs:tok
106 char *tok;
113 tok=strtok_r(netrcbuffer, " \t\n", &tok_buf);
114 while(!done && tok) {
123 if(Curl_raw_equal("machine", tok)) {
124 /* the next tok is the machine name, this is in itself the
132 if(Curl_raw_equal(host, tok)) {
145 state_our_login = Curl_raw_equal(*loginp, tok);
149 *loginp = strdup(tok);
160 *passwordp = strdup(tok);
168 else if(Curl_raw_equal("login", tok))
170 else if(Curl_raw_equal("password", tok))
172 else if(Curl_raw_equal("machine", tok)) {
180 tok = strtok_r(NULL, " \t\n", &tok_buf);
181 } /* while(tok) */