Lines Matching refs:state
86 ch->state = CHUNK_HEX; /* we get hex first! */ in Curl_httpchunk_init()
97 ch->state = CHUNK_HEX; /* we get hex first! */ in Curl_httpchunk_reset()
112 return ch->state == CHUNK_DONE; in Curl_httpchunk_is_done()
126 if(ch->state == CHUNK_DONE) in httpchunk_readwrite()
128 if(ch->state == CHUNK_FAILED) in httpchunk_readwrite()
139 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
146 switch(ch->state) { in httpchunk_readwrite()
151 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
165 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
174 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
178 ch->state = CHUNK_LF; /* now wait for the CRLF */ in httpchunk_readwrite()
187 ch->state = CHUNK_TRAILER; /* now check for trailers */ in httpchunk_readwrite()
190 ch->state = CHUNK_DATA; in httpchunk_readwrite()
218 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
234 ch->state = CHUNK_POSTLF; in httpchunk_readwrite()
243 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
262 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
280 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
286 ch->state = CHUNK_TRAILER_CR; in httpchunk_readwrite()
293 ch->state = CHUNK_TRAILER_POSTCR; in httpchunk_readwrite()
300 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
312 ch->state = CHUNK_TRAILER_POSTCR; in httpchunk_readwrite()
318 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
329 ch->state = CHUNK_TRAILER; in httpchunk_readwrite()
339 ch->state = CHUNK_STOP; in httpchunk_readwrite()
349 ch->state = CHUNK_DONE; in httpchunk_readwrite()
354 ch->state = CHUNK_FAILED; in httpchunk_readwrite()
448 if(CHUNK_DONE == ctx->ch.state) { in cw_chunked_write()