/external/pdfium/fpdfsdk/include/jsapi/ |
D | fxjs_v8.h | 40 typedef v8::Isolate IJS_Runtime; 48 #define JS_PROPGET_ARGS v8::Local<v8::String> property,const v8::PropertyCallbackInfo<v8::Value>&… 49 #define JS_PROPPUT_ARGS v8::Local<v8::String> property,v8::Local<v8::Value> value,const v8::Prope… 50 #define JS_METHOD_ARGS const v8::FunctionCallbackInfo<v8::Value>& info 51 #define JS_CONSTRUCTOR_ARGS IFXJS_Context* cc, v8::Handle<v8::Object> obj, v8::Handle<v8::Object> … 52 #define JS_DESTRUCTOR_ARGS v8::Handle<v8::Object> obj 54 #define JS_PROPQUERY_ARGS v8::Local<v8::String> property,const v8::PropertyCallbackInfo<v8::Intege… 56 #define JS_NAMED_PROPPUT_ARGS v8::Local<v8::String> property,v8::Local<v8::Value> value,const v8::P… 57 #define JS_PROPDEL_ARGS v8::Local<v8::String> property,const v8::PropertyCallbackInfo<v8::Boolean… 65 …ethod(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sMethodName, v8::FunctionCallback pM… [all …]
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
D | V8Binding.h | 70 v8::Local<v8::Value> createMinimumArityTypeErrorForMethod(const char* method, const char* type, uns… 71 v8::Local<v8::Value> createMinimumArityTypeErrorForConstructor(const char* type, unsigned expected,… 74 v8::ArrayBuffer::Allocator* v8ArrayBufferAllocator(); 119 inline void v8SetReturnValueString(const CallbackInfo& info, const String& string, v8::Isolate* iso… in v8SetReturnValueString() 129 inline void v8SetReturnValueStringOrNull(const CallbackInfo& info, const String& string, v8::Isolat… in v8SetReturnValueStringOrNull() 139 inline void v8SetReturnValueStringOrUndefined(const CallbackInfo& info, const String& string, v8::I… in v8SetReturnValueStringOrUndefined() 151 inline String toCoreString(v8::Handle<v8::String> value) in toCoreString() 156 inline String toCoreStringWithNullCheck(v8::Handle<v8::String> value) in toCoreStringWithNullCheck() 163 inline String toCoreStringWithUndefinedOrNullCheck(v8::Handle<v8::String> value) in toCoreStringWithUndefinedOrNullCheck() 170 inline AtomicString toCoreAtomicString(v8::Handle<v8::String> value) in toCoreAtomicString() [all …]
|
D | V8ScriptRunner.h | 47 …static v8::Local<v8::Script> compileScript(const ScriptSourceCode&, v8::Isolate*, AccessControlSta… 48 …tatic v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String& fileName, const Te… 49 …static v8::Local<v8::Value> runCompiledScript(v8::Handle<v8::Script>, ExecutionContext*, v8::Isola… 50 …static v8::Local<v8::Value> compileAndRunInternalScript(v8::Handle<v8::String>, v8::Isolate*, cons… 51 static v8::Local<v8::Value> runCompiledInternalScript(v8::Handle<v8::Script>, v8::Isolate*); 52 …atic v8::Local<v8::Value> callInternalFunction(v8::Handle<v8::Function>, v8::Handle<v8::Value> rec… 53 …v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, ExecutionContext*, v8::Handle<v8::Valu… 54 …static v8::Local<v8::Value> callAsFunction(v8::Isolate*, v8::Handle<v8::Object>, v8::Handle<v8::Va… 55 static v8::Local<v8::Object> instantiateObject(v8::Isolate*, v8::Handle<v8::ObjectTemplate>); 56 …static v8::Local<v8::Object> instantiateObject(v8::Isolate*, v8::Handle<v8::Function>, int argc = … [all …]
|
D | V8DOMConfiguration.h | 60 v8::AccessorGetterCallback getter; 61 v8::AccessorSetterCallback setter; 62 v8::AccessorGetterCallback getterForMainWorld; 63 v8::AccessorSetterCallback setterForMainWorld; 65 v8::AccessControl settings; 66 v8::PropertyAttribute attribute; 75 v8::FunctionCallback getter; 76 v8::FunctionCallback setter; 77 v8::FunctionCallback getterForMainWorld; 78 v8::FunctionCallback setterForMainWorld; [all …]
|
D | V8ScriptRunner.cpp | 48 void throwStackOverflowException(const v8::FunctionCallbackInfo<v8::Value>& info) in throwStackOverflowException() 53 v8::Local<v8::Value> throwStackOverflowExceptionIfNeeded(v8::Isolate* isolate) in throwStackOverflowExceptionIfNeeded() 58 return v8::Undefined(isolate); in throwStackOverflowExceptionIfNeeded() 61 …v8::Local<v8::Value> result = v8::Function::New(isolate, throwStackOverflowException)->Call(v8::Un… in throwStackOverflowExceptionIfNeeded() 66 v8::Local<v8::Script> compileAndProduceCache(v8::Isolate* isolate, v8::Handle<v8::String> code, v8:… in compileAndProduceCache() 68 v8::ScriptCompiler::Source source(code, origin); in compileAndProduceCache() 69 v8::Local<v8::Script> script = v8::ScriptCompiler::Compile(isolate, &source, options); in compileAndProduceCache() 70 const v8::ScriptCompiler::CachedData* cachedData = source.GetCachedData(); in compileAndProduceCache() 82 v8::Local<v8::Script> compileAndConsumeCache(v8::Isolate* isolate, v8::Handle<v8::String> code, v8:… in compileAndConsumeCache() 86 v8::ScriptCompiler::CachedData* cachedData = new v8::ScriptCompiler::CachedData( in compileAndConsumeCache() [all …]
|
D | V8DOMConfiguration.cpp | 37 …v8::Handle<v8::ObjectTemplate> instanceTemplate, v8::Handle<v8::ObjectTemplate> prototype, const A… in installAttributes() 43 …sors(v8::Handle<v8::ObjectTemplate> prototype, v8::Handle<v8::Signature> signature, const Accessor… in installAccessors() 50 v8::FunctionCallback getterCallback = accessors[i].getter; in installAccessors() 51 v8::FunctionCallback setterCallback = accessors[i].setter; in installAccessors() 59 v8::Local<v8::FunctionTemplate> getter; in installAccessors() 61 …getter = v8::FunctionTemplate::New(isolate, getterCallback, v8::External::New(isolate, const_cast<… in installAccessors() 64 v8::Local<v8::FunctionTemplate> setter; in installAccessors() 66 …setter = v8::FunctionTemplate::New(isolate, setterCallback, v8::External::New(isolate, const_cast<… in installAccessors() 82 …v8::Handle<v8::FunctionTemplate> functionDescriptor, v8::Handle<v8::ObjectTemplate> prototype, con… in installConstants() 86 v8::Handle<v8::String> constantName = v8AtomicString(isolate, constant->name); in installConstants() [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/v8/test/cctest/ |
D | test-thread-termination.cc | 34 v8::base::Semaphore* semaphore = NULL; 37 void Signal(const v8::FunctionCallbackInfo<v8::Value>& args) { in Signal() 42 void TerminateCurrentThread(const v8::FunctionCallbackInfo<v8::Value>& args) { in TerminateCurrentThread() 43 CHECK(!v8::V8::IsExecutionTerminating(args.GetIsolate())); in TerminateCurrentThread() 44 v8::V8::TerminateExecution(args.GetIsolate()); in TerminateCurrentThread() 48 void Fail(const v8::FunctionCallbackInfo<v8::Value>& args) { in Fail() 53 void Loop(const v8::FunctionCallbackInfo<v8::Value>& args) { in Loop() 54 CHECK(!v8::V8::IsExecutionTerminating(args.GetIsolate())); in Loop() 55 v8::Handle<v8::String> source = v8::String::NewFromUtf8( in Loop() 57 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/core/ |
D | V8TestInterfaceCheckSecurity.cpp | 35 static void longAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in longAttributeAttributeGetter() 37 v8::Handle<v8::Object> holder = info.Holder(); in longAttributeAttributeGetter() 42 …tatic void longAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in longAttributeAttributeGetterCallback() 49 static void doNotCheckSecurityLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value… in doNotCheckSecurityLongAttributeAttributeGetter() 51 v8::Handle<v8::Object> holder = info.Holder(); in doNotCheckSecurityLongAttributeAttributeGetter() 56 …eckSecurityLongAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in doNotCheckSecurityLongAttributeAttributeGetterCallback() 63 static void doNotCheckSecurityLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::… in doNotCheckSecurityLongAttributeAttributeSetter() 65 v8::Handle<v8::Object> holder = info.Holder(); in doNotCheckSecurityLongAttributeAttributeSetter() 72 …kSecurityLongAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value,… in doNotCheckSecurityLongAttributeAttributeSetterCallback() 79 …d doNotCheckSecurityReadonlyLongAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>… in doNotCheckSecurityReadonlyLongAttributeAttributeGetter() [all …]
|
D | V8TestInterface.cpp | 51 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in testInterfaceAttributeAttributeGetter() 53 v8::Handle<v8::Object> holder = info.Holder(); in testInterfaceAttributeAttributeGetter() 58 …d testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in testInterfaceAttributeAttributeGetterCallback() 65 static void testInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyC… in testInterfaceAttributeAttributeSetter() 67 v8::Handle<v8::Object> holder = info.Holder(); in testInterfaceAttributeAttributeSetter() 79 …testInterfaceAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value,… in testInterfaceAttributeAttributeSetterCallback() 86 static void doubleAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in doubleAttributeAttributeGetter() 88 v8::Handle<v8::Object> holder = info.Holder(); in doubleAttributeAttributeGetter() 93 …tic void doubleAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in doubleAttributeAttributeGetterCallback() 100 static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallback… in doubleAttributeAttributeSetter() [all …]
|
D | V8TestObject.cpp | 83 … void DEPRECATED_CONSTANTConstantGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in DEPRECATED_CONSTANTConstantGetterCallback() 91 …ic void MEASURED_CONSTANTConstantGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in MEASURED_CONSTANTConstantGetterCallback() 99 static void stringifierAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in stringifierAttributeAttributeGetter() 101 v8::Handle<v8::Object> holder = info.Holder(); in stringifierAttributeAttributeGetter() 106 …oid stringifierAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in stringifierAttributeAttributeGetterCallback() 113 static void stringifierAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCal… in stringifierAttributeAttributeSetter() 115 v8::Handle<v8::Object> holder = info.Holder(); in stringifierAttributeAttributeSetter() 121 …d stringifierAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value,… in stringifierAttributeAttributeSetterCallback() 128 static void readonlyStringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in readonlyStringAttributeAttributeGetter() 130 v8::Handle<v8::Object> holder = info.Holder(); in readonlyStringAttributeAttributeGetter() [all …]
|
D | V8TestInterfaceNode.cpp | 39 static void stringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in stringAttributeAttributeGetter() 41 v8::Handle<v8::Object> holder = info.Holder(); in stringAttributeAttributeGetter() 46 …tic void stringAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in stringAttributeAttributeGetterCallback() 53 static void stringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallback… in stringAttributeAttributeSetter() 55 v8::Handle<v8::Object> holder = info.Holder(); in stringAttributeAttributeSetter() 61 …c void stringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value,… in stringAttributeAttributeSetterCallback() 68 static void readonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::V… in readonlyTestInterfaceEmptyAttributeAttributeGetter() 70 v8::Handle<v8::Object> holder = info.Holder(); in readonlyTestInterfaceEmptyAttributeAttributeGetter() 75 …tInterfaceEmptyAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackI… in readonlyTestInterfaceEmptyAttributeAttributeGetterCallback() 82 static void eventHandlerAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) in eventHandlerAttributeAttributeGetter() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | JavaScriptCallFrame.cpp | 40 JavaScriptCallFrame::JavaScriptCallFrame(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8::Ob… in JavaScriptCallFrame() 41 : m_isolate(v8::Isolate::GetCurrent()) in JavaScriptCallFrame() 54 v8::HandleScope handleScope(m_isolate); in caller() 55 v8::Handle<v8::Context> debuggerContext = m_debuggerContext.newLocal(m_isolate); in caller() 56 v8::Context::Scope contextScope(debuggerContext); in caller() 57 …v8::Handle<v8::Value> callerFrame = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate,… in caller() 60 …m_caller = JavaScriptCallFrame::create(debuggerContext, v8::Handle<v8::Object>::Cast(callerFrame)); in caller() 67 v8::HandleScope handleScope(m_isolate); in callV8FunctionReturnInt() 68 v8::Context::Scope contextScope(m_debuggerContext.newLocal(m_isolate)); in callV8FunctionReturnInt() 69 v8::Handle<v8::Object> callFrame = m_callFrame.newLocal(m_isolate); in callV8FunctionReturnInt() [all …]
|
/external/chromium_org/v8/tools/gyp/ |
D | v8_base.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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
D | v8_base.host.linux-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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
D | v8_base.host.linux-x86_64.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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
D | v8_base.host.darwin-x86_64.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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
D | v8_base.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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
D | v8_base.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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
D | v8_base.host.linux-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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
D | v8_base.host.linux-mips64.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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
D | v8_base.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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
D | v8_base.host.darwin-mips64.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/assert-scope.cc \ 35 v8/src/ast-value-factory.cc \ 36 v8/src/ast.cc \ [all …]
|
/external/pdfium/fpdfsdk/src/jsapi/ |
D | fxjs_v8.cpp | 40 …CJS_ObjDefintion(v8::Isolate* isolate, const wchar_t* sObjName, FXJSOBJTYPE eObjType, LP_CONSTRUCT… in CJS_ObjDefintion() 43 v8::Isolate::Scope isolate_scope(isolate); in CJS_ObjDefintion() 44 v8::HandleScope handle_scope(isolate); in CJS_ObjDefintion() 46 v8::Handle<v8::ObjectTemplate> objTemplate = v8::ObjectTemplate::New(isolate); in CJS_ObjDefintion() 70 v8::Persistent<v8::ObjectTemplate> m_objTemplate; 71 v8::Persistent<v8::Object> m_StaticObj; 76 v8::Isolate* isolate = (v8::Isolate*)pJSRuntime; in JS_DefineObj() 77 v8::Isolate::Scope isolate_scope(isolate); in JS_DefineObj() 78 v8::HandleScope handle_scope(isolate); in JS_DefineObj() 90 int JS_DefineObjMethod(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sMethodName, v8::Fun… in JS_DefineObjMethod() [all …]
|