Lines Matching defs:current
95 sip_timeout_t *current, *last;
104 current = timeout_current_start;
105 while (current != NULL) {
106 if (current->sip_timeout_id == id) {
107 if (current == timeout_current_start) {
109 current->sip_timeout_next;
112 current->sip_timeout_next;
114 if (current == timeout_current_end)
116 if (current->sip_timeout_callback_func_arg !=
118 free(current->
120 current->sip_timeout_callback_func_arg =
123 free(current);
127 last = current;
128 current = current->sip_timeout_next;
137 current = timeout_list;
138 while (current != NULL) {
139 if (current->sip_timeout_id == id) {
140 if (current == timeout_list) {
142 current->sip_timeout_next;
145 current->sip_timeout_next;
147 if (current->sip_timeout_callback_func_arg !=
149 free(current->
151 current->sip_timeout_callback_func_arg =
154 free(current);
158 last = current;
159 current = current->sip_timeout_next;
174 sip_timeout_t *current;
212 last = current = timeout_list;
213 while (current != NULL) {
214 if (current->sip_timeout_val <= new_timeout->sip_timeout_val) {
215 last = current;
216 current = current->sip_timeout_next;
222 if (current == timeout_list) {
226 new_timeout->sip_timeout_next = current;