Lines Matching refs:goal
97 std::map<StatType, int> goal;
132 CHECK(goal.find(type) == goal.end());
133 goal[type] = value;
139 CHECK(types.size() == goal.size());
142 (*stats)[i] = goal[types[i]];
735 // Parse goal strings
737 const char * goal = goal_list[i];
741 && goal[j] != '='
742 && goal[j] != '\0'; j++) {
743 stat[j] = goal[j];
746 if (goal[j] == '=')
747 sscanf(goal + j + 1, "%i", &stat_val);
749 if (goal[j] != '='
754 fprintf(stderr, "Error parsing goal \"%s\"\n", goal);