/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
D | Timer.java | 19 private int iterations; field in Timer 45 return iterations; in getIterations() 71 public String toString(long iterations) { in toString() argument 72 return nf.format(getDuration()/iterations) + "\tns"; in toString() 75 public String toString(long iterations, long other) { in toString() argument 76 …return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D… in toString() 103 iterations = 1; in timeIterations() 108 loop.time(iterations); in timeIterations() 111 duration /= iterations; in timeIterations() 114 duration /= iterations; in timeIterations() [all …]
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
D | FluidSimHeightMap.java | 55 private int iterations; // number of iterations field in FluidSimHeightMap 89 …public FluidSimHeightMap(int size, int iterations, float minInitialHeight, float maxInitialHeight,… in FluidSimHeightMap() argument 90 if (size <= 0 || iterations <= 0 || minInitialHeight >= maxInitialHeight) { in FluidSimHeightMap() 100 this.iterations = iterations; in FluidSimHeightMap() 123 public FluidSimHeightMap(int size, int iterations) throws Exception { in FluidSimHeightMap() argument 124 if (size <= 0 || iterations <= 0) { in FluidSimHeightMap() 131 this.iterations = iterations; in FluidSimHeightMap() 174 for (int i = 0; i < iterations; i++) { in load() 238 public void setIterations(int iterations) throws Exception { in setIterations() argument 239 if (iterations <= 0) { in setIterations() [all …]
|
D | HillHeightMap.java | 49 private int iterations; // how many hills to generate field in HillHeightMap 73 public HillHeightMap(int size, int iterations, float minRadius, in HillHeightMap() argument 75 if (size <= 0 || iterations <= 0 || minRadius <= 0 || maxRadius <= 0 in HillHeightMap() 87 this.iterations = iterations; in HillHeightMap() 111 public HillHeightMap(int size, int iterations, float minRadius, in HillHeightMap() argument 113 this(size, iterations, minRadius, maxRadius, new Random().nextLong()); in HillHeightMap() 130 for (int i = 0; i < iterations; i++) { in load() 219 public void setIterations(int iterations) throws Exception { in setIterations() argument 220 if (iterations <= 0) { in setIterations() 224 this.iterations = iterations; in setIterations()
|
D | FaultHeightMap.java | 78 private int iterations; // iterations to perform field in FaultHeightMap 102 …public FaultHeightMap(int size, int iterations, int faultType, int faultShape, float minFaultHeigh… in FaultHeightMap() argument 103 if (size < 0 || iterations < 0) { in FaultHeightMap() 107 this.iterations = iterations; in FaultHeightMap() 127 …public FaultHeightMap(int size, int iterations, float minFaultHeight, float maxFaultHeight) throws… in FaultHeightMap() argument 128 …this(size, iterations, FAULTTYPE_STEP, FAULTSHAPE_LINE, minFaultHeight, maxFaultHeight, new Random… in FaultHeightMap() 141 for (int i = 0; i < iterations; i++) { in load() 264 return iterations; in getIterations() 267 public void setIterations(int iterations) { in setIterations() argument 268 this.iterations = iterations; in setIterations()
|
/external/eigen/bench/btl/generic_bench/timers/ |
D | STL_timer.hh | 37 iterations.clear(); in start() 38 iterations.reserve(reps); in start() 53 iterations.push_back(count); in check() 57 return (iterations.size() < reps); in check() 62 sort(iterations.begin(), iterations.end()); in get_time() 63 return 1.0/iterations[reps/2]; in get_time() 68 vector<long> iterations; member in STL_Timer
|
/external/vixl/benchmarks/ |
D | bench-branch-link-masm.cc | 37 int iterations = 0; in main() local 40 case 1: iterations = kDefaultIterationsCount; break; in main() 41 case 2: iterations = atoi(argv[1]); break; in main() 47 size_t base_buf_size = iterations * 4 * kInstructionSize; in main() 53 for (int i = 0; i < iterations; i++) { in main() 57 for (int i = 0; i < iterations; i++) { in main() 61 for (int i = 0; i < iterations; i++) { in main() 65 for (int i = 0; i < iterations; i++) { in main()
|
D | bench-branch-masm.cc | 41 int iterations = 0; in main() local 44 case 1: iterations = kDefaultIterationCount; break; in main() 45 case 2: iterations = atoi(argv[1]); break; in main() 60 for (int i = 0; i < iterations;) { in main() 62 for (int j = 0; (j < max_buffer_iterations) && (i < iterations); ++j, ++i) { in main()
|
/external/valgrind/drd/tests/ |
D | pth_barrier.c | 30 int iterations; member 55 for (i = 0; i < p->iterations; i++) in threadfunc() 67 static void barriers_and_races(const int nthread, const int iterations) in barriers_and_races() argument 76 array = malloc(iterations * sizeof(array[0])); in barriers_and_races() 91 t[i].iterations = iterations; in barriers_and_races() 116 int iterations; in main() local 119 iterations = (argc > 2) ? atoi(argv[2]) : 3; in main() 122 barriers_and_races(nthread, iterations); in main()
|
D | annotate_barrier.c | 46 int iterations; member 113 for (i = 0; i < p->iterations; i++) in threadfunc() 125 static void barriers_and_races(const int nthread, const int iterations) in barriers_and_races() argument 134 array = malloc(iterations * sizeof(array[0])); in barriers_and_races() 146 t[i].iterations = iterations; in barriers_and_races() 163 int iterations; in main() local 166 iterations = (argc > 2) ? atoi(argv[2]) : 3; in main() 169 barriers_and_races(nthread, iterations); in main()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PKCS12PBEParams.java | 17 ASN1Integer iterations; field in PKCS12PBEParams 22 int iterations) in PKCS12PBEParams() argument 25 this.iterations = new ASN1Integer(iterations); in PKCS12PBEParams() 32 iterations = ASN1Integer.getInstance(seq.getObjectAt(1)); in PKCS12PBEParams() 52 return iterations.getValue(); in getIterations() 65 v.add(iterations); in toASN1Primitive()
|
D | PBEParameter.java | 17 ASN1Integer iterations; field in PBEParameter 22 int iterations) in PBEParameter() argument 29 this.iterations = new ASN1Integer(iterations); in PBEParameter() 36 iterations = (ASN1Integer)seq.getObjectAt(1); in PBEParameter() 56 return iterations.getValue(); in getIterationCount() 69 v.add(iterations); in toASN1Primitive()
|
/external/protobuf/benchmarks/ |
D | ProtoBench.java | 163 int iterations = 1; in benchmark() local 164 long elapsed = timeAction(action, iterations); in benchmark() 166 iterations *= 2; in benchmark() 167 elapsed = timeAction(action, iterations); in benchmark() 172 iterations = (int) ((TARGET_TIME_MS / (double) elapsed) * iterations); in benchmark() 173 elapsed = timeAction(action, iterations); in benchmark() 174 System.out.println(name + ": " + iterations + " iterations in " in benchmark() 176 + (iterations * dataSize) / (elapsed * 1024 * 1024 / 1000f) in benchmark() 180 private static long timeAction(Action action, int iterations) throws IOException { in timeAction() argument 183 for (int i = 0; i < iterations; i++) { in timeAction()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/ |
D | IterativeFilter.java | 40 private int iterations; field in IterativeFilter 58 return this.iterations * margin + super.getMargin(size, margin); in getMargin() 61 public void setIterations(int iterations) { in setIterations() argument 62 this.iterations = iterations; in setIterations() 66 return this.iterations; in getIterations() 90 for (int i = 0; i < this.iterations; i++) { in filter()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/ |
D | TestUtilities.java | 142 int iterations = 1000; in TestCollectionUtilitySpeed() local 153 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 156 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 157 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed() 160 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument 161 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare() 162 …ouble standardTimeSorted = timeStandardContainsAll(iterations, ts1, ts2, expected)/(double)iterati… in timeAndCompare() 171 private long timeStandardContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeStandardContainsAll() argument 178 for (int i = 0; i < iterations; ++i) { in timeStandardContainsAll() 190 private long timeUtilityContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeUtilityContainsAll() argument [all …]
|
/external/mesa3d/src/glsl/ |
D | loop_unroll.cpp | 90 int iterations; in visit_leave() local 100 iterations = ls->max_iterations; in visit_leave() 105 if (iterations < 0) in visit_leave() 110 if (iterations > (int) max_iterations) in visit_leave() 117 if (count.fail || count.nodes * iterations > (int)max_iterations * 5) in visit_leave() 132 iterations = 1; in visit_leave() 195 for (int i = 0; i < iterations; i++) { in visit_leave() 226 for (int i = 0; i < iterations; i++) { in visit_leave()
|
/external/icu/icu4c/source/test/perf/utrie2perf/ |
D | utrie2perf.bat | 14 %PERF% CheckFCD -f \temp\udhr\%%f -v -e UTF-8 --passes 3 --iterations 30000 15 rem %PERF% CheckFCDAlwaysGet -f \temp\udhr\%%f -v -e UTF-8 --passes 3 --iterations 30000 16 rem %PERF% CheckFCDUTF8 -f \temp\udhr\%%f -v -e UTF-8 --passes 3 --iterations 30000 17 %PERF% ToNFC -f \temp\udhr\%%f -v -e UTF-8 --passes 3 --iterations 30000 18 %PERF% GetBiDiClass -f \temp\udhr\%%f -v -e UTF-8 --passes 3 --iterations 30000
|
D | utrie2perf.sh | 20 $PERF CheckFCD -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000 23 $PERF ToNFC -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000 24 $PERF GetBiDiClass -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 30000
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
D | TestFastLexer.cs | 53 int iterations = 5; in TestBasicFastLexer() 55 IterateFast( text, iterations ); in TestBasicFastLexer() 56 Iterate( text, iterations ); in TestBasicFastLexer() 58 var time = Iterate( text, iterations ); in TestBasicFastLexer() 59 var timeFast = IterateFast( text, iterations ); in TestBasicFastLexer()
|
/external/toybox/toys/other/ |
D | shred.c | 34 long iterations; 44 if (!(toys.optflags & FLAG_n)) TT.iterations++; 78 if (++iter == TT.iterations && (toys.optargs && FLAG_z)) { 82 if (iter >= TT.iterations) break; 99 if (iter != TT.iterations) xread(TT.ufd, toybuf, throw);
|
/external/eigen/bench/ |
D | basicbenchmark.h | 8 void benchBasic_loop(const MatrixType& I, MatrixType& m, int iterations) __attribute__((noinline)); 11 void benchBasic_loop(const MatrixType& I, MatrixType& m, int iterations) in benchBasic_loop() argument 13 for(int a = 0; a < iterations; a++) in benchBasic_loop() 41 double benchBasic(const MatrixType& mat, int iterations, int tries) in benchBasic() argument 56 benchBasic_loop<Mode>(I, m, iterations); in benchBasic()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/ |
D | AbstractLinearOptimizer.java | 68 private int iterations; field in AbstractLinearOptimizer 89 return iterations; in getIterations() 98 if (++iterations > maxIterations) { in incrementIterationsCounter() 115 iterations = 0; in optimize()
|
/external/v8/test/mjsunit/regress/ |
D | regress-2326.js | 33 function f(mode, iterations) { argument 36 while (--iterations > 0) accumulator = Math.ceil(accumulator); 39 while (--iterations > 0) accumulator = Math.floor(accumulator);
|
/external/wpa_supplicant_8/src/crypto/ |
D | sha1-pbkdf2.c | 15 size_t ssid_len, int iterations, unsigned int count, in pbkdf2_sha1_f() argument 45 for (i = 1; i < iterations; i++) { in pbkdf2_sha1_f() 73 int iterations, u8 *buf, size_t buflen) in pbkdf2_sha1() argument 82 if (pbkdf2_sha1_f(passphrase, ssid, ssid_len, iterations, in pbkdf2_sha1()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_emulate_loops.c | 68 unsigned int iterations) in unroll_loop() argument 77 for( i = 1; i < iterations; i++){ in unroll_loop() 189 int iterations; in try_unroll_loop() local 288 iterations = (int) ceilf((limit_value - counter_value.Value) / in try_unroll_loop() 294 iterations = (int) floorf((limit_value - counter_value.Value) / in try_unroll_loop() 302 && iterations > loop_max_possible_iterations(c, loop)) { in try_unroll_loop() 306 DBG("Loop will have %d iterations.\n", iterations); in try_unroll_loop() 314 unroll_loop(c, loop, iterations); in try_unroll_loop() 513 unsigned int iterations; in rc_emulate_loops() local 518 iterations = loop_max_possible_iterations(s->C, &s->Loops[i]); in rc_emulate_loops() [all …]
|
/external/opencv/cv/src/ |
D | cvmorph.cpp | 812 int iterations, int mop ) in icvMorphOp() argument 869 if( iterations == 0 || (element && element->nCols == 1 && element->nRows == 1)) in icvMorphOp() 890 if( el_shape == CV_SHAPE_RECT && iterations > 1 ) in icvMorphOp() 892 el_size.width = 1 + (el_size.width-1)*iterations; in icvMorphOp() 893 el_size.height = 1 + (el_size.height-1)*iterations; in icvMorphOp() 894 el_anchor.x *= iterations; in icvMorphOp() 895 el_anchor.y *= iterations; in icvMorphOp() 896 iterations = 1; in icvMorphOp() 1049 if( status >= 0 && (inplace || iterations > 1) ) in icvMorphOp() 1058 for( i = 0; i < iterations && status >= 0 && morphstate; i++ ) in icvMorphOp() [all …]
|