Lines Matching refs:_max_preorder
512 uint _max_preorder;
519 _max_preorder = C->unique()+8;
520 _preorders = NEW_RESOURCE_ARRAY(uint, _max_preorder);
521 memset(_preorders, 0, sizeof(uint) * _max_preorder);
526 if ( _max_preorder < C->unique() ) {
527 _preorders = REALLOC_RESOURCE_ARRAY(uint, _preorders, _max_preorder, C->unique());
528 _max_preorder = C->unique();
530 memset(_preorders, 0, sizeof(uint) * _max_preorder);
536 if ( _max_preorder < C->unique() ) {
537 uint newsize = _max_preorder<<1; // double size of array
538 _preorders = REALLOC_RESOURCE_ARRAY(uint, _preorders, _max_preorder, newsize);
539 memset(&_preorders[_max_preorder],0,sizeof(uint)*(newsize-_max_preorder));
540 _max_preorder = newsize;