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

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

Completed in 52 milliseconds