Home
last modified time | relevance | path

Searched refs:TOX_CONNECTION_NONE (Results 1 – 25 of 31) sorted by relevance

12

/dports/net-im/tox/c-toxcore-0.2.13/auto_tests/
H A Dlan_discovery_test.c26 } while (tox_self_get_connection_status(tox1) == TOX_CONNECTION_NONE || in main()
27 tox_self_get_connection_status(tox2) == TOX_CONNECTION_NONE); in main()
H A Dfriend_request_test.c51 } while (tox_self_get_connection_status(tox1) == TOX_CONNECTION_NONE || in test_friend_request()
52 tox_self_get_connection_status(tox2) == TOX_CONNECTION_NONE); in test_friend_request()
H A Dfile_transfer_test.c199 } while (tox_self_get_connection_status(tox1) == TOX_CONNECTION_NONE || in file_transfer_test()
200 tox_self_get_connection_status(tox2) == TOX_CONNECTION_NONE || in file_transfer_test()
201 tox_self_get_connection_status(tox3) == TOX_CONNECTION_NONE || in file_transfer_test()
202 tox_friend_get_connection_status(tox2, 0, nullptr) == TOX_CONNECTION_NONE || in file_transfer_test()
203 tox_friend_get_connection_status(tox3, 0, nullptr) == TOX_CONNECTION_NONE); in file_transfer_test()
H A Dset_name_test.c56 } while (tox_self_get_connection_status(tox1) == TOX_CONNECTION_NONE || in test_set_name()
57 tox_self_get_connection_status(tox2) == TOX_CONNECTION_NONE); in test_set_name()
H A Dset_status_message_test.c59 } while (tox_self_get_connection_status(tox1) == TOX_CONNECTION_NONE || in test_set_status_message()
60 tox_self_get_connection_status(tox2) == TOX_CONNECTION_NONE); in test_set_status_message()
H A Drun_auto_test.h11 if (tox_self_get_connection_status(toxes[i]) == TOX_CONNECTION_NONE) { in all_connected()
25 if (tox_friend_get_connection_status(toxes[i], j, nullptr) == TOX_CONNECTION_NONE) { in all_friends_connected()
H A Dbootstrap_test.c41 } while (tox_self_get_connection_status(tox_udp) == TOX_CONNECTION_NONE); in main()
H A Dinvalid_tcp_proxy_test.c45 ck_assert_msg(status == TOX_CONNECTION_NONE, in main()
H A Dinvalid_udp_proxy_test.c45 ck_assert_msg(status == TOX_CONNECTION_NONE, in main()
H A Dtcp_relay_test.c54 } while (tox_self_get_connection_status(tox_tcp) == TOX_CONNECTION_NONE); in main()
H A Dconference_simple_test.c31 state->self_online = connection_status != TOX_CONNECTION_NONE; in handle_self_connection_status()
40 state->friend_online = connection_status != TOX_CONNECTION_NONE; in handle_friend_connection_status()
H A Dreconnect_test.c38 if (tox_friend_get_connection_status(toxes[index], j, nullptr) != TOX_CONNECTION_NONE) { in tox_connected_count()
H A Dconference_test.c39 if (connection_status != TOX_CONNECTION_NONE) { in handle_self_connection_status()
51 if (connection_status != TOX_CONNECTION_NONE) { in handle_friend_connection_status()
H A Dconference_av_test.c37 if (connection_status != TOX_CONNECTION_NONE) { in handle_self_connection_status()
49 if (connection_status != TOX_CONNECTION_NONE) { in handle_friend_connection_status()
H A Dsave_load_test.c49 ck_assert_msg(connection_status != TOX_CONNECTION_NONE, "wrong status %d", connection_status); in tox_connection_status()
H A Dconference_invite_merge_test.c109 …} while (tox_friend_get_connection_status(toxes[n], friendnumber, nullptr) == TOX_CONNECTION_NONE); in wait_connected()
/dports/net-im/toxic/toxic-0.11.3/src/
H A Davatars.c123 if (Friends.list[i].connection_status != TOX_CONNECTION_NONE) { in avatar_send_all()
185 if (connection_status == TOX_CONNECTION_NONE) { in on_avatar_friend_connection_status()
H A Dprompt.c502 …if (connection_status != TOX_CONNECTION_NONE && Friends.list[friendnum].connection_status == TOX_C… in prompt_onConnectionChange()
514 } else if (connection_status == TOX_CONNECTION_NONE) { in prompt_onConnectionChange()
565 statusbar->connection = TOX_CONNECTION_NONE; in prompt_init_statusbar()
H A Dfriendlist.c410 if (connection_status == TOX_CONNECTION_NONE) { in friendlist_onConnectionChange()
412 } else if (Friends.list[num].connection_status == TOX_CONNECTION_NONE) { in friendlist_onConnectionChange()
501 Friends.list[i].connection_status = TOX_CONNECTION_NONE; in friendlist_onFriendAdded()
707 if (Friends.list[f_num].connection_status != TOX_CONNECTION_NONE) { in delete_friend()
1148 if (connection_status != TOX_CONNECTION_NONE) { in friendlist_onDraw()
H A Dchat.c249 if (prev_status == TOX_CONNECTION_NONE) { in chat_onConnectionChange()
256 } else if (connection_status == TOX_CONNECTION_NONE) { in chat_onConnectionChange()
1156 … if (ctx->line[0] != '/' && !ctx->self_is_typing && statusbar->connection != TOX_CONNECTION_NONE) { in chat_onKey()
1321 if (connection != TOX_CONNECTION_NONE) { in chat_onDraw()
H A Dbootstrap.c629 bool connected = prompt_selfConnectionStatus() != TOX_CONNECTION_NONE; in do_tox_connection()
/dports/net-im/toxins/toxins-f76a7bd/echobot/
H A Dechobot.c34 case TOX_CONNECTION_NONE: in self_connection_status_cb()
/dports/net-im/toxbot/ToxBot-1e4af05/src/
H A Dtoxbot.c156 case TOX_CONNECTION_NONE: in cb_self_connection_change()
189 if (tox_friend_get_connection_status(m, list[i], NULL) != TOX_CONNECTION_NONE) in cb_friend_connection_change()
/dports/net-im/qTox/qTox-1.17.4/src/core/
H A Dcore.cpp445 bool toxConnected = tox_self_get_connection_status(tox.get()) != TOX_CONNECTION_NONE; in checkConnection()
565 status != TOX_CONNECTION_NONE ? Status::Status::Online : Status::Status::Offline; in onConnectionStatusChanged()
1445 return connection != TOX_CONNECTION_NONE; in isFriendOnline()
/dports/net-im/tox/c-toxcore-0.2.13/testing/
H A Drandom_testing.cc125 if (connection_status == TOX_CONNECTION_NONE) { in handle_friend_connection_status()

12