Lines Matching refs:mstate

149 static void mstate(struct Curl_easy *data, CURLMstate state  in mstate()  function
155 CURLMstate oldstate = data->mstate; in mstate()
185 data->mstate = state; in mstate()
188 if(data->mstate >= MSTATE_PENDING && in mstate()
189 data->mstate < MSTATE_COMPLETED) { in mstate()
192 multi_statename[oldstate], multi_statename[data->mstate], in mstate()
213 #define multistate(x,y) mstate(x,y)
215 #define multistate(x,y) mstate(x,y, __LINE__)
697 multi_statename[data->mstate], in multi_done()
804 premature = (data->mstate < MSTATE_COMPLETED); in curl_multi_remove_handle()
815 data->mstate > MSTATE_DO && in curl_multi_remove_handle()
816 data->mstate < MSTATE_COMPLETED) { in curl_multi_remove_handle()
850 data->mstate = MSTATE_COMPLETED; in curl_multi_remove_handle()
1068 switch(data->mstate) { in multi_getsock()
1126 failf(data, "multi_getsock: unexpected multi state %d", data->mstate); in multi_getsock()
1678 bool connect_timeout = data->mstate < MSTATE_DO;
1687 if(data->mstate == MSTATE_RESOLVING)
1690 else if(data->mstate == MSTATE_CONNECTING)
1710 if(data->mstate > MSTATE_DO) {
2632 if(data->mstate > MSTATE_CONNECT &&
2633 data->mstate < MSTATE_COMPLETED) {
2642 if((data->mstate >= MSTATE_CONNECT) && (data->mstate < MSTATE_COMPLETED) &&
2647 switch(data->mstate) {
2891 if(data->mstate >= MSTATE_CONNECT &&
2892 data->mstate < MSTATE_DO &&
2906 if(data->mstate < MSTATE_COMPLETED) {
2932 else if(data->mstate == MSTATE_CONNECT) {
2949 multistate(data, (data->mstate < MSTATE_DONE) ?
2955 if(MSTATE_COMPLETED == data->mstate) {
3042 if(data->mstate == MSTATE_PENDING) {
3071 DEBUGASSERT(data->mstate == MSTATE_MSGSENT);
4076 DEBUGASSERT(data->mstate == MSTATE_PENDING);