Lines Matching refs:agentList
149 AgentIdList agentList = NULL;
165 if ((agentList = (AgentIdList)
194 /* insert the agents into agentList in "most to least willing" order */
195 while ((j < current) && (agentList[j].willingness > *agentWillingness))
198 (void) bcopy((char *) &agentList[j], (char *) &agentList[j+1],
201 agentList[j].id = agents[current++];
202 agentList[j].willingness = *agentWillingness;
223 return(agentList);
227 if (agentList != NULL) XFree(agentList);
243 AgentIdList agentList = NULL;
253 if ((agentList = GetAgentIdList(dpy, &nAgents)) == NULL)
255 /* NOTE: agentList was sorted most to least willing by GetAgentIdList */
256 if (agentList[i].willingness <= 0) { /* Is there a willing agent? */
285 (i < nAgents) && (agentList[i].willingness > 0) && (match == False);
291 if (GetProperty(dpy, agentList[i].id,
317 if (GetProperty(dpy, agentList[i].id,
327 if (GetProperty(dpy, agentList[i].id,
350 if (agentList != NULL) XFree(agentList);