Lines Matching refs:current
31 device_list_entry *current = fDeviceList;
32 while (current) {
33 device_list_entry *next = current->next;
34 free(current->name);
35 delete current;
36 current = next;
60 device_list_entry *current = fDeviceList;
61 while (current) {
62 if (current->next == NULL) {
63 current->next = entry;
67 current = current->next;
83 device_list_entry *current = fDeviceList;
84 while (current) {
85 if ((name != NULL && strcmp(current->name, name) == 0)
86 || (device != NULL && current->device == device)) {
88 fDeviceList = current->next;
90 previous->next = current->next;
92 free(current->name);
93 delete current;
98 previous = current;
99 current = current->next;
112 device_list_entry *current = fDeviceList;
113 while (current) {
114 if ((name != NULL && strcmp(current->name, name) == 0)
115 || (device != NULL && current->device == device))
116 return current->device;
118 current = current->next;
133 device_list_entry *current = fDeviceList;
134 while (current) {
135 if (strncmp(current->name, baseName, baseNameLength) == 0)
138 current = current->next;
148 device_list_entry *current = fDeviceList;
149 while (current) {
151 return current->device;
153 current = current->next;
170 device_list_entry *current = fDeviceList;
171 while (current) {
172 fPublishList[index++] = strdup(current->name);
173 current = current->next;