Lines Matching refs:v8
1 // Copyright 2007-2010 the V8 project authors. All rights reserved.
31 #include "v8.h"
45 using namespace v8::internal;
104 v8::V8::Initialize();
109 CHECK_EQ(make_code(v8::internal::RUNTIME_FUNCTION, Runtime::kAbort),
141 v8::V8::Initialize();
147 decoder.Decode(make_code(v8::internal::RUNTIME_FUNCTION,
245 v8::Persistent<v8::Context> env = v8::Context::New();
254 v8::V8::Initialize();
262 v8::V8::Initialize();
277 v8::HandleScope scope;
293 v8::HandleScope scope;
296 v8::Persistent<v8::Context> env = v8::Context::New();
306 v8::HandleScope scope;
309 v8::Persistent<v8::Context> env = v8::Context::New();
319 v8::HandleScope scope;
322 v8::Persistent<v8::Context> env = v8::Context::New();
326 v8::Local<v8::String> source = v8::String::New(c_source);
327 v8::Local<v8::Script> script = v8::Script::Compile(source);
336 v8::HandleScope scope;
339 v8::Persistent<v8::Context> env = v8::Context::New();
343 v8::Local<v8::String> source = v8::String::New(c_source);
344 v8::Local<v8::Script> script = v8::Script::Compile(source);
352 v8::V8::Initialize();
354 v8::Persistent<v8::Context> env = v8::Context::New();
368 v8::HandleScope handle_scope;
369 v8::Local<v8::String> foo = v8::String::New("foo");
371 raw_foo = *(v8::Utils::OpenHandle(*foo));
456 v8::HandleScope handle_scope;
475 v8::V8::Initialize();
477 v8::Persistent<v8::Context> env = v8::Context::New();
496 Object* raw_context = *(v8::Utils::OpenHandle(*env));
541 v8::HandleScope handle_scope;
559 v8::V8::Initialize();