/external/chromium_org/third_party/smhasher/src/ |
D | AvalancheTest.h | 23 double maxBias ( std::vector<int> & counts, int reps ); 28 void calcBias ( pfHash hash, std::vector<int> & counts, int reps, Rand & r ) in calcBias() argument 39 for(int irep = 0; irep < reps; irep++) in calcBias() 41 if(irep % (reps/10) == 0) printf("."); in calcBias() 69 bool AvalancheTest ( pfHash hash, const int reps ) in AvalancheTest() argument 79 printf("Testing %3d-bit keys -> %3d-bit hashes, %8d reps",keybits,hashbits,reps); in AvalancheTest() 85 calcBias<keytype,hashtype>(hash,bins,reps,r); in AvalancheTest() 91 double b = maxBias(bins,reps); in AvalancheTest() 111 void BicTest ( pfHash hash, const int keybit, const int reps, double & maxBias, int & maxA, int & m… in BicTest() argument 124 for(int irep = 0; irep < reps; irep++) in BicTest() [all …]
|
D | DifferentialTest.h | 22 bool ProcessDifferentials ( std::vector<keytype> & diffs, int reps, bool dumpCollisions ) in ProcessDifferentials() argument 48 double pct = 100 * (double(count) / double(reps)); in ProcessDifferentials() 68 double pct = 100 * (double(count) / double(reps)); in ProcessDifferentials() 133 bool DiffTest ( pfHash hash, int diffbits, int reps, bool dumpCollisions ) in DiffTest() argument 139 double testcount = (diffcount * double(reps)); in DiffTest() 150 printf("%d reps, %0.f total tests, expecting %2.2f random collisions",reps,testcount,expected); in DiffTest() 152 for(int i = 0; i < reps; i++) in DiffTest() 154 if(i % (reps/10) == 0) printf("."); in DiffTest() 167 result &= ProcessDifferentials(diffs,reps,dumpCollisions); in DiffTest()
|
D | AvalancheTest.cpp | 5 void PrintAvalancheDiagram ( int x, int y, int reps, double scale, int * bins ) in PrintAvalancheDiagram() argument 18 double b = double(bin) / double(reps); in PrintAvalancheDiagram() 37 double maxBias ( std::vector<int> & counts, int reps ) in maxBias() argument 43 double c = double(counts[i]) / double(reps); in maxBias()
|
D | Bitvec.cpp | 633 int reps = 10000; in test_shift() local 635 for(int j = 0; j < reps; j++) in test_shift() 637 if(j % (reps/10) == 0) printf("."); in test_shift() 679 int reps = 10000; in test_window2() local 681 for(int j = 0; j < reps; j++) in test_window2() 683 if(j % (reps/10) == 0) printf("."); in test_window2() 712 int reps = 10000; in test_window() local 714 for(int j = 0; j < reps; j++) in test_window() 716 if(j % (reps/10) == 0) printf("."); in test_window()
|
D | KeysetTest.cpp | 83 const int reps = 10; in SanityTest() local 96 for(int irep = 0; irep < reps; irep++) in SanityTest() 98 if(irep % (reps/10) == 0) printf("."); in SanityTest()
|
/external/eigen/bench/btl/generic_bench/timers/ |
D | STL_timer.hh | 35 reps = r; in start() 38 iterations.reserve(reps); in start() 57 return (iterations.size() < reps); in check() 63 return 1.0/iterations[reps/2]; in get_time() 66 unsigned int reps; // Number of trials member in STL_Timer
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
D | xvmc_bench.c | 59 unsigned int reps; member 75 config->reps = DEFAULT_REPS; in ParseArgs() 139 if (sscanf(argv[++i], "%u", &config->reps) != 1) in ParseArgs() 191 unsigned int reps; in main() local 261 for (reps = 0; reps < config.reps; ++reps) in main() 287 printf("Reps: %u\n", config.reps); in main() 288 printf("Total time: %.2lf (%.2lf reps / sec)\n", diff_secs, config.reps / diff_secs); in main()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/ |
D | xvmc_bench.c | 59 unsigned int reps; member 75 config->reps = DEFAULT_REPS; in ParseArgs() 139 if (sscanf(argv[++i], "%u", &config->reps) != 1) in ParseArgs() 191 unsigned int reps; in main() local 261 for (reps = 0; reps < config.reps; ++reps) in main() 287 printf("Reps: %u\n", config.reps); in main() 288 printf("Total time: %.2lf (%.2lf reps / sec)\n", diff_secs, config.reps / diff_secs); in main()
|
/external/lzma/Java/SevenZip/Compression/LZMA/ |
D | Encoder.java | 535 int[] reps = new int[Base.kNumRepDistances]; field in Encoder 575 reps[i] = _repDistances[i]; in GetOptimum() 576 repLens[i] = _matchFinder.GetMatchLen(0 - 1, reps[i], Base.kMatchMaxLen); in GetOptimum() 635 _optimum[0].Backs0 = reps[0]; in GetOptimum() 636 _optimum[0].Backs1 = reps[1]; in GetOptimum() 637 _optimum[0].Backs2 = reps[2]; in GetOptimum() 638 _optimum[0].Backs3 = reps[3]; in GetOptimum() 760 reps[0] = opt.Backs0; in GetOptimum() 761 reps[1] = opt.Backs1; in GetOptimum() 762 reps[2] = opt.Backs2; in GetOptimum() [all …]
|
/external/lzma/CS/7zip/Compress/LZMA/ |
D | LzmaEncoder.cs | 535 UInt32[] reps = new UInt32[Base.kNumRepDistances]; field in SevenZip.Compression.LZMA.Encoder 575 reps[i] = _repDistances[i]; in GetOptimum() 576 repLens[i] = _matchFinder.GetMatchLen(0 - 1, reps[i], Base.kMatchMaxLen); in GetOptimum() 635 _optimum[0].Backs0 = reps[0]; in GetOptimum() 636 _optimum[0].Backs1 = reps[1]; in GetOptimum() 637 _optimum[0].Backs2 = reps[2]; in GetOptimum() 638 _optimum[0].Backs3 = reps[3]; in GetOptimum() 760 reps[0] = opt.Backs0; in GetOptimum() 761 reps[1] = opt.Backs1; in GetOptimum() 762 reps[2] = opt.Backs2; in GetOptimum() [all …]
|
/external/lzma/C/ |
D | LzmaEnc.c | 253 UInt32 reps[LZMA_NUM_REPS]; member 289 UInt32 reps[LZMA_NUM_REPS]; member 361 memcpy(dest->reps, p->reps, sizeof(p->reps)); in LzmaEnc_SaveState() 387 memcpy(dest->reps, p->reps, sizeof(p->reps)); in LzmaEnc_RestoreState() 933 UInt32 reps[LZMA_NUM_REPS], repLens[LZMA_NUM_REPS]; in GetOptimum() local 970 reps[i] = p->reps[i]; in GetOptimum() 971 data2 = data - (reps[i] + 1); in GetOptimum() 999 matchByte = *(data - (reps[0] + 1)); in GetOptimum() 1043 p->opt[0].backs[i] = reps[i]; in GetOptimum() 1194 reps[0] = prevOpt->backs[pos]; in GetOptimum() [all …]
|
D | LzmaDec.c | 136 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; in LzmaDec_DecodeReal() 419 p->reps[0] = rep0; in LzmaDec_DecodeReal() 420 p->reps[1] = rep1; in LzmaDec_DecodeReal() 421 p->reps[2] = rep2; in LzmaDec_DecodeReal() 422 p->reps[3] = rep3; in LzmaDec_DecodeReal() 436 UInt32 rep0 = p->reps[0]; in LzmaDec_WriteRem() 522 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy() 523 ((p->dicPos < p->reps[0]) ? p->dicBufSize : 0)]; in LzmaDec_TryDummy() 714 p->reps[0] = p->reps[1] = p->reps[2] = p->reps[3] = 1; in LzmaDec_InitStateReal()
|
D | LzmaDec.h | 62 UInt32 reps[4]; member
|
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
D | LzmaEnc.c | 254 UInt32 reps[LZMA_NUM_REPS]; member 290 UInt32 reps[LZMA_NUM_REPS]; member 362 memcpy(dest->reps, p->reps, sizeof(p->reps)); in LzmaEnc_SaveState() 388 memcpy(dest->reps, p->reps, sizeof(p->reps)); in LzmaEnc_RestoreState() 934 UInt32 reps[LZMA_NUM_REPS], repLens[LZMA_NUM_REPS]; in GetOptimum() local 971 reps[i] = p->reps[i]; in GetOptimum() 972 data2 = data - (reps[i] + 1); in GetOptimum() 1000 matchByte = *(data - (reps[0] + 1)); in GetOptimum() 1044 p->opt[0].backs[i] = reps[i]; in GetOptimum() 1195 reps[0] = prevOpt->backs[pos]; in GetOptimum() [all …]
|
D | LzmaDec.c | 137 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; in LzmaDec_DecodeReal() 420 p->reps[0] = rep0; in LzmaDec_DecodeReal() 421 p->reps[1] = rep1; in LzmaDec_DecodeReal() 422 p->reps[2] = rep2; in LzmaDec_DecodeReal() 423 p->reps[3] = rep3; in LzmaDec_DecodeReal() 437 UInt32 rep0 = p->reps[0]; in LzmaDec_WriteRem() 523 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy() 524 ((p->dicPos < p->reps[0]) ? p->dicBufSize : 0)]; in LzmaDec_TryDummy() 715 p->reps[0] = p->reps[1] = p->reps[2] = p->reps[3] = 1; in LzmaDec_InitStateReal()
|
D | LzmaDec.h | 63 UInt32 reps[4]; member
|
/external/chromium_org/third_party/lzma_sdk/ |
D | LzmaEnc.c | 253 UInt32 reps[LZMA_NUM_REPS]; member 289 UInt32 reps[LZMA_NUM_REPS]; member 361 memcpy(dest->reps, p->reps, sizeof(p->reps)); in LzmaEnc_SaveState() 387 memcpy(dest->reps, p->reps, sizeof(p->reps)); in LzmaEnc_RestoreState() 933 UInt32 reps[LZMA_NUM_REPS], repLens[LZMA_NUM_REPS]; in GetOptimum() local 970 reps[i] = p->reps[i]; in GetOptimum() 971 data2 = data - (reps[i] + 1); in GetOptimum() 999 matchByte = *(data - (reps[0] + 1)); in GetOptimum() 1043 p->opt[0].backs[i] = reps[i]; in GetOptimum() 1194 reps[0] = prevOpt->backs[pos]; in GetOptimum() [all …]
|
D | LzmaDec.c | 136 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; in LzmaDec_DecodeReal() 419 p->reps[0] = rep0; in LzmaDec_DecodeReal() 420 p->reps[1] = rep1; in LzmaDec_DecodeReal() 421 p->reps[2] = rep2; in LzmaDec_DecodeReal() 422 p->reps[3] = rep3; in LzmaDec_DecodeReal() 436 UInt32 rep0 = p->reps[0]; in LzmaDec_WriteRem() 522 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy() 523 ((p->dicPos < p->reps[0]) ? p->dicBufSize : 0)]; in LzmaDec_TryDummy() 714 p->reps[0] = p->reps[1] = p->reps[2] = p->reps[3] = 1; in LzmaDec_InitStateReal()
|
D | LzmaDec.h | 62 UInt32 reps[4]; member
|
/external/opencv/cv/src/ |
D | cvlinefit.cpp | 340 float _param, float reps, float aeps, float *line ) in icvFitLine2D() argument 349 float rdelta = reps != 0 ? reps : 1.0f; in icvFitLine2D() 489 float _param, float reps, float aeps, float *line ) in icvFitLine3D() argument 498 float rdelta = reps != 0 ? reps : 1.0f; in icvFitLine3D() 641 double reps, double aeps, float *line ) in cvFitLine() argument 685 if( reps < 0 || aeps < 0 ) in cvFitLine() 714 dist, (float)param, (float)reps, (float)aeps, line )); in cvFitLine() 719 dist, (float)param, (float)reps, (float)aeps, line )); in cvFitLine()
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | fast_show_pickler.cc | 79 std::vector<gfx::ImageSkiaRep> reps(image.image_reps()); in PickleImage() local 80 pickle->WriteInt(static_cast<int>(reps.size())); in PickleImage() 81 for (std::vector<gfx::ImageSkiaRep>::const_iterator it = reps.begin(); in PickleImage() 82 it != reps.end(); ++it) { in PickleImage()
|
/external/chromium_org/ui/gfx/image/ |
D | image_skia.cc | 253 std::vector<gfx::ImageSkiaRep>& reps = storage_->image_reps(); in DeepCopy() local 254 for (std::vector<gfx::ImageSkiaRep>::iterator iter = reps.begin(); in DeepCopy() 255 iter != reps.end(); ++iter) { in DeepCopy()
|
/external/valgrind/main/perf/ |
D | vg_perf.in | 59 --reps=<n> number of repeats for each program [1] 132 if ($arg =~ /^--reps=(\d+)$/) {
|
/external/opencv/cv/include/ |
D | cvcompat.h | 433 void *param, float reps, float aeps, float* line ) in cvFitLine3D() argument 438 cvFitLine( &mat, dist, _param, reps, aeps, line ); in cvFitLine3D() 443 void *param, float reps, float aeps, float* line ) in cvFitLine2D() argument 448 cvFitLine( &mat, dist, _param, reps, aeps, line ); in cvFitLine2D()
|
/external/elfutils/src/ |
D | readelf.c | 5708 int reps = -1; in handle_core_items() local 5711 ++reps; in handle_core_items() 5717 if (reps == 1) in handle_core_items() 5723 else if (reps > 1) in handle_core_items() 5725 ITEM_INDENT, "", reps); in handle_core_items()
|