Searched refs:usbmidi_port_names (Results 1 – 3 of 3) sorted by relevance
112 char** usbmidi_port_names = NULL; variable118 assert(usbmidi_port_names == NULL); in alloc_port_names()119 usbmidi_port_names = (char**)malloc(sizeof(char*) in alloc_port_names()127 if (usbmidi_port_names != NULL) { in free_port_names()129 for (i = 0; usbmidi_port_names[i] != NULL; i++) in free_port_names()130 free(usbmidi_port_names[i]); in free_port_names()131 free(usbmidi_port_names); in free_port_names()132 usbmidi_port_names = NULL; in free_port_names()143 assert(usbmidi_port_names != NULL); in rebuild_port_names()146 usbmidi_port_names[i++] = strdup(port->name); in rebuild_port_names()[all …]
156 extern char** usbmidi_port_names;
824 if (usbmidi_port_names != NULL) in publish_devices()828 assert(usbmidi_port_names != NULL); in publish_devices()829 return (const char**)usbmidi_port_names; in publish_devices()