Lines Matching refs:result

397   CURLcode result;
404 result = tftp_set_timeouts(state);
405 if(result)
406 return result;
413 CURLcode result;
420 result = tftp_set_timeouts(state);
421 if(result)
422 return result;
434 CURLcode result = CURLE_OK;
449 return result;
467 result = Curl_urldecode(&state->data->state.up.path[1], 0,
469 if(result)
470 return result;
493 result = tftp_option_add(state, &sbytes,
496 if(result == CURLE_OK)
497 result = tftp_option_add(state, &sbytes,
502 if(result == CURLE_OK)
503 result = tftp_option_add(state, &sbytes,
506 if(result == CURLE_OK)
507 result = tftp_option_add(state, &sbytes,
512 if(result == CURLE_OK)
513 result = tftp_option_add(state, &sbytes,
516 if(result == CURLE_OK)
517 result = tftp_option_add(state, &sbytes,
520 if(result != CURLE_OK) {
542 result = tftp_connect_for_tx(state, event);
545 result = tftp_connect_for_rx(state, event);
550 result = tftp_connect_for_tx(state, event);
554 result = tftp_connect_for_rx(state, event);
566 return result;
707 CURLcode result = CURLE_OK;
735 result = CURLE_SEND_ERROR;
747 result = CURLE_SEND_ERROR;
751 return result;
776 result = Curl_fillreadbuffer(data, state->blksize - state->sbytes, &cb);
777 if(result)
778 return result;
840 return result;
852 CURLcode result = CURLE_OK;
857 result = CURLE_TFTP_NOTFOUND;
860 result = CURLE_TFTP_PERM;
863 result = CURLE_REMOTE_DISK_FULL;
867 result = CURLE_TFTP_ILLEGAL;
870 result = CURLE_TFTP_UNKNOWNID;
873 result = CURLE_REMOTE_FILE_EXISTS;
876 result = CURLE_TFTP_NOSUCHUSER;
879 result = CURLE_OPERATION_TIMEDOUT;
882 result = CURLE_COULDNT_CONNECT;
885 result = CURLE_ABORTED_BY_CALLBACK;
890 result = CURLE_OK;
892 return result;
905 CURLcode result = CURLE_OK;
911 result = tftp_send_first(state, event);
915 result = tftp_rx(state, event);
919 result = tftp_tx(state, event);
927 result = CURLE_TFTP_ILLEGAL;
931 return result;
1060 CURLcode result = CURLE_OK;
1072 result = tftp_translate_code(state->error);
1074 return result;
1103 CURLcode result = CURLE_OK;
1136 result = Curl_client_write(data, CLIENTWRITE_BODY,
1139 if(result) {
1141 return result;
1158 result = tftp_parse_option_ack(state,
1161 if(result)
1162 return result;
1177 return result;
1225 CURLcode result = CURLE_OK;
1237 result = tftp_state_machine(state, event);
1238 if(result)
1239 return result;
1257 result = tftp_receive_packet(data);
1258 if(result)
1259 return result;
1260 result = tftp_state_machine(state, state->event);
1261 if(result)
1262 return result;
1271 return result;
1283 CURLcode result;
1284 result = tftp_multi_statemach(data, dophase_done);
1289 else if(!result) {
1294 result = CURLE_ABORTED_BY_CALLBACK;
1296 result = Curl_speedcheck(data, Curl_now());
1298 return result;
1310 CURLcode result = CURLE_OK;
1316 result = tftp_state_machine(state, TFTP_EVENT_INIT);
1318 if((state->state == TFTP_STATE_FIN) || result)
1319 return result;
1326 return result;
1343 CURLcode result;
1349 result = tftp_connect(data, done);
1350 if(result)
1351 return result;
1358 result = tftp_perform(data, done);
1362 if(!result)
1364 result = tftp_translate_code(state->error);
1366 return result;