Lines Matching refs:Local
548 Local<Value> V8::GetEternal(Isolate* v8_isolate, int index) {
685 v8::Local<v8::Value> Context::SlowGetEmbedderData(int index) {
688 if (data.is_null()) return Local<Value>();
831 v8::Local<v8::String> name,
832 v8::Local<FunctionTemplate> getter,
833 v8::Local<FunctionTemplate> setter,
861 Local<ObjectTemplate> FunctionTemplate::PrototypeTemplate() {
882 static Local<FunctionTemplate> FunctionTemplateNew(
915 Local<FunctionTemplate> FunctionTemplate::New(
930 Local<Signature> Signature::New(Isolate* isolate,
954 Local<AccessorSignature> AccessorSignature::New(
962 static Local<Operation> NewDescriptor(
979 Local<RawOperationDescriptor>
990 Local<RawOperationDescriptor> RawOperationDescriptor::NewRawShift(
1000 Local<DeclaredAccessorDescriptor> RawOperationDescriptor::NewHandleDereference(
1008 Local<RawOperationDescriptor> RawOperationDescriptor::NewRawDereference(
1016 Local<DeclaredAccessorDescriptor> RawOperationDescriptor::NewPointerCompare(
1026 Local<DeclaredAccessorDescriptor> RawOperationDescriptor::NewPrimitiveValue(
1039 static Local<DeclaredAccessorDescriptor> NewBitmaskCompare(
1053 Local<DeclaredAccessorDescriptor> RawOperationDescriptor::NewBitmaskCompare8(
1061 Local<DeclaredAccessorDescriptor> RawOperationDescriptor::NewBitmaskCompare16(
1069 Local<DeclaredAccessorDescriptor> RawOperationDescriptor::NewBitmaskCompare32(
1077 Local<TypeSwitch> TypeSwitch::New(Handle<FunctionTemplate> type) {
1083 Local<TypeSwitch> TypeSwitch::New(int argc, Handle<FunctionTemplate> types[]) {
1195 Local<ObjectTemplate> FunctionTemplate::InstanceTemplate() {
1200 return Local<ObjectTemplate>();
1205 Local<ObjectTemplate> templ =
1253 Local<ObjectTemplate> ObjectTemplate::New(Isolate* isolate) {
1254 return New(reinterpret_cast<i::Isolate*>(isolate), Local<FunctionTemplate>());
1258 Local<ObjectTemplate> ObjectTemplate::New() {
1259 return New(i::Isolate::Current(), Local<FunctionTemplate>());
1263 Local<ObjectTemplate> ObjectTemplate::New(
1291 Local<FunctionTemplate> templ =
1333 v8::Local<String> name,
1339 v8::Local<AccessorSignature> signature) {
1353 Local<String> name,
1354 Local<DeclaredAccessorDescriptor> descriptor,
1356 Local<AccessorSignature> signature,
1364 void Template::SetNativeDataProperty(v8::Local<String> name,
1369 v8::Local<AccessorSignature> signature,
1560 Local<Script> UnboundScript::BindToCurrentContext() {
1619 Local<Value> Script::Run() {
1623 if (obj.is_null()) return Local<Value>();
1625 ON_BAILOUT(isolate, "v8::Script::Run()", return Local<Value>());
1638 EXCEPTION_BAILOUT_CHECK_DO_CALLBACK(isolate, Local<Value>());
1643 Local<UnboundScript> Script::GetUnboundScript() {
1650 Local<UnboundScript> ScriptCompiler::CompileUnbound(
1658 return Local<UnboundScript>());
1671 EXCEPTION_BAILOUT_CHECK(isolate, Local<UnboundScript>());
1689 EXCEPTION_BAILOUT_CHECK(isolate, Local<UnboundScript>());
1737 EXCEPTION_BAILOUT_CHECK(isolate, Local<UnboundScript>());
1754 Local<Script> ScriptCompiler::Compile(
1759 ON_BAILOUT(isolate, "v8::ScriptCompiler::Compile()", return Local<Script>());
1762 Local<UnboundScript> generic = CompileUnbound(v8_isolate, source, options);
1763 if (generic.IsEmpty()) return Local<Script>();
1768 Local<Script> Script::Compile(v8::Handle<String> source,
1784 Local<Script> Script::Compile(v8::Handle<String> source,
1825 v8::Local<v8::Value> exc = v8::Local<v8::Value>::New(isolate, Exception());
1861 if (!HasCaught()) return v8::Local
1867 v8::Local<Value> v8::TryCatch::Exception() const {
1874 return v8::Local<Value>();
1879 v8::Local<Value> v8::TryCatch::StackTrace() const {
1883 if (!raw_obj->IsJSObject()) return v8::Local<Value>();
1887 if (!i::JSReceiver::HasProperty(obj, name)) return v8::Local<Value>();
1890 return v8::Local<Value>();
1894 return v8::Local<Value>();
1899 v8::Local<v8::Message> v8::TryCatch::Message() const {
1906 return v8::Local<v8::Message>();
1935 Local<String> Message::Get() const {
1937 ON_BAILOUT(isolate, "v8::Message::Get()", return Local<String>());
1942 Local<String> result = Utils::ToLocal(raw_result);
2082 Local<String> Message::GetSourceLine() const {
2084 ON_BAILOUT(isolate, "v8::Message::GetSourceLine()", return Local<String>());
2091 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::String>());
2095 return Local<String>();
2109 Local<StackFrame> StackTrace::GetFrame(uint32_t index) const {
2128 Local<Array> StackTrace::AsArray() {
2135 Local<StackTrace> StackTrace::CurrentStackTrace(
2194 Local<String> StackFrame::GetScriptName() const {
2202 return Local<String>();
2204 return scope.Escape(Local<String>::Cast(Utils::ToLocal(name)));
2208 Local<String> StackFrame::GetScriptNameOrSourceURL() const {
2216 return Local<String>();
2218 return scope.Escape(Local<String>::Cast(Utils::ToLocal(name)));
2222 Local<String> StackFrame::GetFunctionName() const {
2230 return Local<String>();
2232 return scope.Escape(Local<String>::Cast(Utils::ToLocal(name)));
2260 Local<Value> JSON::Parse(Local<String> json_string) {
2273 EXCEPTION_BAILOUT_CHECK(isolate, Local<Object>());
2480 Local<String> Value::ToString() const {
2492 EXCEPTION_BAILOUT_CHECK(isolate, Local<String>());
2498 Local<String> Value::ToDetailString() const {
2510 EXCEPTION_BAILOUT_CHECK(isolate, Local<String>());
2516 Local<v8::Object> Value::ToObject() const {
2528 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Object>());
2534 Local<Boolean> Value::ToBoolean() const {
2549 Local<Number> Value::ToNumber() const {
2561 EXCEPTION_BAILOUT_CHECK(isolate, Local<Number>());
2567 Local<Integer> Value::ToInteger() const {
2579 EXCEPTION_BAILOUT_CHECK(isolate, Local<Integer>());
2828 Local<Int32> Value::ToInt32() const {
2839 EXCEPTION_BAILOUT_CHECK(isolate, Local<Int32>());
2845 Local<Uint32> Value::ToUint32() const {
2857 EXCEPTION_BAILOUT_CHECK(isolate, Local<Uint32>());
2863 Local<Uint32> Value::ToArrayIndex() const {
2867 return Local<Uint32>();
2876 EXCEPTION_BAILOUT_CHECK(isolate, Local<Uint32>());
2888 return Local<Uint32>();
3096 Local<Value> v8::Object::Get(v8::Handle<Value> key) {
3098 ON_BAILOUT(isolate, "v8::Object::Get()", return Local<v8::Value>());
3106 EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>());
3111 Local<Value> v8::Object::Get(uint32_t index) {
3113 ON_BAILOUT(isolate, "v8::Object::Get()", return Local<v8::Value>());
3120 EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>());
3125 Local<Value> v8::Object::GetPrivate(v8::Handle<Private> key) {
3152 Local<Value> v8::Object::GetPrototype() {
3154 ON_BAILOUT(isolate, "v8::Object::GetPrototype()", return Local<v8::Value>());
3180 Local<Object> v8::Object::FindInstanceInPrototypeChain(
3185 return Local<v8::Object>());
3191 if (!prototype->IsJSObject()) return Local<Object>();
3198 Local<Array> v8::Object::GetPropertyNames() {
3201 return Local<v8::Array>());
3209 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Array>());
3220 Local<Array> v8::Object::GetOwnPropertyNames() {
3223 return Local<v8::Array>());
3231 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Array>());
3242 Local<String> v8::Object::ObjectProtoToString() {
3246 return Local<v8::String>());
3265 Local<String> str = Utils::ToLocal(class_name);
3288 Local<String> result = v8::String::NewFromUtf8(
3296 Local<Value> v8::Object::GetConstructor() {
3299 return Local<v8::Function>());
3307 Local<String> v8::Object::GetConstructorName() {
3310 return Local<v8::String>());
3425 bool Object::SetDeclaredAccessor(Local<String> name,
3426 Local<DeclaredAccessorDescriptor> descriptor,
3435 void Object::SetAccessorProperty(Local<String> name,
3436 Local<Function> getter,
3509 static Local<Value> GetPropertyByLookup(i::Isolate* isolate,
3515 return Local<Value>();
3526 EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>());
3532 Local<Value> v8::Object::GetRealNamedPropertyInPrototypeChain(
3537 return Local<Value>());
3547 Local<Value> v8::Object::GetRealNamedProperty(Handle<String> key) {
3550 return Local<Value>());
3585 Local<v8::Object> v8::Object::Clone() {
3587 ON_BAILOUT(isolate, "v8::Object::Clone()", return Local<Object>());
3593 EXCEPTION_BAILOUT_CHECK(isolate, Local<Object>());
3598 Local<v8::Context> v8::Object::CreationContext() {
3601 "v8::Object::CreationContext()", return Local<v8::Context>());
3637 v8::Local<v8::Value> v8::Object::GetHiddenValue(v8::Handle<v8::String> key) {
3640 return Local<v8::Value>());
3647 if (result->IsTheHole()) return v8::Local<v8::Value>();
3841 Local<v8::Value> Object::CallAsFunction(v8::Handle<v8::Value> recv,
3846 return Local<v8::Value>());
3864 EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>());
3872 EXCEPTION_BAILOUT_CHECK_DO_CALLBACK(isolate, Local<Value>());
3877 Local<v8::Value> Object::CallAsConstructor(int argc,
3881 return Local<v8::Object>());
3896 EXCEPTION_BAILOUT_CHECK_DO_CALLBACK(isolate, Local<v8::Object>());
3904 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Object>());
3911 EXCEPTION_BAILOUT_CHECK_DO_CALLBACK(isolate, Local<v8::Object>());
3915 return Local<v8::Object>();
3919 Local<Function> Function::New(Isolate* v8_isolate,
3921 Local<Value> data,
3927 isolate, callback, data, Local<Signature>(), length, true)->
3932 Local<v8::Object> Function::NewInstance() const {
3937 Local<v8::Object> Function::NewInstance(int argc,
3941 return Local<v8::Object>());
3954 EXCEPTION_BAILOUT_CHECK_DO_CALLBACK(isolate, Local<v8::Object>());
3959 Local<v8::Value> Function::Call(v8::Handle<v8::Value> recv, int argc,
3962 ON_BAILOUT(isolate, "v8::Function::Call()", return Local<v8::Value>());
3976 EXCEPTION_BAILOUT_CHECK_DO_CALLBACK(isolate, Local<Object>());
4082 Local<v8::Value> Function::GetBoundFunction() const {
4450 // We can't use a local buffer here because Encode needs to modify
4792 Local<Value> Symbol::Name() const {
4799 Local<Value> Private::Name() const {
4861 Local<Value> v8::Object::SlowGetInternalField(int index) {
4864 if (!InternalFieldOK(obj, index, location)) return Local<Value>();
5141 Local<Context> v8::Context::New(
5149 ON_BAILOUT(isolate, "v8::Context::New()", return Local<Context>());
5155 if (env.is_null()) return Local<Context>();
5192 v8::Local<v8::Object> Context::Global() {
5237 Local<v8::Object> ObjectTemplate::NewInstance() {
5240 return Local<v8::Object>());
5247 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Object>());
5252 Local<v8::Function> FunctionTemplate::GetFunction() {
5255 return Local<v8::Function>());
5262 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Function>());
5275 Local<External> v8::External::New(Isolate* isolate, void* value) {
5346 inline Local<String> NewString(Isolate* v8_isolate,
5374 Local<String> String::NewFromUtf8(Isolate* isolate,
5387 Local<String> String::NewFromOneByte(Isolate* isolate,
5400 Local<String> String::NewFromTwoByte(Isolate* isolate,
5413 Local<String> v8::String::Concat(Handle<String> left, Handle<String> right) {
5445 Local<String> v8::String::NewExternal(
5483 Local<String> v8::String::NewExternal(
5541 Local<v8::Object> v8::Object::New(Isolate* isolate) {
5552 Local<v8::Value> v8::NumberObject::New(Isolate* isolate, double value) {
5573 Local<v8::Value> v8::BooleanObject::New(bool value) {
5597 Local<v8::Value> v8::StringObject::New(Handle<String> value) {
5609 Local<v8::String> v8::StringObject::ValueOf() const {
5619 Local<v8::Value> v8::SymbolObject::New(Isolate* isolate, Handle<Symbol> value) {
5630 Local<v8::Symbol> v8::SymbolObject::ValueOf() const {
5640 Local<v8::Value> v8::Date::New(Isolate* isolate, double time) {
5653 EXCEPTION_BAILOUT_CHECK(i_isolate, Local<v8::Value>());
5705 Local<v8::RegExp> v8::RegExp::New(Handle<String> pattern,
5716 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::RegExp>());
5721 Local<v8::String> v8::RegExp::GetSource() const {
5743 Local<v8::Array> v8::Array::New(Isolate* isolate, int length) {
5768 Local<Object> Array::CloneElementAt(uint32_t index) {
5770 ON_BAILOUT(isolate, "v8::Array::CloneElementAt()", return Local<Object>());
5773 return Local<Object>();
5778 return Local<Object>();
5786 EXCEPTION_BAILOUT_CHECK(isolate, Local<Object>());
5813 Local<Promise::Resolver> Promise::Resolver::New(Isolate* v8_isolate) {
5826 EXCEPTION_BAILOUT_CHECK(isolate, Local<Promise::Resolver>());
5827 return Local<Promise::Resolver>::Cast(Utils::ToLocal(result));
5831 Local<Promise> Promise::Resolver::GetPromise() {
5833 return Local<Promise>::Cast(Utils::ToLocal(promise));
5873 Local<Promise> Promise::Chain(Handle<Function> handler) {
5888 EXCEPTION_BAILOUT_CHECK(isolate, Local<Promise>());
5889 return Local<Promise>::Cast(Utils::ToLocal(result));
5893 Local<Promise> Promise::Catch(Handle<Function> handler) {
5908 EXCEPTION_BAILOUT_CHECK(isolate, Local<Promise>());
5909 return Local<Promise>::Cast(Utils::ToLocal(result));
5913 Local<Promise> Promise::Then(Handle<Function> handler) {
5928 EXCEPTION_BAILOUT_CHECK(isolate, Local<Promise>());
5929 return Local<Promise>::Cast(Utils::ToLocal(result));
5970 Local<ArrayBuffer> v8::ArrayBuffer::New(Isolate* isolate, size_t byte_length) {
5982 Local<ArrayBuffer> v8::ArrayBuffer::New(Isolate* isolate, void* data,
5995 Local<ArrayBuffer> v8::ArrayBufferView::Buffer() {
6085 Local<Type##Array> Type##Array::New(Handle<ArrayBuffer> array_buffer, \
6096 return Local<Type##Array>(); \
6109 Local<DataView> DataView::New(Handle<ArrayBuffer> array_buffer,
6124 Local<Symbol> v8::Symbol::New(Isolate* isolate, Local<String> name) {
6135 Local<Symbol> v8::Symbol::For(Isolate* isolate, Local<String> name) {
6156 Local<Symbol> v8::Symbol::ForApi(Isolate* isolate, Local<String> name) {
6177 Local<Private> v8::Private::New(Isolate* isolate, Local<String> name) {
6184 Local<Symbol> result = Utils::ToLocal(symbol);
6189 Local<Private> v8::Private::ForApi(Isolate* isolate, Local<String> name) {
6206 Local<Symbol> result = Utils::ToLocal(i::Handle<i::Symbol>::cast(symbol));
6211 Local<Number> v8::Number::New(Isolate* isolate, double value) {
6224 Local<Integer> v8::Integer::New(Isolate* isolate, int32_t value) {
6237 Local<Integer> v8::Integer::NewFromUnsigned(Isolate* isolate, uint32_t value) {
6355 v8::Local<v8::Context> Isolate::GetCurrentContext() {
6358 if (context == NULL) return Local<Context>();
6360 if (native_context == NULL) return Local<Context>();
6365 v8::Local<v8::Context> Isolate::GetCallingContext() {
6368 if (calling.is_null()) return Local<Context>();
6373 v8::Local<v8::Context> Isolate::GetEnteredContext() {
6377 if (last.is_null()) return Local<Context>();
6382 v8::Local<Value> Isolate::ThrowException(v8::Local<v8::Value> value) {
6775 Local<Value> Exception::RangeError(v8::Handle<v8::String> raw_message) {
6778 ON_BAILOUT(isolate, "v8::Exception::RangeError()", return Local<Value>());
6792 Local<Value> Exception::ReferenceError(v8::Handle<v8::String> raw_message) {
6795 ON_BAILOUT(isolate, "v8::Exception::ReferenceError()", return Local<Value>());
6810 Local<Value> Exception::SyntaxError(v8::Handle<v8::String> raw_message) {
6813 ON_BAILOUT(isolate, "v8::Exception::SyntaxError()", return Local<Value>());
6827 Local<Value> Exception::TypeError(v8::Handle<v8::String> raw_message) {
6830 ON_BAILOUT(isolate, "v8::Exception::TypeError()", return Local<Value>());
6844 Local<Value> Exception::Error(v8::Handle<v8::String> raw_message) {
6847 ON_BAILOUT(isolate, "v8::Exception::Error()", return Local<Value>());
6914 Local<Value> Debug::Call(v8::Handle<v8::Function> fun,
6917 if (!isolate->IsInitialized()) return Local<Value>();
6918 ON_BAILOUT(isolate, "v8::Debug::Call()", return Local<Value>());
6931 EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>());
6936 Local<Value> Debug::GetMirror(v8::Handle<v8::Value> obj) {
6938 if (!isolate->IsInitialized()) return Local<Value>();
6939 ON_BAILOUT(isolate, "v8::Debug::GetMirror()", return Local<Value>());
6945 v8::Local<v8::Value> result;
6960 EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>());
6970 Local<Context> Debug::GetDebugContext() {
7334 if (obj.is_null()) return Local<Value>();
7608 v8::Local<v8::String> property,