Home
last modified time | relevance | path

Searched refs:Cancelable (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/
Dcancelable-task.cc14 Cancelable::Cancelable(CancelableTaskManager* parent) in Cancelable() function in v8::internal::Cancelable
21 Cancelable::~Cancelable() { in ~Cancelable()
38 uint32_t CancelableTaskManager::Register(Cancelable* task) { in Register()
67 Cancelable* value = reinterpret_cast<Cancelable*>(entry->value); in TryAbort()
97 if (reinterpret_cast<Cancelable*>(p->value)->Cancel()) { in CancelAndWait()
98 to_remove.insert(reinterpret_cast<Cancelable*>(p->value)->id()); in CancelAndWait()
116 : Cancelable(isolate->cancelable_task_manager()), isolate_(isolate) {} in CancelableTask()
120 : Cancelable(isolate->cancelable_task_manager()), isolate_(isolate) {} in CancelableIdleTask()
Dcancelable-task.h17 class Cancelable; variable
29 uint32_t Register(Cancelable* task);
61 friend class Cancelable; variable
67 class Cancelable {
69 explicit Cancelable(CancelableTaskManager* parent);
70 virtual ~Cancelable();
117 DISALLOW_COPY_AND_ASSIGN(Cancelable);
122 class CancelableTask : public Cancelable, public Task {
144 class CancelableIdleTask : public Cancelable, public IdleTask {
/external/v8/test/unittests/
Dcancelable-tasks-unittest.cc16 class TestTask : public Task, public Cancelable {
22 : Cancelable(parent), result_(result), mode_(mode) {} in TestTask()