/external/webkit/Source/WebCore/bindings/v8/ |
WorkerContextExecutionProxy.cpp | 58 // FIXME: We temporarily deal with V8 internal error situations such as out-of-memory by crashing the worker. 62 static void v8MessageHandler(v8::Handle<v8::Message> message, v8::Handle<v8::Value> data) 118 // Tell V8 not to call the default OOM handler, binding code will handle it. 119 v8::V8::IgnoreOutOfMemoryException(); 120 v8::V8::SetFatalErrorHandler(reportFatalErrorInV8) [all...] |
V8DOMWindowShell.cpp | 65 #include <v8-debug.h> 66 #include <v8.h> 69 #include <v8/src/extensions/experimental/i18n-extension.h> 83 // FIXME: We temporarily deal with V8 internal error situations 90 // V8 is shutdown, we cannot use V8 api. 97 printf("V8 error: %s (%s). Current memory usage: %d MB\n", message, location, memoryUsageMB); 101 static void v8UncaughtExceptionHandler(v8::Handle<v8::Message> message, v8::Handle<v8::Value> data [all...] |
ScriptController.cpp | 85 v8::V8::SetFlagsFromString(string, length); 100 return !v8::Context::InContext() || V8BindingSecurity::canAccessFrame(V8BindingState::Only(), frame, true); 167 v8::HandleScope handleScope; 168 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(activeFrame); 175 v8::Context::Scope scope(v8Context); 177 v8::Handle<v8::Object> global = v8Context->Global(); 178 v8::Handle<v8::String> eventSymbol = V8HiddenPropertyName::event() [all...] |
V8Proxy.h | 44 #include <v8.h> 78 v8::AccessorGetter getter; 79 v8::AccessorSetter setter; 81 v8::AccessControl settings; 82 v8::PropertyAttribute attribute; 86 void batchConfigureAttributes(v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::ObjectTemplate>, const BatchedAttribute*, size_t attributeCount); 88 inline void configureAttribute(v8::Handle<v8::ObjectTemplate> instance, v8::Handle<v8::ObjectTemplate> proto, const BatchedAttribute (…) [all...] |
ScriptProfiler.cpp | 39 #include <v8-profiler.h> 46 v8::HandleScope hs; 47 v8::CpuProfiler::StartProfiling(v8String(title)); 52 v8::HandleScope hs; 53 const v8::CpuProfile* profile = state ? 54 v8::CpuProfiler::StopProfiling(v8String(title), state->context()->GetSecurityToken()) : 55 v8::CpuProfiler::StopProfiling(v8String(title)); 61 // NOTE : There is currently no direct way to collect memory from the v8 C++ API 64 v8::V8::LowMemoryNotification() [all...] |
/external/v8/test/cctest/ |
test-regexp.cc | 1 // Copyright 2008 the V8 project authors. All rights reserved. 31 #include "v8.h" 69 using namespace v8::internal; 73 V8::Initialize(NULL); 74 v8::HandleScope scope; 78 return v8::internal::RegExpParser::ParseRegExp(&reader, false, &result); 83 V8::Initialize(NULL); 84 v8::HandleScope scope; 88 CHECK(v8::internal::RegExpParser::ParseRegExp(&reader, false, &result)); 96 V8::Initialize(NULL) [all...] |
test-deoptimization.cc | 1 // Copyright 2012 the V8 project authors. All rights reserved. 30 #include "v8.h" 41 using ::v8::internal::Deoptimizer; 42 using ::v8::internal::EmbeddedVector; 43 using ::v8::internal::Handle; 44 using ::v8::internal::Isolate; 45 using ::v8::internal::JSFunction; 46 using ::v8::internal::OS; 47 using ::v8::internal::Object; 107 static Handle<JSFunction> GetJSFunction(v8::Handle<v8::Object> obj [all...] |
test-serialize.cc | 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() [all...] |
cctest.cc | 1 // Copyright 2008 the V8 project authors. All rights reserved. 28 #include <v8.h> 45 basename = v8::internal::StrDup(file); 47 basename = v8::internal::StrDup(basename + 1); 73 v8::internal::FlagList::SetFlagsFromCommandLine(&argc, argv, true); 83 char* arg_copy = v8::internal::StrDup(arg); 116 v8::internal::DeleteArray<char>(arg_copy); 121 v8::V8::Dispose();
|
test-dataflow.cc | 1 // Copyright 2012 the V8 project authors. All rights reserved. 30 #include "v8.h" 35 using namespace v8::internal; 38 v8::internal::V8::Initialize(NULL);
|
/external/v8/test/mjsunit/ |
string-split.js | 1 // Copyright 2008 the V8 project authors. All rights reserved. 76 * V8: a,,b 88 * V8: a,b 93 // For issue http://code.google.com/p/v8/issues/detail?id=924 102 // Issue http://code.google.com/p/v8/issues/detail?id=929
|
top-level-assignments.js | 1 // Copyright 2009 the V8 project authors. All rights reserved. 29 // break V8.
|
/hardware/ril/mock-ril/src/cpp/ |
node_buffer.cpp | 31 #include <v8.h> 54 using namespace v8; 59 v8::String::New("Bad argument."))); \ 65 v8::String::New("Bad argument."))); \ 69 v8::String::New("Must have start <= end"))); \ 73 v8::String::New("end cannot be longer than parent.length"))); \ 105 V8::AdjustAmountOfExternalAllocatedMemory(sizeof(Blob) + length); 123 V8::AdjustAmountOfExternalAllocatedMemory(-(sizeof(Blob) + blob->length)); 131 // When someone calls buffer.asciiSlice, data is not copied. Instead V8 248 V8::AdjustAmountOfExternalAllocatedMemory(sizeof(Buffer)) [all...] |
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCBaseInfo.h | 39 case R8 : case X8 : case F8 : case V8 : case CR2LT: return 8;
|
/external/v8/samples/ |
shell.cc | 1 // Copyright 2011 the V8 project authors. All rights reserved. 28 #include <v8.h> 41 * based on V8. This includes initializing V8 with command line options, 48 v8::Persistent<v8::Context> CreateShellContext(); 49 void RunShell(v8::Handle<v8::Context> context); 51 bool ExecuteString(v8::Handle<v8::String> source [all...] |
count-hosts.js | 1 // Copyright 2008 the V8 project authors. All rights reserved.
|
/external/v8/test/mjsunit/compiler/ |
alloc-object.js | 1 // Copyright 2012 the V8 project authors. All rights reserved. 56 gc(); // Makes V8 forget about type information for test_helper.
|
/external/webkit/Source/WebCore/ |
config.h | 190 /* Using V8 implies not using JSC and vice versa */ 220 #if PLATFORM(QT) && USE(V8) && defined(Q_WS_X11)
|
/external/webkit/Tools/Scripts/ |
do-webcore-rename | 233 $newContents =~ s/\b(JS|V8|to|)$from/$1$renames{$from}/g;
|
sunspider-compare-results | 44 my $v8 = 0; 54 --v8-suite Use the V8 benchmark suite. Same as --suite=v8-v4 61 'v8' => \$v8, 128 push @args, "--v8" if $v8;
|
/external/v8/src/ |
d8.cc | 1 // Copyright 2012 the V8 project authors. All rights reserved. 44 #include "../include/v8-testing.h" 56 #include "v8.h" 67 namespace v8 { namespace 135 // Converts a V8 value to a C string. 136 const char* Shell::ToCString(const v8::String::Utf8Value& value) { 141 // Executes a string within the current v8 context. 177 v8::String::Utf8Value str(result); 202 v8::String::Utf8Value str(args[i]); 214 V8::ResumeProfiler() [all...] |
compiler.h | 1 // Copyright 2012 the V8 project authors. All rights reserved. 35 namespace v8 { namespace 68 v8::Extension* extension() const { return extension_; } 110 void SetExtension(v8::Extension* extension) { 190 mode_ = V8::UseCrankshaft() ? mode : NONOPT; 202 ASSERT(V8::UseCrankshaft()); 246 v8::Extension* extension_; 261 // The V8 compiler 292 v8::Extension* extension, 329 } } // namespace v8::interna [all...] |
/external/v8/test/message/ |
overwritten-builtins.js | 1 // Copyright 2009 the V8 project authors. All rights reserved.
|
try-catch-finally-no-message.js | 1 // Copyright 2008 the V8 project authors. All rights reserved.
|
/external/v8/test/message/regress/ |
regress-1527.js | 1 // Copyright 2011 the V8 project authors. All rights reserved.
|