Searched refs:gDeviceNames (Results 1 - 25 of 29) sorted by path

12

/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DDriver.cpp22 char *gDeviceNames[MAX_DEVICES + 1] = { 0 }; variable
102 gDeviceNames[gNumCards] = strdup(name);
129 free(gDeviceNames[i]);
130 gDeviceNames[i] = NULL;
145 if (gDeviceNames[i] && !strcmp(gDeviceNames[i], name)) {
203 if (gDeviceNames[i])
204 TRACE("%s\n", gDeviceNames[i]);
207 return (const char **)&gDeviceNames[0];
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DDriver.cpp22 char* gDeviceNames[MAX_DEVICES + 1]; variable
130 gDeviceNames[0] = NULL;
161 for (int32 i = 0; gDeviceNames[i]; i++) {
162 free(gDeviceNames[i]);
163 gDeviceNames[i] = NULL;
181 if (strcmp(gDeviceNames[i], name) == 0) {
238 for (int32 i = 0; gDeviceNames[i]; i++) {
239 free(gDeviceNames[i]);
240 gDeviceNames[i] = NULL;
248 gDeviceNames[deviceCoun
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/radeon_hd/
H A Ddevice.cpp114 for (id = 0; (thisName = gDeviceNames[id]) != NULL; id++) {
210 if (user_strlcpy((char*)buffer, gDeviceNames[info->id],
H A Ddriver.h33 extern char* gDeviceNames[];
H A Ddriver.cpp664 char* gDeviceNames[MAX_CARDS + 1]; variable
703 return (const char**)gDeviceNames;
764 gDeviceNames[found] = strdup(name);
765 if (gDeviceNames[found] == NULL)
770 free(gDeviceNames[found]);
794 gDeviceNames[found] = NULL;
817 for (int32 index = 0; (name = gDeviceNames[index]) != NULL; index++) {
833 for (index = 0; gDeviceNames[index] != NULL; index++) {
834 if (!strcmp(name, gDeviceNames[index]))
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Ddriver.h17 extern char* gDeviceNames[];
H A Ddevice.cpp46 for (id = 0; (thisName = gDeviceNames[id]) != NULL; id++) {
122 if (user_strlcpy((char*)buffer, gDeviceNames[info->id],
H A Ddriver.cpp37 char* gDeviceNames[MAX_CARDS + 1]; variable
47 return (const char**)gDeviceNames;
85 gDeviceNames[0] = strdup("graphics/vesa");
86 if (gDeviceNames[0] == NULL) {
91 gDeviceNames[1] = NULL;
113 for (int32 index = 0; (name = gDeviceNames[index]) != NULL; index++) {
127 for (index = 0; gDeviceNames[index] != NULL; index++) {
128 if (!strcmp(name, gDeviceNames[index]))
/haiku/src/add-ons/kernel/drivers/joystick/emuxkigameport/
H A Ddriver.cpp31 char *gDeviceNames[MAX_CARDS + 1]; variable
71 gDeviceNames[num_names++] = card->joy.name1;
72 gDeviceNames[num_names] = NULL;
186 return (const char **)gDeviceNames;
194 for (i = 0; gDeviceNames[i]; i++)
195 if (!strcmp (gDeviceNames[i], name))
/haiku/src/add-ons/kernel/drivers/bus/usb/
H A Dusb_raw.cpp53 static char **gDeviceNames = NULL; variable
975 if (gDeviceNames) {
976 for (int32 i = 1; gDeviceNames[i]; i++)
977 free(gDeviceNames[i]);
978 free(gDeviceNames);
979 gDeviceNames = NULL;
991 if (gDeviceNames) {
992 for (int32 i = 0; gDeviceNames[i]; i++)
993 free(gDeviceNames[i]);
994 free(gDeviceNames);
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/3dfx/
H A Ddriver.cpp76 static char* gDeviceNames[MAX_DEVICES + 1]; variable
346 gDeviceNames[count] = di.name;
355 gDeviceNames[count] = NULL; // terminate list with null pointer
376 return (const char**)gDeviceNames; // return list of supported devices
384 while (gDeviceNames[i] != NULL) {
385 if (strcmp(name, gDeviceNames[i]) == 0)
408 while (gDeviceNames[i] != NULL && (strcmp(name, gDeviceNames[i]) != 0))
411 if (gDeviceNames[i] == NULL)
/haiku/src/add-ons/kernel/drivers/graphics/ati/
H A Ddriver.cpp170 static char* gDeviceNames[MAX_DEVICES + 1]; variable
979 gDeviceNames[count] = di.name;
988 gDeviceNames[count] = NULL; // terminate list with null pointer
1009 return (const char**)gDeviceNames; // return list of supported devices
1017 while (gDeviceNames[i] != NULL) {
1018 if (strcmp(name, gDeviceNames[i]) == 0)
1041 while (gDeviceNames[i] != NULL && (strcmp(name, gDeviceNames[i]) != 0))
1044 if (gDeviceNames[i] == NULL)
/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/
H A Ddevice.cpp46 for (id = 0; (thisName = gDeviceNames[id]) != NULL; id++) {
122 if (user_strlcpy((char*)buffer, gDeviceNames[info->id],
H A Ddriver.cpp37 char* gDeviceNames[MAX_CARDS + 1]; variable
46 return (const char**)gDeviceNames;
75 gDeviceNames[0] = strdup("graphics/framebuffer");
76 if (gDeviceNames[0] == NULL) {
77 free(gDeviceNames[0]);
81 gDeviceNames[1] = NULL;
97 for (int32 index = 0; (name = gDeviceNames[index]) != NULL; index++) {
111 for (index = 0; gDeviceNames[index] != NULL; index++) {
112 if (!strcmp(name, gDeviceNames[index]))
H A Ddriver.h18 extern char* gDeviceNames[];
/haiku/src/add-ons/kernel/drivers/graphics/intel_810/
H A Ddriver.cpp75 static char* gDeviceNames[MAX_DEVICES + 1]; variable
488 gDeviceNames[count] = di.name;
499 gDeviceNames[count] = NULL; // terminate list with null pointer
521 return (const char**)gDeviceNames; // return list of supported devices
529 while (gDeviceNames[i] != NULL) {
530 if (strcmp(name, gDeviceNames[i]) == 0)
553 while (gDeviceNames[i] != NULL && (strcmp(name, gDeviceNames[i]) != 0))
556 if (gDeviceNames[i] == NULL)
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/
H A Ddevice.cpp201 for (id = 0; (thisName = gDeviceNames[id]) != NULL; id++) {
300 if (user_strlcpy((char* )buffer, gDeviceNames[info->id],
H A Ddriver.cpp199 char* gDeviceNames[MAX_CARDS + 1]; variable
321 return (const char**)gDeviceNames;
392 gDeviceNames[found] = strdup(name);
393 if (gDeviceNames[found] == NULL)
398 free(gDeviceNames[found]);
419 gDeviceNames[found] = NULL;
441 for (int32 index = 0; (name = gDeviceNames[index]) != NULL; index++) {
457 for (index = 0; gDeviceNames[index] != NULL; index++) {
458 if (!strcmp(name, gDeviceNames[index]))
H A Ddriver.h20 extern char* gDeviceNames[];
/haiku/src/add-ons/kernel/drivers/graphics/s3/
H A Ddriver.cpp108 static char* gDeviceNames[MAX_DEVICES + 1]; variable
646 gDeviceNames[count] = di.name;
654 gDeviceNames[count] = NULL; // terminate list with null pointer
675 return (const char**)gDeviceNames; // return list of supported devices
683 while (gDeviceNames[index] != NULL) {
684 if (strcmp(name, gDeviceNames[index]) == 0)
708 while (gDeviceNames[index] != NULL && (strcmp(name, gDeviceNames[index]) != 0))
711 if (gDeviceNames[index] == NULL)
/haiku/src/add-ons/kernel/drivers/network/ether/pegasus/
H A Ddevlist.c23 char **gDeviceNames = NULL; variable
93 ASSERT(gDeviceNames == NULL);
94 gDeviceNames = malloc(sizeof(char *) * (sDeviceCount + 1));
101 if (gDeviceNames != NULL) {
103 for (i = 0; gDeviceNames [i] != NULL; i++) {
104 free(gDeviceNames[i]);
107 free(gDeviceNames);
108 gDeviceNames = NULL;
119 ASSERT(gDeviceNames != NULL);
122 gDeviceNames[
[all...]
H A Ddriver.c812 if (gDeviceNames != NULL)
816 ASSERT(gDeviceNames != NULL);
817 return (const char **) gDeviceNames;
H A Ddriver.h155 extern char **gDeviceNames;
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A DDriver.cpp30 char *gDeviceNames[MAX_DEVICES + 1]; variable
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[deviceCoun
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DDriver.cpp28 char *gDeviceNames[MAX_DEVICES + 1]; variable
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[deviceCoun
[all...]

Completed in 170 milliseconds

12