Lines Matching refs:tok
115 char *tok;
122 tok=strtok_r(netrcbuffer, " \t\n", &tok_buf);
123 while(!done && tok) {
132 if(Curl_raw_equal("machine", tok)) {
133 /* the next tok is the machine name, this is in itself the
141 if(Curl_raw_equal(host, tok)) {
154 state_our_login = Curl_raw_equal(login, tok);
157 strncpy(login, tok, LOGINSIZE-1);
163 strncpy(password, tok, PASSWORDSIZE-1);
167 else if(Curl_raw_equal("login", tok))
169 else if(Curl_raw_equal("password", tok))
171 else if(Curl_raw_equal("machine", tok)) {
183 tok = strtok_r(NULL, " \t\n", &tok_buf);
184 } /* while(tok) */