• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/

Lines Matching refs:JSValue

202 void JSArray::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
319 memmove(newButterfly->arrayStorage()->m_vector + count, storage->m_vector, sizeof(JSValue) * usedVectorLength);
320 memmove(newButterfly->propertyStorage() - propertySize, butterfly->propertyStorage() - propertySize, sizeof(JSValue) * propertySize + sizeof(IndexingHeader) + ArrayStorage::sizeFor(0));
322 memmove(newButterfly->propertyStorage() - propertySize, butterfly->propertyStorage() - propertySize, sizeof(JSValue) * propertySize + sizeof(IndexingHeader) + ArrayStorage::sizeFor(0));
323 memmove(newButterfly->arrayStorage()->m_vector, storage->m_vector, sizeof(JSValue) * usedVectorLength);
453 JSValue JSArray::pop(ExecState* exec)
473 JSValue value = m_butterfly->contiguous()[length].get();
493 return JSValue(JSValue::EncodeAsDouble, value);
513 JSValue element = valueSlot.get();
526 return JSValue();
531 JSValue element = get(exec, index);
548 void JSArray::push(ExecState* exec, JSValue value)
720 sizeof(JSValue) * startIndex);
729 sizeof(JSValue) * (usedVectorLength - (startIndex + count)));
765 JSValue v = m_butterfly->contiguous()[i + count].get();
771 JSValue v = m_butterfly->contiguous()[i + count].get();
864 memmove(vector, vector + count, startIndex * sizeof(JSValue));
866 memmove(vector + startIndex + count, vector + startIndex, (length - startIndex) * sizeof(JSValue));
896 JSValue v = m_butterfly->contiguous()[i].get();
902 JSValue v = m_butterfly->contiguous()[i].get();
959 int32_t ia = static_cast<const JSValue*>(a)->asInt32();
960 int32_t ib = static_cast<const JSValue*>(b)->asInt32();
973 double da = static_cast<const JSValue*>(a)->asNumber();
974 double db = static_cast<const JSValue*>(b)->asNumber();
986 void JSArray::sortNumericVector(ExecState* exec, JSValue compareFunction, CallType callType, const CallData& callData)
1048 void JSArray::sortNumeric(ExecState* exec, JSValue compareFunction, CallType callType, const CallData& callData)
1080 static JSValue getAsValue(ContiguousData<Type> data, size_t i) { return data[i].get(); }
1081 static void setWithValue(VM& vm, JSArray* thisValue, ContiguousData<Type> data, size_t i, JSValue value)
1093 static JSValue getAsValue(ContiguousData<Type> data, size_t i) { ASSERT(data[i] == data[i]); return JSValue(JSValue::EncodeAsDouble, data[i]); }
1094 static void setWithValue(VM&, JSArray*, ContiguousData<Type> data, size_t i, JSValue value)
1129 JSValue value = ContiguousTypeAccessor<indexingType>::getAsValue(data, i);
1250 JSValue value;
1261 typedef JSValue key;
1266 JSValue m_compareFunction;
1327 void JSArray::sortVector(ExecState* exec, JSValue compareFunction, CallType callType, const CallData& callData)
1371 JSValue v = getHolyIndexQuickly(numDefined);
1380 JSValue v = getHolyIndexQuickly(i);
1440 void JSArray::sort(ExecState* exec, JSValue compareFunction, CallType callType, const CallData& callData)
1500 args.append(JSValue(JSValue::EncodeAsDouble, v));
1563 callFrame->setArgument(i, JSValue(JSValue::EncodeAsDouble, v));
1607 JSValue v = m_butterfly->contiguousInt32()[numDefined].get();
1619 JSValue v = indexingData<indexingType>()[numDefined].get();
1627 JSValue v = m_butterfly->contiguousInt32()[i].get();
1643 JSValue v = indexingData<indexingType>()[i].get();