HomeSort by relevance Sort by last modified time
    Searched refs:getIsolate (Results 1 - 6 of 6) sorted by null

  /external/skia/experimental/SkV8Example/
Path2D.cpp 23 v8::HandleScope handleScope(gGlobal->getIsolate());
32 gPath2DTemplate.Reset(gGlobal->getIsolate(), localTemplate);
35 v8::Local<v8::ObjectTemplate>::New(gGlobal->getIsolate(), gPath2DTemplate);
41 result->SetInternalField(0, v8::External::New(gGlobal->getIsolate(), this));
42 gGlobal->getIsolate()->AdjustAmountOfExternalAllocatedMemory(sizeof(SkPath));
46 v8::Persistent<v8::Object> weak(gGlobal->getIsolate(), result);
48 this->handle_.Reset(gGlobal->getIsolate(), weak);
54 gGlobal->getIsolate()->AdjustAmountOfExternalAllocatedMemory(-sizeof(SkPath));
JsContext.cpp 29 v8::EscapableHandleScope handleScope(fGlobal->getIsolate());
41 gContextTemplate.Reset(fGlobal->getIsolate(), localTemplate);
44 v8::Local<v8::ObjectTemplate>::New(fGlobal->getIsolate(), gContextTemplate);
51 v8::Handle<v8::External> contextPtr = v8::External::New(fGlobal->getIsolate(), this);
68 v8::HandleScope handleScope(fGlobal->getIsolate());
87 v8::Local<v8::Function>::New(fGlobal->getIsolate(), fOnDraw);
111 v8::HandleScope handleScope(fGlobal->getIsolate());
122 fGlobal->getIsolate(), "onDraw");
135 fOnDraw.Reset(fGlobal->getIsolate(), fn_fun);
DrawingMethods.cpp 53 args.GetIsolate()->ThrowException(
55 args.GetIsolate(), "Error: 1 arguments required."));
70 args.GetIsolate()->ThrowException(
72 args.GetIsolate(), "Error: 2 arguments required."));
98 args.GetIsolate()->ThrowException(
100 args.GetIsolate(), "Error: 1 argument required."));
131 drawingMethods->fGlobal->getIsolate(), canvas->imageInfo().width()));
144 drawingMethods->fGlobal->getIsolate(), canvas->imageInfo().height()));
149 fGlobal->getIsolate(), name, \
151 v8::FunctionTemplate::New(fGlobal->getIsolate(), fn)
    [all...]
Path2DBuilder.cpp 18 v8::HandleScope handleScope(gGlobal->getIsolate());
21 0, v8::External::New(gGlobal->getIsolate(), path));
27 global->getIsolate(), name, \
29 v8::FunctionTemplate::New(global->getIsolate(), fn))
37 v8::HandleScope handleScope(gGlobal->getIsolate());
45 gGlobal->getIsolate(), Path2DBuilder::ConstructPath);
61 gGlobal->getIsolate(), "Path2DBuilder"), constructor->GetFunction());
78 args.GetIsolate()->ThrowException(
80 args.GetIsolate(), "Error: 2 arguments required."));
91 args.GetIsolate()->ThrowException
    [all...]
Global.h 46 v8::Isolate* getIsolate() {
Global.cpp 86 v8::HandleScope handleScope(args.GetIsolate());
106 args.GetIsolate()->ThrowException(
108 args.GetIsolate(), "Error: 2 arguments required."));
136 v8::HandleScope handleScope(gGlobal->getIsolate());
155 v8::Local<v8::Function>::New(gGlobal->getIsolate(), gGlobal->fTimeouts[id]);

Completed in 86 milliseconds