HomeSort by relevance Sort by last modified time
    Searched defs:jsValue (Results 1 - 13 of 13) sorted by null

  /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));
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(); }
  /external/webkit/Source/JavaScriptCore/interpreter/
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...]
  /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/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...]
DFGSpeculativeJIT.cpp 76 // Fill as JSValue, and fall through.
194 JSValue jsValue = constantAsJSValue(nodeIndex);
195 if (jsValue.isCell()) {
196 m_jit.move(MacroAssembler::TrustedImmPtr(jsValue.asCell()), reg);
657 addBranch(m_jit.branchPtr(MacroAssembler::Equal, valueReg, MacroAssembler::ImmPtr(JSValue::encode(jsNumber(0)))), notTaken);
661 addBranch(m_jit.branchPtr(MacroAssembler::Equal, valueReg, MacroAssembler::ImmPtr(JSValue::encode(jsBoolean(false)))), notTaken);
662 speculationCheck(m_jit.branchPtr(MacroAssembler::NotEqual, valueReg, MacroAssembler::ImmPtr(JSValue::encode(jsBoolean(true)))));
  /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/JavaScriptGlue/
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...]
  /external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
NPJSObject.cpp 103 JSValue value = m_jsObject->get(exec, identifierFromIdentifierRep(exec, identifierRep));
123 JSValue function = m_jsObject->get(exec, identifierFromIdentifierRep(exec, identifierRep));
135 JSValue function = m_jsObject.get();
168 JSValue jsResult;
189 JSValue jsValue = m_objectMap->convertNPVariantToJSValue(exec, m_objectMap->globalObject(), *value);
192 m_jsObject->put(exec, identifierFromIdentifierRep(exec, identifierRep), jsValue, slot);
194 m_jsObject->put(exec, identifierRep->number(), jsValue);
272 JSValue value = JSC::construct(exec, m_jsObject.get(), constructType, constructData, argumentList);
282 bool NPJSObject::invoke(ExecState* exec, JSGlobalObject* globalObject, JSValue function, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result
    [all...]
  /external/webkit/Source/JavaScriptCore/jit/
JITStubs.h 53 class JSValue;
67 JSValue jsValue() { return JSValue::decode(asEncodedJSValue); }
247 JSValue* exception;
285 static void tryCacheGetByID(CallFrame*, CodeBlock*, ReturnAddressPtr returnAddress, JSValue baseValue, const Identifier& propertyName, const PropertySlot&, StructureStubInfo* stubInfo);
286 static void tryCachePutByID(CallFrame*, CodeBlock*, ReturnAddressPtr returnAddress, JSValue baseValue, const PutPropertySlot&, StructureStubInfo* stubInfo, bool direct);

Completed in 902 milliseconds