Home
last modified time | relevance | path

Searched refs:tracker (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dtest_instance_tracker_test.cc27 InstanceTracker tracker; in TEST() local
32 EXPECT_EQ(1, tracker.copies()); in TEST()
33 EXPECT_EQ(1, tracker.moves()); in TEST()
34 EXPECT_EQ(0, tracker.swaps()); in TEST()
35 EXPECT_EQ(3, tracker.instances()); in TEST()
36 EXPECT_EQ(2, tracker.live_instances()); in TEST()
37 tracker.ResetCopiesMovesSwaps(); in TEST()
43 EXPECT_EQ(1, tracker.copies()); in TEST()
44 EXPECT_EQ(1, tracker.moves()); in TEST()
45 EXPECT_EQ(0, tracker.swaps()); in TEST()
[all …]
Dcompressed_tuple_test.cc74 InstanceTracker tracker; in TEST() local
76 EXPECT_EQ(tracker.instances(), 1); in TEST()
77 EXPECT_EQ(tracker.copies(), 0); in TEST()
78 EXPECT_LE(tracker.moves(), 1); in TEST()
83 InstanceTracker tracker; in TEST() local
87 EXPECT_EQ(tracker.instances(), 2); in TEST()
88 EXPECT_EQ(tracker.copies(), 0); in TEST()
89 EXPECT_LE(tracker.moves(), 1); in TEST()
94 InstanceTracker tracker; in TEST() local
102 EXPECT_EQ(tracker.copies(), 0); in TEST()
[all …]
/third_party/node/test/parallel/
Dtest-assert-calltracker-getCalls.js8 const tracker = new assert.CallTracker(); constant
11 const fn = tracker.calls();
12 assert.deepStrictEqual(tracker.getCalls(fn), []);
16 const fn = tracker.calls(() => {});
21 assert.deepStrictEqual(tracker.getCalls(fn), [
28 assert.throws(() => tracker.getCalls(fn), { code: 'ERR_INVALID_ARG_VALUE' });
33 const fn = tracker.calls();
35 const calls = tracker.getCalls(fn);
43 const tracker = new assert.CallTracker(); constant
46 const fn = tracker.calls();
[all …]
Dtest-assert-calltracker-calls.js7 const tracker = new assert.CallTracker(); constant
17 const callsbar = tracker.calls(bar, '1');
23 const callsbar = tracker.calls(bar, 0.1);
29 const callsbar = tracker.calls(bar, true);
35 const callsbar = tracker.calls(bar, () => {});
41 const callsbar = tracker.calls(bar, null);
49 assert.throws(() => tracker.calls(bar, 1), {
60 const callsfunc = tracker.calls(func, 1);
69 const tracker = new assert.CallTracker(); constant
70 const callsNoop = tracker.calls(1);
[all …]
Dtest-assert-calltracker-verify.js7 const tracker = new assert.CallTracker(); constant
15 const callsfoo = tracker.calls(foo, 1);
16 const callsbar = tracker.calls(bar, 1);
20 () => tracker.verify(),
28 () => tracker.verify(),
34 tracker.verify();
36 const callsfoobar = tracker.calls(foo, 1);
42 () => tracker.verify(),
51 () => tracker.verify(),
Dtest-assert-calltracker-report.js7 const tracker = new assert.CallTracker(); constant
11 const callsfoo = tracker.calls(foo, 1);
14 assert.strictEqual(tracker.report()[0].operator, 'foo');
20 assert.strictEqual(typeof tracker.report()[0], 'undefined');
26 assert.strictEqual(tracker.report()[0].operator, 'foo');
/third_party/node/deps/npm/lib/commands/
Ddoctor.js158 const tracker = log.newItem('checkPing', 1)
159 tracker.info('checkPing', 'Pinging registry')
170 tracker.finish()
175 const tracker = log.newItem('getLatestNpmVersion', 1)
176 tracker.info('getLatestNpmVersion', 'Getting npm package information')
185 tracker.finish()
194 const tracker = log.newItem('getLatestNodejsVersion', 1)
195 tracker.info('getLatestNodejsVersion', 'Getting Node.js release information')
217 tracker.finish()
222 const tracker = log.newItem('getBinPath', 1)
[all …]
/third_party/libinput/src/
Dfilter.c114 struct pointer_tracker *tracker; in trackers_reset() local
117 tracker = trackers_by_offset(trackers, offset); in trackers_reset()
118 tracker->time = 0; in trackers_reset()
119 tracker->dir = 0; in trackers_reset()
120 tracker->delta.x = 0; in trackers_reset()
121 tracker->delta.y = 0; in trackers_reset()
124 tracker = trackers_by_offset(trackers, 0); in trackers_reset()
125 tracker->time = time; in trackers_reset()
126 tracker->dir = UNDEFINED_DIRECTION; in trackers_reset()
163 calculate_trackers_velocity(struct pointer_tracker *tracker, in calculate_trackers_velocity() argument
[all …]
Dfilter-touchpad-x230.c194 struct pointer_tracker *tracker; in accelerator_restart_x230() local
197 tracker = trackers_by_offset(&accel->trackers, offset); in accelerator_restart_x230()
198 tracker->time = 0; in accelerator_restart_x230()
199 tracker->dir = 0; in accelerator_restart_x230()
200 tracker->delta.x = 0; in accelerator_restart_x230()
201 tracker->delta.y = 0; in accelerator_restart_x230()
204 tracker = trackers_by_offset(&accel->trackers, 0); in accelerator_restart_x230()
205 tracker->time = time; in accelerator_restart_x230()
206 tracker->dir = UNDEFINED_DIRECTION; in accelerator_restart_x230()
/third_party/vulkan-loader/tests/
Dloader_alloc_callback_tests.cpp205 MemoryTracker tracker; in TEST() local
207 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST()
210 ASSERT_TRUE(tracker.empty()); in TEST()
219 MemoryTracker tracker; in TEST() local
221 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST()
228 ASSERT_TRUE(tracker.empty()); in TEST()
237 MemoryTracker tracker; in TEST() local
241 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST()
252 ASSERT_TRUE(tracker.empty()); in TEST()
262 MemoryTracker tracker; in TEST() local
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_update_tracker_test.cc63 constexpr CordzUpdateTracker tracker; in TEST() local
65 ASSERT_THAT(tracker.Value(method), Eq(0)); in TEST()
71 CordzUpdateTracker tracker; in TEST() local
73 tracker.LossyAdd(method, n); in TEST()
74 EXPECT_THAT(tracker.Value(method), Eq(n)); in TEST()
88 CordzUpdateTracker tracker(src); in TEST() local
90 EXPECT_THAT(tracker.Value(method), Eq(n)); in TEST()
98 CordzUpdateTracker tracker; in TEST() local
105 tracker = src; in TEST()
107 EXPECT_THAT(tracker.Value(method), Eq(n)); in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dinlined_vector_test.cc875 InstanceTracker tracker; in TYPED_TEST_P() local
882 EXPECT_EQ(tracker.instances(), l1 + l2); in TYPED_TEST_P()
883 tracker.ResetCopiesMovesSwaps(); in TYPED_TEST_P()
888 EXPECT_EQ(tracker.instances(), l1 + l2); in TYPED_TEST_P()
890 EXPECT_EQ(tracker.swaps(), 0); // Allocations are swapped. in TYPED_TEST_P()
891 EXPECT_EQ(tracker.moves(), 0); in TYPED_TEST_P()
893 EXPECT_EQ(tracker.swaps(), min_len); in TYPED_TEST_P()
894 EXPECT_EQ((tracker.moves() ? tracker.moves() : tracker.copies()), in TYPED_TEST_P()
899 EXPECT_EQ(tracker.swaps(), 0); in TYPED_TEST_P()
900 EXPECT_EQ((tracker.moves() ? tracker.moves() : tracker.copies()), in TYPED_TEST_P()
[all …]
Dflat_hash_map_test.cc126 explicit LazyInt(size_t value, int* tracker) in LazyInt()
127 : value(value), tracker(tracker) {} in LazyInt()
130 ++*tracker; in operator size_t()
135 int* tracker; member
140 int* tracker; member
142 ++*tracker; in operator ()()
146 ++*tracker; in operator ()()
/third_party/node/deps/npm/node_modules/are-we-there-yet/lib/
Dtracker-stream.js8 this.tracker = new Tracker(name, size)
10 this.id = this.tracker.id
11 this.tracker.on('change', this.trackerChange.bind(this))
19 this.tracker.completeWork(data.length ? data.length : 1)
25 this.tracker.finish()
30 return this.tracker.completed()
34 return this.tracker.addWork(work)
38 return this.tracker.finish()
Dtracker-group.js82 var tracker = this.trackers[ii]
83 tracker.finish()
84 tracker.removeListener('change', this.bubbleChange)
93 this.trackers.forEach(function (tracker) { argument
94 output += tracker instanceof TrackerGroup
95 ? tracker.debug(depth + 1)
96 : `${indent} ${tracker.name}: ${tracker.completed()}\n`
103 return function (name, completed, tracker) { argument
104 trackerGroup.completion[tracker.id] = completed
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDawnPerfTest.cpp312 EventTracker* tracker = nullptr; in OutputResults() local
317 tracker = &validationTracker; in OutputResults()
321 tracker = &recordingTracker; in OutputResults()
328 if (tracker == nullptr) { in OutputResults()
333 tracker->start = std::min(tracker->start, traceEvent.timestamp); in OutputResults()
334 tracker->count++; in OutputResults()
338 tracker->end = std::max(tracker->end, traceEvent.timestamp); in OutputResults()
339 ASSERT(tracker->count > 0); in OutputResults()
340 tracker->count--; in OutputResults()
342 if (tracker->count == 0) { in OutputResults()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DRefBaseTests.cpp130 RefTracker tracker(1, &events); in TEST() local
131 Ref ref(tracker); in TEST()
146 RefTracker tracker(1, &events); in TEST() local
150 Ref ref(tracker); in TEST()
161 RefTracker tracker(1, &events); in TEST() local
162 Ref refA(tracker); in TEST()
239 RefTracker tracker(1, &events); in TEST() local
240 Ref ref(tracker); in TEST()
254 RefTracker tracker(1, &events); in TEST() local
255 Ref ref(tracker); in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/functional/
Dfunction_ref_test.cc162 absl::test_internal::InstanceTracker tracker; in TEST() local
167 EXPECT_EQ(tracker.copies(), 1); in TEST()
168 EXPECT_EQ(tracker.moves(), 1); in TEST()
172 absl::test_internal::InstanceTracker tracker; in TEST() local
177 EXPECT_EQ(tracker.copies(), 0); in TEST()
178 EXPECT_EQ(tracker.moves(), 0); in TEST()
182 absl::test_internal::InstanceTracker tracker; in TEST() local
187 EXPECT_EQ(tracker.copies(), 0); in TEST()
188 EXPECT_EQ(tracker.moves(), 2); in TEST()
192 absl::test_internal::InstanceTracker tracker; in TEST() local
[all …]
/third_party/node/deps/npm/node_modules/npmlog/lib/
Dlog.js55 log.tracker = new Progress.TrackerGroup() variable
87 this.tracker.on('change', this.showProgress)
96 this.tracker.removeListener('change', this.showProgress)
102 var mixinLog = function (tracker) { argument
116 if (tracker[P]) {
125 tracker[P] = function () { function
131 if (tracker instanceof Progress.TrackerGroup) {
133 var func = tracker[C]
134 tracker[C] = function () { function
135 return mixinLog(func.apply(tracker, arguments))
[all …]
/third_party/python/Doc/
Dbugs.rst19 please submit a bug report on the :ref:`tracker <using-the-tracker>`. If you
30 A list of documentation bugs that have been submitted to the Python issue tracker.
32 `Issue Tracking <https://devguide.python.org/tracker/>`_
33 Overview of the process involved in reporting an improvement on the tracker.
38 .. _using-the-tracker:
40 Using the Python issue tracker
44 (https://bugs.python.org/). The bug tracker offers a web form which allows
54 If the problem you're reporting is not already in the bug tracker, go back to
55 the Python Bug Tracker and log in. If you don't already have a tracker account,
/third_party/skia/tools/gpu/
DFlushFinishTracker.h20 auto tracker = static_cast<FlushFinishTracker*>(finishedContext); in FlushFinished() local
21 tracker->setFinished(); in FlushFinished()
22 tracker->unref(); in FlushFinished()
/third_party/node/doc/api/
Dassert.md239 were called a specific number of times. The `tracker.verify()` must be called
247 const tracker = new assert.CallTracker();
251 // callsfunc() must be called exactly 1 time before tracker.verify().
252 const callsfunc = tracker.calls(func, 1);
256 // Calls tracker.verify() and verifies if all tracker.calls() functions have
259 tracker.verify();
266 const tracker = new assert.CallTracker();
270 // callsfunc() must be called exactly 1 time before tracker.verify().
271 const callsfunc = tracker.calls(func, 1);
275 // Calls tracker.verify() and verifies if all tracker.calls() functions have
[all …]
/third_party/node/src/
Dnode_sockaddr.h175 void MemoryInfo(MemoryTracker* tracker) const override;
197 void MemoryInfo(MemoryTracker* tracker) const override;
229 void MemoryInfo(MemoryTracker* tracker) const override;
285 void MemoryInfo(node::MemoryTracker* tracker) const override;
301 void MemoryInfo(node::MemoryTracker* tracker) const override;
317 void MemoryInfo(node::MemoryTracker* tracker) const override;
322 void MemoryInfo(node::MemoryTracker* tracker) const override;
366 void MemoryInfo(node::MemoryTracker* tracker) const override;
389 void MemoryInfo(MemoryTracker* tracker) const override;
Dnode_sockaddr.cc525 void SocketAddressBlockList::MemoryInfo(node::MemoryTracker* tracker) const { in MemoryInfo()
526 tracker->TrackField("rules", rules_); in MemoryInfo()
530 node::MemoryTracker* tracker) const { in MemoryInfo()
531 tracker->TrackField("address", address); in MemoryInfo()
535 node::MemoryTracker* tracker) const { in MemoryInfo()
536 tracker->TrackField("start", start); in MemoryInfo()
537 tracker->TrackField("end", end); in MemoryInfo()
541 node::MemoryTracker* tracker) const { in MemoryInfo()
542 tracker->TrackField("network", network); in MemoryInfo()
682 void SocketAddressBlockListWrap::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
[all …]
Denv.cc493 void IsolateData::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
495 tracker->TrackField(#PropertyName, PropertyName()); in MemoryInfo()
501 tracker->TrackField("async_wrap_providers", async_wrap_providers_); in MemoryInfo()
504 tracker->TrackFieldWithSize( in MemoryInfo()
507 tracker->TrackFieldWithSize( in MemoryInfo()
1374 void ImmediateInfo::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
1375 tracker->TrackField("fields", fields_); in MemoryInfo()
1393 void TickInfo::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
1394 tracker->TrackField("fields", fields_); in MemoryInfo()
1510 void AsyncHooks::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
[all …]

12345678910>>...14