/external/chromium_org/third_party/WebKit/Source/bindings/ |
D | bindings.gypi | 5 'v8/ActiveDOMCallback.cpp', 6 'v8/ActiveDOMCallback.h', 7 'v8/ArrayValue.cpp', 8 'v8/ArrayValue.h', 9 'v8/BindingSecurity.cpp', 10 'v8/BindingSecurity.h', 11 'v8/CallbackPromiseAdapter.h', 12 'v8/CustomElementBinding.cpp', 13 'v8/CustomElementBinding.h', 14 'v8/CustomElementConstructorBuilder.cpp', [all …]
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
D | V8PromiseCustom.h | 65 … static v8::Local<v8::Object> createPromise(v8::Handle<v8::Object> creationContext, v8::Isolate*); 68 static v8::Local<v8::Object> getInternal(v8::Handle<v8::Object> promise); 71 static PromiseState getState(v8::Handle<v8::Object> internal); 75 …static void setState(v8::Handle<v8::Object> internal, PromiseState, v8::Handle<v8::Value>, v8::Iso… 78 static bool isPromise(v8::Handle<v8::Value> maybePromise, v8::Isolate*); 81 static v8::Local<v8::Object> toPromise(v8::Handle<v8::Value> maybePromise, v8::Isolate*); 84 static void resolve(v8::Handle<v8::Object> promise, v8::Handle<v8::Value> result, v8::Isolate*); 87 static void reject(v8::Handle<v8::Object> promise, v8::Handle<v8::Value> result, v8::Isolate*); 92 …static v8::Local<v8::Object> then(v8::Handle<v8::Object> promise, v8::Handle<v8::Function> onFulfi… 96 static void setValue(v8::Handle<v8::Object> promise, v8::Handle<v8::Value>, v8::Isolate*); [all …]
|
D | V8PromiseCustom.cpp | 59 v8::Local<v8::ObjectTemplate> cachedObjectTemplate(void* privateTemplateUniqueKey, int internalFiel… in cachedObjectTemplate() 63 …v8::Handle<v8::FunctionTemplate> functionDescriptor = data->privateTemplateIfExists(currentWorldTy… in cachedObjectTemplate() 67 functionDescriptor = v8::FunctionTemplate::New(isolate); in cachedObjectTemplate() 68 v8::Local<v8::ObjectTemplate> instanceTemplate = functionDescriptor->InstanceTemplate(); in cachedObjectTemplate() 74 v8::Local<v8::ObjectTemplate> promiseAllEnvironmentObjectTemplate(v8::Isolate* isolate) in promiseAllEnvironmentObjectTemplate() 81 v8::Local<v8::ObjectTemplate> primitiveWrapperObjectTemplate(v8::Isolate* isolate) in primitiveWrapperObjectTemplate() 88 v8::Local<v8::ObjectTemplate> internalObjectTemplate(v8::Isolate* isolate) in internalObjectTemplate() 95 void promiseResolveCallback(const v8::FunctionCallbackInfo<v8::Value>& info) in promiseResolveCallback() 98 v8::Local<v8::Object> promise = info.Data().As<v8::Object>(); in promiseResolveCallback() 99 v8::Local<v8::Value> result = v8::Undefined(info.GetIsolate()); in promiseResolveCallback() [all …]
|
/external/v8/test/cctest/ |
D | test-thread-termination.cc | 33 v8::internal::Semaphore* semaphore = NULL; 36 v8::Handle<v8::Value> Signal(const v8::Arguments& args) { in Signal() 38 return v8::Undefined(); in Signal() 42 v8::Handle<v8::Value> TerminateCurrentThread(const v8::Arguments& args) { in TerminateCurrentThread() 43 CHECK(!v8::V8::IsExecutionTerminating()); in TerminateCurrentThread() 44 v8::V8::TerminateExecution(); in TerminateCurrentThread() 45 return v8::Undefined(); in TerminateCurrentThread() 49 v8::Handle<v8::Value> Fail(const v8::Arguments& args) { in Fail() 51 return v8::Undefined(); in Fail() 55 v8::Handle<v8::Value> Loop(const v8::Arguments& args) { in Loop() [all …]
|
D | test-lockers.cc | 43 using ::v8::AccessorInfo; 44 using ::v8::Context; 45 using ::v8::Extension; 46 using ::v8::Function; 47 using ::v8::HandleScope; 48 using ::v8::Local; 49 using ::v8::Object; 50 using ::v8::ObjectTemplate; 51 using ::v8::Persistent; 52 using ::v8::Script; [all …]
|
D | test-debug.cc | 44 using ::v8::internal::EmbeddedVector; 45 using ::v8::internal::Object; 46 using ::v8::internal::OS; 47 using ::v8::internal::Handle; 48 using ::v8::internal::Heap; 49 using ::v8::internal::JSGlobalProxy; 50 using ::v8::internal::Code; 51 using ::v8::internal::Debug; 52 using ::v8::internal::Debugger; 53 using ::v8::internal::CommandMessage; [all …]
|
D | test-heap-profiler.cc | 55 static const v8::HeapGraphNode* GetGlobalObject( in GetGlobalObject() 56 const v8::HeapSnapshot* snapshot) { in GetGlobalObject() 58 const v8::HeapGraphNode* global_obj = in GetGlobalObject() 66 static const v8::HeapGraphNode* GetProperty(const v8::HeapGraphNode* node, in GetProperty() 67 v8::HeapGraphEdge::Type type, in GetProperty() 70 const v8::HeapGraphEdge* prop = node->GetChild(i); in GetProperty() 71 v8::String::AsciiValue prop_name(prop->GetName()); in GetProperty() 79 static bool HasString(const v8::HeapGraphNode* node, const char* contents) { in HasString() 81 const v8::HeapGraphEdge* prop = node->GetChild(i); in HasString() 82 const v8::HeapGraphNode* node = prop->GetToNode(); in HasString() [all …]
|
/external/chromium_org/gin/ |
D | converter.h | 22 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, 24 static bool FromV8(v8::Isolate* isolate, 25 v8::Handle<v8::Value> val, 31 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, 33 static bool FromV8(v8::Isolate* isolate, 34 v8::Handle<v8::Value> val, 40 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, 42 static bool FromV8(v8::Isolate* isolate, 43 v8::Handle<v8::Value> val, 50 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, [all …]
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
D | V8ScriptRunner.h | 44 static PassOwnPtr<v8::ScriptData> precompileScript(v8::Handle<v8::String>, ScriptResource*); 45 …static v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String&, const TextPositi… 46 …static v8::Local<v8::Value> runCompiledScript(v8::Handle<v8::Script>, ExecutionContext*, v8::Isola… 47 …v8::Local<v8::Value> compileAndRunInternalScript(v8::Handle<v8::String>, v8::Isolate*, const Strin… 48 …atic v8::Local<v8::Value> callInternalFunction(v8::Handle<v8::Function>, v8::Handle<v8::Value> rec… 49 …v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, ExecutionContext*, v8::Handle<v8::Valu… 50 …static v8::Local<v8::Value> callAsFunction(v8::Handle<v8::Object>, v8::Handle<v8::Value> receiver,… 51 …static v8::Local<v8::Value> callAsConstructor(v8::Handle<v8::Object>, int argc, v8::Handle<v8::Val… 52 static v8::Local<v8::Object> instantiateObject(v8::Handle<v8::ObjectTemplate>); 53 …static v8::Local<v8::Object> instantiateObject(v8::Handle<v8::Function>, int argc = 0, v8::Handle<… [all …]
|
D | V8Binding.h | 60 v8::Handle<v8::Value> setDOMException(int, v8::Isolate*); 61 v8::Handle<v8::Value> setDOMException(int, const String&, v8::Isolate*); 64 v8::Handle<v8::Value> throwError(V8ErrorType, const String&, v8::Isolate*); 67 v8::Handle<v8::Value> throwError(v8::Handle<v8::Value>, v8::Isolate*); 70 v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*); 73 v8::Handle<v8::Value> throwUninformativeAndGenericTypeError(v8::Isolate*); 75 v8::ArrayBuffer::Allocator* v8ArrayBufferAllocator(); 77 v8::Handle<v8::Value> toV8Sequence(v8::Handle<v8::Value>, uint32_t& length, v8::Isolate*); 79 …inline v8::Handle<v8::Value> argumentOrNull(const v8::FunctionCallbackInfo<v8::Value>& info, int i… in argumentOrNull() 81 return index >= info.Length() ? v8::Local<v8::Value>() : info[index]; in argumentOrNull() [all …]
|
D | V8ScriptRunner.cpp | 39 PassOwnPtr<v8::ScriptData> V8ScriptRunner::precompileScript(v8::Handle<v8::String> code, ScriptReso… in precompileScript() 55 return adoptPtr(v8::ScriptData::New(cachedMetadata->data(), cachedMetadata->size())); in precompileScript() 57 OwnPtr<v8::ScriptData> scriptData = adoptPtr(v8::ScriptData::PreCompile(code)); in precompileScript() 66 v8::Local<v8::Script> V8ScriptRunner::compileScript(v8::Handle<v8::String> code, const String& file… in compileScript() 70 v8::Handle<v8::String> name = v8String(isolate, fileName); in compileScript() 71 …v8::Handle<v8::Integer> line = v8::Integer::New(scriptStartPosition.m_line.zeroBasedInt(), isolate… in compileScript() 72 …v8::Handle<v8::Integer> column = v8::Integer::New(scriptStartPosition.m_column.zeroBasedInt(), iso… in compileScript() 73 …v8::Handle<v8::Boolean> isSharedCrossOrigin = corsStatus == SharableCrossOrigin ? v8::True(isolate… in compileScript() 74 v8::ScriptOrigin origin(name, line, column, isSharedCrossOrigin); in compileScript() 75 return v8::Script::Compile(code, &origin, scriptData); in compileScript() [all …]
|
D | ScriptDebugServer.cpp | 53 class ClientDataImpl : public v8::Debug::ClientData { 66 v8::Local<v8::Value> ScriptDebugServer::callDebuggerMethod(const char* functionName, int argc, v8::… in callDebuggerMethod() 68 v8::Handle<v8::Object> debuggerScript = m_debuggerScript.newLocal(m_isolate); in callDebuggerMethod() 69 …v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(debuggerScript->Get(v8AtomicStri… in callDebuggerMethod() 74 ScriptDebugServer::ScriptDebugServer(v8::Isolate* isolate) in ScriptDebugServer() 88 v8::HandleScope scope(m_isolate); in setBreakpoint() 89 v8::Local<v8::Context> debuggerContext = v8::Debug::GetDebugContext(); in setBreakpoint() 90 v8::Context::Scope contextScope(debuggerContext); in setBreakpoint() 92 v8::Local<v8::Object> info = v8::Object::New(); in setBreakpoint() 94 …info->Set(v8AtomicString(m_isolate, "lineNumber"), v8::Integer::New(scriptBreakpoint.lineNumber, d… in setBreakpoint() [all …]
|
/external/chromium_org/v8/test/cctest/ |
D | test-thread-termination.cc | 33 v8::internal::Semaphore* semaphore = NULL; 36 void Signal(const v8::FunctionCallbackInfo<v8::Value>& args) { in Signal() 41 void TerminateCurrentThread(const v8::FunctionCallbackInfo<v8::Value>& args) { in TerminateCurrentThread() 42 CHECK(!v8::V8::IsExecutionTerminating(args.GetIsolate())); in TerminateCurrentThread() 43 v8::V8::TerminateExecution(args.GetIsolate()); in TerminateCurrentThread() 47 void Fail(const v8::FunctionCallbackInfo<v8::Value>& args) { in Fail() 52 void Loop(const v8::FunctionCallbackInfo<v8::Value>& args) { in Loop() 53 CHECK(!v8::V8::IsExecutionTerminating(args.GetIsolate())); in Loop() 54 v8::Handle<v8::String> source = v8::String::NewFromUtf8( in Loop() 56 v8::Handle<v8::Value> result = v8::Script::Compile(source)->Run(); in Loop() [all …]
|
D | test-lockers.cc | 44 using ::v8::Context; 45 using ::v8::Extension; 46 using ::v8::Function; 47 using ::v8::HandleScope; 48 using ::v8::Local; 49 using ::v8::Object; 50 using ::v8::ObjectTemplate; 51 using ::v8::Persistent; 52 using ::v8::Script; 53 using ::v8::String; [all …]
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
D | V8TestObjectPython.cpp | 112 static void readonlyStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in readonlyStringAttributeAttributeGetter() 118 … readonlyStringAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in readonlyStringAttributeAttributeGetterCallback() 125 static void readonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::V… in readonlyTestInterfaceEmptyAttributeAttributeGetter() 131 v8::Handle<v8::Value> wrapper = toV8(result.get(), info.Holder(), info.GetIsolate()); in readonlyTestInterfaceEmptyAttributeAttributeGetter() 138 …tInterfaceEmptyAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in readonlyTestInterfaceEmptyAttributeAttributeGetterCallback() 145 static void readonlyLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in readonlyLongAttributeAttributeGetter() 151 …id readonlyLongAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in readonlyLongAttributeAttributeGetterCallback() 158 static void dateAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in dateAttributeAttributeGetter() 164 …tatic void dateAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in dateAttributeAttributeGetterCallback() 171 static void dateAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackIn… in dateAttributeAttributeSetter() [all …]
|
D | V8TestObject.cpp | 105 static void readOnlyLongAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in readOnlyLongAttrAttributeGetter() 111 …ic void readOnlyLongAttrAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in readOnlyLongAttrAttributeGetterCallback() 118 static void readOnlyStringAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in readOnlyStringAttrAttributeGetter() 124 … void readOnlyStringAttrAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in readOnlyStringAttrAttributeGetterCallback() 131 static void readOnlyTestObjectAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in readOnlyTestObjectAttrAttributeGetter() 137 v8::Handle<v8::Value> wrapper = toV8(result.get(), info.Holder(), info.GetIsolate()); in readOnlyTestObjectAttrAttributeGetter() 144 …d readOnlyTestObjectAttrAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in readOnlyTestObjectAttrAttributeGetterCallback() 151 static void staticReadOnlyLongAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in staticReadOnlyLongAttrAttributeGetter() 156 …d staticReadOnlyLongAttrAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in staticReadOnlyLongAttrAttributeGetterCallback() 163 static void staticStringAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in staticStringAttrAttributeGetter() [all …]
|
D | V8TestInterface.cpp | 83 static void implementsStaticReadOnlyAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& … in implementsStaticReadOnlyAttrAttributeGetter() 88 …ementsStaticReadOnlyAttrAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in implementsStaticReadOnlyAttrAttributeGetterCallback() 95 static void implementsStaticAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in implementsStaticAttrAttributeGetter() 100 …oid implementsStaticAttrAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in implementsStaticAttrAttributeGetterCallback() 107 static void implementsStaticAttrAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCal… in implementsStaticAttrAttributeSetter() 113 …d implementsStaticAttrAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue,… in implementsStaticAttrAttributeSetterCallback() 120 static void implementsStr1AttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in implementsStr1AttributeGetter() 126 …atic void implementsStr1AttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in implementsStr1AttributeGetterCallback() 133 static void implementsStr2AttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in implementsStr2AttributeGetter() 139 …atic void implementsStr2AttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in implementsStr2AttributeGetterCallback() [all …]
|
/external/v8/samples/ |
D | shell.cc | 48 v8::Persistent<v8::Context> CreateShellContext(); 49 void RunShell(v8::Handle<v8::Context> context); 51 bool ExecuteString(v8::Handle<v8::String> source, 52 v8::Handle<v8::Value> name, 55 v8::Handle<v8::Value> Print(const v8::Arguments& args); 56 v8::Handle<v8::Value> Read(const v8::Arguments& args); 57 v8::Handle<v8::Value> Load(const v8::Arguments& args); 58 v8::Handle<v8::Value> Quit(const v8::Arguments& args); 59 v8::Handle<v8::Value> Version(const v8::Arguments& args); 60 v8::Handle<v8::String> ReadFile(const char* name); [all …]
|
D | lineprocessor.cc | 108 const char* ToCString(const v8::String::Utf8Value& value); 109 void ReportException(v8::TryCatch* handler); 110 v8::Handle<v8::String> ReadFile(const char* name); 111 v8::Handle<v8::String> ReadLine(); 113 v8::Handle<v8::Value> Print(const v8::Arguments& args); 114 v8::Handle<v8::Value> ReadLine(const v8::Arguments& args); 115 bool RunCppCycle(v8::Handle<v8::Script> script, v8::Local<v8::Context> context, 120 v8::Persistent<v8::Context> debug_message_context; 134 v8::Context::Scope scope(debug_message_context); in DispatchDebugMessages() 136 v8::Debug::ProcessDebugMessages(); in DispatchDebugMessages() [all …]
|
/external/chromium_org/v8/tools/gyp/ |
D | v8_base.arm.host.darwin-arm.mk | 27 v8/src/accessors.cc \ 28 v8/src/allocation.cc \ 29 v8/src/allocation-site-scopes.cc \ 30 v8/src/allocation-tracker.cc \ 31 v8/src/api.cc \ 32 v8/src/arguments.cc \ 33 v8/src/assembler.cc \ 34 v8/src/ast.cc \ 35 v8/src/atomicops_internals_x86_gcc.cc \ 36 v8/src/bignum-dtoa.cc \ [all …]
|
D | v8_base.mipsel.host.darwin-mips.mk | 27 v8/src/accessors.cc \ 28 v8/src/allocation.cc \ 29 v8/src/allocation-site-scopes.cc \ 30 v8/src/allocation-tracker.cc \ 31 v8/src/api.cc \ 32 v8/src/arguments.cc \ 33 v8/src/assembler.cc \ 34 v8/src/ast.cc \ 35 v8/src/atomicops_internals_x86_gcc.cc \ 36 v8/src/bignum-dtoa.cc \ [all …]
|
D | v8_base.ia32.host.linux-x86.mk | 27 v8/src/accessors.cc \ 28 v8/src/allocation.cc \ 29 v8/src/allocation-site-scopes.cc \ 30 v8/src/allocation-tracker.cc \ 31 v8/src/api.cc \ 32 v8/src/arguments.cc \ 33 v8/src/assembler.cc \ 34 v8/src/ast.cc \ 35 v8/src/atomicops_internals_x86_gcc.cc \ 36 v8/src/bignum-dtoa.cc \ [all …]
|
D | v8_base.ia32.host.darwin-x86.mk | 27 v8/src/accessors.cc \ 28 v8/src/allocation.cc \ 29 v8/src/allocation-site-scopes.cc \ 30 v8/src/allocation-tracker.cc \ 31 v8/src/api.cc \ 32 v8/src/arguments.cc \ 33 v8/src/assembler.cc \ 34 v8/src/ast.cc \ 35 v8/src/atomicops_internals_x86_gcc.cc \ 36 v8/src/bignum-dtoa.cc \ [all …]
|
/external/chromium_org/chrome/renderer/extensions/ |
D | module_system.cc | 63 void Warn(v8::Isolate* isolate, const std::string& message) { in Warn() 76 virtual void HandleUncaughtException(const v8::TryCatch& try_catch) OVERRIDE { in HandleUncaughtException() 77 v8::HandleScope handle_scope(context_->isolate()); in HandleUncaughtException() 80 v8::String::Utf8Value stack_value(try_catch.StackTrace()); in HandleUncaughtException() 96 const v8::TryCatch& try_catch) { in CreateExceptionString() 97 v8::Handle<v8::Message> message(try_catch.Message()); in CreateExceptionString() 104 v8::String::Utf8Value resource_name_v8( in CreateExceptionString() 111 v8::String::Utf8Value error_message_v8(message->Get()); in CreateExceptionString() 134 v8::Handle<v8::Object> global(context->v8_context()->Global()); in ModuleSystem() 136 v8::String::NewFromUtf8(context->isolate(), kModulesField), in ModuleSystem() [all …]
|
/external/chromium_org/v8/samples/ |
D | shell.cc | 48 v8::Handle<v8::Context> CreateShellContext(v8::Isolate* isolate); 49 void RunShell(v8::Handle<v8::Context> context); 50 int RunMain(v8::Isolate* isolate, int argc, char* argv[]); 51 bool ExecuteString(v8::Isolate* isolate, 52 v8::Handle<v8::String> source, 53 v8::Handle<v8::Value> name, 56 void Print(const v8::FunctionCallbackInfo<v8::Value>& args); 57 void Read(const v8::FunctionCallbackInfo<v8::Value>& args); 58 void Load(const v8::FunctionCallbackInfo<v8::Value>& args); 59 void Quit(const v8::FunctionCallbackInfo<v8::Value>& args); [all …]
|