Lines Matching defs:tok
102 char *tok;
109 tok=strtok_r(netrcbuffer, " \t\n", &tok_buf);
110 while(!done && tok) {
119 if(Curl_raw_equal("machine", tok)) {
120 /* the next tok is the machine name, this is in itself the
128 if(Curl_raw_equal(host, tok)) {
141 state_our_login = Curl_raw_equal(login, tok);
144 strncpy(login, tok, LOGINSIZE-1);
150 strncpy(password, tok, PASSWORDSIZE-1);
154 else if(Curl_raw_equal("login", tok))
156 else if(Curl_raw_equal("password", tok))
158 else if(Curl_raw_equal("machine", tok)) {
166 tok = strtok_r(NULL, " \t\n", &tok_buf);
167 } /* while(tok) */