Home | History | Annotate | Download | only in db

Lines Matching defs:DIMENSIONS

218 	 * The list of all the dimensions stored in the database.
220 private static int[] DIMENSIONS;
229 * The list of all the dimensions displayed while generating results.
375 DIMENSIONS = null;
561 * Get all dimensions read from the database.
563 * @return A list of dimensions.
566 if (DIMENSIONS == null) return NO_DIMENSION;
567 int length = DIMENSIONS.length;
568 Dim[] dimensions = new Dim[length];
570 Dimension dimension = PerformanceTestPlugin.getDimension(DIMENSIONS[i]);
572 throw new RuntimeException("There is an unsupported dimension stored in the database: " +DIMENSIONS[i]);
574 dimensions[i] = (Dim) dimension;
576 return dimensions;
596 if (DIMENSIONS != null) {
597 DEFAULT_DIM_INDEX = Arrays.binarySearch(DIMENSIONS, DEFAULT_DIM.getId());
616 public static void setResultsDimensions(String[] dimensions) {
617 int length = dimensions.length;
620 RESULTS_DIMENSIONS[i] = (Dim) PerformanceTestPlugin.getDimension(dimensions[i]);
632 getDimensions(); // init dimensions
633 DEFAULT_DIM_INDEX = Arrays.binarySearch(DIMENSIONS, DEFAULT_DIM.getId());
1262 * as this does not happen so often (e.g. eclipse only stores two dimensions).
1265 if (DIMENSIONS == null) {
1266 DIMENSIONS = new int[1];
1267 DIMENSIONS[0] = id;
1270 int idx = Arrays.binarySearch(DIMENSIONS, id);
1272 int length = DIMENSIONS.length;
1273 System.arraycopy(DIMENSIONS, 0, DIMENSIONS = new int[length+1], 0, length);
1274 DIMENSIONS[length] = id;
1275 Arrays.sort(DIMENSIONS);
1282 * as this does not happen so often (e.g. eclipse only stores two dimensions).