• Home
  • Raw
  • Download

Lines Matching refs:argValue

546     std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i);  in Avg()  local
547 if (argValue->IsNull()) in Avg()
550 if (!argValue->IsArray()) { in Avg()
551 dSum += ValueToDouble(pThis, argValue.get()); in Avg()
557 argValue->GetObjectProperty("length", lengthValue.get()); in Avg()
562 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Avg()
567 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Avg()
578 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Avg()
608 std::unique_ptr<CFXJSE_Value> argValue = GetSimpleValue(pThis, args, 0); in Ceil() local
609 if (ValueIsNull(pThis, argValue.get())) { in Ceil()
615 FXSYS_ceil(ValueToFloat(pThis, argValue.get()))); in Ceil()
626 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Count() local
627 if (argValue->IsNull()) in Count()
630 if (argValue->IsArray()) { in Count()
632 argValue->GetObjectProperty("length", lengthValue.get()); in Count()
643 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Count()
644 argValue->GetObjectPropertyByIdx(2, jsObjectValue.get()); in Count()
647 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Count()
654 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Count()
660 } else if (argValue->IsObject()) { in Count()
662 GetObjectDefaultValue(argValue.get(), newPropertyValue.get()); in Count()
681 std::unique_ptr<CFXJSE_Value> argValue = GetSimpleValue(pThis, args, 0); in Floor() local
682 if (ValueIsNull(pThis, argValue.get())) { in Floor()
688 FXSYS_floor(ValueToFloat(pThis, argValue.get()))); in Floor()
700 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Max() local
701 if (argValue->IsNull()) in Max()
704 if (argValue->IsArray()) { in Max()
706 argValue->GetObjectProperty("length", lengthValue.get()); in Max()
716 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Max()
717 argValue->GetObjectPropertyByIdx(2, jsObjectValue.get()); in Max()
720 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Max()
731 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Max()
742 } else if (argValue->IsObject()) { in Max()
744 GetObjectDefaultValue(argValue.get(), newPropertyValue.get()); in Max()
753 FX_DOUBLE dValue = ValueToDouble(pThis, argValue.get()); in Max()
774 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Min() local
775 if (argValue->IsNull()) in Min()
778 if (argValue->IsArray()) { in Min()
780 argValue->GetObjectProperty("length", lengthValue.get()); in Min()
790 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Min()
791 argValue->GetObjectPropertyByIdx(2, jsObjectValue.get()); in Min()
794 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Min()
805 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Min()
816 } else if (argValue->IsObject()) { in Min()
818 GetObjectDefaultValue(argValue.get(), newPropertyValue.get()); in Min()
827 FX_DOUBLE dValue = ValueToDouble(pThis, argValue.get()); in Min()
937 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Sum() local
938 if (argValue->IsNull()) in Sum()
941 if (argValue->IsArray()) { in Sum()
943 argValue->GetObjectProperty("length", lengthValue.get()); in Sum()
951 argValue->GetObjectPropertyByIdx(1, propertyValue.get()); in Sum()
956 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Sum()
966 argValue->GetObjectPropertyByIdx(j, jsObjectValue.get()); in Sum()
976 } else if (argValue->IsObject()) { in Sum()
978 GetObjectDefaultValue(argValue.get(), newPropertyValue.get()); in Sum()
982 dSum += ValueToDouble(pThis, argValue.get()); in Sum()
985 dSum += ValueToDouble(pThis, argValue.get()); in Sum()