/third_party/rust/crates/which-rs/tests/ |
D | basic.rs | 18 pub bins: Vec<PathBuf>, field 61 let mut bins = vec![]; in new() localVariable 65 bins.push(mk_bin(&p, BIN_NAME, "").unwrap()); in new() 66 bins.push(mk_bin(&p, BIN_NAME, "exe").unwrap()); in new() 67 bins.push(mk_bin(&p, BIN_NAME, "cmd").unwrap()); in new() 72 bins.push(mk_bin(&p, "win-bin", "exe").unwrap()); in new() 77 bins, in new() 123 assert_eq!(_which(&f, &BIN_NAME).unwrap(), f.bins[0]) in test_which() 130 assert_eq!(_which(&f, &BIN_NAME).unwrap(), f.bins[1]) in test_which() 190 assert_eq!(_which(&f, &b).unwrap(), f.bins[0]) in test_which_extension() [all …]
|
/third_party/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 …]
|
/third_party/flutter/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 …]
|
/third_party/skia/third_party/externals/libwebp/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()
|
/third_party/flutter/skia/third_party/externals/libwebp/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()
|
/third_party/libdrm/nouveau/ |
D | bufctx.c | 52 struct nouveau_bufbin_priv bins[]; member 62 nouveau_bufctx_new(struct nouveau_client *client, int bins, in nouveau_bufctx_new() argument 67 priv = calloc(1, sizeof(*priv) + sizeof(priv->bins[0]) * bins); in nouveau_bufctx_new() 73 priv->nr_bins = bins; in nouveau_bufctx_new() 102 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_reset() 121 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_refn() 149 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_mthd()
|
/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/ |
D | malloc.c | 24 struct bin bins[64]; member 49 lock(mal.bins[i].lock); in lock_bin() 50 if (!mal.bins[i].head) in lock_bin() 51 mal.bins[i].head = mal.bins[i].tail = BIN_TO_CHUNK(i); in lock_bin() 56 unlock(mal.bins[i].lock); in unlock_bin() 122 if (mal.bins[i].head != BIN_TO_CHUNK(i) && mal.bins[i].head) { 123 fprintf(stderr, "bin %d: %p\n", i, mal.bins[i].head); 263 self->prev = mal.bins[i].tail; in bin_chunk() 315 c = mal.bins[i].head; in malloc() 327 c = mal.bins[j].head; in malloc() [all …]
|
/third_party/musl/src/malloc/oldmalloc/ |
D | malloc.c | 24 struct bin bins[64]; member 49 lock(mal.bins[i].lock); in lock_bin() 50 if (!mal.bins[i].head) in lock_bin() 51 mal.bins[i].head = mal.bins[i].tail = BIN_TO_CHUNK(i); in lock_bin() 56 unlock(mal.bins[i].lock); in unlock_bin() 122 if (mal.bins[i].head != BIN_TO_CHUNK(i) && mal.bins[i].head) { 123 fprintf(stderr, "bin %d: %p\n", i, mal.bins[i].head); 263 self->prev = mal.bins[i].tail; in bin_chunk() 315 c = mal.bins[i].head; in malloc() 327 c = mal.bins[j].head; in malloc() [all …]
|
D | malloc_impl.h | 31 #define BIN_TO_CHUNK(i) (MEM_TO_CHUNK(&mal.bins[i].head))
|
/third_party/ffmpeg/libavfilter/ |
D | median.h | 44 int bins; member 47 void (*hadd)(uint16_t *dst, const uint16_t *src, int bins); 48 void (*hsub)(uint16_t *dst, const uint16_t *src, int bins); 49 void (*hmuladd)(uint16_t *dst, const uint16_t *src, int f, int bins);
|
D | vf_median.c | 69 static void hadd(htype *dst, const htype *src, int bins) in hadd() argument 71 for (int i = 0; i < bins; i++) in hadd() 75 static void hsub(htype *dst, const htype *src, int bins) in hsub() argument 77 for (int i = 0; i < bins; i++) in hsub() 81 static void hmuladd(htype *dst, const htype *src, int f, int bins) in hmuladd() argument 83 for (int i = 0; i < bins; i++) in hmuladd() 151 s->bins = 1 << ((s->depth + 1) / 2); in config_input() 152 s->fine_size = s->bins * s->bins * inlink->w; in config_input() 153 s->coarse_size = s->bins * inlink->w; in config_input()
|
/third_party/musl/porting/liteos_a/user_debug/src/malloc/oldmalloc/ |
D | malloc.c | 26 struct bin bins[64]; member 51 lock(mal.bins[i].lock); in lock_bin() 52 if (!mal.bins[i].head) in lock_bin() 53 mal.bins[i].head = mal.bins[i].tail = BIN_TO_CHUNK(i); in lock_bin() 58 unlock(mal.bins[i].lock); in unlock_bin() 124 if (mal.bins[i].head != BIN_TO_CHUNK(i) && mal.bins[i].head) { 125 fprintf(stderr, "bin %d: %p\n", i, mal.bins[i].head); 270 self->prev = mal.bins[i].tail; in bin_chunk() 340 c = mal.bins[i].head; in malloc() 352 c = mal.bins[j].head; in malloc() [all …]
|
D | malloc_impl.h | 81 #define BIN_TO_CHUNK(i) (&mal.bins[i].checksum)
|
/third_party/musl/porting/liteos_a/user_debug/src/malloc/ |
D | memory_check.c | 26 struct stat_bin bins[PTHREAD_NUM_MAX]; member 52 lock(mem_stat.bins[tid].lock); in lock_stat_bin() 53 if (!mem_stat.bins[tid].head.next) in lock_stat_bin() 54 mem_stat.bins[tid].head.next = mem_stat.bins[tid].head.prev = &mem_stat.bins[tid].head; in lock_stat_bin() 59 unlock(mem_stat.bins[tid].lock); in unlock_stat_bin() 79 for (list = mem_stat.bins[tid].head.next; list != &mem_stat.bins[tid].head; list = list->next) { in try_delete_node() 86 mem_stat.bins[tid].t_total_size -= node->size; in try_delete_node() 200 mem_stat.bins[tid].t_total_size += size; in insert_node() 201 list = mem_stat.bins[tid].head.prev; in insert_node() 347 for (list = mem_stat.bins[tid].head.next; list != &mem_stat.bins[tid].head; list = list->next) { in check_mem_integrity() [all …]
|
/third_party/node/deps/npm/node_modules/libnpx/ |
D | index.js | 85 return promisify(fs.readdir)(results.bin).then(bins => { 87 bins = bins.filter(b => b !== 'etc' && b !== 'node_modules') 89 if (bins.length < 1) { 93 const matching = bins.find(b => b.match(cmd)) 94 return path.resolve(results.bin, bins[matching] || bins[0]) 147 const bins = process.platform === 'win32' 152 return promisify(rimraf)(bins).then(() => { 158 process.env.PATH = `${bins}${path.delimiter}${process.env.PATH}` 161 info.bin = bins
|
/third_party/mesa3d/src/freedreno/.gitlab-ci/reference/ |
D | shadow.log | 19 bin size: 768x320 (35 bins) 39 bin size: 640x192 (18 bins)
|
/third_party/node/deps/npm/node_modules/read-package-json/ |
D | read-json.js | 27 bins, 303 function bins (file, data, cb) { function 310 glob('**', { cwd: m }, function (er, bins) { argument 312 bins_(file, data, bins, cb) 316 function bins_ (file, data, bins, cb) { argument 318 data.bin = bins.reduce(function (acc, mf) {
|
/third_party/gstreamer/gstreamer/docs/random/wtay/ |
D | clocking | 72 bins that get a use clock set a flag and store the clock, they also call 80 clock providers and receivers are collected in the bins on element 81 add/remove, recursing bins if needed. 86 bins dispatch the set_clock to to all of the reveivers. Bins with
|
D | eos-19012001 | 72 Since plain bins in bins are flattened during the chain creation, we do 104 the bins and chains are not performed.
|
D | messages | 9 can be inside N levels of containers (bins). Elements can also produce 46 information about that bins children. The app can listen on the top
|
D | states | 11 ! - most used by bins to set up thread context for its children
|
/third_party/gstreamer/gstreamer/docs/gst/ |
D | index.md | 5 as the object hierarchy that defines elements and bins, along with some
|
D | gi-index.md | 5 as the object hierarchy that defines elements and bins, along with some
|
/third_party/node/tools/ |
D | install.py | 82 def package_files(action, name, bins): argument 98 for bin_name, bin_target in bins.items():
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/ |
D | XLIFF2ICUConverter.java | 998 ResourceBinary[] bins = new ResourceBinary[2]; in parseBinUnit() local 1000 bins[0] = new ResourceBinary(); in parseBinUnit() 1001 bins[1] = new ResourceBinary(); in parseBinUnit() 1003 Resource currentSource = bins[0]; in parseBinUnit() 1004 Resource currentTarget = bins[1]; in parseBinUnit() 1019 parseResourceBinary(child, bins); in parseBinUnit() 1028 set[0] = bins[0]; in parseBinUnit() 1029 set[1] = bins[1]; in parseBinUnit()
|