Searched refs:jsValue (Results 1 - 25 of 45) sorted by relevance

12

/external/webkit/Source/WebCore/bindings/js/
H A DJSSQLResultSetRowListCustom.cpp61 JSValue jsValue; local
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);
H A DScriptObject.cpp90 JSValue jsValue = scriptState->lexicalGlobalObject()->get(scriptState, Identifier(scriptState, name)); local
91 if (!jsValue)
94 if (!jsValue.isObject())
97 value = ScriptObject(scriptState, asObject(jsValue));
H A DScriptObject.h48 JSC::JSObject* jsObject() const { return asObject(jsValue()); }
H A DScriptValue.cpp73 return JSValueIsEqual(toRef(scriptState), toRef(scriptState, jsValue()), toRef(scriptState, anotherValue.jsValue()), 0);
105 return SerializedScriptValue::create(scriptState, jsValue(), throwExceptions);
H A DWorkerScriptController.cpp109 if (exception.jsValue()) {
111 reportException(m_workerContextWrapper->globalExec(), exception.jsValue());
154 throwError(m_workerContextWrapper->globalExec(), exception.jsValue());
H A DScriptFunctionCall.cpp56 m_arguments.append(argument.jsValue());
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);
H A DScriptValue.h53 JSC::JSValue jsValue() const { return m_value.get(); } function in class:WebCore::ScriptValue
/external/webkit/Source/JavaScriptCore/API/
H A DJSValueRef.cpp54 JSValue jsValue = toJS(exec, value); local
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); local
76 return jsValue.isUndefined();
84 JSValue jsValue local
93 JSValue jsValue = toJS(exec, value); local
102 JSValue jsValue = toJS(exec, value); local
111 JSValue jsValue = toJS(exec, value); local
120 JSValue jsValue = toJS(exec, value); local
129 JSValue jsValue = toJS(exec, value); local
173 JSValue jsValue = toJS(exec, value); local
263 JSValue jsValue = toJS(exec, value); local
272 JSValue jsValue = toJS(exec, value); local
289 JSValue jsValue = toJS(exec, value); local
306 JSValue jsValue = toJS(exec, value); local
323 JSValue jsValue = toJSForGC(exec, value); local
332 JSValue jsValue = toJSForGC(exec, value); local
[all...]
H A DJSObjectRef.cpp236 JSValue jsValue = toJS(exec, value); local
238 jsObject->setPrototypeWithCycleCheck(exec->globalData(), jsValue.isObject() ? jsValue : jsNull());
258 JSValue jsValue = jsObject->get(exec, propertyName->identifier(&exec->globalData())); local
264 return toRef(exec, jsValue);
274 JSValue jsValue = toJS(exec, value); local
277 jsObject->putWithAttributes(exec, name, jsValue, attributes);
280 jsObject->put(exec, name, jsValue, slot);
297 JSValue jsValue = jsObject->get(exec, propertyIndex); local
303 return toRef(exec, jsValue);
313 JSValue jsValue = toJS(exec, value); local
386 JSValue jsValue = value ? toJS(exec, value) : JSValue(); local
[all...]
/external/webkit/Source/JavaScriptCore/interpreter/
H A DInterpreter.cpp135 if (callFrame->uncheckedR(codeBlock->activationRegister()).jsValue())
215 if (callFrame->uncheckedR(codeBlock->activationRegister()).jsValue())
246 ASSERT(callFrame->uncheckedR(dst).jsValue());
283 ASSERT(callFrame->uncheckedR(dst).jsValue());
386 JSValue program = argv[1].jsValue();
412 return callFrame->globalData().interpreter->execute(eval, callFrame, callFrame->uncheckedR(codeBlock->thisRegister()).jsValue().toThisObject(callFrame), callFrame->registers() - registerFile->start() + registerOffset, scopeChain);
457 v = (*it).jsValue();
469 v = (*it).jsValue();
478 v = (*it).jsValue();
501 v = (*it).jsValue();
[all...]
H A DRegister.h56 JSValue jsValue() const;
114 ALWAYS_INLINE JSValue Register::jsValue() const function in class:JSC::Register
146 return jsValue().asInt32();
H A DRegisterFile.cpp58 JSValue v = it->jsValue();
/external/webkit/Source/JavaScriptGlue/
H A DJSValueWrapper.h52 static void JSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue);
H A DJavaScriptGlue.cpp42 static void CFJSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue);
482 void CFJSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue) argument
486 CFTypeRef cfValue = JSObjectCopyCFValue(jsValue);
608 JSObjectRef jsValue = (JSObjectRef)CFArrayGetValueAtIndex(array, i); local
609 CFTypeRef cfvalue = JSObjectCopyCFValue(jsValue);
638 JSObjectRef jsValue = JSObjectCreateWithCFType(cfValue); local
640 if (!jsValue) jsValue = JSObjectCreateWithCFType(GetCFNull());
641 if (jsValue)
643 CFArrayAppendValue(jsArray, jsValue);
[all...]
H A DJSValueWrapper.cpp127 void JSValueWrapper::JSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue) argument
135 JSValue value = JSObjectKJSValue((JSUserObject*)jsValue);
/external/webkit/Source/JavaScriptCore/jit/
H A DJITStubs.cpp1270 JSValue proto = stackFrame.args[0].jsValue();
1284 JSValue v1 = stackFrame.args[0].jsValue();
1296 JSValue v1 = stackFrame.args[0].jsValue();
1308 JSValue v1 = stackFrame.args[0].jsValue();
1309 JSValue v2 = stackFrame.args[1].jsValue();
1334 JSValue v = stackFrame.args[0].jsValue();
1381 JSValue src1 = stackFrame.args[0].jsValue();
1382 JSValue src2 = stackFrame.args[1].jsValue();
1402 stackFrame.args[0].jsValue().put(stackFrame.callFrame, stackFrame.args[1].identifier(), stackFrame.args[2].jsValue(), slo
[all...]
/external/webkit/Source/JavaScriptCore/dfg/
H A DDFGJITCodeGenerator.cpp56 JSValue jsValue = jsNumber(valueOfDoubleConstant(nodeIndex)); local
57 m_jit.move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), reg);
60 JSValue jsValue = valueOfJSConstant(nodeIndex); local
61 m_jit.move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), reg);
137 JSValue jsValue = valueOfJSConstant(nodeIndex); local
138 m_jit.move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), reg);
248 JSValue jsValue = jsNumber(valueOfInt32Constant(nodeIndex)); local
249 m_jit.move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), reg);
252 JSValue jsValue(JSValue::EncodeAsDouble, valueOfDoubleConstant(nodeIndex));
253 m_jit.move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), re
256 JSValue jsValue = valueOfJSConstant(nodeIndex); local
[all...]
H A DDFGJITCompiler.cpp90 JSValue jsValue = jsNumber(valueOfInt32Constant(nodeIndex)); local
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));
97 JSValue jsValue = valueOfJSConstant(nodeIndex); local
98 move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), gprToRegisterID(gpr));
/external/webkit/Source/JavaScriptCore/debugger/
H A DDebuggerCallFrame.cpp79 JSValue thisValue = m_callFrame->uncheckedR(codeBlock->thisRegister()).jsValue();
/external/webkit/Source/JavaScriptCore/heap/
H A DHandle.h128 bool isObject() const { return jsValue().isObject(); }
129 bool getNumber(double number) const { return jsValue().getNumber(number); }
131 bool isUndefinedOrNull() const { return jsValue().isUndefinedOrNull(); }
134 JSValue jsValue() const function in struct:JSC::HandleConverter
/external/webkit/Source/JavaScriptCore/runtime/
H A DArgList.h94 return m_buffer[i].jsValue();
135 return m_buffer[m_size - 1].jsValue();
H A DJSActivation.h100 return asActivation(jsValue());
H A DJSPropertyNameIterator.h103 return static_cast<JSPropertyNameIterator*>(jsValue().asCell());
H A DJSActivation.cpp216 if (JSValue arguments = callFrame->uncheckedR(argumentsRegister).jsValue())
224 ASSERT(callFrame->uncheckedR(realArgumentsRegister).jsValue().inherits(&Arguments::s_info));
225 return callFrame->uncheckedR(realArgumentsRegister).jsValue();
H A DScopeChain.h136 return static_cast<ScopeChainNode*>(jsValue().asCell());

Completed in 1482 milliseconds

12