/external/webkit/Source/WebCore/bridge/jni/ |
JNIUtility.cpp | 193 #if USE(V8) 213 #if USE(V8) 306 #if USE(V8) 362 #if USE(V8)
|
/external/v8/src/ |
compiler.h | 1 // Copyright 2011 the V8 project authors. All rights reserved. 35 namespace v8 { namespace 63 v8::Extension* extension() const { return extension_; } 101 void SetExtension(v8::Extension* extension) { 144 return V8::UseCrankshaft() && !closure_.is_null(); 165 mode_ = V8::UseCrankshaft() ? mode : NONOPT; 175 ASSERT(V8::UseCrankshaft()); 211 v8::Extension* extension_; 227 // The V8 compiler 255 v8::Extension* extension [all...] |
zone.cc | 1 // Copyright 2011 the V8 project authors. All rights reserved. 28 #include "v8.h" 33 namespace v8 { namespace 183 V8::FatalProcessOutOfMemory("Zone"); 196 } } // namespace v8::internal
|
api.cc | 1 // Copyright 2010 the V8 project authors. All rights reserved. 28 #include "v8.h" 51 #include "../include/v8-profiler.h" 52 #include "../include/v8-testing.h" 68 namespace v8 { namespace 93 i::V8::FatalProcessOutOfMemory(NULL); \ 105 if (v8::Locker::IsActive()) { \ 109 "Entering the V8 API without proper locking in place"); \ 136 i::V8::FatalProcessOutOfMemory(location, false); 140 // When V8 cannot allocated memory FatalProcessOutOfMemory is called [all...] |
d8.cc | 1 // Copyright 2009 the V8 project authors. All rights reserved. 32 #include "v8.h" 42 namespace v8 { namespace 106 // Converts a V8 value to a C string. 107 const char* Shell::ToCString(const v8::String::Utf8Value& value) { 112 // Executes a string within the current v8 context. 142 v8::String::Utf8Value str(result); 165 v8::String::Utf8Value str(args[i]); 222 v8::Unlocker unlocker; 236 return String::New(V8::GetVersion()) [all...] |
/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> 87 // FIXME: We temporarily deal with V8 internal error situations 94 // V8 is shutdown, we cannot use V8 api. 101 printf("V8 error: %s (%s). Current memory usage: %d MB\n", message, location, memoryUsageMB); 105 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...] |
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" 62 using namespace v8::internal; 66 V8::Initialize(NULL); 67 v8::HandleScope scope; 71 return v8::internal::RegExpParser::ParseRegExp(&reader, false, &result); 76 V8::Initialize(NULL); 77 v8::HandleScope scope; 81 CHECK(v8::internal::RegExpParser::ParseRegExp(&reader, false, &result)); 89 V8::Initialize(NULL) [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), 144 v8::V8::Initialize(); 150 decoder.Decode(make_code(v8::internal::RUNTIME_FUNCTION, 250 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 2010 the V8 project authors. All rights reserved. 30 #include "v8.h" 35 using namespace v8::internal; 38 v8::internal::V8::Initialize(NULL);
|
/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/test/mjsunit/ |
top-level-assignments.js | 1 // Copyright 2009 the V8 project authors. All rights reserved. 29 // break V8.
|
api-call-after-bypassed-exception.js | 1 // Copyright 2008 the V8 project authors. All rights reserved.
|
/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/samples/ |
count-hosts.js | 1 // Copyright 2008 the V8 project authors. All rights reserved.
|
/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.
|
try-catch-finally-return-in-finally.js | 1 // Copyright 2008 the V8 project authors. All rights reserved.
|
try-finally-return-in-finally.js | 1 // Copyright 2008 the V8 project authors. All rights reserved.
|