/external/webkit/Source/WebCore/bindings/js/ |
JSCanvasRenderingContext2DCustom.cpp | 45 static JSValue toJS(ExecState* exec, CanvasStyle* style) 48 return toJS(exec, style->canvasGradient()); 50 return toJS(exec, style->canvasPattern()); 51 return jsString(exec, style->color()); 66 JSValue JSCanvasRenderingContext2D::strokeStyle(ExecState* exec) const 69 return toJS(exec, context->strokeStyle()); 72 void JSCanvasRenderingContext2D::setStrokeStyle(ExecState* exec, JSValue value) 76 context->setStrokeColor(ustringToString(asString(value)->value(exec))); 79 context->setStrokeStyle(toHTMLCanvasStyle(exec, value)); 82 JSValue JSCanvasRenderingContext2D::fillStyle(ExecState* exec) cons [all...] |
JSAudioContextCustom.cpp | 42 EncodedJSValue JSC_HOST_CALL JSAudioContextConstructor::constructJSAudioContext(ExecState* exec) 44 JSAudioContextConstructor* jsConstructor = static_cast<JSAudioContextConstructor*>(exec->callee()); 46 return throwError(exec, createReferenceError(exec, "AudioContext constructor callee is unavailable")); 50 return throwError(exec, createReferenceError(exec, "AudioContext constructor script execution context is unavailable")); 53 return throwError(exec, createReferenceError(exec, "AudioContext constructor called in a script execution context which is not a document")); 59 if (!exec->argumentCount()) { 65 if (exec->argumentCount() < 3 [all...] |
JSDirectoryEntryCustom.cpp | 48 JSValue JSDirectoryEntry::getFile(ExecState* exec) 51 const String& path = valueToStringWithUndefinedOrNullCheck(exec, exec->argument(0)); 52 if (exec->hadException()) 55 int argsCount = exec->argumentCount(); 62 if (!exec->argument(1).isNull() && !exec->argument(1).isUndefined() && exec->argument(1).isObject() && !exec->argument(1).inherits(&JSWebKitFlags::s_info)) { 63 JSObject* object = exec->argument(1).getObject() [all...] |
JSMessageEventCustom.cpp | 45 JSValue JSMessageEvent::ports(ExecState* exec) const 53 list.append(toJS(exec, globalObject(), (*ports)[i].get())); 54 return constructArray(exec, list); 57 JSC::JSValue JSMessageEvent::initMessageEvent(JSC::ExecState* exec) 59 const UString& typeArg = exec->argument(0).toString(exec); 60 bool canBubbleArg = exec->argument(1).toBoolean(exec); 61 bool cancelableArg = exec->argument(2).toBoolean(exec); [all...] |
JSHTMLCanvasElementCustom.cpp | 53 JSValue JSHTMLCanvasElement::getContext(ExecState* exec) 56 const UString& contextId = exec->argument(0).toString(exec); 62 if (exec->argumentCount() > 1 && exec->argument(1).isObject()) { 63 JSObject* jsAttrs = exec->argument(1).getObject(); 64 Identifier alpha(exec, "alpha"); 65 if (jsAttrs->hasProperty(exec, alpha)) 66 webGLAttrs->setAlpha(jsAttrs->get(exec, alpha).toBoolean(exec)); [all...] |
JSArrayBufferViewHelper.h | 43 JSC::JSValue setWebGLArrayHelper(JSC::ExecState* exec, T* impl, T* (*conversionFunc)(JSC::JSValue)) 45 if (exec->argumentCount() < 1) 46 return JSC::throwSyntaxError(exec); 48 T* array = (*conversionFunc)(exec->argument(0)); 52 if (exec->argumentCount() == 2) 53 offset = exec->argument(1).toInt32(exec); 56 setDOMException(exec, ec); 60 if (exec->argument(0).isObject()) { 62 JSC::JSObject* array = JSC::asObject(exec->argument(0)) [all...] |
JSLocationCustom.cpp | 33 static JSValue nonCachingStaticReplaceFunctionGetter(ExecState* exec, JSValue, const Identifier& propertyName) 35 return new (exec) JSFunction(exec, exec->lexicalGlobalObject(), exec->lexicalGlobalObject()->functionStructure(), 1, propertyName, jsLocationPrototypeFunctionReplace); 38 static JSValue nonCachingStaticReloadFunctionGetter(ExecState* exec, JSValue, const Identifier& propertyName) 40 return new (exec) JSFunction(exec, exec->lexicalGlobalObject(), exec->lexicalGlobalObject()->functionStructure(), 0, propertyName, jsLocationPrototypeFunctionReload) [all...] |
JSWorkerCustom.cpp | 42 JSC::JSValue JSWorker::postMessage(JSC::ExecState* exec) 44 return handlePostMessage(exec, impl()); 47 EncodedJSValue JSC_HOST_CALL JSWorkerConstructor::constructJSWorker(ExecState* exec) 49 JSWorkerConstructor* jsConstructor = static_cast<JSWorkerConstructor*>(exec->callee()); 51 if (!exec->argumentCount()) 52 return throwVMError(exec, createSyntaxError(exec, "Not enough arguments")); 54 UString scriptURL = exec->argument(0).toString(exec); 55 if (exec->hadException() [all...] |
JSSQLTransactionSyncCustom.cpp | 44 JSValue JSSQLTransactionSync::executeSql(ExecState* exec) 46 if (!exec->argumentCount()) { 47 setDOMException(exec, SYNTAX_ERR); 51 String sqlStatement = ustringToString(exec->argument(0).toString(exec)); 52 if (exec->hadException()) 57 if (!exec->argument(1).isUndefinedOrNull()) { 58 JSObject* object = exec->argument(1).getObject(); 60 setDOMException(exec, TYPE_MISMATCH_ERR); 64 JSValue lengthValue = object->get(exec, exec->propertyNames().length) [all...] |
JSOptionConstructor.cpp | 38 JSOptionConstructor::JSOptionConstructor(ExecState* exec, JSDOMGlobalObject* globalObject) 42 putDirect(exec->globalData(), exec->propertyNames().prototype, JSHTMLOptionElementPrototype::self(exec, globalObject), None); 43 putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(4), ReadOnly | DontDelete | DontEnum); 46 static EncodedJSValue JSC_HOST_CALL constructHTMLOptionElement(ExecState* exec) 48 JSOptionConstructor* jsConstructor = static_cast<JSOptionConstructor*>(exec->callee()); 51 return throwVMError(exec, createReferenceError(exec, "Option constructor associated document is unavailable")) [all...] |
JSDirectoryEntrySyncCustom.cpp | 48 static PassRefPtr<WebKitFlags> getFlags(ExecState* exec, const JSValue& argument) 58 JSValue jsCreate = object->get(exec, Identifier(exec, "create")); 59 flags->setCreate(jsCreate.toBoolean(exec)); 60 JSValue jsExclusive = object->get(exec, Identifier(exec, "exclusive")); 61 flags->setExclusive(jsExclusive.toBoolean(exec)); 65 JSValue JSDirectoryEntrySync::getFile(ExecState* exec) 68 const String& path = valueToStringWithUndefinedOrNullCheck(exec, exec->argument(0)) [all...] |
JSSQLTransactionCustom.cpp | 45 JSValue JSSQLTransaction::executeSql(ExecState* exec) 47 if (!exec->argumentCount()) { 48 setDOMException(exec, SYNTAX_ERR); 52 String sqlStatement = ustringToString(exec->argument(0).toString(exec)); 53 if (exec->hadException()) 58 if (!exec->argument(1).isUndefinedOrNull()) { 59 JSObject* object = exec->argument(1).getObject(); 61 setDOMException(exec, TYPE_MISMATCH_ERR); 65 JSValue lengthValue = object->get(exec, exec->propertyNames().length) [all...] |
JSAudioNodeCustom.cpp | 36 JSC::JSValue JSAudioNode::connect(JSC::ExecState* exec) 38 if (exec->argumentCount() < 1) 39 return throwError(exec, createSyntaxError(exec, "Not enough arguments")); 44 AudioNode* destinationNode = toAudioNode(exec->argument(0)); 46 return throwError(exec, createSyntaxError(exec, "Invalid destination node")); 48 if (exec->argumentCount() > 1) 49 outputIndex = exec->argument(1).toInt32(exec); [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
JSNotAnObject.cpp | 40 JSValue JSNotAnObject::toPrimitive(ExecState* exec, PreferredPrimitiveType) const 42 ASSERT_UNUSED(exec, exec->hadException()); 46 bool JSNotAnObject::getPrimitiveNumber(ExecState* exec, double&, JSValue&) 48 ASSERT_UNUSED(exec, exec->hadException()); 52 bool JSNotAnObject::toBoolean(ExecState* exec) const 54 ASSERT_UNUSED(exec, exec->hadException()); 58 double JSNotAnObject::toNumber(ExecState* exec) cons [all...] |
ObjectPrototype.cpp | 43 ObjectPrototype::ObjectPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* stucture, Structure* functionStructure) 44 : JSNonFinalObject(exec->globalData(), stucture) 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) [all...] |
ErrorPrototype.cpp | 38 ErrorPrototype::ErrorPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* functionStructure) 39 : ErrorInstance(&exec->globalData(), structure) 43 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().name, jsNontrivialString(exec, "Error"), DontEnum); 44 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, errorProtoFuncToString), DontEnum); 47 EncodedJSValue JSC_HOST_CALL errorProtoFuncToString(ExecState* exec) [all...] |
RegExpPrototype.cpp | 50 RegExpPrototype::RegExpPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* functionStructure) 51 : RegExpObject(globalObject, structure, RegExp::create(&exec->globalData(), "", NoFlags)) 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) [all...] |
RegExpMatchesArray.h | 33 virtual bool getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 36 fillArrayInstance(exec); 37 return JSArray::getOwnPropertySlot(exec, propertyName, slot); 40 virtual bool getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) 43 fillArrayInstance(exec); 44 return JSArray::getOwnPropertySlot(exec, propertyName, slot); 47 virtual bool getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) 50 fillArrayInstance(exec); 51 return JSArray::getOwnPropertyDescriptor(exec, propertyName, descriptor); 54 virtual void put(ExecState* exec, const Identifier& propertyName, JSValue v, PutPropertySlot& slot [all...] |
StringConstructor.cpp | 32 static NEVER_INLINE JSValue stringFromCharCodeSlowCase(ExecState* exec) 34 unsigned length = exec->argumentCount(); 38 buf[i] = static_cast<UChar>(exec->argument(i).toUInt32(exec)); 39 return jsString(exec, impl); 42 static EncodedJSValue JSC_HOST_CALL stringFromCharCode(ExecState* exec) 44 if (LIKELY(exec->argumentCount() == 1)) 45 return JSValue::encode(jsSingleCharacterString(exec, exec->argument(0).toUInt32(exec))); [all...] |
ArrayConstructor.cpp | 40 ArrayConstructor::ArrayConstructor(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, ArrayPrototype* arrayPrototype, Structure* functionStructure) 41 : InternalFunction(&exec->globalData(), globalObject, structure, Identifier(exec, arrayPrototype->classInfo()->className)) 44 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, arrayPrototype, DontEnum | DontDelete | ReadOnly); 47 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete); 50 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().isArray, arrayConstructorIsArray), Dont (…) [all...] |
BooleanPrototype.cpp | 40 BooleanPrototype::BooleanPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* functionStructure) 41 : BooleanObject(exec->globalData(), structure) 43 setInternalValue(exec->globalData(), jsBoolean(false)); 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), Dont (…) [all...] |
NativeErrorPrototype.cpp | 34 NativeErrorPrototype::NativeErrorPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, const UString& nameAndMessage, NativeErrorConstructor* constructor) 37 putDirect(exec->globalData(), exec->propertyNames().name, jsString(exec, nameAndMessage), 0); 38 putDirect(exec->globalData(), exec->propertyNames().message, jsString(exec, nameAndMessage), 0); 39 putDirect(exec->globalData(), exec->propertyNames().constructor, constructor, DontEnum);
|
PropertySlot.cpp | 29 JSValue PropertySlot::functionGetter(ExecState* exec) const 32 if (exec->hadException()) 33 return exec->exception(); 37 return call(exec, m_data.getterFunc, callType, callData, thisValue(), exec->emptyList());
|
StrictEvalActivation.cpp | 31 StrictEvalActivation::StrictEvalActivation(ExecState* exec) 32 : JSNonFinalObject(exec->globalData(), exec->globalData().strictEvalActivationStructure.get()) 41 JSObject* StrictEvalActivation::toThisObject(ExecState* exec) const 43 return exec->globalThisValue();
|
/external/elfutils/libebl/ |
ppc_symbol.c | 38 enum { both = 0, rel = 1, exec = 2 } appear; enumerator in enum:__anon5669::__anon5670 49 [R_PPC_ADDR14] = { "R_PPC_ADDR14", exec }, 50 [R_PPC_ADDR14_BRTAKEN] = { "R_PPC_ADDR14_BRTAKEN", exec }, 51 [R_PPC_ADDR14_BRNTAKEN] = { "R_PPC_ADDR14_BRNTAKEN", exec }, 54 [R_PPC_REL14_BRTAKEN] = { "R_PPC_REL14_BRTAKEN", exec }, 55 [R_PPC_REL14_BRNTAKEN] = { "R_PPC_REL14_BRNTAKEN", exec }, 61 [R_PPC_COPY] = { "R_PPC_COPY", exec }, 62 [R_PPC_GLOB_DAT] = { "R_PPC_GLOB_DAT", exec }, 63 [R_PPC_JMP_SLOT] = { "R_PPC_JMP_SLOT", exec }, 64 [R_PPC_RELATIVE] = { "R_PPC_RELATIVE", exec }, [all...] |