/external/webkit/Source/WebKit/mac/ForwardingHeaders/runtime/ |
JSFunction.h | 1 #include <JavaScriptCore/JSFunction.h>
|
/external/webkit/Source/WebCore/ForwardingHeaders/runtime/ |
JSFunction.h | 3 #include <JavaScriptCore/JSFunction.h>
|
/external/webkit/Source/JavaScriptCore/runtime/ |
JSFunction.cpp | 26 #include "JSFunction.h" 50 ASSERT_CLASS_FITS_IN_CELL(JSFunction); 52 const ClassInfo JSFunction::s_info = { "Function", &Base::s_info, 0, 0 }; 54 bool JSFunction::isHostFunctionNonInline() const 59 JSFunction::JSFunction(VPtrStealingHackType) 64 JSFunction::JSFunction(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, int length, const Identifier& name, NativeExecutable* thunk) 74 JSFunction::JSFunction(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, int length, const Identifier& (…) [all...] |
JSFunction.h | 41 class JSFunction : public JSObjectWithGlobalObject { 48 JSFunction(ExecState*, JSGlobalObject*, Structure*, int length, const Identifier&, NativeFunction); 49 JSFunction(ExecState*, JSGlobalObject*, Structure*, int length, const Identifier&, NativeExecutable*); 50 JSFunction(ExecState*, FunctionExecutable*, ScopeChainNode*); 51 virtual ~JSFunction(); 90 explicit JSFunction(VPtrStealingHackType); 110 JSFunction* asFunction(JSValue); 112 inline JSFunction* asFunction(JSValue value) 114 ASSERT(asObject(value)->inherits(&JSFunction::s_info)); 115 return static_cast<JSFunction*>(asObject(value)) [all...] |
ObjectPrototype.cpp | 25 #include "JSFunction.h" 47 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, objectProtoFuncToString), DontEnum); 48 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toLocaleString, objectProtoFuncToLocaleString), DontEnum); 49 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().valueOf, objectProtoFuncValueOf), DontEnum); 50 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().hasOwnProperty, objectProtoFuncHasOwnProperty), DontEnum); 51 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().propertyIsEnumerable, objectProtoFuncPropertyIsEnumerable), DontEnum); 52 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().isPrototypeOf, objectProtoFuncIsPrototypeOf), DontEnum); 55 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().__defineGetter__, objectProtoFuncDefineGetter), DontEnum); 56 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().__defineSetter__, objectProtoFuncDefineSetter), DontEnum); 57 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().__lookupGetter__, objectProtoFuncL (…) [all...] |
FunctionPrototype.cpp | 26 #include "JSFunction.h" 46 void FunctionPrototype::addFunctionProperties(ExecState* exec, JSGlobalObject* globalObject, Structure* functionStructure, JSFunction** callFunction, JSFunction** applyFunction) 48 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, functionProtoFuncToString), DontEnum); 49 *applyFunction = new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().apply, functionProtoFuncApply); 51 *callFunction = new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().call, functionProtoFuncCall); 88 if (thisValue.inherits(&JSFunction::s_info)) { 89 JSFunction* function = asFunction(thisValue);
|
FunctionPrototype.h | 31 void addFunctionProperties(ExecState*, JSGlobalObject*, Structure* functionStructure, JSFunction** callFunction, JSFunction** applyFunction);
|
BooleanPrototype.cpp | 26 #include "JSFunction.h" 45 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, booleanProtoFuncToString), DontEnum); 46 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().valueOf, booleanProtoFuncValueOf), DontEnum);
|
Lookup.cpp | 24 #include "JSFunction.h" 79 JSFunction* function; 83 function = new (exec) JSFunction(exec, globalObject, globalObject->functionStructure(), entry->functionLength(), propertyName, exec->globalData().getHostFunction(entry->function(), entry->generator())); 86 function = new (exec) JSFunction(exec, globalObject, globalObject->functionStructure(), entry->functionLength(), propertyName, entry->function());
|
JSObjectWithGlobalObject.h | 54 // Should only be used by JSFunction when we aquire the JSFunction vptr.
|
RegExpPrototype.cpp | 27 #include "JSFunction.h" 53 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().compile, regExpProtoFuncCompile), DontEnum); 54 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().exec, regExpProtoFuncExec), DontEnum); 55 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().test, regExpProtoFuncTest), DontEnum); 56 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, regExpProtoFuncToString), DontEnum);
|
/external/v8/src/ |
contexts.h | 102 V(BOOLEAN_FUNCTION_INDEX, JSFunction, boolean_function) \ 103 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ 104 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ 106 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ 107 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \ 108 V(ARRAY_FUNCTION_INDEX, JSFunction, array_function) \ 112 V(DATE_FUNCTION_INDEX, JSFunction, date_function) \ 114 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ 116 V(CREATE_DATE_FUN_INDEX, JSFunction, create_date_fun) \ 117 V(TO_NUMBER_FUN_INDEX, JSFunction, to_number_fun) [all...] |
factory.h | 167 Handle<JSFunction> function); 170 Handle<Context> NewCatchContext(Handle<JSFunction> function, 176 Handle<Context> NewWithContext(Handle<JSFunction> function, 181 Handle<Context> NewBlockContext(Handle<JSFunction> function, 220 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); 255 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, 259 Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor); 294 Handle<JSFunction> NewFunction(Handle<String> name, 297 Handle<JSFunction> NewFunctionWithoutPrototype( 301 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global) [all...] |
bootstrapper.cc | 170 Handle<JSFunction> CreateEmptyFunction(Isolate* isolate); 172 Handle<JSFunction> GetThrowTypeErrorFunction(); 174 void CreateStrictModeFunctionMaps(Handle<JSFunction> empty); 200 Handle<JSFunction> empty_function); 262 Handle<JSFunction> empty_function); 285 Handle<JSFunction> throw_type_error_function; 347 static Handle<JSFunction> InstallFunction(Handle<JSObject> target, 358 Handle<JSFunction> function = prototype.is_null() ? 428 Handle<Map> map = factory()->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize); 437 Handle<JSFunction> Genesis::CreateEmptyFunction(Isolate* isolate) [all...] |
accessors.cc | 452 JSFunction* function = FindInPrototypeChain<JSFunction>(object, &found_it); 456 function = FindInPrototypeChain<JSFunction>(object->GetPrototype(), 481 JSFunction* function = FindInPrototypeChain<JSFunction>(object, &found_it); 513 JSFunction* function = FindInPrototypeChain<JSFunction>(object, &found_it); 520 Handle<JSFunction> handle(function); 521 if (!JSFunction::CompileLazy(handle, KEEP_EXCEPTION)) { 545 JSFunction* holder = FindInPrototypeChain<JSFunction>(object, &found_it) [all...] |
factory.cc | 295 Handle<JSFunction> function) { 303 Handle<Context> Factory::NewCatchContext(Handle<JSFunction> function, 317 Handle<Context> Factory::NewWithContext(Handle<JSFunction> function, 328 Handle<JSFunction> function, 451 Handle<JSObject> Factory::NewFunctionPrototype(Handle<JSFunction> function) { 515 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( 525 JSFunction); 529 Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo( 533 Handle<JSFunction> result = BaseNewFunctionFromSharedFunctionInfo( 552 literals->set(JSFunction::kLiteralGlobalContextIndex [all...] |
execution.cc | 70 Handle<JSFunction> function, 114 JSFunction* func = *function; 156 Handle<JSFunction> func = Handle<JSFunction>::cast(callable); 177 Handle<Object> Execution::New(Handle<JSFunction> func, 186 Handle<Object> Execution::TryCall(Handle<JSFunction> func, 242 return Handle<JSFunction>( 266 return Handle<JSFunction>( 299 return Handle<JSFunction>( 327 return Handle<JSFunction>( [all...] |
stub-cache.h | 96 Handle<JSFunction> value); 125 Handle<JSFunction> value); 138 Handle<JSFunction> receiver); 192 Handle<JSFunction> function); 208 Handle<JSFunction> function); 548 Handle<JSFunction> value, 598 Handle<JSFunction> value, 633 Handle<JSFunction> value); 768 Handle<JSFunction> function, 779 Handle<JSFunction> function [all...] |
runtime-profiler.h | 38 class JSFunction; 104 void AttemptOnStackReplacement(JSFunction* function); 111 void Optimize(JSFunction* function, const char* reason); 117 int LookupSample(JSFunction* function); 119 void AddSample(JSFunction* function, int weight);
|
/external/webkit/Source/WebCore/bindings/js/ |
JSLazyEventListener.cpp | 27 #include <runtime/JSFunction.h> 100 JSObject* jsFunction = constructFunction(exec, exec->lexicalGlobalObject(), args, Identifier(exec, stringToUString(m_functionName)), stringToUString(m_sourceURL), m_lineNumber); // FIXME: is globalExec ok? 106 JSFunction* listenerAsFunction = static_cast<JSFunction*>(jsFunction); 125 return jsFunction;
|
JSEventListener.cpp | 73 JSObject* jsFunction = this->jsFunction(scriptExecutionContext); 74 if (!jsFunction) 97 JSValue handleEventFunction = jsFunction->get(exec, Identifier(exec, "handleEvent")); 103 callType = jsFunction->getCallData(callData); 122 ? JSMainThreadExecState::call(exec, handleEventFunction, callType, callData, jsFunction, args) 123 : JSC::call(exec, handleEventFunction, callType, callData, jsFunction, args); 127 ? JSMainThreadExecState::call(exec, jsFunction, callType, callData, currentTarget, args) 128 : JSC::call(exec, jsFunction, callType, callData, currentTarget, args);
|
JSErrorHandler.cpp | 66 JSObject* jsFunction = this->jsFunction(scriptExecutionContext); 67 if (!jsFunction) 77 CallType callType = jsFunction->getCallData(callData); 96 JSValue returnValue = JSC::call(exec, jsFunction, callType, callData, thisValue, args);
|
ScriptEventListener.cpp | 102 JSC::JSObject* jsFunction = jsListener->jsFunction(document); 103 if (!jsFunction) 105 return ustringToString(jsFunction->toString(scriptStateFromNode(jsListener->isolatedWorld(), document)));
|
/external/webkit/Source/JavaScriptCore/profiler/ |
Profiler.cpp | 36 #include "JSFunction.h" 51 static CallIdentifier createCallIdentifierFromFunctionImp(ExecState*, JSFunction*); 166 if (asObject(functionValue)->inherits(&JSFunction::s_info)) { 167 JSFunction* function = asFunction(functionValue); 171 if (asObject(functionValue)->inherits(&JSFunction::s_info)) 172 return CallIdentifier(static_cast<JSFunction*>(asObject(functionValue))->name(exec), defaultSourceURL, defaultLineNumber); 178 CallIdentifier createCallIdentifierFromFunctionImp(ExecState* exec, JSFunction* function)
|
/external/webkit/Source/JavaScriptCore/interpreter/ |
Interpreter.h | 46 class JSFunction; 102 JSValue retrieveArguments(CallFrame*, JSFunction*) const; 103 JSValue retrieveCaller(CallFrame*, JSFunction*) const; 106 void getArgumentsData(CallFrame*, JSFunction*&, ptrdiff_t& firstParameterIndex, Register*& argv, int& argc); 120 CallFrameClosure prepareForRepeatCall(FunctionExecutable*, CallFrame*, JSFunction*, int argCount, ScopeChainNode*); 145 static CallFrame* findFunctionCallFrame(CallFrame*, JSFunction*);
|