Lines Matching defs:STBRP_ASSERT
22 // Can override those by defining STBRP_SORT and STBRP_ASSERT.
50 // 0.05: added STBRP_ASSERT to allow replacing assert
209 #ifndef STBRP_ASSERT
211 #define STBRP_ASSERT assert
232 STBRP_ASSERT(heuristic == STBRP_HEURISTIC_Skyline_BL_sortHeight || heuristic == STBRP_HEURISTIC_Skyline_BF_sortHeight);
236 STBRP_ASSERT(0);
264 STBRP_ASSERT(width <= 0xffff && height <= 0xffff);
301 STBRP_ASSERT(first->x <= x0);
308 STBRP_ASSERT(node->next->x > x0); // we ended up handling this in the caller for efficiency
311 STBRP_ASSERT(node->x <= x0);
358 STBRP_ASSERT(width % c->align == 0);
415 STBRP_ASSERT(xpos >= 0);
421 STBRP_ASSERT(node->next->x > xpos && node->x <= xpos);
427 STBRP_ASSERT(y <= best_y);
499 STBRP_ASSERT(cur->x < cur->next->x);
502 STBRP_ASSERT(cur->next == NULL);
516 STBRP_ASSERT(count == context->num_nodes+2);