/external/libvorbis/vq/ |
D | distribution.c | 38 long bins=-1; in main() local 49 bins=atoi(argv[2])-1; in main() 72 bins=_book_maptype1_quantvals(c); in main() 75 bins=c->entries*c->dim; in main() 82 for(i=0;i<bins;i++){ in main() 96 long **sort=calloc(bins,sizeof(long *)); in main() 98 countarray=calloc(bins,sizeof(long)); in main() 100 for(i=0;i<bins;i++)sort[i]=c->quantlist+i; in main() 101 qsort(sort,bins,sizeof(long *),ascend); in main() 112 int index= (j/indexdiv)%bins; in main() [all …]
|
D | latticetune.c | 139 long bins=_book_maptype1_quantvals(c); in main() local 149 int index= (j/indexdiv)%bins; in main() 152 indexdiv*=bins; in main()
|
/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/opencv/cv/src/ |
D | cvhistogram.cpp | 62 hist->bins = 0; in cvCreateHist() 65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, in cvCreateHist() 67 CV_CALL( cvCreateData( hist->bins )); in cvCreateHist() 71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE )); in cvCreateHist() 109 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, in cvMakeHistHeaderForArray() 127 hist->bins = 0; in cvMakeHistHeaderForArray() 154 cvRelease( &temp->bins ); in cvReleaseHist() 157 cvReleaseData( temp->bins ); in cvReleaseHist() 158 temp->bins = 0; in cvReleaseHist() 180 cvZero( hist->bins ); in cvClearHist() [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/cpufreq/ |
D | Makefile | 23 bins = cpufreq.bin macro 25 all: ${bins} 31 rm -f ${bins}
|
/external/ltp/tools/pounder21/src/ramsnake/ |
D | Makefile | 22 bins = snake.exe macro 24 all: ${bins} 30 rm -f ${bins}
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | Makefile | 15 bins = $(TEST_PROGS) $(TEST_PROGS_EXTENDED) macro 17 all: ${bins} 38 rm -f ${bins}
|
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/ |
D | GraphStat.py | 52 bins = [0] * (bin_num) 62 bins[index] += 1 69 for i, y in enumerate(bins):
|
/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/autotest/frontend/tko/ |
D | graphing_utils.py | 697 bins = range(0, 100, interval) 698 if bins[-1] != 100: 699 bins.append(bins[-1] + interval) 706 bins=bins, align='left') 709 bars += subplot.bar([bins[-1]], len(perfect), 714 buckets = [(bin, min(bin + interval, 100)) for bin in bins[:-1]] 717 subplot.set_xlim(-4 * interval, bins[-1] + interval) 718 subplot.set_xticks([-3 * interval, -interval] + bins + [100 + interval])
|
/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()
|
/external/opencv/cvaux/src/ |
D | camshift.cpp | 171 dims = cvGetDims( m_hist->bins ); in update_histogram() 187 cvScale( m_hist->bins, m_hist->bins, max_val ? 255. / max_val : 0. ); in update_histogram() 255 int c_dims2 = cvGetDims( m_hist->bins, dims2 ); in set_hist_dims()
|
/external/opencv/cvaux/include/ |
D | cvaux.hpp | 75 { return m_hist ? cvGetDims( m_hist->bins, dims ) : 0; } in get_hist_dims() 115 { return m_hist ? (float)cvGetRealND(m_hist->bins, bin) : 0.f; } in query()
|
/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
|