Lines Matching full:jsvalue
43 static JSValue JSC_HOST_CALL arrayProtoFuncToString(ExecState*, JSObject*, JSValue, const ArgList&);
44 static JSValue JSC_HOST_CALL arrayProtoFuncToLocaleString(ExecState*, JSObject*, JSValue, const ArgList&);
45 static JSValue JSC_HOST_CALL arrayProtoFuncConcat(ExecState*, JSObject*, JSValue, const ArgList&);
46 static JSValue JSC_HOST_CALL arrayProtoFuncJoin(ExecState*, JSObject*, JSValue, const ArgList&);
47 static JSValue JSC_HOST_CALL arrayProtoFuncPop(ExecState*, JSObject*, JSValue, const ArgList&);
48 static JSValue JSC_HOST_CALL arrayProtoFuncPush(ExecState*, JSObject*, JSValue, const ArgList&);
49 static JSValue JSC_HOST_CALL arrayProtoFuncReverse(ExecState*, JSObject*, JSValue, const ArgList&);
50 static JSValue JSC_HOST_CALL arrayProtoFuncShift(ExecState*, JSObject*, JSValue, const ArgList&);
51 static JSValue JSC_HOST_CALL arrayProtoFuncSlice(ExecState*, JSObject*, JSValue, const ArgList&);
52 static JSValue JSC_HOST_CALL arrayProtoFuncSort(ExecState*, JSObject*, JSValue, const ArgList&);
53 static JSValue JSC_HOST_CALL arrayProtoFuncSplice(ExecState*, JSObject*, JSValue, const ArgList&);
54 static JSValue JSC_HOST_CALL arrayProtoFuncUnShift(ExecState*, JSObject*, JSValue, const ArgList&);
55 static JSValue JSC_HOST_CALL arrayProtoFuncEvery(ExecState*, JSObject*, JSValue, const ArgList&);
56 static JSValue JSC_HOST_CALL arrayProtoFuncForEach(ExecState*, JSObject*, JSValue, const ArgList&);
57 static JSValue JSC_HOST_CALL arrayProtoFuncSome(ExecState*, JSObject*, JSValue, const ArgList&);
58 static JSValue JSC_HOST_CALL arrayProtoFuncIndexOf(ExecState*, JSObject*, JSValue, const ArgList&);
59 static JSValue JSC_HOST_CALL arrayProtoFuncFilter(ExecState*, JSObject*, JSValue, const ArgList&);
60 static JSValue JSC_HOST_CALL arrayProtoFuncMap(ExecState*, JSObject*, JSValue, const ArgList&);
61 static JSValue JSC_HOST_CALL arrayProtoFuncReduce(ExecState*, JSObject*, JSValue, const ArgList&);
62 static JSValue JSC_HOST_CALL arrayProtoFuncReduceRight(ExecState*, JSObject*, JSValue, const ArgList&);
63 static JSValue JSC_HOST_CALL arrayProtoFuncLastIndexOf(ExecState*, JSObject*, JSValue, const ArgList&);
137 static JSValue getProperty(ExecState* exec, JSObject* obj, unsigned index)
141 return JSValue();
145 static void putProperty(ExecState* exec, JSObject* obj, const Identifier& propertyName, JSValue value)
151 JSValue JSC_HOST_CALL arrayProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
172 JSValue element;
210 JSValue JSC_HOST_CALL arrayProtoFuncToLocaleString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
232 JSValue element = thisObj->get(exec, k);
235 JSValue conversionFunction = o->get(exec, exec->propertyNames().toLocaleString);
250 JSValue JSC_HOST_CALL arrayProtoFuncJoin(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
279 JSValue element = thisObj->get(exec, k);
287 JSValue JSC_HOST_CALL arrayProtoFuncConcat(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
291 JSValue curArg = thisValue.toThisObject(exec);
299 if (JSValue v = getProperty(exec, curObject, k))
316 JSValue JSC_HOST_CALL arrayProtoFuncPop(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
322 JSValue result;
335 JSValue JSC_HOST_CALL arrayProtoFuncPush(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
352 JSValue JSC_HOST_CALL arrayProtoFuncReverse(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
360 JSValue obj2 = getProperty(exec, thisObj, lk1);
361 JSValue obj = getProperty(exec, thisObj, k);
376 JSValue JSC_HOST_CALL arrayProtoFuncShift(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
379 JSValue result;
388 if (JSValue obj = getProperty(exec, thisObj, k))
399 JSValue JSC_HOST_CALL arrayProtoFuncSlice(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
407 JSValue result = resObj;
437 if (JSValue v = getProperty(exec, thisObj, k))
444 JSValue JSC_HOST_CALL arrayProtoFuncSort(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
448 JSValue function = args.at(0);
470 JSValue iObj = thisObj->get(exec, i);
472 JSValue minObj = iObj;
474 JSValue jObj = thisObj->get(exec, j);
502 JSValue JSC_HOST_CALL arrayProtoFuncSplice(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
508 JSValue result = resObj;
525 if (JSValue v = getProperty(exec, thisObj, k + begin))
534 if (JSValue v = getProperty(exec, thisObj, k + deleteCount))
543 if (JSValue obj = getProperty(exec, thisObj, k + deleteCount - 1))
557 JSValue JSC_HOST_CALL arrayProtoFuncUnShift(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
566 if (JSValue v = getProperty(exec, thisObj, k - 1))
574 JSValue result = jsNumber(exec, length + nrArgs);
579 JSValue JSC_HOST_CALL arrayProtoFuncFilter(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
583 JSValue function = args.at(0);
602 JSValue v = array->getIndex(k);
608 JSValue result = cachedCall.call();
621 JSValue v = slot.getValue(exec, k);
629 JSValue result = call(exec, function, callType, callData, applyThis, eachArguments);
637 JSValue JSC_HOST_CALL arrayProtoFuncMap(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
641 JSValue function = args.at(0);
674 JSValue v = slot.getValue(exec, k);
682 JSValue result = call(exec, function, callType, callData, applyThis, eachArguments);
694 JSValue JSC_HOST_CALL arrayProtoFuncEvery(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
698 JSValue function = args.at(0);
706 JSValue result = jsBoolean(true);
722 JSValue result = cachedCall.call();
750 JSValue JSC_HOST_CALL arrayProtoFuncForEach(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
754 JSValue function = args.at(0);
795 JSValue JSC_HOST_CALL arrayProtoFuncSome(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
799 JSValue function = args.at(0);
807 JSValue result = jsBoolean(false);
823 JSValue result = cachedCall.call();
848 JSValue JSC_HOST_CALL arrayProtoFuncReduce(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
852 JSValue function = args.at(0);
859 JSValue rv;
888 JSValue v;
903 JSValue prop = getProperty(exec, thisObj, i);
918 JSValue JSC_HOST_CALL arrayProtoFuncReduceRight(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
922 JSValue function = args.at(0);
929 JSValue rv;
972 JSValue prop = getProperty(exec, thisObj, idx);
987 JSValue JSC_HOST_CALL arrayProtoFuncIndexOf(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
1006 JSValue searchElement = args.at(0);
1008 JSValue e = getProperty(exec, thisObj, index);
1011 if (JSValue::strictEqual(exec, searchElement, e))
1018 JSValue JSC_HOST_CALL arrayProtoFuncLastIndexOf(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
1037 JSValue searchElement = args.at(0);
1039 JSValue e = getProperty(exec, thisObj, index);
1042 if (JSValue::strictEqual(exec, searchElement, e))