Lines Matching +defs:mode +defs:function
76 JSFunction* function = new (NotNull, allocateCell<JSFunction>(vm.heap)) JSFunction(vm, globalObject, globalObject->functionStructure());
78 function->finishCreation(vm, executable, length, name);
79 return function;
91 // We initialize blind so that changes to the prototype after function creation but before
125 JSFunction* function = create(vm, executable, globalObject);
126 function->putDirect(vm, vm.propertyNames->name, jsString(&vm, executable->name().string()), DontDelete | ReadOnly | DontEnum);
127 function->putDirect(vm, vm.propertyNames->length, jsNumber(executable->parameterCount()), DontDelete | ReadOnly | DontEnum);
128 return function;
194 callData.native.function = thisObject->nativeFunction();
298 JSFunction* function = jsCast<JSFunction*>(caller);
299 if (function->isHostOrBuiltinFunction() || !function->jsExecutable()->isStrictMode())
380 void JSFunction::getOwnNonIndexPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
383 if (!thisObject->isHostOrBuiltinFunction() && (mode == IncludeDontEnumProperties)) {
394 Base::getOwnNonIndexPropertyNames(thisObject, exec, propertyNames, mode);
518 constructData.native.function = thisObject->nativeConstructor();
528 if (JSFunction* function = jsDynamicCast<JSFunction*>(object))
529 return function->calculatedDisplayName(callFrame);
530 if (InternalFunction* function = jsDynamicCast<InternalFunction*>(object))
531 return function->calculatedDisplayName(callFrame);