/external/eigen/test/ |
D | rand.cpp | 40 template<typename Scalar> void check_histogram(Scalar x, Scalar y, int bins) in check_histogram() argument 42 Array<int,1,Dynamic> hist(bins); in check_histogram() 45 int n = bins*f; in check_histogram() 47 int divisor = int((range+1)/bins); in check_histogram() 48 assert(((range+1)%bins)==0); in check_histogram() 113 int bins = 100; in test_rand() local 114 CALL_SUBTEST(check_histogram<int>(-3333,-3333+bins*(3333/bins)-1,bins)); in test_rand() 115 bins = 1000; in test_rand() 116 CALL_SUBTEST(check_histogram<int>(-RAND_MAX+10,-RAND_MAX+10+bins*(RAND_MAX/bins)-1,bins)); in test_rand() 117 …BTEST(check_histogram<int>(-RAND_MAX+10,-int64(RAND_MAX)+10+bins*(2*int64(RAND_MAX)/bins)-1,bins)); in test_rand()
|
/external/skia/tests/ |
D | RandomTest.cpp | 34 static bool chi_square_test(int bins[256], int e) { in chi_square_test() 42 double delta = bins[j] - e; in chi_square_test() 60 int bins[256]; in test_random_byte() local 61 memset(bins, 0, sizeof(int)*256); in test_random_byte() 65 bins[(rand.nextU() >> shift) & 0xff]++; in test_random_byte() 68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_byte() 72 int bins[256]; in test_random_float() local 73 memset(bins, 0, sizeof(int)*256); in test_random_float() 79 bins[(int)(f*256.f)]++; in test_random_float() 81 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_float() [all …]
|
/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/ |
D | spreadsort.hpp | 146 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in spread_sort_rec() local 152 bins[0] = first; in spread_sort_rec() 154 bins[u + 1] = bins[u] + bin_sizes[u]; in spread_sort_rec() 160 RandomAccessIter * local_bin = bins + u; in spread_sort_rec() 165 for(target_bin = (bins + ((*current >> log_divisor) - div_min)); target_bin != local_bin; in spread_sort_rec() 166 target_bin = bins + ((*current >> log_divisor) - div_min)) { in spread_sort_rec() 171 RandomAccessIter * b_bin = bins + ((*b >> log_divisor) - div_min); in spread_sort_rec() 185 bins[bin_count - 1] = last; in spread_sort_rec() 209 …inline void inner_swap_loop(RandomAccessIter * bins, const RandomAccessIter & nextbinstart, unsign… in inner_swap_loop() argument 212 RandomAccessIter * local_bin = bins + ii; in inner_swap_loop() [all …]
|
/external/webp/src/utils/ |
D | filters_utils.c | 32 int bins[WEBP_FILTER_LAST][SMAX]; in WebPEstimateBestFilter() local 33 memset(bins, 0, sizeof(bins)); in WebPEstimateBestFilter() 46 bins[WEBP_FILTER_NONE][diff0] = 1; in WebPEstimateBestFilter() 47 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in WebPEstimateBestFilter() 48 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in WebPEstimateBestFilter() 49 bins[WEBP_FILTER_GRADIENT][diff3] = 1; in WebPEstimateBestFilter() 60 if (bins[filter][i] > 0) { in WebPEstimateBestFilter()
|
/external/libdrm/nouveau/ |
D | bufctx.c | 56 struct nouveau_bufbin_priv bins[]; member 66 nouveau_bufctx_new(struct nouveau_client *client, int bins, in nouveau_bufctx_new() argument 71 priv = calloc(1, sizeof(*priv) + sizeof(priv->bins[0]) * bins); in nouveau_bufctx_new() 77 priv->nr_bins = bins; in nouveau_bufctx_new() 106 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_reset() 125 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_refn() 153 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_mthd()
|
/external/ltp/tools/pounder21/src/memxfer5b/ |
D | Makefile | 22 bins = memxfer5b macro 24 all: ${bins} 27 rm -f ${bins}
|
/external/ltp/tools/pounder21/src/mem_alloc_test/ |
D | Makefile | 21 bins = mem_alloc macro 23 all: ${bins} 26 rm -f ${bins}
|
/external/ltp/tools/pounder21/src/randasyscall/ |
D | Makefile | 22 bins = randasys macro 24 all: ${bins} 27 rm -f ${bins}
|
/external/ltp/tools/pounder21/src/randacoords/ |
D | Makefile | 22 bins = coords macro 24 all: ${bins} 27 rm -f ${bins}
|
/external/ltp/tools/pounder21/src/time_tests/ |
D | Makefile | 23 bins = inconsistency-check macro 25 all: ${bins} 28 rm -f ${bins}
|
/external/ltp/tools/pounder21/src/xbonkers/ |
D | Makefile | 23 bins = xbonkers macro 25 all: ${bins} 28 rm -f ${bins}
|
/external/ltp/tools/pounder21/src/ramsnake/ |
D | Makefile | 22 bins = snake.exe macro 24 all: ${bins} 30 rm -f ${bins}
|
/external/ltp/tools/pounder21/src/cpufreq/ |
D | Makefile | 23 bins = cpufreq.bin macro 25 all: ${bins} 31 rm -f ${bins}
|
/external/lisa/libs/utils/analysis/ |
D | latency_analysis.py | 285 def plotLatency(self, task, kind='all', tag=None, threshold_ms=1, bins=64): argument 392 df.latency.plot(kind='hist', bins=bins, ax=axes, 395 .format(bins, threshold_ms)); 481 def plotActivations(self, task, tag=None, threshold_ms=16, bins=64): argument 591 wkp_df.plot(kind='hist', bins=bins, ax=axes, 594 .format(bins, threshold_ms)); 612 def plotRuntimes(self, task, tag=None, threshold_ms=8, bins=64): argument 722 run_df.plot(kind='hist', bins=bins, ax=axes, 725 .format(bins, threshold_ms));
|
/external/bison/lib/ |
D | bitset_stats.c | 108 unsigned int n_bins, unsigned int *bins) in bitset_percent_histogram_print() argument 115 total += bins[i]; in bitset_percent_histogram_print() 124 (i + 1) * 100.0 / n_bins, bins[i], in bitset_percent_histogram_print() 125 (100.0 * bins[i]) / total); in bitset_percent_histogram_print() 132 unsigned int n_bins, unsigned int *bins) in bitset_log_histogram_print() argument 140 total += bins[i]; in bitset_log_histogram_print() 146 for (i = n_bins; i > 3 && ! bins[i - 1]; i--) in bitset_log_histogram_print() 156 max_width, i, bins[i], 100.0 * bins[i] / total); in bitset_log_histogram_print() 163 bins[i], in bitset_log_histogram_print() 164 (100.0 * bins[i]) / total); in bitset_log_histogram_print()
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | trip-count.ll | 42 %bins = alloca [16 x i64], align 16 43 %0 = bitcast [16 x i64]* %bins to i8* 55 %arrayidx = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %v11 68 %arrayidx8 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 2 76 %arrayidx.1 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %next12
|
/external/jemalloc/src/ |
D | android_je_mallinfo.c | 34 arena_bin_t* bin = &arenas[i]->bins[j]; in je_mallinfo() 70 arena_bin_t* bin = &arenas[aidx]->bins[j]; in __mallinfo_arena_info() 89 arena_bin_t* bin = &arenas[aidx]->bins[bidx]; in __mallinfo_bin_info()
|
D | stats.c | 318 bool json, unsigned i, bool bins, bool large, bool huge) in stats_arena_print() argument 546 if (bins) { in stats_arena_print() 947 bool json, bool merged, bool unmerged, bool bins, bool large, bool huge) in stats_print_helper() argument 1023 narenas, bins, large, huge); in stats_print_helper() 1045 json, i, bins, large, huge); in stats_print_helper() 1074 bool bins = true; in stats_print() local 1118 bins = false; in stats_print() 1144 bins, large, huge); in stats_print()
|
D | tcache.c | 110 arena_bin_t *bin = &bin_arena->bins[binind]; in tcache_bin_flush_small() 158 arena_bin_t *bin = &arena->bins[binind]; in tcache_bin_flush_small() 374 arena_bin_t *bin = &arena->bins[i]; in tcache_destroy() 433 arena_bin_t *bin = &arena->bins[i]; in tcache_stats_merge()
|
/external/libvpx/libvpx/build/make/ |
D | Makefile | 371 .bins: $(BINS) 378 .install-bins: .bins $(addprefix $(DIST_DIR)/,$(INSTALL-BINS)) 382 rm -f .bins .install-bins $(BINS) 450 BUILD_TARGETS += .docs .libs .bins 451 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | HistogramChart.java | 250 int[][] bins = new int[rawData.size()][getNumBins()]; in recalculateDataSet() local 254 ++bins[setNum][(int) (Math.floor((d - minBin) / binWidth))]; in recalculateDataSet() 261 for (int i = 0; i < bins[setNum].length; i++) { in recalculateDataSet() 262 dataSet.addEntry(new BarEntry(i, bins[setNum][i])); in recalculateDataSet()
|
/external/fio/tools/hist/ |
D | fiologparser_hist.py | 234 bins = [ctx.group_nr * (1 << 6)] 236 bins = [1216,1280,1344,1408,1472,1536,1600,1664] 240 arr = np.transpose(list(map(fncn, bins))) 254 return bins[idx[1][0]]
|
/external/jemalloc/include/jemalloc/internal/ |
D | size_classes.sh | 243 * NTBINS: Number of tiny bins. 244 * NLBINS: Number of bins supported by the lookup table. 245 * NBINS: Number of small size class bins.
|
/external/v8/tools/perf/ |
D | statistics-for-json.R | 63 geom_histogram(bins=50) + 71 geom_histogram(bins=50) +
|
/external/trappy/trappy/ |
D | plot_utils.py | 177 def plot_hist(data, ax, title, unit, bins, xlabel, xlim, ylim): argument 185 data.hist(ax=ax, bins=bins)
|