Lines Matching defs:gDeviceNames
30 char *gDeviceNames[MAX_DEVICES + 1];
228 gDeviceNames[0] = NULL;
264 for (int32 i = 0; gDeviceNames[i]; i++) {
265 free(gDeviceNames[i]);
266 gDeviceNames[i] = NULL;
352 for (int32 i = 0; gDeviceNames[i]; i++) {
353 free(gDeviceNames[i]);
354 gDeviceNames[i] = NULL;
364 gDeviceNames[deviceCount] = (char *)malloc(strlen(sDeviceBaseName) + 4);
365 if (gDeviceNames[deviceCount]) {
366 sprintf(gDeviceNames[deviceCount], "%s%" B_PRId32, sDeviceBaseName,
368 TRACE("publishing %s\n", gDeviceNames[deviceCount]);
374 gDeviceNames[deviceCount] = NULL;
375 return (const char **)&gDeviceNames[0];