/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/ |
H A D | driver.cpp | 37 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 D | driver.h | 18 extern char* gDeviceNames[];
|
H A D | device.cpp | 46 for (id = 0; (thisName = gDeviceNames[id]) != NULL; id++) { 122 if (user_strlcpy((char*)buffer, gDeviceNames[info->id],
|
/haiku/src/add-ons/kernel/drivers/network/ether/pegasus/ |
H A D | devlist.c | 23 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...] |
/haiku/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | driver.h | 17 extern char* gDeviceNames[];
|
H A D | driver.cpp | 37 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]))
|
H A D | device.cpp | 46 for (id = 0; (thisName = gDeviceNames[id]) != NULL; id++) { 122 if (user_strlcpy((char*)buffer, gDeviceNames[info->id],
|
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | Driver.cpp | 22 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/audio/ac97/sis7018/ |
H A D | Driver.cpp | 22 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/network/ether/usb_davicom/ |
H A D | Driver.cpp | 28 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...] |
/haiku/src/add-ons/kernel/drivers/network/ether/usb_rndis/ |
H A D | Driver.cpp | 17 char *gDeviceNames[MAX_DEVICES + 1]; variable 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[deviceCoun [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | Driver.cpp | 30 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/ports/usb_serial/ |
H A D | Driver.cpp | 21 char *gDeviceNames[DEVICES_COUNT + 1]; variable 148 gDeviceNames[0] = NULL; 185 for (int32 i = 0; gDeviceNames[i]; i++) 186 free(gDeviceNames[i]); 345 for (int32 i = 0; gDeviceNames[i]; i++) 346 free(gDeviceNames[i]); 352 gDeviceNames[j] = (char *)malloc(strlen(sDeviceBaseName) + 4); 353 if (gDeviceNames[j]) { 354 sprintf(gDeviceNames[j], "%s%" B_PRId32, sDeviceBaseName, i); 361 gDeviceNames[ [all...] |
/haiku/src/add-ons/kernel/drivers/pty/ |
H A D | driver.cpp | 42 char *gDeviceNames[kNumTTYs * 2 + 3]; variable 70 memset(gDeviceNames, 0, sizeof(gDeviceNames)); 90 gDeviceNames[i] = strdup(buffer); 93 gDeviceNames[i + kNumTTYs] = strdup(buffer); 98 if (!gDeviceNames[i] || !gDeviceNames[i + kNumTTYs]) { 104 gDeviceNames[2 * kNumTTYs] = (char *)"ptmx"; 105 gDeviceNames[2 * kNumTTYs + 1] = (char *)"tty"; 117 free(gDeviceNames[ [all...] |
/haiku/src/add-ons/kernel/drivers/joystick/emuxkigameport/ |
H A D | driver.cpp | 31 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/graphics/3dfx/ |
H A D | driver.cpp | 76 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/intel_extreme/ |
H A D | driver.cpp | 199 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 D | driver.h | 20 extern char* gDeviceNames[];
|
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | Driver.cpp | 28 char *gDeviceNames[DEVICES_COUNT + 1]; variable 537 gDeviceNames[0] = NULL; 598 for (int32 i = 0; gDeviceNames[i]; i++) 599 free(gDeviceNames[i]); 784 for (int32 i = 0; gDeviceNames[i]; i++) 785 free(gDeviceNames[i]); 791 gDeviceNames[j] = (char *)malloc(strlen(sDeviceBaseName) + 4); 792 if (gDeviceNames[j]) { 793 sprintf(gDeviceNames[j], "%s%d", sDeviceBaseName, i); 800 gDeviceNames[ [all...] |
/haiku/src/add-ons/kernel/drivers/bus/usb/ |
H A D | usb_raw.cpp | 53 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/radeon_hd/ |
H A D | driver.h | 33 extern char* gDeviceNames[];
|
H A D | device.cpp | 114 for (id = 0; (thisName = gDeviceNames[id]) != NULL; id++) { 210 if (user_strlcpy((char*)buffer, gDeviceNames[info->id],
|
/haiku/src/add-ons/kernel/drivers/graphics/s3/ |
H A D | driver.cpp | 108 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/graphics/intel_810/ |
H A D | driver.cpp | 75 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/ati/ |
H A D | driver.cpp | 170 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)
|