Lines Matching refs:inn_buf

170         cv::AutoBuffer<int> inn_buf(node->sample_count);  in try_split_node()  local
171 const int* labels = data->get_cv_labels( node, (int*)inn_buf ); in try_split_node()
193 cv::AutoBuffer<int> inn_buf(n); in calc_node_dir() local
194 const int* cat_labels = data->get_cat_var_data( node, vi, (int*)inn_buf ); in calc_node_dir()
212 cv::AutoBuffer<uchar> inn_buf(2*n*sizeof(int)+n*sizeof(float)); in calc_node_dir() local
213 float* values_buf = (float*)(uchar*)inn_buf; in calc_node_dir()
260 cv::AutoBuffer<uchar> inn_buf; in find_split_ord_class() local
262 inn_buf.allocate(n*(3*sizeof(int)+sizeof(float))); in find_split_ord_class()
263 uchar* ext_buf = _ext_buf ? _ext_buf : (uchar*)inn_buf; in find_split_ord_class()
369 cv::AutoBuffer<uchar> inn_buf((2*mi+3)*sizeof(double) + mi*sizeof(double*)); in find_split_cat_class() local
371 inn_buf.allocate( base_size + 2*n*sizeof(int) ); in find_split_cat_class()
372 uchar* base_buf = (uchar*)inn_buf; in find_split_cat_class()
490 cv::AutoBuffer<uchar> inn_buf; in find_split_ord_reg() local
492 inn_buf.allocate(2*n*(sizeof(int)+sizeof(float))); in find_split_ord_reg()
493 uchar* ext_buf = _ext_buf ? _ext_buf : (uchar*)inn_buf; in find_split_ord_reg()
559 cv::AutoBuffer<uchar> inn_buf(base_size); in find_split_cat_reg() local
561 inn_buf.allocate(base_size + n*(2*sizeof(int) + sizeof(float))); in find_split_cat_reg()
562 uchar* base_buf = (uchar*)inn_buf; in find_split_cat_reg()
652 cv::AutoBuffer<uchar> inn_buf; in find_surrogate_split_ord() local
654 inn_buf.allocate(n*(2*sizeof(int)+sizeof(float))); in find_surrogate_split_ord()
655 uchar* ext_buf = _ext_buf ? _ext_buf : (uchar*)inn_buf; in find_surrogate_split_ord()
733 cv::AutoBuffer<uchar> inn_buf(base_size); in find_surrogate_split_cat() local
735 inn_buf.allocate(base_size + n*sizeof(int)); in find_surrogate_split_cat()
736 uchar* ext_buf = _ext_buf ? _ext_buf : (uchar*)inn_buf; in find_surrogate_split_cat()
799 …cv::AutoBuffer<uchar> inn_buf(n*(sizeof(int) + ( data->is_classifier ? sizeof(int) : sizeof(int) +… in calc_node_value() local
800 int* labels_buf = (int*)(uchar*)inn_buf; in calc_node_value()
1140 cv::AutoBuffer<uchar> inn_buf; in update_weights() local
1149 inn_buf.allocate(_buf_size); in update_weights()
1150 uchar* cur_buf_pos = (uchar*)inn_buf; in update_weights()