• Home
  • Raw
  • Download

Lines Matching full:isolate

12 using v8::Isolate;
43 Isolate* isolate = context->GetIsolate(); in GetSourceObject() local
44 Local<Object> out = Object::New(isolate); in GetSourceObject()
46 Local<String> key = OneByteString(isolate, x.first.c_str(), x.first.size()); in GetSourceObject()
47 out->Set(context, key, x.second.ToStringChecked(isolate)).FromJust(); in GetSourceObject()
52 Local<String> NativeModuleLoader::GetConfigString(Isolate* isolate) { in GetConfigString() argument
53 return config_.ToStringChecked(isolate); in GetConfigString()
177 Isolate* isolate = context->GetIsolate(); in CompileAsModule() local
179 FIXED_ONE_BYTE_STRING(isolate, "exports"), in CompileAsModule()
180 FIXED_ONE_BYTE_STRING(isolate, "require"), in CompileAsModule()
181 FIXED_ONE_BYTE_STRING(isolate, "module"), in CompileAsModule()
182 FIXED_ONE_BYTE_STRING(isolate, "process"), in CompileAsModule()
183 FIXED_ONE_BYTE_STRING(isolate, "internalBinding"), in CompileAsModule()
184 FIXED_ONE_BYTE_STRING(isolate, "primordials")}; in CompileAsModule()
205 MaybeLocal<String> NativeModuleLoader::LoadBuiltinModuleSource(Isolate* isolate, in LoadBuiltinModuleSource() argument
217 Local<String> message = OneByteString(isolate, buf.c_str()); in LoadBuiltinModuleSource()
218 isolate->ThrowException(v8::Exception::Error(message)); in LoadBuiltinModuleSource()
222 isolate, contents.c_str(), v8::NewStringType::kNormal, contents.length()); in LoadBuiltinModuleSource()
229 return source_it->second.ToStringChecked(isolate); in LoadBuiltinModuleSource()
241 Isolate* isolate = context->GetIsolate(); in LookupAndCompile() local
242 EscapableHandleScope scope(isolate); in LookupAndCompile()
245 if (!LoadBuiltinModuleSource(isolate, id).ToLocal(&source)) { in LookupAndCompile()
251 OneByteString(isolate, filename_s.c_str(), filename_s.size()); in LookupAndCompile()
252 Local<Integer> line_offset = Integer::New(isolate, 0); in LookupAndCompile()
253 Local<Integer> column_offset = Integer::New(isolate, 0); in LookupAndCompile()
254 ScriptOrigin origin(filename, line_offset, column_offset, True(isolate)); in LookupAndCompile()