Lines Matching defs:gDeviceNames
17 char *gDeviceNames[MAX_DEVICES + 1];
117 gDeviceNames[0] = NULL;
151 for (int32 i = 0; gDeviceNames[i]; i++) {
152 free(gDeviceNames[i]);
153 gDeviceNames[i] = NULL;
244 for (int32 i = 0; gDeviceNames[i]; i++) {
245 free(gDeviceNames[i]);
246 gDeviceNames[i] = NULL;
255 gDeviceNames[deviceCount] = (char *)malloc(strlen(sDeviceBaseName) + 4);
256 if (gDeviceNames[deviceCount] != NULL) {
257 sprintf(gDeviceNames[deviceCount], "%s%" B_PRId32, sDeviceBaseName,
259 TRACE("publishing %s\n", gDeviceNames[deviceCount]);
265 gDeviceNames[deviceCount] = NULL;
267 return (const char **)&gDeviceNames[0];