Lines Matching defs:hasDecimal
531 bool hasDecimal = false;
539 if (!CheckZeroBeginNumber(hasExponent, hasDecimal)) {
543 if (!CheckNonZeroBeginNumber(hasExponent, hasDecimal)) {
552 return ConvertToNumber(strNum, negative, hasExponent, hasDecimal);
556 JSTaggedValue JsonParser<T>::ConvertToNumber(const std::string &str, bool negative, bool hasExponent, bool hasDecimal)
589 return (hasExponent || hasDecimal) ? JSTaggedValue::TryCastDoubleToInt32(v) :
1060 bool JsonParser<T>::CheckZeroBeginNumber(bool &hasExponent, bool &hasDecimal)
1064 hasDecimal = true;
1080 bool JsonParser<T>::CheckNonZeroBeginNumber(bool &hasExponent, bool &hasDecimal)
1087 hasDecimal = true;