Lines Matching refs:v8
1 // Copyright 2012 the V8 project authors. All rights reserved.
28 #include "v8.h"
39 namespace v8 {
158 ASSERT(v8::ToCData<Address>(callback->getter()) != 0);
484 ASSERT(v8::ToCData<Address>(callback->setter()) != 0);
943 Address getter_address = v8::ToCData<Address>(callback->getter());
944 v8::AccessorGetter fun = FUNCTION_CAST<v8::AccessorGetter>(getter_address);
946 v8::AccessorInfo info(&args[0]);
948 v8::Handle<v8::Value> result;
953 result = fun(v8::Utils::ToLocal(args.at<String>(4)), info);
957 return *v8::Utils::OpenHandle(*result);
964 Address setter_address = v8::ToCData<Address>(callback->setter());
965 v8::AccessorSetter fun = FUNCTION_CAST<v8::AccessorSetter>(setter_address);
972 v8::AccessorInfo info(custom_args.end());
977 fun(v8::Utils::ToLocal(name), v8::Utils::ToLocal(value), info);
1002 Address getter_address = v8::ToCData<Address>(interceptor_info->getter());
1003 v8::NamedPropertyGetter getter =
1004 FUNCTION_CAST<v8::NamedPropertyGetter>(getter_address);
1009 v8::AccessorInfo info(args.arguments() -
1012 v8::Handle<v8::Value> r;
1016 r = getter(v8::Utils::ToLocal(name_handle), info);
1020 return *v8::Utils::OpenHandle(*r);
1057 Address getter_address = v8::ToCData<Address>(interceptor_info->getter());
1058 v8::NamedPropertyGetter getter =
1059 FUNCTION_CAST<v8::NamedPropertyGetter>(getter_address);
1064 v8::AccessorInfo info(args->arguments() -
1067 v8::Handle<v8::Value> r;
1071 r = getter(v8::Utils::ToLocal(name_handle), info);
1076 return *v8::Utils::OpenHandle(*r);
1532 } } // namespace v8::internal