Searched refs:exec (Results 1 - 25 of 915) sorted by relevance

1234567891011>>

/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSXSLTProcessorCustom.cpp49 JSValue JSXSLTProcessor::setParameter(ExecState* exec) argument
51 if (exec->argument(1).isUndefinedOrNull() || exec->argument(2).isUndefinedOrNull())
53 String namespaceURI = exec->argument(0).toString(exec)->value(exec);
54 String localName = exec->argument(1).toString(exec)->value(exec);
55 String value = exec
60 getParameter(ExecState* exec) argument
70 removeParameter(ExecState* exec) argument
[all...]
H A DJSAudioContextCustom.cpp44 EncodedJSValue JSC_HOST_CALL JSAudioContextConstructor::constructJSAudioContext(ExecState* exec) argument
46 JSAudioContextConstructor* jsConstructor = jsCast<JSAudioContextConstructor*>(exec->callee());
48 return throwVMError(exec, createReferenceError(exec, "AudioContext constructor callee is unavailable"));
52 return throwVMError(exec, createReferenceError(exec, "AudioContext constructor script execution context is unavailable"));
55 return throwVMError(exec, createReferenceError(exec, "AudioContext constructor called in a script execution context which is not a document"));
61 if (!exec->argumentCount()) {
66 setDOMException(exec, e
[all...]
H A DJSIDBObjectStoreCustom.cpp45 JSValue JSIDBObjectStore::createIndex(ExecState* exec) argument
47 ScriptExecutionContext* context = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
49 return throwError(exec, createReferenceError(exec, "IDBObjectStore script execution context is unavailable"));
51 if (exec->argumentCount() < 2)
52 return throwError(exec, createNotEnoughArgumentsError(exec));
54 String name = exec->argument(0).toString(exec)->value(exec);
[all...]
H A DBindingState.cpp40 DOMWindow* activeDOMWindow(ExecState* exec) argument
42 return asJSDOMWindow(exec->lexicalGlobalObject())->impl();
45 DOMWindow* firstDOMWindow(ExecState* exec) argument
47 return asJSDOMWindow(exec->dynamicGlobalObject())->impl();
H A DJSConsoleCustom.cpp40 JSValue JSConsole::profile(ExecState* exec) argument
42 const String& title = valueToStringWithUndefinedOrNullCheck(exec, exec->argument(0));
43 if (exec->hadException())
46 impl()->profile(title, exec);
50 JSValue JSConsole::profileEnd(ExecState* exec) argument
52 const String& title = valueToStringWithUndefinedOrNullCheck(exec, exec->argument(0));
53 if (exec->hadException())
56 impl()->profileEnd(title, exec);
[all...]
H A DJSSQLTransactionSyncCustom.cpp45 JSValue JSSQLTransactionSync::executeSql(ExecState* exec) argument
47 if (!exec->argumentCount()) {
48 setDOMException(exec, SYNTAX_ERR);
52 String sqlStatement = exec->argument(0).toString(exec)->value(exec);
53 if (exec->hadException())
58 if (!exec->argument(1).isUndefinedOrNull()) {
59 JSObject* object = exec->argument(1).getObject();
61 setDOMException(exec, TYPE_MISMATCH_ER
[all...]
H A DJSWorkerCustom.cpp43 JSC::JSValue JSWorker::postMessage(JSC::ExecState* exec) argument
45 return handlePostMessage(exec, impl());
48 EncodedJSValue JSC_HOST_CALL JSWorkerConstructor::constructJSWorker(ExecState* exec) argument
50 JSWorkerConstructor* jsConstructor = jsCast<JSWorkerConstructor*>(exec->callee());
52 if (!exec->argumentCount())
53 return throwVMError(exec, createNotEnoughArgumentsError(exec));
55 String scriptURL = exec->argument(0).toString(exec)->value(exec);
[all...]
H A DJSLocationCustom.cpp33 static JSValue nonCachingStaticReplaceFunctionGetter(ExecState* exec, JSValue, PropertyName propertyName) argument
35 return JSFunction::create(exec, exec->lexicalGlobalObject(), 1, propertyName.publicName(), jsLocationPrototypeFunctionReplace);
38 static JSValue nonCachingStaticReloadFunctionGetter(ExecState* exec, JSValue, PropertyName propertyName) argument
40 return JSFunction::create(exec, exec->lexicalGlobalObject(), 0, propertyName.publicName(), jsLocationPrototypeFunctionReload);
43 static JSValue nonCachingStaticAssignFunctionGetter(ExecState* exec, JSValue, PropertyName propertyName) argument
45 return JSFunction::create(exec, exec->lexicalGlobalObject(), 1, propertyName.publicName(), jsLocationPrototypeFunctionAssign);
48 bool JSLocation::getOwnPropertySlotDelegate(ExecState* exec, PropertyNam argument
89 getOwnPropertyDescriptorDelegate(ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor) argument
128 putDelegate(ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot) argument
155 deleteProperty(JSCell* cell, ExecState* exec, PropertyName propertyName) argument
164 deletePropertyByIndex(JSCell* cell, ExecState* exec, unsigned propertyName) argument
173 getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) argument
182 defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor, bool throwException) argument
189 setHref(ExecState* exec, JSValue value) argument
197 setProtocol(ExecState* exec, JSValue value) argument
207 setHost(ExecState* exec, JSValue value) argument
215 setHostname(ExecState* exec, JSValue value) argument
223 setPort(ExecState* exec, JSValue value) argument
231 setPathname(ExecState* exec, JSValue value) argument
239 setSearch(ExecState* exec, JSValue value) argument
247 setHash(ExecState* exec, JSValue value) argument
255 replace(ExecState* exec) argument
264 reload(ExecState* exec) argument
270 assign(ExecState* exec) argument
279 toStringFunction(ExecState* exec) argument
288 putDelegate(ExecState* exec, PropertyName propertyName, JSValue, PutPropertySlot&) argument
293 defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor, bool throwException) argument
[all...]
H A DJSIDBDatabaseCustom.cpp46 JSValue JSIDBDatabase::createObjectStore(ExecState* exec) argument
48 if (exec->argumentCount() < 1)
49 return throwError(exec, createNotEnoughArgumentsError(exec));
51 String name = exec->argument(0).toString(exec)->value(exec);
52 if (exec->hadException())
55 JSValue optionsValue = exec->argument(1);
57 return throwTypeError(exec, "No
[all...]
H A DJSSQLTransactionCustom.cpp46 JSValue JSSQLTransaction::executeSql(ExecState* exec) argument
48 if (!exec->argumentCount()) {
49 setDOMException(exec, SYNTAX_ERR);
53 String sqlStatement = exec->argument(0).toString(exec)->value(exec);
54 if (exec->hadException())
59 if (!exec->argument(1).isUndefinedOrNull()) {
60 JSObject* object = exec->argument(1).getObject();
62 setDOMException(exec, TYPE_MISMATCH_ER
[all...]
H A DJSDataViewCustom.cpp43 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, DataView* object) argument
45 return wrap<JSDataView>(exec, globalObject, object);
48 EncodedJSValue JSC_HOST_CALL JSDataViewConstructor::constructJSDataView(ExecState* exec) argument
50 if (exec->argument(0).isNull() || !exec->argument(0).isObject())
51 return throwVMTypeError(exec);
53 RefPtr<DataView> view = constructArrayBufferViewWithArrayBufferArgument<DataView, char>(exec);
55 setDOMException(exec, INDEX_SIZE_ERR);
59 JSDataViewConstructor* jsConstructor = jsCast<JSDataViewConstructor*>(exec->callee());
60 return JSValue::encode(asObject(toJS(exec, jsConstructo
63 getDataViewMember(ExecState* exec, DataView* imp, DataViewAccessType type) argument
94 getFloat32(ExecState* exec) argument
99 getFloat64(ExecState* exec) argument
[all...]
H A DJSHTMLInputElementCustom.cpp36 JSValue JSHTMLInputElement::selectionStart(ExecState* exec) const
40 return throwTypeError(exec);
45 void JSHTMLInputElement::setSelectionStart(ExecState* exec, JSValue value) argument
49 throwTypeError(exec);
51 input->setSelectionStart(value.toInt32(exec));
54 JSValue JSHTMLInputElement::selectionEnd(ExecState* exec) const
58 return throwTypeError(exec);
63 void JSHTMLInputElement::setSelectionEnd(ExecState* exec, JSValue value) argument
67 throwTypeError(exec);
69 input->setSelectionEnd(value.toInt32(exec));
81 setSelectionDirection(ExecState* exec, JSValue value) argument
92 setSelectionRange(ExecState* exec) argument
[all...]
H A DJSDeviceMotionEventCustom.cpp40 static PassRefPtr<DeviceMotionData::Acceleration> readAccelerationArgument(JSValue value, ExecState* exec) argument
46 JSObject* object = value.toObject(exec);
48 JSValue xValue = object->get(exec, Identifier(exec, "x"));
49 if (exec->hadException())
52 double x = xValue.toNumber(exec);
53 if (exec->hadException())
56 JSValue yValue = object->get(exec, Identifier(exec, "y"));
57 if (exec
78 readRotationRateArgument(JSValue value, ExecState* exec) argument
116 createAccelerationObject(const DeviceMotionData::Acceleration* acceleration, ExecState* exec) argument
125 createRotationRateObject(const DeviceMotionData::RotationRate* rotationRate, ExecState* exec) argument
166 initDeviceMotionEvent(ExecState* exec) argument
[all...]
H A DJSMessageEventCustom.cpp47 JSValue JSMessageEvent::data(ExecState* exec) const
67 result = serializedValue->deserialize(exec, globalObject(), &ports, NonThrowing);
74 result = jsStringWithCache(exec, event->dataAsString());
78 result = toJS(exec, globalObject(), event->dataAsBlob());
82 result = toJS(exec, globalObject(), event->dataAsArrayBuffer());
87 const_cast<JSMessageEvent*>(this)->m_data.set(exec->vm(), this, result);
91 static JSC::JSValue handleInitMessageEvent(JSMessageEvent* jsEvent, JSC::ExecState* exec) argument
93 const String& typeArg = exec->argument(0).toString(exec)->value(exec);
118 initMessageEvent(JSC::ExecState* exec) argument
123 webkitInitMessageEvent(JSC::ExecState* exec) argument
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DJSNotAnObject.cpp42 JSValue JSNotAnObject::defaultValue(const JSObject*, ExecState* exec, PreferredPrimitiveType) argument
44 ASSERT_UNUSED(exec, exec->hadException());
49 bool JSNotAnObject::getOwnPropertySlot(JSCell*, ExecState* exec, PropertyName, PropertySlot&) argument
51 ASSERT_UNUSED(exec, exec->hadException());
55 bool JSNotAnObject::getOwnPropertySlotByIndex(JSCell*, ExecState* exec, unsigned, PropertySlot&) argument
57 ASSERT_UNUSED(exec, exec->hadException());
61 bool JSNotAnObject::getOwnPropertyDescriptor(JSObject*, ExecState* exec, PropertyNam argument
67 put(JSCell*, ExecState* exec, PropertyName , JSValue, PutPropertySlot&) argument
72 putByIndex(JSCell*, ExecState* exec, unsigned, JSValue, bool) argument
77 deleteProperty(JSCell*, ExecState* exec, PropertyName) argument
83 deletePropertyByIndex(JSCell*, ExecState* exec, unsigned) argument
89 getOwnPropertyNames(JSObject*, ExecState* exec, PropertyNameArray&, EnumerationMode) argument
[all...]
H A DNativeErrorPrototype.cpp31 NativeErrorPrototype::NativeErrorPrototype(ExecState* exec, Structure* structure) argument
32 : ErrorPrototype(exec, structure)
36 void NativeErrorPrototype::finishCreation(ExecState* exec, JSGlobalObject* globalObject, const WTF::String& nameAndMessage, NativeErrorConstructor* constructor) argument
38 Base::finishCreation(exec, globalObject);
39 putDirect(exec->vm(), exec->propertyNames().name, jsString(exec, nameAndMessage), DontEnum);
40 putDirect(exec->vm(), exec->propertyNames().message, jsEmptyString(exec), DontEnu
[all...]
H A DRegExpPrototype.cpp57 exec regExpProtoFuncExec DontEnum|Function 1
68 bool RegExpPrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot &slot) argument
70 return getStaticFunctionSlot<RegExpObject>(exec, ExecState::regExpPrototypeTable(exec), jsCast<RegExpPrototype*>(cell), propertyName, slot);
73 bool RegExpPrototype::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor) argument
75 return getStaticFunctionDescriptor<RegExpObject>(exec, ExecState::regExpPrototypeTable(exec), jsCast<RegExpPrototype*>(object), propertyName, descriptor);
80 EncodedJSValue JSC_HOST_CALL regExpProtoFuncTest(ExecState* exec) argument
82 JSValue thisValue = exec->hostThisValue();
84 return throwVMTypeError(exec);
88 regExpProtoFuncExec(ExecState* exec) argument
96 regExpProtoFuncCompile(ExecState* exec) argument
134 regExpProtoFuncToString(ExecState* exec) argument
[all...]
H A DObjectConstructor.cpp86 void ObjectConstructor::finishCreation(ExecState* exec, ObjectPrototype* objectPrototype) argument
88 Base::finishCreation(exec->vm(), Identifier(exec, "Object").string());
90 putDirectWithoutTransition(exec->vm(), exec->propertyNames().prototype, objectPrototype, DontEnum | DontDelete | ReadOnly);
92 putDirectWithoutTransition(exec->vm(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
95 bool ObjectConstructor::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot &slot) argument
97 return getStaticFunctionSlot<JSObject>(exec, ExecState::objectConstructorTable(exec), jsCas
100 getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor) argument
105 constructObject(ExecState* exec) argument
115 constructWithObjectConstructor(ExecState* exec) argument
126 callObjectConstructor(ExecState* exec) argument
137 objectConstructorGetPrototypeOf(ExecState* exec) argument
147 objectConstructorGetOwnPropertyDescriptor(ExecState* exec) argument
179 objectConstructorGetOwnPropertyNames(ExecState* exec) argument
193 objectConstructorKeys(ExecState* exec) argument
207 toPropertyDescriptor(ExecState* exec, JSValue in, PropertyDescriptor& desc) argument
289 objectConstructorDefineProperty(ExecState* exec) argument
306 defineProperties(ExecState* exec, JSObject* object, JSObject* properties) argument
309 asObject(properties)->methodTable()->getOwnPropertyNames(asObject(properties), exec, propertyNames, ExcludeDontEnumProperties); local
340 objectConstructorDefineProperties(ExecState* exec) argument
347 objectConstructorCreate(ExecState* exec) argument
362 objectConstructorSeal(ExecState* exec) argument
399 objectConstructorFreeze(ExecState* exec) argument
440 objectConstructorPreventExtensions(ExecState* exec) argument
449 objectConstructorIsSealed(ExecState* exec) argument
479 objectConstructorIsFrozen(ExecState* exec) argument
510 objectConstructorIsExtensible(ExecState* exec) argument
[all...]
H A DPropertySlot.cpp30 JSValue PropertySlot::functionGetter(ExecState* exec) const
33 if (exec->hadException())
34 return exec->exception();
38 return call(exec, m_data.getterFunc, callType, callData, m_thisValue.isObject() ? m_thisValue.toThisObject(exec) : m_thisValue, exec->emptyList());
H A DStrictEvalActivation.cpp38 StrictEvalActivation::StrictEvalActivation(ExecState* exec) argument
40 exec->vm(),
41 exec->lexicalGlobalObject()->strictEvalActivationStructure(),
42 exec->scope()
52 JSObject* StrictEvalActivation::toThisObject(JSCell*, ExecState* exec) argument
54 return exec->globalThisValue();
H A DErrorPrototype.cpp52 ErrorPrototype::ErrorPrototype(ExecState* exec, Structure* structure) argument
53 : ErrorInstance(exec->vm(), structure)
57 void ErrorPrototype::finishCreation(ExecState* exec, JSGlobalObject*) argument
59 Base::finishCreation(exec->vm(), "");
61 putDirect(exec->vm(), exec->propertyNames().name, jsNontrivialString(exec, String(ASCIILiteral("Error"))), DontEnum);
64 bool ErrorPrototype::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot &slot) argument
66 return getStaticFunctionSlot<ErrorInstance>(exec, ExecState::errorPrototypeTable(exec), jsCas
69 getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor) argument
77 errorProtoFuncToString(ExecState* exec) argument
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/llint/
H A DLLIntExceptions.cpp41 static void fixupPCforExceptionIfNeeded(ExecState* exec) argument
43 CodeBlock* codeBlock = exec->codeBlock();
45 Instruction* pc = exec->currentVPC();
46 exec->setCurrentVPC(codeBlock->adjustPCIfAtCallSite(pc));
49 void interpreterThrowInCaller(ExecState* exec, ReturnAddressPtr pc) argument
51 VM* vm = &exec->vm();
52 NativeCallFrameTracer tracer(vm, exec);
56 fixupPCforExceptionIfNeeded(exec);
58 vm, exec, vm->exception,
59 exec
62 returnToThrowForThrownException(ExecState* exec) argument
68 doThrow(ExecState* exec, Instruction* pc) argument
76 returnToThrow(ExecState* exec, Instruction* pc) argument
86 callToThrow(ExecState* exec, Instruction* pc) argument
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/profiler/
H A DProfilerBytecode.cpp35 JSValue Bytecode::toJS(ExecState* exec) const
37 JSObject* result = constructEmptyObject(exec);
38 result->putDirect(exec->vm(), exec->propertyNames().bytecodeIndex, jsNumber(m_bytecodeIndex));
39 result->putDirect(exec->vm(), exec->propertyNames().opcode, jsString(exec, String::fromUTF8(opcodeNames[m_opcodeID])));
40 result->putDirect(exec->vm(), exec->propertyNames().description, jsString(exec, Strin
[all...]
H A DProfilerOSRExit.cpp48 JSValue OSRExit::toJS(ExecState* exec) const
50 JSObject* result = constructEmptyObject(exec);
51 result->putDirect(exec->vm(), exec->propertyNames().id, jsNumber(m_id));
52 result->putDirect(exec->vm(), exec->propertyNames().origin, m_origin.toJS(exec));
53 result->putDirect(exec->vm(), exec->propertyNames().exitKind, jsString(exec, exitKindToStrin
[all...]
H A DProfilerCompiledBytecode.cpp45 JSValue CompiledBytecode::toJS(ExecState* exec) const
47 JSObject* result = constructEmptyObject(exec);
49 result->putDirect(exec->vm(), exec->propertyNames().origin, m_origin.toJS(exec));
50 result->putDirect(exec->vm(), exec->propertyNames().description, jsString(exec, String::fromUTF8(m_description)));

Completed in 221 milliseconds

1234567891011>>