Home
last modified time | relevance | path

Searched refs:M_CONNECTIONS (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/auxprogs/
Dvalgrind-listener.c66 unsigned M_CONNECTIONS = 0; variable
267 M_CONNECTIONS = atoi_with_bound(strchr(argv[i], '=') + 1, 5000); in main()
268 if (M_CONNECTIONS <= 0 || M_CONNECTIONS > M_CONNECTIONS_MAX) in main()
279 if (M_CONNECTIONS == 0) // nothing specified on command line in main()
280 M_CONNECTIONS = M_CONNECTIONS_DEFAULT; in main()
282 conn_fd = malloc(M_CONNECTIONS * sizeof conn_fd[0]); in main()
283 conn_pollfd = malloc(M_CONNECTIONS * sizeof conn_pollfd[0]); in main()
293 for (i = 0; i < M_CONNECTIONS; i++) in main()
323 res = listen(main_sd,M_CONNECTIONS); in main()
355 for (i = 0; i < M_CONNECTIONS; i++) in main()
[all …]
Dvalgrind-di-server.c120 unsigned M_CONNECTIONS = 0; variable
692 assert(conn_no >= 0 && conn_no < M_CONNECTIONS); in handle_transaction()
1083 M_CONNECTIONS = atoi_with_bound(strchr(argv[i], '=') + 1, 5000); in main()
1084 if (M_CONNECTIONS <= 0 || M_CONNECTIONS > M_CONNECTIONS_MAX) in main()
1095 if (M_CONNECTIONS == 0) // nothing specified on command line in main()
1096 M_CONNECTIONS = M_CONNECTIONS_DEFAULT; in main()
1098 conn_state = my_malloc(M_CONNECTIONS * sizeof conn_state[0]); in main()
1104 memset(conn_state, 0, M_CONNECTIONS * sizeof conn_state[0]); in main()
1133 res = listen(main_sd, M_CONNECTIONS); in main()
1170 for (i = 0; i < M_CONNECTIONS; i++) in main()
[all …]