Lines Matching refs:nAgents
137 and it returns the number of agents in the list in the parameter nAgents.
145 unsigned long *nAgents) /* RETURN: number of agents in list */
160 serverListAtom, XA_WINDOW, nAgents,
166 Xcalloc(*nAgents, (unsigned) sizeof(Agent))) == NULL)
172 for (i=0; i < *nAgents; i++) {
199 sizeof(Agent) * (*nAgents - j - 1));
209 if (*nAgents != current) { /* agent list changed */
211 *nAgents = current;
215 PropModeReplace, (unsigned char *) agents, *nAgents);
229 *nAgents = 0;
242 unsigned long nAgents = 0;
253 if ((agentList = GetAgentIdList(dpy, &nAgents)) == NULL)
285 (i < nAgents) && (agentList[i].willingness > 0) && (match == False);