Home
last modified time | relevance | path

Searched refs:TFTP_NO_ERROR (Results 1 – 9 of 9) sorted by relevance

/system/ulib/tftp/
A Dtftp-fuzztest.cpp16 if (tftp_init(&session, sess_buf, sizeof(tftp_session)) != TFTP_NO_ERROR) { in LLVMFuzzerTestOneInput()
25 return TFTP_NO_ERROR; in LLVMFuzzerTestOneInput()
28 return TFTP_NO_ERROR; in LLVMFuzzerTestOneInput()
31 return TFTP_NO_ERROR; in LLVMFuzzerTestOneInput()
37 if (tftp_session_set_file_interface(session, &ifc) != TFTP_NO_ERROR) { in LLVMFuzzerTestOneInput()
65 if (tftp_set_options(session, block_size_ptr, timeout_ptr, window_size_ptr) != TFTP_NO_ERROR) { in LLVMFuzzerTestOneInput()
A Dtftp-test.cpp744 return TFTP_NO_ERROR; in mock_open_write()
1393 return TFTP_NO_ERROR; in test_tftp_receive_data_block_wrapping()
1463 ASSERT_EQ(TFTP_NO_ERROR, status, "receive error"); in test_tftp_send_data_receive_ack()
1476 EXPECT_EQ(TFTP_NO_ERROR, status, "receive error"); in test_tftp_send_data_receive_ack()
1509 ASSERT_EQ(TFTP_NO_ERROR, status, "receive error"); in test_tftp_send_data_receive_final_ack()
1677 return TFTP_NO_ERROR; in test_tftp_send_data_receive_ack_block_wrapping()
1697 return TFTP_NO_ERROR; in test_tftp_send_data_receive_ack_block_wrapping()
1746 return TFTP_NO_ERROR; in test_tftp_send_data_receive_ack_skip_block_wrap()
1769 return TFTP_NO_ERROR; in test_tftp_send_data_receive_ack_skip_block_wrap()
1788 return TFTP_NO_ERROR; in test_tftp_send_data_receive_ack_skip_block_wrap()
[all …]
A Dtftp-file-test.cpp90 return TFTP_NO_ERROR; in file_open_write()
112 return TFTP_NO_ERROR; in file_read()
131 return TFTP_NO_ERROR; in file_write()
200 return TFTP_NO_ERROR; in transport_send()
263 ASSERT_EQ(status, TFTP_NO_ERROR, "unable to initialize a tftp session"); in run_client_test()
274 ASSERT_EQ(status, TFTP_NO_ERROR, "could not set file interface"); in run_client_test()
285 ASSERT_EQ(status, TFTP_NO_ERROR, "could not set transport interface"); in run_client_test()
340 ASSERT_EQ(status, TFTP_NO_ERROR, "unable to initiate a tftp session"); in run_server_test()
351 ASSERT_EQ(status, TFTP_NO_ERROR, "could not set file interface"); in run_server_test()
361 ASSERT_EQ(status, TFTP_NO_ERROR, "could not set transport interface"); in run_server_test()
[all …]
A Dtftp-example.c66 return TFTP_NO_ERROR; in connection_send()
189 return TFTP_NO_ERROR; in open_write_file()
200 return TFTP_NO_ERROR; in read_file()
213 return TFTP_NO_ERROR; in write_file()
240 if (send_result == TFTP_NO_ERROR) { in tftp_send_file_wrapper()
264 } while (status == TFTP_NO_ERROR || status == TFTP_ERR_TIMED_OUT); in tftp_receive_file_wrapper()
A Dtftp.c219 return TFTP_NO_ERROR; in tx_data()
243 return TFTP_NO_ERROR; in tftp_init()
253 return TFTP_NO_ERROR; in tftp_session_set_file_interface()
262 return TFTP_NO_ERROR; in tftp_session_set_transport_interface()
288 return TFTP_NO_ERROR; in tftp_set_options()
408 return TFTP_NO_ERROR; in tftp_generate_request()
655 return TFTP_NO_ERROR; in tftp_handle_request()
762 return TFTP_NO_ERROR; in tftp_handle_data()
793 return TFTP_NO_ERROR; in tftp_handle_ack()
953 return TFTP_NO_ERROR; in tftp_handle_oack()
[all …]
/system/core/netsvc/
A Dtftp.c324 return TFTP_NO_ERROR; in paver_open_write()
356 return TFTP_NO_ERROR; in file_open_write()
361 if (status != TFTP_NO_ERROR) { in file_open_write()
368 return TFTP_NO_ERROR; in file_open_write()
383 return TFTP_NO_ERROR; in file_read()
398 return TFTP_NO_ERROR; in file_write()
415 return TFTP_NO_ERROR; in file_write()
419 return TFTP_NO_ERROR; in file_write()
454 return TFTP_NO_ERROR; in transport_send()
466 if (ret != TFTP_NO_ERROR) { in initialize_connection()
[all …]
/system/host/netprotocol/
A Dnetcp.c73 return TFTP_NO_ERROR; in file_open_write()
83 return TFTP_NO_ERROR; in file_read()
93 return TFTP_NO_ERROR; in file_write()
130 return TFTP_NO_ERROR; in transport_send()
197 if (tftp_init(&session, session_data, session_data_sz) != TFTP_NO_ERROR) { in transfer_file()
/system/host/bootserver/
A Dtftp.c84 return TFTP_NO_ERROR; in file_read()
129 return TFTP_NO_ERROR; in transport_send()
238 if (tftp_init(&session, session_data, session_data_sz) != TFTP_NO_ERROR) { in tftp_xfer()
/system/ulib/tftp/include/tftp/
A Dtftp.h46 TFTP_NO_ERROR = 0, enumerator

Completed in 22 milliseconds