/third_party/glfw/tests/ |
H A D | allocator.c | 52 struct allocator_stats* stats = user; in allocate() local 55 stats->total += size; in allocate() 56 stats->current += size; in allocate() 57 if (stats->current > stats->maximum) in allocate() 58 stats->maximum = stats->current; in allocate() 61 function_name, size, stats->current, stats->maximum, stats in allocate() 71 struct allocator_stats* stats = user; deallocate() local 85 struct allocator_stats* stats = user; reallocate() local 106 struct allocator_stats stats = {0}; main() local [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | ssim.c | 31 const VP8DistoStats* const stats, uint32_t N /*num samples*/) { in SSIMCalculation() 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 in SSIMCalculation() 30 SSIMCalculation( const VP8DistoStats* const stats, uint32_t N ) SSIMCalculation() argument 55 VP8SSIMFromStats(const VP8DistoStats* const stats) VP8SSIMFromStats() argument 59 VP8SSIMFromStatsClipped(const VP8DistoStats* const stats) VP8SSIMFromStatsClipped() argument 66 VP8DistoStats stats = { 0, 0, 0, 0, 0, 0 }; SSIMGetClipped_C() local 95 VP8DistoStats stats = { 0, 0, 0, 0, 0, 0 }; SSIMGet_C() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_pstats.py | 32 self.stats = pstats.Stats(stats_file) 36 stats = pstats.Stats(stream=stream) 37 stats.add(self.stats, self.stats) 45 self.stats.sort_stats(arg_int) 46 self.assertEqual(self.stats.sort_type, 47 self.stats.sort_arg_dict_default[arg_str][-1]) 53 self.stats.sort_stats(sort_name) 54 self.assertEqual(self.stats [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A 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 in llvmpipe_get_query_result_resource() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A 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 [all...] |
/third_party/node/deps/v8/src/diagnostics/ |
H A D | compilation-statistics.cc | 17 const BasicStats& stats) { in RecordPhaseStats() 26 it->second.Accumulate(stats); in RecordPhaseStats() 30 const BasicStats& stats) { in RecordPhaseKindStats() 41 it->second.Accumulate(stats); in RecordPhaseKindStats() 44 void CompilationStatistics::RecordTotalStats(const BasicStats& stats) { in RecordTotalStats() argument 46 total_stats_.Accumulate(stats); in RecordTotalStats() 49 void CompilationStatistics::BasicStats::Accumulate(const BasicStats& stats) { in Accumulate() argument 50 delta_ += stats.delta_; in Accumulate() 51 total_allocated_bytes_ += stats.total_allocated_bytes_; in Accumulate() 52 if (stats in Accumulate() 15 RecordPhaseStats(const char* phase_kind_name, const char* phase_name, const BasicStats& stats) RecordPhaseStats() argument 29 RecordPhaseKindStats(const char* phase_kind_name, const BasicStats& stats) RecordPhaseKindStats() argument 82 WriteLine(std::ostream& os, bool machine_format, const char* name, const CompilationStatistics::BasicStats& stats, const CompilationStatistics::BasicStats& total_stats) WriteLine() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICURWLock.java | 42 private Stats stats = null; field in ICURWLock 89 * Return a string listing all the stats. 102 * Reset the stats. Returns existing stats, if any. 105 Stats result = stats; in resetStats() 106 stats = new Stats(); in resetStats() 111 * Clear the stats (stop collecting stats). Returns existing stats, if any. 114 Stats result = stats; in clearStats() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ICURWLock.java | 44 private Stats stats = null; field in ICURWLock 92 * Return a string listing all the stats. 105 * Reset the stats. Returns existing stats, if any. 108 Stats result = stats; in resetStats() 109 stats = new Stats(); in resetStats() 114 * Clear the stats (stop collecting stats). Returns existing stats, if any. 117 Stats result = stats; in clearStats() [all...] |
/third_party/gn/src/gn/ |
H A D | command_path.cc | 132 Stats* stats) { in InsertTargetsIntoFoundPaths() 147 // double-counted in the stats. in InsertTargetsIntoFoundPaths() 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() 161 // Only count this path in the stats if any part of it was actually new. in InsertTargetsIntoFoundPaths() 163 stats->public_paths++; in InsertTargetsIntoFoundPaths() 165 stats->other_paths++; in InsertTargetsIntoFoundPaths() 174 Stats* stats) { in BreadthFirstSearch() 192 if (stats in BreadthFirstSearch() 130 InsertTargetsIntoFoundPaths(const PathVector& path, DepType implicit_last_dep, Stats* stats) InsertTargetsIntoFoundPaths() argument 169 BreadthFirstSearch(const Target* from, const Target* to, PrivateDeps private_deps, DataDeps data_deps, PrintWhat print_what, Stats* stats) BreadthFirstSearch() argument 250 DoSearch(const Target* from, const Target* to, const Options& options, Stats* stats) DoSearch() argument 350 Stats stats; RunPath() local [all...] |
/third_party/node/deps/npm/node_modules/cacache/lib/ |
H A D | verify.js | 44 const stats = {} 51 stats[k] = s[k] 55 if (!stats.runTime) { 56 stats.runTime = {} 58 stats.runTime[label] = end - start 60 stats.runTime.total = stats.endTime - stats.startTime 66 `${stats.runTime.total}ms` 68 return stats [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | heap-statistics-collector.cc | 17 #include "src/heap/cppgc/stats-collector.h" 36 HeapStatistics::SpaceStatistics* InitializeSpace(HeapStatistics* stats, in InitializeSpace() argument 38 stats->space_stats.emplace_back(); in InitializeSpace() 39 HeapStatistics::SpaceStatistics* space_stats = &stats->space_stats.back(); in InitializeSpace() 45 HeapStatistics::SpaceStatistics* stats) { in InitializePage() 46 stats->page_stats.emplace_back(); in InitializePage() 47 HeapStatistics::PageStatistics* page_stats = &stats->page_stats.back(); in InitializePage() 62 void FinalizeSpace(HeapStatistics* stats, in FinalizeSpace() argument 67 DCHECK_NOT_NULL(stats); in FinalizeSpace() 68 stats in FinalizeSpace() 44 InitializePage( HeapStatistics::SpaceStatistics* stats) InitializePage() argument 96 HeapStatistics stats; CollectDetailedStatistics() local [all...] |
/third_party/node/lib/internal/fs/ |
H A D | utils.js | 63 const kStats = Symbol('stats'); 201 constructor(name, stats, path, filepath) { 203 this[kStats] = stats; 267 lazyLoadFs().lstat(filepath, (err, stats) => { 272 names[idx] = new DirentFromStats(name, stats, path, filepath); 303 lazyLoadFs().lstat(filepath, (err, stats) => { 308 callback(null, new DirentFromStats(name, stats, path, filepath)); 315 const stats = lazyLoadFs().lstatSync(filepath); 317 return new DirentFromStats(name, stats, path, callback === true ? filepath : path); 411 // Constructor for file stats [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_aspectralstats.c | 55 ChannelSpectralStats *stats; member 97 s->stats = av_calloc(s->nb_channels, sizeof(*s->stats)); in config_output() 98 if (!s->stats) in config_output() 167 ChannelSpectralStats *stats = &s->stats[ch]; in set_metadata() local 169 set_meta(metadata, ch + 1, "mean", "%g", stats->mean); in set_metadata() 170 set_meta(metadata, ch + 1, "variance", "%g", stats->variance); in set_metadata() 171 set_meta(metadata, ch + 1, "centroid", "%g", stats->centroid); in set_metadata() 172 set_meta(metadata, ch + 1, "spread", "%g", stats in set_metadata() 401 ChannelSpectralStats *stats = &s->stats[ch]; filter_channel() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-fs-promises.js | 130 // file stats 133 let stats = await handle.stat(); 134 verifyStatObject(stats); 135 assert.strictEqual(stats.size, 35); 139 stats = await handle.stat(); 140 verifyStatObject(stats); 141 assert.strictEqual(stats.size, 1); 143 stats = await stat(dest); 144 verifyStatObject(stats); 146 stats [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_query_sw.c | 55 return ctx->stats.prims_generated; 57 return ctx->stats.prims_emitted; 59 return ctx->stats.draw_calls; 61 return ctx->stats.batch_total; 63 return ctx->stats.batch_sysmem; 65 return ctx->stats.batch_gmem; 67 return ctx->stats.batch_nondraw; 69 return ctx->stats.batch_restore; 71 return ctx->stats.staging_uploads; 73 return ctx->stats [all...] |
/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
H A D | va_perf.c | 30 va_count_instr_stats(bi_instr *I, struct va_stats *stats) in va_count_instr_stats() argument 38 stats->fma += words; in va_count_instr_stats() 42 stats->cvt += words; in va_count_instr_stats() 46 stats->sfu += words; in va_count_instr_stats() 51 stats->v += (I->vecsize + 1) * in va_count_instr_stats() 57 stats->ls++; in va_count_instr_stats() 61 stats->t++; in va_count_instr_stats() 67 stats->ls += (2 * 2); in va_count_instr_stats() 68 stats->t++; in va_count_instr_stats()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A 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 in print_stats() 574 disasm_a3xx_stat(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id, struct shader_stats *stats) disasm_a3xx_stat() argument 642 struct shader_stats stats; disasm_a3xx() local 650 struct shader_stats stats; try_disasm_a3xx() local [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | cwebp.c | 166 static void PrintFullLosslessInfo(const WebPAuxStats* const stats, in PrintFullLosslessInfo() argument 169 description, stats->lossless_size); in PrintFullLosslessInfo() 171 stats->lossless_hdr_size, stats->lossless_data_size); in PrintFullLosslessInfo() 172 if (stats->lossless_features) { in PrintFullLosslessInfo() 174 if (stats->lossless_features & 1) fprintf(stderr, " PREDICTION"); in PrintFullLosslessInfo() 175 if (stats->lossless_features & 2) fprintf(stderr, " CROSS-COLOR-TRANSFORM"); in PrintFullLosslessInfo() 176 if (stats->lossless_features & 4) fprintf(stderr, " SUBTRACT-GREEN"); in PrintFullLosslessInfo() 177 if (stats->lossless_features & 8) fprintf(stderr, " PALETTE"); in PrintFullLosslessInfo() 181 stats in PrintFullLosslessInfo() 190 const WebPAuxStats* const stats = pic->stats; PrintExtraInfoLossless() local 205 const WebPAuxStats* const stats = pic->stats; PrintExtraInfoLossy() local 670 WebPAuxStats stats; main() local [all...] |
/third_party/skia/experimental/lowp-basic/ |
H A D | lerp-study.cpp | 86 Stats stats; in check_lerp() local 93 stats.log(golden, candidate); in check_lerp() 95 return stats; in check_lerp() 99 Stats stats; in main() local 102 stats = check_lerp(full_res_lerp); in main() 103 stats.print(); in main() 106 stats = check_lerp(saturating_lerp<7>); in main() 107 stats.print(); in main() 110 stats = check_lerp(ssse3_lerp<7>); in main() 111 stats in main() [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | alpha_enc.c | 52 WebPAuxStats* const stats) { in EncodeLossless() 61 picture.stats = stats; in EncodeLossless() 105 WebPAuxStats stats; member 140 !reduce_levels, &tmp_bw, &result->stats); in EncodeAlphaInternal() 239 WebPAuxStats* const stats) { in ApplyFiltersAndEncode() 271 if (stats != NULL) { in ApplyFiltersAndEncode() 272 stats->lossless_features = best.stats.lossless_features; in ApplyFiltersAndEncode() 273 stats in ApplyFiltersAndEncode() 49 EncodeLossless(const uint8_t* const data, int width, int height, int effort_level, int use_quality_100, VP8LBitWriter* const bw, WebPAuxStats* const stats) EncodeLossless() argument 234 ApplyFiltersAndEncode(const uint8_t* alpha, int width, int height, size_t data_size, int method, int filter, int reduce_levels, int effort_level, uint8_t** const output, size_t* const output_size, WebPAuxStats* const stats) ApplyFiltersAndEncode() argument [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/ |
H A D | workbench.py | 12 Regularly updates a stats.json and failures.json during executions. E.g. 14 cat workdir/output/stats.json | python -m json.tool 61 with open(os.path.join(test_dir, 'stats.json')) as f: 62 stats = json.load(f) 65 return (stats, failures) 78 def add(self, stats, failures): 79 # Aggregate common stats. 80 self.total += stats['total'] 81 self.crash += stats['crash'] 82 self.timeout += stats['timeou 95 def stats(self): global() member in Stats [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A 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 in softpipe_end_query() 243 struct pipe_query_data_so_statistics *stats = softpipe_get_query_result() local [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/compiler/ |
H A D | MatcherBytes.java | 86 private final Statistics stats; field in MatcherBytes 88 MatcherBytes(Iterable<Sequence> allSequences, Statistics stats) { in MatcherBytes() argument 92 this.stats = Preconditions.checkNotNull(stats); in MatcherBytes() 161 SequenceBytes compiled = new SequenceBytes(sequence, offsetMap, stats); in compile() 181 Sequence sequence, Map<DfaNode, Integer> offsetMap, Statistics stats) { in renderSequence() 189 ops.get(n).writeTo(outBytes, null, stats); in renderSequence() 193 stats.record(Statistics.Type.TERMINATING); in renderSequence() 197 lastOp.writeTo(outBytes, offsetMap, stats); in renderSequence() 201 lastOp.writeTo(outBytes, null, stats); in renderSequence() 180 renderSequence( Sequence sequence, Map<DfaNode, Integer> offsetMap, Statistics stats) renderSequence() argument 226 SequenceBytes(Sequence sequence, Map<DfaNode, Integer> offsetMap, Statistics stats) SequenceBytes() argument [all...] |
H A D | Operation.java | 133 ByteArrayDataOutput out, Map<DfaNode, Integer> offsetMap, Statistics stats); in writeImpl() 135 void writeTo(ByteArrayDataOutput out, Map<DfaNode, Integer> offsetMap, Statistics stats) { in writeTo() argument 137 stats.record(Type.TERMINATING); in writeTo() 139 writeImpl(out, offsetMap, stats); in writeTo() 154 static void writeBranch(ByteArrayDataOutput out, int jump, Statistics stats) { in writeBranch() argument 157 stats.record(Type.CONTINUATION); in writeBranch() 159 stats.record(Type.SHORT_BRANCH); in writeBranch() 162 stats.record(jump < 0x100 ? Type.MEDIUM_BRANCH : Type.LONG_BRANCH); in writeBranch() 168 static void writeTerminator(ByteArrayDataOutput out, Statistics stats) { in writeTerminator() argument 169 stats in writeTerminator() 132 writeImpl( ByteArrayDataOutput out, Map<DfaNode, Integer> offsetMap, Statistics stats) writeImpl() argument 230 writeImpl(ByteArrayDataOutput out, Map<DfaNode, Integer> unused, Statistics stats) writeImpl() argument 265 writeImpl(ByteArrayDataOutput out, Map<DfaNode, Integer> unused, Statistics stats) writeImpl() argument 306 writeImpl(ByteArrayDataOutput out, Map<DfaNode, Integer> unused, Statistics stats) writeImpl() argument 363 writeImpl(ByteArrayDataOutput out, Map<DfaNode, Integer> offsetMap, Statistics stats) writeImpl() argument 415 writeImpl(ByteArrayDataOutput out, Map<DfaNode, Integer> offsetMap, Statistics stats) writeImpl() argument 483 writeJumpTable(ByteArrayDataOutput out, List<Integer> offsets, Statistics stats) writeJumpTable() argument [all...] |
/third_party/python/Lib/ |
H A D | pstats.py | 127 self.stats = {} 139 self.stats = {} 143 self.stats = marshal.load(f) 152 self.stats = arg.stats 153 arg.stats = {} 154 if not self.stats: 160 for func, (cc, nc, tt, ct, callers) in self.stats.items(): 187 for func, stat in item.stats.items(): 188 if func in self.stats [all...] |