/third_party/node/deps/v8/src/heap/ |
H A D | allocation-observer.cc | 5 #include "src/heap/allocation-observer.h" 13 void AllocationCounter::AddAllocationObserver(AllocationObserver* observer) { in AddAllocationObserver() argument 16 [observer](const AllocationObserverCounter& aoc) { in AddAllocationObserver() 17 return aoc.observer_ == observer; in AddAllocationObserver() 23 pending_added_.push_back(AllocationObserverCounter(observer, 0, 0)); in AddAllocationObserver() 27 intptr_t step_size = observer->GetNextStepSize(); in AddAllocationObserver() 30 observers_.push_back(AllocationObserverCounter(observer, current_counter_, in AddAllocationObserver() 43 void AllocationCounter::RemoveAllocationObserver(AllocationObserver* observer) { in RemoveAllocationObserver() argument 45 [observer](const AllocationObserverCounter& aoc) { in RemoveAllocationObserver() 46 return aoc.observer_ == observer; in RemoveAllocationObserver() [all...] |
H A D | allocation-observer.h | 56 // Adds an observer. May be called from `AllocationObserver::Step()`. 57 V8_EXPORT_PRIVATE void AddAllocationObserver(AllocationObserver* observer); 59 // Removes an observer. May be called from `AllocationObserver::Step()`. 60 V8_EXPORT_PRIVATE void RemoveAllocationObserver(AllocationObserver* observer); 95 AllocationObserverCounter(AllocationObserver* observer, size_t prev_counter, in AllocationObserverCounter() 97 : observer_(observer), in AllocationObserverCounter()
|
H A D | spaces.cc | 225 void Space::AddAllocationObserver(AllocationObserver* observer) { in AddAllocationObserver() argument 226 allocation_counter_.AddAllocationObserver(observer); in AddAllocationObserver() 229 void Space::RemoveAllocationObserver(AllocationObserver* observer) { in RemoveAllocationObserver() argument 230 allocation_counter_.RemoveAllocationObserver(observer); in RemoveAllocationObserver() 336 void SpaceWithLinearArea::AddAllocationObserver(AllocationObserver* observer) { in AddAllocationObserver() argument 339 Space::AddAllocationObserver(observer); in AddAllocationObserver() 342 Space::AddAllocationObserver(observer); in AddAllocationObserver() 347 AllocationObserver* observer) { in RemoveAllocationObserver() 350 Space::RemoveAllocationObserver(observer); in RemoveAllocationObserver() 353 Space::RemoveAllocationObserver(observer); in RemoveAllocationObserver() 346 RemoveAllocationObserver( AllocationObserver* observer) RemoveAllocationObserver() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-performanceobserver.js | 34 const observer = new PerformanceObserver(common.mustNotCall()); 38 () => observer.observe(input), 48 assert.throws(() => observer.observe({ entryTypes: i }), 63 const observer = 67 assert.strictEqual(obs, observer); 70 observer.disconnect(); 72 observer.observe({ entryTypes: ['mark', 'node'] });
|
H A D | test-http2-pack-end-stream-flag.js | 34 common.mustCallAtLeast((list, observer) => { 41 observer.disconnect();
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Observer.h | 90 ObserverBindingBase(ObserverInterface *observer, SubjectIndex subjectIndex) in ObserverBindingBase() argument 91 : mObserver(observer), mIndex(subjectIndex) in ObserverBindingBase() 107 // Maintains a list of observer bindings. Sends update messages to the observer. 118 ANGLE_INLINE void addObserver(ObserverBindingBase *observer) in addObserver() argument 120 ASSERT(!IsInContainer(mObservers, observer)); in addObserver() 121 mObservers.push_back(observer); in addObserver() 124 ANGLE_INLINE void removeObserver(ObserverBindingBase *observer) in removeObserver() argument 126 ASSERT(IsInContainer(mObservers, observer)); in removeObserver() 127 mObservers.remove_and_permute(observer); in removeObserver() [all...] |
H A D | Observer_unittest.cpp | 32 ObserverClass observer; in TEST() local 33 ObserverBinding binding(&observer, 0u); in TEST() 36 ASSERT_FALSE(observer.wasNotified); in TEST() 38 ASSERT_TRUE(observer.wasNotified); in TEST()
|
H A D | Observer.cpp | 61 ObserverBinding::ObserverBinding(ObserverInterface *observer, SubjectIndex index) in ObserverBinding() argument 62 : ObserverBindingBase(observer, index), mSubject(nullptr) in ObserverBinding() 64 ASSERT(observer); in ObserverBinding()
|
H A D | Buffer.cpp | 410 const ContentsObserver &observer = mContentsObservers[observerIndex]; in getContentsObserverIndex() local 411 if (observer.vertexArray == vertexArray && observer.bufferIndex == bufferIndex) in getContentsObserverIndex() 444 for (const ContentsObserver &observer : mContentsObservers) in onContentsChange() 446 observer.vertexArray->onBufferContentsChange(observer.bufferIndex); in onContentsChange()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | node-observer.cc | 5 #include "src/compiler/node-observer.h" 18 void ObserveNodeManager::StartObserving(Node* node, NodeObserver* observer) { in StartObserving() argument 20 DCHECK_NOT_NULL(observer); in StartObserving() 23 observer->set_has_observed_changes(); in StartObserving() 24 NodeObserver::Observation observation = observer->OnNodeCreated(node); in StartObserving() 27 zone_->New<NodeObservation>(observer, node, zone_); in StartObserving() 47 observation->observer->OnNodeChanged(reducer_name, new_node, old_state); in OnNodeChanged()
|
H A D | node-observer.h | 89 : observer(node_observer), state(node, zone) { in NodeObservation() 93 NodeObserver* observer; member 101 void StartObserving(Node* node, NodeObserver* observer); 112 ObserveNodeInfo(ObserveNodeManager* manager, NodeObserver* observer) in ObserveNodeInfo() 113 : observe_node_manager(manager), node_observer(observer) {} in ObserveNodeInfo()
|
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | stats-collector.cc | 26 void StatsCollector::RegisterObserver(AllocationObserver* observer) { in RegisterObserver() argument 29 allocation_observers_.end(), observer)); in RegisterObserver() 30 allocation_observers_.push_back(observer); in RegisterObserver() 33 void StatsCollector::UnregisterObserver(AllocationObserver* observer) { in UnregisterObserver() argument 35 allocation_observers_.end(), observer); in UnregisterObserver() 80 // These observer methods may start or finalize GC. In case they trigger a in AllocatedObjectSizeSafepointImpl() 82 // observer calls are called with '0' updates. in AllocatedObjectSizeSafepointImpl() 83 ForAllAllocationObservers([this](AllocationObserver* observer) { in AllocatedObjectSizeSafepointImpl() 85 // delta for other observer calls. in AllocatedObjectSizeSafepointImpl() 89 observer in AllocatedObjectSizeSafepointImpl() [all...] |
/third_party/skia/modules/skottie/tests/ |
H A D | Expression.cpp | 247 auto observer = sk_make_sp<FakePropertyObserver>(); in DEF_TEST() local 251 .setPropertyObserver(observer) in DEF_TEST() 258 REPORTER_ASSERT(r, SkScalarNearlyEqual(observer->opacity_handle_->get(), 7.0f)); in DEF_TEST() 259 SkPoint anchor_point = observer->transform_handle_->get().fAnchorPoint; in DEF_TEST() 262 REPORTER_ASSERT(r, (observer->color_handle_->get() == SkColor4f{0.1f, 0.2f, 0.3f, 1.0f}.toSkColor())); in DEF_TEST() 347 auto observer = sk_make_sp<FakePropertyObserver>(); in DEF_TEST() local 351 .setPropertyObserver(observer) in DEF_TEST() 358 REPORTER_ASSERT(r, observer->text_handle_->get().fText == SkString("Hello, world!")); in DEF_TEST()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | DebugSink.h | 92 for (StringObserver &observer : mObservers) in erase() 94 observer.reset(); in erase() 130 for (StringObserver &observer : mObservers) in onWrite() 132 if (observer.observe(*p)) in onWrite() 138 const std::string &needle = observer.getNeedle(); in onWrite()
|
/third_party/skia/modules/skottie/src/ |
H A D | SkottieTest.cpp | 252 auto observer = sk_make_sp<TestPropertyObserver>(); in DEF_TEST() local 255 .setPropertyObserver(observer) in DEF_TEST() 261 const auto& colors = observer->colors(); in DEF_TEST() 268 const auto& colorsWithFullKeypath = observer->colorsWithFullKeypath(); in DEF_TEST() 275 const auto& opacities = observer->opacities(); in DEF_TEST() 282 const auto& transforms = observer->transforms(); in DEF_TEST() 312 const auto& texts = observer->texts(); in DEF_TEST() 385 auto observer = sk_make_sp<TestMarkerObserver>(); in DEF_TEST() local 388 .setMarkerObserver(observer) in DEF_TEST() 396 REPORTER_ASSERT(reporter, observer in DEF_TEST() [all...] |
H A D | SkottiePriv.h | 154 auto observer = builder->fPropertyObserver.get(); in AutoPropertyTracker() local 155 this->updateContext(observer, obj); in AutoPropertyTracker() 156 observer->onEnterNode(fBuilder->fPropertyObserverContext, fNodeType); in AutoPropertyTracker()
|
/third_party/node/deps/v8/src/libplatform/tracing/ |
H A D | tracing-controller.cc | 347 v8::TracingController::TraceStateObserver* observer) { 350 observers_.insert(observer); 353 // Fire the observer if recording is already in progress. 354 observer->OnTraceEnabled(); 358 v8::TracingController::TraceStateObserver* observer) { 360 DCHECK(observers_.find(observer) != observers_.end()); 361 observers_.erase(observer);
|
/third_party/node/test/fixtures/wpt/user-timing/ |
H A D | supported-usertiming-types.any.js | 26 new PerformanceObserver(function (list, observer) { 27 observer.disconnect();
|
H A D | measure-with-dict.any.js | 39 const observer = new PerformanceObserver( 45 observer.disconnect(); 50 observer.observe({ entryTypes: ["measure"] });
|
/third_party/node/test/fixtures/wpt/html/webappapis/microtask-queuing/ |
H A D | queue-microtask.window.js | 3 // This does not work as you expect because mutation observer compound microtasks are confusing. 6 const observer = new MutationObserver(cb); 8 observer.observe(node, { characterData: true }); 12 // Need to use promise_test to get sequential ordering; otherwise the global mutation observer
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-register-allocator.h | 98 void set_observer(Observer* observer) { observer_ = observer; } in set_observer() argument
|
/third_party/typescript/tests/baselines/reference/ |
H A D | contextualOverloadListFromArrayUnion.js | 12 (entries: ResizeObserverEntry[], observer: ResizeObserver): void; 15 (entries: ResizeObserverEntry[], observer: ResizeObserver): void;
|
/third_party/json/tools/serve_header/ |
H A D | serve_header.py | 156 self.observer = Observer() 157 self.observer.schedule(self, root_dir, recursive=True) 158 self.observer.start() 240 self.observer.stop() 241 self.observer.join()
|
/third_party/skia/modules/sksg/src/ |
H A D | SkSGNode.cpp | 120 // Found a damage observer. in invalidate() 127 forEachInvalObserver([&](Node* observer) { in invalidate() 128 observer->invalidate(damageBubbling); in invalidate()
|
/third_party/node/deps/v8/src/profiler/ |
H A D | profiler-listener.h | 91 void set_observer(CodeEventObserver* observer) { observer_ = observer; } in set_observer() argument
|