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

/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dlibteac.c93 static int* hostsIndex= NULL; /* this is sorted by node ID */ variable
280 if (hostsIndex) crFree(hostsIndex);
281 if (!(hostsIndex= (int*)crAlloc(nodeRange*sizeof(int)))) {
286 for (i=0; i<nodeRange; i++) hostsIndex[i]= 0;
287 for (i=0; i<nodeCount; i++) hostsIndex[hosts[i].id]= i;
1154 hosts[hostsIndex[node]].name,rel_rank);

Completed in 671 milliseconds