Searched refs:cur_class (Results 1 – 3 of 3) sorted by relevance
71 int i, cur_class; in createConcentricSpheresTestSet() local100 for( i = 0, cur_class = 0; i < num_samples; ++cur_class ) in createConcentricSpheresTestSet()102 int last_idx = num_samples * (cur_class + 1) / num_classes - 1; in createConcentricSpheresTestSet()107 responses.at<int>(i) = cur_class; in createConcentricSpheresTestSet()
103 int i, cur_class; in cvCreateTestSet() local136 for( i = 0, cur_class = 0; i < num_samples; ++cur_class ) in cvCreateTestSet()141 last_idx = num_samples * (cur_class + 1) / num_classes - 1; in cvCreateTestSet()147 CV_MAT_ELEM( **responses, int, 0, elem.i ) = cur_class; in cvCreateTestSet()
542 for (int cur_class = 0; cur_class < n; cur_class++) { in CreateClassHierarchy() local543 os << "class A" << cur_class; in CreateClassHierarchy()544 if (cur_class > 0) { in CreateClassHierarchy()545 os << " extends A" << (cur_class - 1); in CreateClassHierarchy()549 if (cur_class > 0) { in CreateClassHierarchy()552 int fields_count = hierarchy_desc[cur_class]; in CreateClassHierarchy()554 os << " this.f" << cur_class << "_" << k << " = " << k << ";\n"; in CreateClassHierarchy()583 for (int cur_class = 0; cur_class < n; cur_class++) { in TestClassHierarchy() local584 std::string class_name = GetClassName(cur_class); in TestClassHierarchy()585 int fields_count_at_current_level = hierarchy_desc[cur_class]; in TestClassHierarchy()[all …]