Lines Matching defs:next
176 stbrp_node *next;
268 nodes[i].next = &nodes[i+1];
269 nodes[i].next = NULL;
282 context->extra[0].next = &context->extra[1];
289 context->extra[1].next = NULL;
305 while (node->next->x <= x0)
308 STBRP_ASSERT(node->next->x > x0); // we ended up handling this in the caller for efficiency
325 visited_width += node->next->x - x0;
327 visited_width += node->next->x - node->x;
330 int under_width = node->next->x - node->x;
336 node = node->next;
382 prev = &node->next;
383 node = node->next;
411 tail = tail->next;
417 while (node->next->x <= xpos) {
418 prev = &node->next;
419 node = node->next;
421 STBRP_ASSERT(node->next->x > xpos && node->x <= xpos);
434 tail = tail->next;
464 context->free_head = node->next;
472 // preserve the existing one, so start testing with the next one
473 stbrp_node *next = cur->next;
474 cur->next = node;
475 cur = next;
482 while (cur->next && cur->next->x <= res.x + width) {
483 stbrp_node *next = cur->next;
485 cur->next = context->free_head;
487 cur = next;
491 node->next = cur;
499 STBRP_ASSERT(cur->x < cur->next->x);
500 cur = cur->next;
502 STBRP_ASSERT(cur->next == NULL);
508 cur = cur->next;
513 cur = cur->next;