Lines Matching defs:gDeviceNames
28 char *gDeviceNames[MAX_DEVICES + 1];
187 gDeviceNames[0] = NULL;
222 for (int32 i = 0; gDeviceNames[i]; i++) {
223 free(gDeviceNames[i]);
224 gDeviceNames[i] = NULL;
310 for (int32 i = 0; gDeviceNames[i]; i++) {
311 free(gDeviceNames[i]);
312 gDeviceNames[i] = NULL;
322 gDeviceNames[deviceCount] = (char *)malloc(strlen(sDeviceBaseName) + 4);
323 if (gDeviceNames[deviceCount]) {
324 sprintf(gDeviceNames[deviceCount], "%s%" B_PRId32, sDeviceBaseName, i);
325 TRACE("publishing %s\n", gDeviceNames[deviceCount]);
331 gDeviceNames[deviceCount] = NULL;
332 return (const char **)&gDeviceNames[0];