Lines Matching refs:STBRP_ASSERT
209 #ifndef STBRP_ASSERT
211 #define STBRP_ASSERT assert macro
232 …STBRP_ASSERT(heuristic == STBRP_HEURISTIC_Skyline_BL_sortHeight || heuristic == STBRP_HEURISTIC_Sk… in stbrp_setup_heuristic()
236 STBRP_ASSERT(0); in stbrp_setup_heuristic()
264 STBRP_ASSERT(width <= 0xffff && height <= 0xffff); in stbrp_init_target()
301 STBRP_ASSERT(first->x <= x0); in stbrp__skyline_find_min_y()
308 STBRP_ASSERT(node->next->x > x0); // we ended up handling this in the caller for efficiency in stbrp__skyline_find_min_y()
311 STBRP_ASSERT(node->x <= x0); in stbrp__skyline_find_min_y()
358 STBRP_ASSERT(width % c->align == 0); in stbrp__skyline_find_best_pos()
415 STBRP_ASSERT(xpos >= 0); in stbrp__skyline_find_best_pos()
421 STBRP_ASSERT(node->next->x > xpos && node->x <= xpos); in stbrp__skyline_find_best_pos()
427 STBRP_ASSERT(y <= best_y); in stbrp__skyline_find_best_pos()
499 STBRP_ASSERT(cur->x < cur->next->x); in stbrp__skyline_pack_rectangle()
502 STBRP_ASSERT(cur->next == NULL); in stbrp__skyline_pack_rectangle()
516 STBRP_ASSERT(count == context->num_nodes+2); in stbrp__skyline_pack_rectangle()