Lines Matching defs:matches
98 static void listPossibleVideoDrivers(char *matches[], int nmatches);
199 listPossibleVideoDrivers(char *matches[], int nmatches)
204 matches[i] = NULL;
210 matches[i++] = xnfstrdup("chips");
211 matches[i++] = xnfstrdup("igs");
213 matches[i++] = xnfstrdup("crime");
214 matches[i++] = xnfstrdup("newport");
240 matches[i++] = xnfstrdup(sbusDeviceTable[dev].driverName);
276 matches[i++] = xnfstrdup("nvidia");
290 matches[i++] = vendorName;
291 matches[i++] = driverName;
301 matches[i++] = xnfstrdup(sbusDriver);
306 i = xf86PciMatchDriver(matches, nmatches);
315 matches[i++] = xnfstrdup("vesa");
319 matches[i++] = xnfstrdup("wsfb");
321 matches[i++] = xnfstrdup("fbdev");
324 matches[i++] = xnfstrdup("vesa");
326 matches[i++] = xnfstrdup("sunffb");
336 matches[i++] = xnfstrdup("wsfb");
382 char *matches[20]; /* If we have more than 20 drivers we're in trouble */
409 listPossibleVideoDrivers(matches, 20);
410 for (; matches[num_matches]; num_matches++) {
412 matches[num_matches], num_matches);
427 ptr->driver = matches[0];
437 if (!copyScreen(slp[0].screen, ptr, i, matches[i]))
452 ptr->driver = matches[0];
453 for (i = 1; matches[i] ; i++) {
454 if (matches[i] != matches[0]) {
455 free(matches[i]);