Lines Matching refs:isolate_
67 explicit JSGraph(Isolate* isolate) : isolate_(isolate) {} in JSGraph()
70 std::unique_ptr<JSGraphJSNode> n { new JSGraphJSNode(isolate_, value) }; in V8Node()
89 EscapableHandleScope handle_scope(isolate_); in CreateObject()
90 Local<Context> context = isolate_->GetCurrentContext(); in CreateObject()
94 Local<Array> nodes = Array::New(isolate_, nodes_.size()); in CreateObject()
95 Local<String> edges_string = FIXED_ONE_BYTE_STRING(isolate_, "edges"); in CreateObject()
96 Local<String> is_root_string = FIXED_ONE_BYTE_STRING(isolate_, "isRoot"); in CreateObject()
100 Local<String> wraps_string = FIXED_ONE_BYTE_STRING(isolate_, "wraps"); in CreateObject()
101 Local<String> to_string = FIXED_ONE_BYTE_STRING(isolate_, "to"); in CreateObject()
104 info_objects[n.get()] = Object::New(isolate_); in CreateObject()
107 HandleScope handle_scope(isolate_); in CreateObject()
121 if (!String::NewFromUtf8(isolate_, name_str.c_str()) in CreateObject()
126 Boolean::New(isolate_, n->IsRootNode())) in CreateObject()
130 Number::New(isolate_, n->SizeInBytes())) in CreateObject()
132 obj->Set(context, edges_string, Array::New(isolate_)).IsNothing()) { in CreateObject()
166 Local<Object> edge_obj = Object::New(isolate_); in CreateObject()
170 if (!String::NewFromUtf8(isolate_, edge_name) in CreateObject()
175 edge_name_value = Number::New(isolate_, j++); in CreateObject()
189 Isolate* isolate_; member in node::heap::JSGraph