/external/webkit/Source/WebCore/bindings/js/ |
JSSQLResultSetRowListCustom.cpp | 42 JSValue JSSQLResultSetRowList::item(ExecState* exec) 61 JSValue jsValue; 65 jsValue = jsString(exec, value.string()); 68 jsValue = jsNull(); 71 jsValue = jsNumber(value.number()); 77 object->putDirect(exec->globalData(), Identifier(exec, stringToUString(m_impl->columnNames()[i])), jsValue, DontDelete | ReadOnly);
|
ScriptObject.cpp | 90 JSValue jsValue = scriptState->lexicalGlobalObject()->get(scriptState, Identifier(scriptState, name)); 91 if (!jsValue) 94 if (!jsValue.isObject()) 97 value = ScriptObject(scriptState, asObject(jsValue));
|
ScriptObject.h | 48 JSC::JSObject* jsObject() const { return asObject(jsValue()); }
|
ScriptValue.h | 39 #include <runtime/JSValue.h> 50 ScriptValue(JSC::JSGlobalData& globalData, JSC::JSValue value) : m_value(globalData, value) {} 53 JSC::JSValue jsValue() const { return m_value.get(); }
|
ScriptValue.cpp | 73 return JSValueIsEqual(toRef(scriptState), toRef(scriptState, jsValue()), toRef(scriptState, anotherValue.jsValue()), 0); 105 return SerializedScriptValue::create(scriptState, jsValue(), throwExceptions); 114 static PassRefPtr<InspectorValue> jsToInspectorValue(ScriptState* scriptState, JSValue value) 136 JSValue element = array->getIndex(i); 152 JSValue propertyValue = object->get(scriptState, name);
|
WorkerScriptController.cpp | 109 if (exception.jsValue()) { 111 reportException(m_workerContextWrapper->globalExec(), exception.jsValue()); 154 throwError(m_workerContextWrapper->globalExec(), exception.jsValue());
|
ScriptFunctionCall.cpp | 56 m_arguments.append(argument.jsValue()); 77 void ScriptCallArgumentHandler::appendArgument(JSC::JSValue argument) 130 JSValue function = thisObject->get(m_exec, Identifier(m_exec, stringToUString(m_name))); 144 JSValue result = JSMainThreadExecState::call(m_exec, function, callType, callData, thisObject, m_arguments); 182 JSValue result = JSC::construct(m_exec, constructor, constructType, constructData, m_arguments); 211 CallType callType = getCallData(m_function.jsValue(), callData); 215 JSValue result = JSC::call(m_exec, m_function.jsValue(), callType, callData, m_function.jsValue(), m_arguments);
|
/external/webkit/Source/JavaScriptCore/API/ |
JSValueRef.cpp | 40 #include <runtime/JSValue.h> 54 JSValue jsValue = toJS(exec, value); 56 if (jsValue.isUndefined()) 58 if (jsValue.isNull()) 60 if (jsValue.isBoolean()) 62 if (jsValue.isNumber()) 64 if (jsValue.isString()) 66 ASSERT(jsValue.isObject()); 75 JSValue jsValue = toJS(exec, value) [all...] |
JSObjectRef.cpp | 106 JSValue jsPrototype = jsClass ? jsClass->prototype(exec) : 0; 187 JSValue message = argumentCount ? toJS(exec, arguments[0]) : jsUndefined(); 236 JSValue jsValue = toJS(exec, value); 238 jsObject->setPrototypeWithCycleCheck(exec->globalData(), jsValue.isObject() ? jsValue : jsNull()); 258 JSValue jsValue = jsObject->get(exec, propertyName->identifier(&exec->globalData())); 264 return toRef(exec, jsValue); 274 JSValue jsValue = toJS(exec, value) [all...] |
/external/webkit/Source/JavaScriptCore/interpreter/ |
Interpreter.cpp | 87 static NEVER_INLINE JSValue concatenateStrings(ExecState* exec, Register* strings, unsigned count) 92 NEVER_INLINE bool Interpreter::resolve(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue) 108 JSValue result = slot.getValue(callFrame, ident); 112 callFrame->uncheckedR(dst) = JSValue(result); 120 NEVER_INLINE bool Interpreter::resolveSkip(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue) 135 if (callFrame->uncheckedR(codeBlock->activationRegister()).jsValue()) 147 JSValue result = slot.getValue(callFrame, ident); 152 callFrame->uncheckedR(dst) = JSValue(result); 160 NEVER_INLINE bool Interpreter::resolveGlobal(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue) 171 callFrame->uncheckedR(dst) = JSValue(globalObject->getDirectOffset(offset)) [all...] |
Register.h | 32 #include "JSValue.h" 54 Register(const JSValue&); 55 Register& operator=(const JSValue&); 56 JSValue jsValue() const; 93 *this = JSValue(); 97 ALWAYS_INLINE Register::Register(const JSValue& v) 102 u.value = JSValue::encode(v); 105 ALWAYS_INLINE Register& Register::operator=(const JSValue& v) 110 u.value = JSValue::encode(v) [all...] |
RegisterFile.cpp | 58 JSValue v = it->jsValue();
|
CallFrame.h | 67 void clearException() { globalData().exception = JSValue(); } 68 JSValue exception() const { return globalData().exception; } 125 JSValue hostThisValue() { return this[hostThisRegister()].jsValue(); } 128 JSValue argument(int argumentNumber) 133 return this[argumentIndex].jsValue();
|
/external/webkit/Source/JavaScriptGlue/ |
JSValueWrapper.h | 39 JSValueWrapper(JSValue); 44 JSValue GetValue(); 52 static void JSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue);
|
JavaScriptGlue.cpp | 42 static void CFJSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue); 482 void CFJSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue) 486 CFTypeRef cfValue = JSObjectCopyCFValue(jsValue); 608 JSObjectRef jsValue = (JSObjectRef)CFArrayGetValueAtIndex(array, i); 609 CFTypeRef cfvalue = JSObjectCopyCFValue(jsValue); 638 JSObjectRef jsValue = JSObjectCreateWithCFType(cfValue); 640 if (!jsValue) jsValue = JSObjectCreateWithCFType(GetCFNull()); 641 if (jsValue) 643 CFArrayAppendValue(jsArray, jsValue); [all...] |
JSValueWrapper.cpp | 36 JSValueWrapper::JSValueWrapper(JSValue inValue) 45 JSValue JSValueWrapper::GetValue() 112 JSValue propValue = ptr->GetValue().toObject(exec)->get(exec, CFStringToIdentifier(propertyName, exec)); 127 void JSValueWrapper::JSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue) 135 JSValue value = JSObjectKJSValue((JSUserObject*)jsValue); 152 JSValue value = JSObjectKJSValue((JSUserObject*)thisObj); 161 JSValue kgsArg = JSObjectKJSValue((JSUserObject*)jsArg); 169 JSValue resultValue = call(exec, objValue, callType, callData, ksjThisObj, listArgs);
|
/external/webkit/Source/JavaScriptCore/jit/ |
JITStubs.cpp | 319 /* code (r4), RegisterFile* (r5), CallFrame* (r6), JSValue* exception (r7), Profiler**(sp), JSGlobalData (sp)*/ 662 __asm EncodedJSValue ctiTrampoline(void*, RegisterFile*, CallFrame*, JSValue*, Profiler**, JSGlobalData*) 806 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const PutPropertySlot& slot, StructureStubInfo* stubInfo, bool direct) 856 NEVER_INLINE void JITThunks::tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const Identifier& propertyName, const PropertySlot& slot, StructureStubInfo* stubInfo) [all...] |
/external/webkit/Source/JavaScriptCore/dfg/ |
DFGJITCodeGenerator.cpp | 56 JSValue jsValue = jsNumber(valueOfDoubleConstant(nodeIndex)); 57 m_jit.move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), reg); 60 JSValue jsValue = valueOfJSConstant(nodeIndex); 61 m_jit.move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), reg); 137 JSValue jsValue = valueOfJSConstant(nodeIndex) [all...] |
DFGJITCompiler.cpp | 83 // This method used to fill a JSValue to a GPR when linking speculative -> non-speculative. 90 JSValue jsValue = jsNumber(valueOfInt32Constant(nodeIndex)); 91 move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), gprToRegisterID(gpr)); 93 JSValue jsValue(JSValue::EncodeAsDouble, valueOfDoubleConstant(nodeIndex)); 94 move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), gprToRegisterID(gpr)) [all...] |
/external/webkit/Source/JavaScriptCore/debugger/ |
DebuggerCallFrame.cpp | 79 JSValue thisValue = m_callFrame->uncheckedR(codeBlock->thisRegister()).jsValue(); 86 JSValue DebuggerCallFrame::evaluate(const UString& script, JSValue& exception) const 89 return JSValue(); 95 globalData.exception = JSValue(); 98 JSValue result = globalData.interpreter->execute(eval, m_callFrame, thisObject(), m_callFrame->scopeChain()); 101 globalData.exception = JSValue();
|
/external/webkit/Source/JavaScriptCore/heap/ |
Handle.h | 44 // Creating a JSValue Handle is invalid 45 template <> class Handle<JSValue>; 59 typedef JSValue (HandleBase::*UnspecifiedBoolType); 83 static JSValue toJSValue(T* cell) { return reinterpret_cast<JSCell*>(cell); } 88 typedef JSValue ExternalType; 89 static ExternalType getFromSlot(HandleSlot slot) { return slot ? *slot : JSValue(); } 90 static JSValue toJSValue(const JSValue& v) { return v; } 128 bool isObject() const { return jsValue().isObject(); } 129 bool getNumber(double number) const { return jsValue().getNumber(number); [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
JSActivation.h | 57 virtual void put(ExecState*, const Identifier&, JSValue, PutPropertySlot&); 59 virtual void putWithAttributes(ExecState*, const Identifier&, JSValue, unsigned attributes); 63 virtual JSValue toStrictThisObject(ExecState*) const; 69 static Structure* createStructure(JSGlobalData& globalData, JSValue proto) { return Structure::create(globalData, proto, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info); } 78 bool symbolTablePut(JSGlobalData&, const Identifier&, JSValue); 79 bool symbolTablePutWithAttributes(JSGlobalData&, const Identifier&, JSValue, unsigned attributes); 81 static JSValue argumentsGetter(ExecState*, JSValue, const Identifier&); 90 JSActivation* asActivation(JSValue); 92 inline JSActivation* asActivation(JSValue value [all...] |
JSPropertyNameIterator.h | 48 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 65 JSValue get(ExecState*, JSObject*, size_t i); 103 return static_cast<JSPropertyNameIterator*>(jsValue().asCell());
|
ArgList.h | 91 JSValue at(size_t i) const 94 return m_buffer[i].jsValue(); 105 void append(JSValue v) 132 JSValue last() 135 return m_buffer[m_size - 1].jsValue(); 147 void slowAppend(JSValue); 182 typedef JSValue* iterator; 183 typedef const JSValue* const_iterator; 192 : m_args(reinterpret_cast<JSValue*>(&exec[exec->hostThisRegister() + 1])) 197 ArgList(JSValue* args, unsigned argCount [all...] |
JSActivation.cpp | 88 inline bool JSActivation::symbolTablePut(JSGlobalData& globalData, const Identifier& propertyName, JSValue value) 118 inline bool JSActivation::symbolTablePutWithAttributes(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes) 157 void JSActivation::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 172 void JSActivation::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue value, unsigned attributes) 200 JSValue JSActivation::toStrictThisObject(ExecState*) const 211 JSValue JSActivation::argumentsGetter(ExecState*, JSValue slotBase, const Identifier&) 216 if (JSValue arguments = callFrame->uncheckedR(argumentsRegister).jsValue()) 220 JSValue arguments = JSValue(new (callFrame) Arguments(callFrame)) [all...] |