/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/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...] |
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);
|
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.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...] |
contexts.cc | 71 JSFunction* closure = JSFunction::cast(current->closure()); 243 void Context::AddOptimizedFunction(JSFunction* function) { 249 element = JSFunction::cast(element)->next_function_link(); 271 void Context::RemoveOptimizedFunction(JSFunction* function) { 274 JSFunction* prev = NULL; 276 JSFunction* element_function = JSFunction::cast(element);
|
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...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
FunctionPrototype.h | 31 void addFunctionProperties(ExecState*, JSGlobalObject*, Structure* functionStructure, JSFunction** callFunction, JSFunction** applyFunction);
|
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...] |
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...] |
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...] |
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);
|
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);
|
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());
|
PutPropertySlot.h | 35 class JSFunction;
|
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/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*);
|
CallFrameClosure.h | 34 JSFunction* function;
|
/external/webkit/Source/JavaScriptCore/debugger/ |
DebuggerCallFrame.cpp | 32 #include "JSFunction.h" 48 if (!function || !function->inherits(&JSFunction::s_info)) 59 if (!function || !function->inherits(&JSFunction::s_info))
|
/external/v8/test/cctest/ |
test-compiler.cc | 116 static Handle<JSFunction> Compile(const char* source) { 137 Handle<JSFunction> fun = Compile(buffer.start()); 156 Handle<JSFunction> fun = Compile("result = x + y;"); 177 Handle<JSFunction> fun = Compile("if (x < 0) result = -x; else result = x;"); 197 Handle<JSFunction> fun = 221 Handle<JSFunction> fun = Compile(source); 254 Handle<JSFunction> fun = Compile(source); 269 Handle<JSFunction> fun = Compile(source); 292 Handle<JSFunction> fun0 = Compile(source); 308 Execution::Call(Handle<JSFunction>::cast(fun1) [all...] |
test-random.cc | 50 void TestSeeds(Handle<JSFunction> fun, 89 Handle<JSFunction> fun(JSFunction::cast(fun_object->ToObjectChecked()));
|
/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;
|
/external/v8/src/arm/ |
codegen-arm.h | 62 static void SetFunctionInfo(Handle<JSFunction> fun,
|
/external/v8/src/mips/ |
codegen-mips.h | 64 static void SetFunctionInfo(Handle<JSFunction> fun,
|