Lines Matching defs:BUILDS
213 * The list of all the builds stored in the database.
215 private static String[] BUILDS;
372 BUILDS = null;
402 * @return The id of the build (ie. the index in the {@link #BUILDS} list)
405 if (BUILDS == null) return -1;
406 return Arrays.binarySearch(BUILDS, name, Util.BUILD_DATE_COMPARATOR);
416 if (BUILDS == null) return null;
417 return BUILDS[id];
421 * Returns all the builds names read from the database.
423 * @return The list of all builds names matching the scenario pattern used while reading data
426 if (BUILDS == null) {
430 String[] builds = new String[BUILDS_LENGTH];
431 System.arraycopy(BUILDS, 0, builds, 0, BUILDS_LENGTH);
432 return builds;
436 * Returns the number of builds stored int the database.
438 * @return The number of builds stored in the database.
441 if (BUILDS == null) {
648 if (BUILDS == null) {
653 return BUILDS[0];
659 String build = BUILDS[i];
670 return BUILDS[0];
681 if (BUILDS == null) {
768 * @param builds All builds to get summaries, if <code>null</code>, then all DB
769 * builds will be concerned.
771 static void queryScenarioSummaries(ScenarioResults scenarioResults, String configPattern, String[] builds) {
772 getDefault().internalQueryScenarioSummaries(scenarioResults, configPattern, builds);
995 if (BUILDS != null) return;
1004 BUILDS = null;
1018 BUILDS = EMPTY_LIST;
1130 private void internalQueryScenarioSummaries(ScenarioResults scenarioResults, String config, String[] builds) {
1141 result = this.fSQL.queryScenarioSummaries(scenarioID, config, builds);
1178 if (BUILDS == null) {
1179 BUILDS = new String[1];
1180 BUILDS[BUILDS_LENGTH++] = build;
1188 int idx = Arrays.binarySearch(BUILDS, build, Util.BUILD_DATE_COMPARATOR);
1191 int length = BUILDS.length;
1194 if (index > 0) System.arraycopy(BUILDS, 0, array, 0, index);
1197 System.arraycopy(BUILDS, index, array, index+1, length-index);
1199 BUILDS = array;