Lines Matching refs:argValue
1378 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Avg() local
1379 if (argValue->IsNull()) in Avg()
1382 if (!argValue->IsArray()) { in Avg()
1383 dSum += ValueToDouble(pThis, argValue.get()); in Avg()
1389 argValue->GetObjectProperty("length", lengthValue.get()); in Avg()
1394 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Avg()
1399 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Avg()
1410 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Avg()
1440 std::unique_ptr<CFXJSE_Value> argValue = GetSimpleValue(pThis, args, 0); in Ceil() local
1441 if (ValueIsNull(pThis, argValue.get())) { in Ceil()
1446 args.GetReturnValue()->SetFloat(ceil(ValueToFloat(pThis, argValue.get()))); in Ceil()
1457 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Count() local
1458 if (argValue->IsNull()) in Count()
1461 if (argValue->IsArray()) { in Count()
1463 argValue->GetObjectProperty("length", lengthValue.get()); in Count()
1474 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Count()
1475 argValue->GetObjectPropertyByIdx(2, jsObjectValue.get()); in Count()
1478 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Count()
1485 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Count()
1491 } else if (argValue->IsObject()) { in Count()
1493 GetObjectDefaultValue(argValue.get(), newPropertyValue.get()); in Count()
1512 std::unique_ptr<CFXJSE_Value> argValue = GetSimpleValue(pThis, args, 0); in Floor() local
1513 if (ValueIsNull(pThis, argValue.get())) { in Floor()
1518 args.GetReturnValue()->SetFloat(floor(ValueToFloat(pThis, argValue.get()))); in Floor()
1530 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Max() local
1531 if (argValue->IsNull()) in Max()
1534 if (argValue->IsArray()) { in Max()
1536 argValue->GetObjectProperty("length", lengthValue.get()); in Max()
1546 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Max()
1547 argValue->GetObjectPropertyByIdx(2, jsObjectValue.get()); in Max()
1550 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Max()
1561 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Max()
1572 } else if (argValue->IsObject()) { in Max()
1574 GetObjectDefaultValue(argValue.get(), newPropertyValue.get()); in Max()
1583 double dValue = ValueToDouble(pThis, argValue.get()); in Max()
1604 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Min() local
1605 if (argValue->IsNull()) in Min()
1608 if (argValue->IsArray()) { in Min()
1610 argValue->GetObjectProperty("length", lengthValue.get()); in Min()
1620 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Min()
1621 argValue->GetObjectPropertyByIdx(2, jsObjectValue.get()); in Min()
1624 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Min()
1635 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Min()
1646 } else if (argValue->IsObject()) { in Min()
1648 GetObjectDefaultValue(argValue.get(), newPropertyValue.get()); in Min()
1657 double dValue = ValueToDouble(pThis, argValue.get()); in Min()
1765 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Sum() local
1766 if (argValue->IsNull()) in Sum()
1769 if (argValue->IsArray()) { in Sum()
1771 argValue->GetObjectProperty("length", lengthValue.get()); in Sum()
1779 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Sum()
1784 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Sum()
1794 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Sum()
1804 } else if (argValue->IsObject()) { in Sum()
1806 GetObjectDefaultValue(argValue.get(), newPropertyValue.get()); in Sum()
1810 dSum += ValueToDouble(pThis, argValue.get()); in Sum()
1813 dSum += ValueToDouble(pThis, argValue.get()); in Sum()