HomeSort by relevance Sort by last modified time
    Searched refs:jsValue (Results 1 - 25 of 36) sorted by null

1 2

  /external/webkit/JavaScriptCore/API/
JSValueRef.cpp 39 #include <runtime/JSValue.h>
52 JSValue jsValue = toJS(exec, value);
54 if (jsValue.isUndefined())
56 if (jsValue.isNull())
58 if (jsValue.isBoolean())
60 if (jsValue.isNumber())
62 if (jsValue.isString())
64 ASSERT(jsValue.isObject());
73 JSValue jsValue = toJS(exec, value)
    [all...]
JSObjectRef.cpp 106 JSValue jsPrototype = jsClass ? jsClass->prototype(exec) : 0;
237 JSValue jsValue = toJS(exec, value);
239 jsObject->setPrototype(jsValue.isObject() ? jsValue : jsNull());
259 JSValue jsValue = jsObject->get(exec, propertyName->identifier(&exec->globalData()));
265 return toRef(exec, jsValue);
275 JSValue jsValue = toJS(exec, value)
    [all...]
  /external/webkit/WebCore/bindings/js/
JSSQLResultSetRowListCustom.cpp 42 JSValue JSSQLResultSetRowList::item(ExecState* exec, const ArgList& args)
61 JSValue jsValue;
65 jsValue = jsString(exec, value.string());
68 jsValue = jsNull();
71 jsValue = jsNumber(exec, value.number());
77 object->putDirect(Identifier(exec, m_impl->columnNames()[i]), jsValue, DontDelete | ReadOnly);
ScriptArray.h 45 JSC::JSArray* jsArray() const { return asArray(jsValue()); }
ScriptValue.cpp 62 return JSValueIsEqual(toRef(scriptState), toRef(scriptState, jsValue()), toRef(scriptState, anotherValue.jsValue()), 0);
88 return SerializedScriptValue::create(scriptState, jsValue());
WorkerScriptController.cpp 99 return JSValue();
103 if (exception.jsValue()) {
105 reportException(m_workerContextWrapper->globalExec(), exception.jsValue());
115 return JSValue();
131 return JSValue();
136 m_workerContextWrapper->globalExec()->setException(exception.jsValue());
ScriptValue.h 46 ScriptValue(JSC::JSValue value = JSC::JSValue()) : m_value(value) {}
49 JSC::JSValue jsValue() const { return m_value.get(); }
56 bool hasNoValue() const { return m_value == JSC::JSValue(); }
ScriptObject.cpp 189 JSValue jsValue = scriptState->lexicalGlobalObject()->get(scriptState, Identifier(scriptState, name));
190 if (!jsValue)
193 if (!jsValue.isObject())
196 value = ScriptObject(scriptState, asObject(jsValue));
ScriptObject.h 49 JSC::JSObject* jsObject() const { return asObject(jsValue()); }
ScriptFunctionCall.cpp 68 m_arguments.append(argument.jsValue());
89 void ScriptFunctionCall::appendArgument(JSC::JSValue argument)
135 JSValue function = thisObject->get(m_exec, Identifier(m_exec, m_name));
149 JSValue result = JSC::call(m_exec, function, callType, callData, thisObject, m_arguments);
187 JSValue result = JSC::construct(m_exec, constructor, constructType, constructData, m_arguments);
  /external/webkit/JavaScriptCore/interpreter/
CallFrame.cpp 34 JSValue CallFrame::thisValue()
36 return this[codeBlock()->thisRegister()].jsValue();
45 JSValue function;
Interpreter.cpp 92 NEVER_INLINE bool Interpreter::resolve(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
108 JSValue result = slot.getValue(callFrame, ident);
112 callFrame->r(dst) = JSValue(result);
120 NEVER_INLINE bool Interpreter::resolveSkip(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
141 JSValue result = slot.getValue(callFrame, ident);
145 callFrame->r(dst) = JSValue(result);
153 NEVER_INLINE bool Interpreter::resolveGlobal(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
163 callFrame->r(dst) = JSValue(globalObject->getDirectOffset(offset));
171 JSValue result = slot.getValue(callFrame, ident);
178 callFrame->r(dst) = JSValue(result)
    [all...]
Register.h 32 #include "JSValue.h"
55 Register(const JSValue&);
56 Register& operator=(const JSValue&);
57 JSValue jsValue() const;
102 *this = JSValue();
106 ALWAYS_INLINE Register::Register(const JSValue& v)
111 u.value = JSValue::encode(v);
114 ALWAYS_INLINE Register& Register::operator=(const JSValue& v)
119 u.value = JSValue::encode(v)
    [all...]
  /external/webkit/JavaScriptGlue/
JSValueWrapper.h 38 JSValueWrapper(JSValue);
43 JSValue GetValue();
51 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...]
JavaScriptGlue.h 59 typedef void (*JSObjectSetPropertyProcPtr)(void *data, CFStringRef propertyName, JSObjectRef jsValue) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
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/JavaScriptCore/jit/
JITStubs.cpp 350 __declspec(naked) EncodedJSValue ctiTrampoline(void* code, RegisterFile*, CallFrame*, JSValue* exception, Profiler**, JSGlobalData*)
646 __asm EncodedJSValue ctiTrampoline(void*, RegisterFile*, CallFrame*, JSValue*, Profiler**, JSGlobalData*)
697 __declspec(naked) EncodedJSValue ctiTrampoline(void* code, RegisterFile*, CallFrame*, JSValue* exception, Profiler**, JSGlobalData*)
783 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const PutPropertySlot& slot, StructureStubInfo* stubInfo)
833 NEVER_INLINE void JITThunks::tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const Identifier& propertyName, const PropertySlot& slot, StructureStubInfo* stubInfo)
    [all...]
  /external/webkit/JavaScriptCore/runtime/
Arguments.cpp 51 markStack.appendValues(reinterpret_cast<JSValue*>(d->registerArray.get()), d->numParameters);
55 markStack.appendValues(reinterpret_cast<JSValue*>(d->extraArguments), numExtraArguments);
77 buffer[i] = d->registers[d->firstParameterIndex + i].jsValue();
79 buffer[i] = d->extraArguments[i - d->numParameters].jsValue();
87 buffer[i] = d->registers[d->firstParameterIndex + i].jsValue();
93 buffer[i] = d->extraArguments[i - d->numParameters].jsValue();
122 args.append(d->registers[d->firstParameterIndex + i].jsValue());
124 args.append(d->extraArguments[i - d->numParameters].jsValue());
132 args.append(d->registers[d->firstParameterIndex + i].jsValue());
138 args.append(d->extraArguments[i - d->numParameters].jsValue());
    [all...]
JSStaticScopeObject.cpp 37 markStack.append(d()->registerStore.jsValue());
45 void JSStaticScopeObject::put(ExecState*, const Identifier& propertyName, JSValue value, PutPropertySlot&)
53 void JSStaticScopeObject::putWithAttributes(ExecState*, const Identifier& propertyName, JSValue value, unsigned attributes)
JSVariableObject.cpp 65 descriptor.setDescriptor(registerAt(entry.getIndex()).jsValue(), entry.getAttributes() | DontDelete);
ArgList.h 90 JSValue at(size_t i) const
93 return m_buffer[i].jsValue();
104 void append(JSValue v)
131 JSValue last()
134 return m_buffer[m_size - 1].jsValue();
146 void slowAppend(JSValue);
181 typedef JSValue* iterator;
182 typedef const JSValue* const_iterator;
190 ArgList(JSValue* args, unsigned argCount)
201 : m_args(reinterpret_cast<JSValue*>(args)
    [all...]
PropertySlot.h 25 #include "JSValue.h"
47 explicit PropertySlot(const JSValue base)
54 typedef JSValue (*GetValueFunc)(ExecState*, const Identifier&, const PropertySlot&);
56 JSValue getValue(ExecState* exec, const Identifier& propertyName) const
61 return (*m_data.registerSlot).jsValue();
65 JSValue getValue(ExecState* exec, unsigned propertyName) const
70 return (*m_data.registerSlot).jsValue();
81 void setValueSlot(JSValue* valueSlot)
90 void setValueSlot(JSValue slotBase, JSValue* valueSlot
    [all...]
Operations.h 33 NEVER_INLINE JSValue jsAddSlowCase(CallFrame*, JSValue, JSValue);
34 JSValue jsTypeStringForValue(CallFrame*, JSValue);
35 bool jsIsObjectType(JSValue);
36 bool jsIsFunctionType(JSValue);
38 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, JSString* s2)
61 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, JSString* s2)
79 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, const UString& u2
    [all...]
Arguments.h 86 static PassRefPtr<Structure> createStructure(JSValue prototype)
100 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
101 virtual void put(ExecState*, unsigned propertyName, JSValue, PutPropertySlot&);
112 Arguments* asArguments(JSValue);
114 inline Arguments* asArguments(JSValue value)
241 if (jsValue() == JSValue())
243 return asArguments(jsValue());

Completed in 445 milliseconds

1 2