Lines Matching refs:isolate
73 v8::Isolate* isolate, const char* format, Args&&... args) { \
75 v8::Local<v8::String> js_code = OneByteString(isolate, #code); \
77 OneByteString(isolate, message.c_str(), message.length()); \
79 ->ToObject(isolate->GetCurrentContext()) \
81 e->Set(isolate->GetCurrentContext(), \
82 OneByteString(isolate, "code"), \
89 v8::Isolate* isolate, const char* format, Args&&... args) { \
90 isolate->ThrowException( \
91 code(isolate, format, std::forward<Args>(args)...)); \
96 THROW_##code(env->isolate(), format, std::forward<Args>(args)...); \
143 inline v8::Local<v8::Value> code(v8::Isolate* isolate) { \
144 return code(isolate, message); \
146 inline void THROW_ ## code(v8::Isolate* isolate) { \
147 isolate->ThrowException(code(isolate, message)); \
150 THROW_ ## code(env->isolate()); \
164 inline v8::Local<v8::Value> ERR_BUFFER_TOO_LARGE(v8::Isolate* isolate) { in ERR_BUFFER_TOO_LARGE() argument
169 return ERR_BUFFER_TOO_LARGE(isolate, message); in ERR_BUFFER_TOO_LARGE()
172 inline v8::Local<v8::Value> ERR_STRING_TOO_LONG(v8::Isolate* isolate) { in ERR_STRING_TOO_LONG() argument
177 return ERR_STRING_TOO_LONG(isolate, message); in ERR_STRING_TOO_LONG()
201 : v8::TryCatch(env->isolate()), env_(env), mode_(mode) {}
221 void TriggerUncaughtException(v8::Isolate* isolate,
223 void TriggerUncaughtException(v8::Isolate* isolate,