/third_party/flutter/skia/third_party/externals/spirv-tools/test/stats/ |
D | stats_aggregate_test.cpp | 51 void CompileAndAggregateStats(const std::string& code, SpirvStats* stats, in CompileAndAggregateStats() argument 60 binary->wordCount, nullptr, stats)); in CompileAndAggregateStats() 79 SpirvStats stats; in TEST() local 81 CompileAndAggregateStats(code1, &stats); in TEST() 82 EXPECT_EQ(4u, stats.capability_hist.size()); in TEST() 83 EXPECT_EQ(0u, stats.capability_hist.count(SpvCapabilityShader)); in TEST() 84 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityAddresses)); in TEST() 85 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityKernel)); in TEST() 86 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityGenericPointer)); in TEST() 87 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityLinkage)); in TEST() [all …]
|
D | stats_analyzer_test.cpp | 30 void FillDefaultStats(SpirvStats* stats) { in FillDefaultStats() argument 31 *stats = SpirvStats(); in FillDefaultStats() 32 stats->version_hist[0x00010000] = 40; in FillDefaultStats() 33 stats->version_hist[0x00010100] = 60; in FillDefaultStats() 34 stats->generator_hist[0x00000000] = 64; in FillDefaultStats() 35 stats->generator_hist[0x00010000] = 1; in FillDefaultStats() 36 stats->generator_hist[0x00020000] = 2; in FillDefaultStats() 37 stats->generator_hist[0x00030000] = 3; in FillDefaultStats() 38 stats->generator_hist[0x00040000] = 4; in FillDefaultStats() 39 stats->generator_hist[0x00050000] = 5; in FillDefaultStats() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | rtpstats.c | 137 rtp_stats_init_defaults (RTPSessionStats * stats) in rtp_stats_init_defaults() argument 139 rtp_stats_set_bandwidths (stats, -1, -1, -1, -1); in rtp_stats_init_defaults() 140 stats->min_interval = RTP_STATS_MIN_INTERVAL; in rtp_stats_init_defaults() 141 stats->bye_timeout = RTP_STATS_BYE_TIMEOUT; in rtp_stats_init_defaults() 142 stats->nacks_dropped = 0; in rtp_stats_init_defaults() 143 stats->nacks_sent = 0; in rtp_stats_init_defaults() 144 stats->nacks_received = 0; in rtp_stats_init_defaults() 160 rtp_stats_set_bandwidths (RTPSessionStats * stats, guint rtp_bw, in rtp_stats_set_bandwidths() argument 190 stats->bandwidth = rtp_bw; in rtp_stats_set_bandwidths() 191 stats->rtcp_bandwidth = rtcp_bw; in rtp_stats_set_bandwidths() [all …]
|
D | rtpsource.c | 275 src->stats.cycles = -1; in rtp_source_reset() 276 src->stats.jitter = 0; in rtp_source_reset() 277 src->stats.transit = -1; in rtp_source_reset() 278 src->stats.curr_sr = 0; in rtp_source_reset() 279 src->stats.sr[0].is_valid = FALSE; in rtp_source_reset() 280 src->stats.curr_rr = 0; in rtp_source_reset() 281 src->stats.rr[0].is_valid = FALSE; in rtp_source_reset() 282 src->stats.prev_rtptime = GST_CLOCK_TIME_NONE; in rtp_source_reset() 283 src->stats.prev_rtcptime = GST_CLOCK_TIME_NONE; in rtp_source_reset() 284 src->stats.last_rtptime = GST_CLOCK_TIME_NONE; in rtp_source_reset() [all …]
|
/third_party/gstreamer/gstreamer/tools/ |
D | gst-stats.c | 220 GstThreadStats *stats = g_hash_table_lookup (threads, id); in get_thread_stats() local 222 if (G_UNLIKELY (!stats)) { in get_thread_stats() 223 stats = g_slice_new0 (GstThreadStats); in get_thread_stats() 224 stats->tthread = GST_CLOCK_TIME_NONE; in get_thread_stats() 225 g_hash_table_insert (threads, id, stats); in get_thread_stats() 227 return stats; in get_thread_stats() 233 GstPadStats *stats; in new_pad_stats() local 249 stats = g_slice_new0 (GstPadStats); in new_pad_stats() 253 stats->name = name; in new_pad_stats() 254 stats->type_name = type; in new_pad_stats() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | ssim.c | 31 const VP8DistoStats* const stats, uint32_t N /*num samples*/) { in SSIMCalculation() argument 36 const uint64_t xmxm = (uint64_t)stats->xm * stats->xm; in SSIMCalculation() 37 const uint64_t ymym = (uint64_t)stats->ym * stats->ym; in SSIMCalculation() 39 const int64_t xmym = (int64_t)stats->xm * stats->ym; in SSIMCalculation() 40 const int64_t sxy = (int64_t)stats->xym * N - xmym; // can be negative in SSIMCalculation() 41 const uint64_t sxx = (uint64_t)stats->xxm * N - xmxm; in SSIMCalculation() 42 const uint64_t syy = (uint64_t)stats->yym * N - ymym; in SSIMCalculation() 55 double VP8SSIMFromStats(const VP8DistoStats* const stats) { in VP8SSIMFromStats() argument 56 return SSIMCalculation(stats, kWeightSum); in VP8SSIMFromStats() 59 double VP8SSIMFromStatsClipped(const VP8DistoStats* const stats) { in VP8SSIMFromStatsClipped() argument [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/ |
D | ssim.c | 31 const VP8DistoStats* const stats, uint32_t N /*num samples*/) { in SSIMCalculation() argument 36 const uint64_t xmxm = (uint64_t)stats->xm * stats->xm; in SSIMCalculation() 37 const uint64_t ymym = (uint64_t)stats->ym * stats->ym; in SSIMCalculation() 39 const int64_t xmym = (int64_t)stats->xm * stats->ym; in SSIMCalculation() 40 const int64_t sxy = (int64_t)stats->xym * N - xmym; // can be negative in SSIMCalculation() 41 const uint64_t sxx = (uint64_t)stats->xxm * N - xmxm; in SSIMCalculation() 42 const uint64_t syy = (uint64_t)stats->yym * N - ymym; in SSIMCalculation() 55 double VP8SSIMFromStats(const VP8DistoStats* const stats) { in VP8SSIMFromStats() argument 56 return SSIMCalculation(stats, kWeightSum); in VP8SSIMFromStats() 59 double VP8SSIMFromStatsClipped(const VP8DistoStats* const stats) { in VP8SSIMFromStatsClipped() argument [all …]
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gststream.c | 137 struct NotifyStats stats = { 0, }; in GST_START_TEST() local 142 &stats.collection_notify); in GST_START_TEST() 144 (GCallback) stream_notify_cb, &stats.collection_notify_type); in GST_START_TEST() 146 (GCallback) stream_notify_cb, &stats.collection_notify_flags); in GST_START_TEST() 148 (GCallback) stream_notify_cb, &stats.collection_notify_caps); in GST_START_TEST() 150 (GCallback) stream_notify_cb, &stats.collection_notify_tags); in GST_START_TEST() 156 &stats.stream_notify); in GST_START_TEST() 158 &stats.stream_notify_type); in GST_START_TEST() 160 &stats.stream_notify_flags); in GST_START_TEST() 162 &stats.stream_notify_caps); in GST_START_TEST() [all …]
|
/third_party/node/deps/npm/node_modules/cacache/lib/ |
D | verify.js | 40 ], (stats, step, i) => { 45 stats[k] = s[k] 48 if (!stats.runTime) { stats.runTime = {} } 49 stats.runTime[label] = end - start 50 return stats 52 }, {}).tap(stats => { 53 stats.runTime.total = stats.endTime - stats.startTime 54 opts.log.silly('verify', 'verification finished for', cache, 'in', `${stats.runTime.total}ms`) 104 }).tap((stats) => BB.map(files, (f) => { 112 stats.reclaimedCount++ [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | truthinessCallExpressionCoercion.types | 181 function A(stats: StatsBase<any>) { 182 >A : (stats: StatsBase<any>) => void 183 >stats : StatsBase<any> 185 if (stats.isDirectory) { // err 186 >stats.isDirectory : () => boolean 187 >stats : StatsBase<any> 190 console.log(`[Directory] ${stats.ctime}`) 191 >console.log(`[Directory] ${stats.ctime}`) : void 195 >`[Directory] ${stats.ctime}` : string 196 >stats.ctime : number [all …]
|
D | truthinessCallExpressionCoercion.symbols | 155 function A(stats: StatsBase<any>) { 157 >stats : Symbol(stats, Decl(truthinessCallExpressionCoercion.ts, 74, 11)) 160 if (stats.isDirectory) { // err 161 >stats.isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, 24… 162 >stats : Symbol(stats, Decl(truthinessCallExpressionCoercion.ts, 74, 11)) 165 console.log(`[Directory] ${stats.ctime}`) 169 >stats.ctime : Symbol(StatsBase.ctime, Decl(truthinessCallExpressionCoercion.ts, 90, 27)) 170 >stats : Symbol(stats, Decl(truthinessCallExpressionCoercion.ts, 74, 11)) 182 if (a.stats.isDirectory) { // err 183 >a.stats.isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, … [all …]
|
D | truthinessCallExpressionCoercion.js | 76 function A(stats: StatsBase<any>) { 77 if (stats.isDirectory) { // err 78 console.log(`[Directory] ${stats.ctime}`) 83 if (a.stats.isDirectory) { // err 84 b.stats.isDirectory(); 86 if (a.stats.isDirectory) { // ok 87 a.stats.isDirectory(); 97 stats: StatsBase<any>; 160 function A(stats) { 161 if (stats.isDirectory) { // err [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-promises.js | 109 let stats = await handle.stat(); 110 verifyStatObject(stats); 111 assert.strictEqual(stats.size, 35); 115 stats = await handle.stat(); 116 verifyStatObject(stats); 117 assert.strictEqual(stats.size, 1); 119 stats = await stat(dest); 120 verifyStatObject(stats); 122 stats = await handle.stat(); 123 verifyStatObject(stats); [all …]
|
/third_party/node/deps/npm/lib/doctor/ |
D | verify-cached-files.js | 9 cacache.verify(cache).then((stats) => { 10 log.info('verifyCachedFiles', `Verification complete. Stats: ${JSON.stringify(stats, 2)}`) 11 if (stats.reclaimedCount || stats.badContentCount || stats.missingContent) { 12 …stats.badContentCount && log.warn('verifyCachedFiles', `Corrupted content removed: ${stats.badCont… 13 …stats.reclaimedCount && log.warn('verifyCachedFiles', `Content garbage-collected: ${stats.reclaime… 14 … stats.missingContent && log.warn('verifyCachedFiles', `Missing content: ${stats.missingContent}`) 17 return stats
|
/third_party/gn/src/gn/ |
D | command_path.cc | 132 Stats* stats) { in InsertTargetsIntoFoundPaths() argument 154 if (stats->found_paths.find(pair.first) == stats->found_paths.end()) { in InsertTargetsIntoFoundPaths() 155 stats->found_paths.insert(std::make_pair(pair.first, type)); in InsertTargetsIntoFoundPaths() 163 stats->public_paths++; in InsertTargetsIntoFoundPaths() 165 stats->other_paths++; in InsertTargetsIntoFoundPaths() 174 Stats* stats) { in BreadthFirstSearch() argument 192 if (stats->total_paths() == 0 || print_what == PrintWhat::ALL) in BreadthFirstSearch() 198 InsertTargetsIntoFoundPaths(current_path, DepType::NONE, stats); in BreadthFirstSearch() 207 stats->found_paths.find(current_target); in BreadthFirstSearch() 208 if (found_current_target != stats->found_paths.end()) { in BreadthFirstSearch() [all …]
|
/third_party/node/lib/internal/fs/ |
D | utils.js | 185 constructor(name, stats) { argument 187 this[kStats] = stats; 251 lazyLoadFs().lstat(filepath, (err, stats) => { 256 names[idx] = new DirentFromStats(name, stats); 287 lazyLoadFs().lstat(filepath, (err, stats) => { 292 callback(null, new DirentFromStats(name, stats)); 298 const stats = lazyLoadFs().lstatSync(join(path, name)); 299 return new DirentFromStats(name, stats); 513 function getStatsFromBinding(stats, offset = 0) { argument 514 if (isBigUint64Array(stats)) { [all …]
|
/third_party/libsnd/tests/ |
D | benchmark.tpl | 74 static void calc_raw_performance (PERF_STATS *stats) ; 87 { PERF_STATS stats ; 103 calc_raw_performance (&stats) ; 109 calc_short_performance (format_major | SF_FORMAT_PCM_16, stats.read_rate, stats.write_rate) ; 110 calc_int_performance (format_major | SF_FORMAT_PCM_24, stats.read_rate, stats.write_rate) ; 111 calc_int_performance (format_major | SF_FORMAT_PCM_32, stats.read_rate, stats.write_rate) ; 112 calc_float_performance (format_major | SF_FORMAT_PCM_16, stats.read_rate, stats.write_rate) ; 113 calc_float_performance (format_major | SF_FORMAT_PCM_24, stats.read_rate, stats.write_rate) ; 114 calc_float_performance (format_major | SF_FORMAT_PCM_32, stats.read_rate, stats.write_rate) ; 115 calc_float_performance (format_major | SF_FORMAT_FLOAT , stats.read_rate, stats.write_rate) ; [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_query.c | 179 struct pipe_query_data_so_statistics *stats = in llvmpipe_get_query_result() local 181 stats->num_primitives_written = pq->num_primitives_written[0]; in llvmpipe_get_query_result() 182 stats->primitives_storage_needed = pq->num_primitives_generated[0]; in llvmpipe_get_query_result() 186 struct pipe_query_data_pipeline_statistics *stats = in llvmpipe_get_query_result() local 190 pq->stats.ps_invocations += pq->end[i]; in llvmpipe_get_query_result() 192 pq->stats.ps_invocations *= LP_RASTER_BLOCK_SIZE * LP_RASTER_BLOCK_SIZE; in llvmpipe_get_query_result() 193 *stats = pq->stats; in llvmpipe_get_query_result() 298 value = pq->stats.ia_vertices; in llvmpipe_get_query_result_resource() 301 value = pq->stats.ia_primitives; in llvmpipe_get_query_result_resource() 304 value = pq->stats.vs_invocations; in llvmpipe_get_query_result_resource() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICURWLock.java | 42 private Stats stats = null; field in ICURWLock 105 Stats result = stats; in resetStats() 106 stats = new Stats(); in resetStats() 114 Stats result = stats; in clearStats() 115 stats = null; in clearStats() 123 return stats == null ? null : new Stats(stats); in getStats() 137 if (stats != null) { // stats is null by default in acquireRead() 139 stats._rc++; in acquireRead() 141 stats._mrc++; in acquireRead() 144 stats._wrc++; in acquireRead() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | ICURWLock.java | 44 private Stats stats = null; field in ICURWLock 108 Stats result = stats; in resetStats() 109 stats = new Stats(); in resetStats() 117 Stats result = stats; in clearStats() 118 stats = null; in clearStats() 126 return stats == null ? null : new Stats(stats); in getStats() 140 if (stats != null) { // stats is null by default in acquireRead() 142 stats._rc++; in acquireRead() 144 stats._mrc++; in acquireRead() 147 stats._wrc++; in acquireRead() [all …]
|
/third_party/python/Lib/test/ |
D | test_pstats.py | 31 self.stats = pstats.Stats(stats_file) 35 stats = pstats.Stats(stream=stream) 36 stats.add(self.stats, self.stats) 44 self.stats.sort_stats(arg_int) 45 self.assertEqual(self.stats.sort_type, 46 self.stats.sort_arg_dict_default[arg_str][-1]) 52 self.stats.sort_stats(sort_name) 53 self.assertEqual(self.stats.sort_type, 54 self.stats.sort_arg_dict_default[sort_name][-1]) 60 self.stats.sort_stats(sort_name) [all …]
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | disasm-a3xx.c | 102 struct shader_stats *stats; member 113 unsigned n = (ctx->stats->halfreg + 1) / 2; in print_stats() 115 ctx->stats->halfreg = 0; in print_stats() 116 ctx->stats->fullreg = MAX2(ctx->stats->fullreg, n); in print_stats() 124 levels[ctx->level], instructions, ctx->stats->nops, in print_stats() 125 instructions - ctx->stats->nops, ctx->stats->mov_count, in print_stats() 126 ctx->stats->cov_count); in print_stats() 130 levels[ctx->level], ctx->stats->last_baryf, in print_stats() 131 DIV_ROUND_UP(ctx->stats->halfreg, 4), in print_stats() 132 DIV_ROUND_UP(ctx->stats->fullreg, 4), in print_stats() [all …]
|
/third_party/gstreamer/gstreamer/plugins/tracers/ |
D | gststats.c | 87 GstElementStats *stats = g_slice_new0 (GstElementStats); in fill_element_stats() local 89 stats->index = self->num_elements++; in fill_element_stats() 90 stats->parent_ix = G_MAXUINT; in fill_element_stats() 91 return stats; in fill_element_stats() 95 log_new_element_stats (GstElementStats * stats, GstElement * element, in log_new_element_stats() argument 99 elapsed, stats->index, stats->parent_ix, GST_OBJECT_NAME (element), in log_new_element_stats() 112 GstElementStats *stats; in create_element_stats() local 114 stats = fill_element_stats (self, element); in create_element_stats() 115 g_object_set_qdata_full ((GObject *) element, data_quark, stats, in create_element_stats() 118 return stats; in create_element_stats() [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_query.c | 46 struct pipe_query_data_pipeline_statistics stats; member 134 memcpy(&sq->stats, &softpipe->pipeline_statistics, in softpipe_begin_query() 135 sizeof(sq->stats)); in softpipe_begin_query() 202 sq->stats.ia_vertices = in softpipe_end_query() 203 softpipe->pipeline_statistics.ia_vertices - sq->stats.ia_vertices; in softpipe_end_query() 204 sq->stats.ia_primitives = in softpipe_end_query() 205 softpipe->pipeline_statistics.ia_primitives - sq->stats.ia_primitives; in softpipe_end_query() 206 sq->stats.vs_invocations = in softpipe_end_query() 207 softpipe->pipeline_statistics.vs_invocations - sq->stats.vs_invocations; in softpipe_end_query() 208 sq->stats.gs_invocations = in softpipe_end_query() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | urisourcebin.c | 30 GstStructure *stats = NULL; in GST_START_TEST() local 37 g_object_get (urisrc, "statistics", &stats, NULL); in GST_START_TEST() 39 fail_unless (stats != NULL); in GST_START_TEST() 40 fail_unless (g_strcmp0 (gst_structure_get_name (stats), in GST_START_TEST() 42 fail_unless_equals_int (6, gst_structure_n_fields (stats)); in GST_START_TEST() 44 fail_unless_equals_int (TRUE, gst_structure_get_uint (stats, in GST_START_TEST() 47 fail_unless_equals_int (TRUE, gst_structure_get_uint (stats, in GST_START_TEST() 50 fail_unless_equals_int (TRUE, gst_structure_get_uint (stats, in GST_START_TEST() 54 fail_unless_equals_int (TRUE, gst_structure_get_uint64 (stats, in GST_START_TEST() 57 fail_unless_equals_int (TRUE, gst_structure_get_uint64 (stats, in GST_START_TEST() [all …]
|