_ZN2mu10ParserBase9DefineFunIPFddEEEvRKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEET_b:
  140|  82.1k|		{
  141|  82.1k|			AddCallback(a_strName, ParserCallback(a_pFun, a_bAllowOpt), m_FunDef, ValidNameChars());
  142|  82.1k|		}
_ZN2mu10ParserBase9DefineFunIPFdddEEEvRKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEET_b:
  140|  3.91k|		{
  141|  3.91k|			AddCallback(a_strName, ParserCallback(a_pFun, a_bAllowOpt), m_FunDef, ValidNameChars());
  142|  3.91k|		}
_ZN2mu10ParserBase9DefineFunIPFdPKdiEEEvRKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEET_b:
  140|  15.6k|		{
  141|  15.6k|			AddCallback(a_strName, ParserCallback(a_pFun, a_bAllowOpt), m_FunDef, ValidNameChars());
  142|  15.6k|		}
_ZN2mu10ParserBase9DefineFunIPFdvEEEvRKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEET_b:
  140|  3.91k|		{
  141|  3.91k|			AddCallback(a_strName, ParserCallback(a_pFun, a_bAllowOpt), m_FunDef, ValidNameChars());
  142|  3.91k|		}
_ZN2mu10ParserBase14change_dec_sepIcEC2Ecci:
  219|      2|				:std::numpunct<TChar>()
  220|      2|				,m_nGroup(nGroup)
  221|      2|				,m_cDecPoint(cDecSep)
  222|      2|				,m_cThousandsSep(cThousandsSep)
  223|      2|			{}
_ZNK2mu10ParserBase14change_dec_sepIcE16do_decimal_pointEv:
  228|   585k|			{
  229|   585k|				return m_cDecPoint;
  230|   585k|			}
_ZNK2mu10ParserBase14change_dec_sepIcE16do_thousands_sepEv:
  233|   581k|			{
  234|   581k|				return m_cThousandsSep;
  235|   581k|			}
_ZNK2mu10ParserBase14change_dec_sepIcE11do_groupingEv:
  238|   581k|			{
  239|       |				// fix for issue 4: https://code.google.com/p/muparser/issues/detail?id=4
  240|       |				// courtesy of Jens Bartsch
  241|       |				// original code:
  242|       |				//        return std::string(1, (char)m_nGroup); 
  243|       |				// new code:
  244|   581k|				return std::string(1, (char)(m_cThousandsSep > 0 ? m_nGroup : CHAR_MAX));
  ------------------
  |  Branch (244:34): [True: 0, False: 581k]
  ------------------
  245|   581k|			}

_ZNK2mu14ParserByteCode7GetSizeEv:
  142|  1.62k|		{
  143|  1.62k|			return m_vRPN.size();
  144|  1.62k|		}
_ZNK2mu14ParserByteCode7GetBaseEv:
  147|  1.62k|		{
  148|  1.62k|			if (m_vRPN.size() == 0)
  ------------------
  |  Branch (148:8): [True: 0, False: 1.62k]
  ------------------
  149|      0|				throw ParserError(ecINTERNAL_ERROR);
  150|  1.62k|			else
  151|  1.62k|				return &m_vRPN[0];
  152|  1.62k|		}
_ZN2mu14ParserByteCode16StoreEnvironmentENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS1_6vectorIS7_NS5_IS7_EEEE:
  155|  1.62k|		{
  156|  1.62k|			m_stringBuffer = strBuf;
  157|  1.62k|			m_expr = expr;
  158|  1.62k|		}

_ZN2mu14ParserErrorMsgD2Ev:
   64|      1|		~ParserErrorMsg() = default;

_ZN2mu8TypeInfoIdE9IsIntegerEv:
   52|  3.91k|		static bool IsInteger() { return false; }
_ZN2mu8MathImplIdE3SinEd:
  118|    291|		static T Sin(T v) { return sin(v); }
_ZN2mu8MathImplIdE3CosEd:
  119|    234|		static T Cos(T v) { return cos(v); }
_ZN2mu8MathImplIdE3TanEd:
  120|    278|		static T Tan(T v) { return tan(v); }
_ZN2mu8MathImplIdE4ASinEd:
  121|    235|		static T ASin(T v) { return asin(v); }
_ZN2mu8MathImplIdE4ACosEd:
  122|    194|		static T ACos(T v) { return acos(v); }
_ZN2mu8MathImplIdE4ATanEd:
  123|    219|		static T ATan(T v) { return atan(v); }
_ZN2mu8MathImplIdE5ATan2Edd:
  124|    389|		static T ATan2(T v1, T v2) { return atan2(v1, v2); }
_ZN2mu8MathImplIdE4SinhEd:
  125|    213|		static T Sinh(T v) { return sinh(v); }
_ZN2mu8MathImplIdE4CoshEd:
  126|    195|		static T Cosh(T v) { return cosh(v); }
_ZN2mu8MathImplIdE4TanhEd:
  127|    195|		static T Tanh(T v) { return tanh(v); }
_ZN2mu8MathImplIdE5ASinhEd:
  128|    246|		static T ASinh(T v) { return log(v + sqrt(v * v + 1)); }
_ZN2mu8MathImplIdE5ACoshEd:
  129|    195|		static T ACosh(T v) { return log(v + sqrt(v * v - 1)); }
_ZN2mu8MathImplIdE5ATanhEd:
  130|    203|		static T ATanh(T v) { return ((T)0.5 * log((1 + v) / (1 - v))); }
_ZN2mu8MathImplIdE4Log2Ed:
  132|    195|		static T Log2(T v) { return log(v) / log((T)2); } // Logarithm base 2
_ZN2mu8MathImplIdE5Log10Ed:
  133|    487|		static T Log10(T v) { return log10(v); }         // Logarithm base 10
_ZN2mu8MathImplIdE3LogEd:
  131|    353|		static T Log(T v) { return log(v); }
_ZN2mu8MathImplIdE3ExpEd:
  134|    250|		static T Exp(T v) { return exp(v); }
_ZN2mu8MathImplIdE4SqrtEd:
  136|    195|		static T Sqrt(T v) { return sqrt(v); }
_ZN2mu8MathImplIdE4SignEd:
  138|    391|		static T Sign(T v) { return (T)((v < 0) ? -1 : (v > 0) ? 1 : 0); }
  ------------------
  |  Branch (138:35): [True: 195, False: 196]
  |  Branch (138:50): [True: 192, False: 4]
  ------------------
_ZN2mu8MathImplIdE4RintEd:
  137|    494|		static T Rint(T v) { return floor(v + (T)0.5); }
_ZN2mu8MathImplIdE3AbsEd:
  135|    417|		static T Abs(T v) { return (v >= 0) ? v : -v; }
  ------------------
  |  Branch (135:30): [True: 215, False: 202]
  ------------------
_ZN2mu8MathImplIdE3SumEPKdi:
  153|    654|		{
  154|    654|			if (!a_iArgc)
  ------------------
  |  Branch (154:8): [True: 0, False: 654]
  ------------------
  155|      0|				throw ParserError(_T("too few arguments for function sum."));
  ------------------
  |  |   69|      0|		#define _T(x) x
  ------------------
  156|       |
  157|    654|			T fRes = 0;
  158|  64.1k|			for (int i = 0; i < a_iArgc; ++i) fRes += a_afArg[i];
  ------------------
  |  Branch (158:20): [True: 63.4k, False: 654]
  ------------------
  159|    654|			return fRes;
  160|    654|		}
_ZN2mu8MathImplIdE3AvgEPKdi:
  163|    498|		{
  164|    498|			if (!a_iArgc)
  ------------------
  |  Branch (164:8): [True: 0, False: 498]
  ------------------
  165|      0|				throw ParserError(_T("too few arguments for function avg."));
  ------------------
  |  |   69|      0|		#define _T(x) x
  ------------------
  166|       |
  167|    498|			T fRes = 0;
  168|  38.2k|			for (int i = 0; i < a_iArgc; ++i) fRes += a_afArg[i];
  ------------------
  |  Branch (168:20): [True: 37.7k, False: 498]
  ------------------
  169|    498|			return fRes / (T)a_iArgc;
  170|    498|		}
_ZN2mu8MathImplIdE3MinEPKdi:
  173|  1.17k|		{
  174|  1.17k|			if (!a_iArgc)
  ------------------
  |  Branch (174:8): [True: 0, False: 1.17k]
  ------------------
  175|      0|				throw ParserError(_T("too few arguments for function min."));
  ------------------
  |  |   69|      0|		#define _T(x) x
  ------------------
  176|       |
  177|  1.17k|			T fRes = a_afArg[0];
  178|  41.4k|			for (int i = 0; i < a_iArgc; ++i)
  ------------------
  |  Branch (178:20): [True: 40.3k, False: 1.17k]
  ------------------
  179|  40.3k|				fRes = std::min(fRes, a_afArg[i]);
  180|       |
  181|  1.17k|			return fRes;
  182|  1.17k|		}
_ZN2mu8MathImplIdE3MaxEPKdi:
  185|  1.27k|		{
  186|  1.27k|			if (!a_iArgc)
  ------------------
  |  Branch (186:8): [True: 0, False: 1.27k]
  ------------------
  187|      0|				throw ParserError(_T("too few arguments for function max."));
  ------------------
  |  |   69|      0|		#define _T(x) x
  ------------------
  188|       |
  189|  1.27k|			T fRes = a_afArg[0];
  190|  56.2k|			for (int i = 0; i < a_iArgc; ++i) fRes = std::max(fRes, a_afArg[i]);
  ------------------
  |  Branch (190:20): [True: 55.0k, False: 1.27k]
  ------------------
  191|       |
  192|  1.27k|			return fRes;
  193|  1.27k|		}
_ZN2mu8MathImplIdE3RndEv:
  141|    760|		{
  142|    760|			static std::random_device rd;  
  143|    760|			static std::mt19937 gen(rd()); 
  144|    760|			static std::uniform_real_distribution<T> dis(0.0, 1.0); // Range [0, 1)
  145|       |
  146|    760|			return dis(gen);
  147|    760|		}
_ZN2mu8MathImplIdE10UnaryMinusEd:
  149|  3.37k|		static T UnaryMinus(T v) { return -v; }
_ZN2mu8MathImplIdE3PowEdd:
  139|  28.0k|		static T Pow(T v1, T v2) { return std::pow(v1, v2); }

_ZNK2mu21generic_callable_type12call_multfunEPKdi:
  104|  3.60k|		{
  105|  3.60k|			if (_pUserData == nullptr) {
  ------------------
  |  Branch (105:8): [True: 3.60k, False: 0]
  ------------------
  106|  3.60k|				auto multfun_typed_ptr = reinterpret_cast<multfun_type>(_pRawFun);
  107|  3.60k|				return (*multfun_typed_ptr)(a_afArg, a_iArgc);
  108|  3.60k|			} else {
  109|      0|				auto multfun_userdata_typed_ptr = reinterpret_cast<multfun_userdata_type>(_pRawFun);
  110|      0|				return (*multfun_userdata_typed_ptr)(_pUserData, a_afArg, a_iArgc);
  111|      0|			}
  112|  3.60k|		}
_ZNK2mu21generic_callable_typeeqES0_:
  131|  37.9k|		{
  132|  37.9k|			return _pRawFun == other._pRawFun && _pUserData == other._pUserData; 
  ------------------
  |  Branch (132:11): [True: 10.0k, False: 27.9k]
  |  Branch (132:41): [True: 10.0k, False: 0]
  ------------------
  133|  37.9k|		}
_ZNK2mu21generic_callable_typeeqEDn:
  141|  43.9k|		{
  142|  43.9k|			return _pRawFun == nullptr; 
  143|  43.9k|		}
_ZNK2mu21generic_callable_typeneEDn:
  146|  95.2k|		{
  147|  95.2k|			return _pRawFun != nullptr; 
  148|  95.2k|		}
_ZNK2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE7GetCodeEv:
  383|  8.94M|		{
  384|  8.94M|			if (m_pCallback.get())
  ------------------
  |  Branch (384:8): [True: 549k, False: 8.40M]
  ------------------
  385|   549k|			{
  386|   549k|				return m_pCallback->GetCode();
  387|   549k|			}
  388|  8.40M|			else
  389|  8.40M|			{
  390|  8.40M|				return m_iCode;
  391|  8.40M|			}
  392|  8.94M|		}
_ZNK2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE6GetPriEv:
  409|  29.5k|		{
  410|  29.5k|			if (!m_pCallback.get())
  ------------------
  |  Branch (410:8): [True: 0, False: 29.5k]
  ------------------
  411|      0|				throw ParserError(ecINTERNAL_ERROR);
  412|       |
  413|  29.5k|			if (m_pCallback->GetCode() != cmOPRT_BIN && m_pCallback->GetCode() != cmOPRT_INFIX)
  ------------------
  |  Branch (413:8): [True: 29.5k, False: 0]
  |  Branch (413:48): [True: 0, False: 29.5k]
  ------------------
  414|      0|				throw ParserError(ecINTERNAL_ERROR);
  415|       |
  416|  29.5k|			return m_pCallback->GetPri();
  417|  29.5k|		}
_ZNK2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE11GetAsStringEv:
  514|  12.7k|		{
  515|  12.7k|			return m_strTok;
  516|  12.7k|		}
_ZN2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2Ev:
  192|  2.52M|			:m_iCode(cmUNKNOWN)
  193|  2.52M|			, m_iType(tpVOID)
  194|  2.52M|			, m_pTok(0)
  195|  2.52M|			, m_iIdx(-1)
  196|  2.52M|			, m_strTok()
  197|  2.52M|			, m_strVal()
  198|  2.52M|			, m_fVal(0)
  199|  2.52M|			, m_pCallback()
  200|  2.52M|		{}
_ZNK2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE11GetFuncAddrEv:
  444|   183k|		{
  445|   183k|			return (m_pCallback.get())
  ------------------
  |  Branch (445:11): [True: 143k, False: 39.5k]
  ------------------
  446|   183k|				? generic_callable_type{(erased_fun_type)m_pCallback->GetAddr(),
  447|   143k|				                        m_pCallback->GetUserData()}
  448|   183k|				: generic_callable_type{};
  449|   183k|		}
_ZNK2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE11GetArgCountEv:
  487|   175k|		{
  488|   175k|			MUP_ASSERT(m_pCallback.get());
  ------------------
  |  |   78|   175k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 175k]
  |  |  ------------------
  |  |   79|   175k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  489|       |
  490|   175k|			if (!m_pCallback->IsValid())
  ------------------
  |  Branch (490:8): [True: 0, False: 175k]
  ------------------
  491|      0|				throw ParserError(ecINTERNAL_ERROR);
  492|       |
  493|   175k|			return m_pCallback->GetArgc();
  494|   175k|		}
_ZN2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE6SetValEdRKS7_:
  297|   684k|		{
  298|   684k|			m_iCode = cmVAL;
  299|   684k|			m_iType = tpDBL;
  300|   684k|			m_fVal = a_fVal;
  301|   684k|			m_strTok = a_strTok;
  302|   684k|			m_iIdx = -1;
  303|       |
  304|   684k|			m_pTok = 0;
  305|   684k|			m_pCallback.reset(0);
  306|       |
  307|   684k|			return *this;
  308|   684k|		}
_ZNK2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE6GetValEv:
  458|   610k|		{
  459|   610k|			switch (m_iCode)
  460|   610k|			{
  461|   610k|			case cmVAL:  return m_fVal;
  ------------------
  |  Branch (461:4): [True: 610k, False: 1]
  ------------------
  462|      0|			case cmVAR:  return *((TBase*)m_pTok);
  ------------------
  |  Branch (462:4): [True: 0, False: 610k]
  ------------------
  463|      1|			default:     throw ParserError(ecVAL_EXPECTED);
  ------------------
  |  Branch (463:4): [True: 1, False: 610k]
  ------------------
  464|   610k|			}
  465|   610k|		}
_ZN2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2ERKS8_:
  211|  5.26M|		{
  212|  5.26M|			Assign(a_Tok);
  213|  5.26M|		}
_ZN2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE6AssignERKS8_:
  234|  12.1M|		{
  235|  12.1M|			m_iCode = a_Tok.m_iCode;
  236|  12.1M|			m_pTok = a_Tok.m_pTok;
  237|  12.1M|			m_strTok = a_Tok.m_strTok;
  238|  12.1M|			m_iIdx = a_Tok.m_iIdx;
  239|  12.1M|			m_strVal = a_Tok.m_strVal;
  240|  12.1M|			m_iType = a_Tok.m_iType;
  241|  12.1M|			m_fVal = a_Tok.m_fVal;
  242|       |			// create new callback object if a_Tok has one 
  243|  12.1M|			m_pCallback.reset(a_Tok.m_pCallback.get() ? a_Tok.m_pCallback->Clone() : 0);
  ------------------
  |  Branch (243:22): [True: 284k, False: 11.8M]
  ------------------
  244|  12.1M|		}
_ZNK2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE7GetTypeEv:
  396|   661k|		{
  397|   661k|			if (m_pCallback.get())
  ------------------
  |  Branch (397:8): [True: 87.8k, False: 573k]
  ------------------
  398|  87.8k|			{
  399|  87.8k|				return m_pCallback->GetType();
  400|  87.8k|			}
  401|   573k|			else
  402|   573k|			{
  403|   573k|				return m_iType;
  404|   573k|			}
  405|   661k|		}
_ZNK2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE13IsOptimizableEv:
  500|  43.8k|		{
  501|  43.8k|			return m_pCallback->IsValid() && m_pCallback->IsOptimizable();
  ------------------
  |  Branch (501:11): [True: 43.8k, False: 0]
  |  Branch (501:37): [True: 42.5k, False: 1.33k]
  ------------------
  502|  43.8k|		}
_ZNK2mu21generic_callable_type8call_funILm0EJEEEdDpOT0_:
   76|    760|		{
   77|    760|			static_assert(NbParams == sizeof...(Args), "mismatch between NbParams and Args");
   78|    760|			if (_pUserData == nullptr) 
  ------------------
  |  Branch (78:8): [True: 760, False: 0]
  ------------------
   79|    760|			{
   80|    760|				auto fun_typed_ptr = reinterpret_cast<typename TplCallType<NbParams>::fun_type>(_pRawFun);
   81|    760|				return (*fun_typed_ptr)(std::forward<Args>(args)...);
   82|    760|			} 
   83|      0|			else 
   84|      0|			{
   85|      0|				auto fun_userdata_typed_ptr = reinterpret_cast<typename TplCallType<NbParams>::fun_userdata_type>(_pRawFun);
   86|      0|				return (*fun_userdata_typed_ptr)(_pUserData, std::forward<Args>(args)...);
   87|      0|			}
   88|    760|		}
_ZNK2mu21generic_callable_type8call_funILm1EJRdEEEdDpOT0_:
   76|  8.85k|		{
   77|  8.85k|			static_assert(NbParams == sizeof...(Args), "mismatch between NbParams and Args");
   78|  8.85k|			if (_pUserData == nullptr) 
  ------------------
  |  Branch (78:8): [True: 8.85k, False: 0]
  ------------------
   79|  8.85k|			{
   80|  8.85k|				auto fun_typed_ptr = reinterpret_cast<typename TplCallType<NbParams>::fun_type>(_pRawFun);
   81|  8.85k|				return (*fun_typed_ptr)(std::forward<Args>(args)...);
   82|  8.85k|			} 
   83|      0|			else 
   84|      0|			{
   85|      0|				auto fun_userdata_typed_ptr = reinterpret_cast<typename TplCallType<NbParams>::fun_userdata_type>(_pRawFun);
   86|      0|				return (*fun_userdata_typed_ptr)(_pUserData, std::forward<Args>(args)...);
   87|      0|			}
   88|  8.85k|		}
_ZNK2mu21generic_callable_type8call_funILm2EJRdS2_EEEdDpOT0_:
   76|    389|		{
   77|    389|			static_assert(NbParams == sizeof...(Args), "mismatch between NbParams and Args");
   78|    389|			if (_pUserData == nullptr) 
  ------------------
  |  Branch (78:8): [True: 389, False: 0]
  ------------------
   79|    389|			{
   80|    389|				auto fun_typed_ptr = reinterpret_cast<typename TplCallType<NbParams>::fun_type>(_pRawFun);
   81|    389|				return (*fun_typed_ptr)(std::forward<Args>(args)...);
   82|    389|			} 
   83|      0|			else 
   84|      0|			{
   85|      0|				auto fun_userdata_typed_ptr = reinterpret_cast<typename TplCallType<NbParams>::fun_userdata_type>(_pRawFun);
   86|      0|				return (*fun_userdata_typed_ptr)(_pUserData, std::forward<Args>(args)...);
   87|      0|			}
   88|    389|		}
_ZN2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEaSERKS8_:
  223|  6.91M|		{
  224|  6.91M|			Assign(a_Tok);
  225|  6.91M|			return *this;
  226|  6.91M|		}
_ZN2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE6SetIdxEi:
  353|  12.5k|		{
  354|  12.5k|			if (m_iCode != cmSTRING || a_iIdx < 0)
  ------------------
  |  Branch (354:8): [True: 0, False: 12.5k]
  |  Branch (354:31): [True: 0, False: 12.5k]
  ------------------
  355|      0|				throw ParserError(ecINTERNAL_ERROR);
  356|       |
  357|  12.5k|			m_iIdx = a_iIdx;
  358|  12.5k|		}
_ZN2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE3SetENS_8ECmdCodeERKS7_:
  258|  1.62M|		{
  259|       |			// The following types can't be set this way, they have special Set functions
  260|  1.62M|			MUP_ASSERT(a_iType != cmVAR);
  ------------------
  |  |   78|  1.62M|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 1.62M]
  |  |  ------------------
  |  |   79|  1.62M|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  261|  1.62M|			MUP_ASSERT(a_iType != cmVAL);
  ------------------
  |  |   78|  1.62M|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 1.62M]
  |  |  ------------------
  |  |   79|  1.62M|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  262|  1.62M|			MUP_ASSERT(a_iType != cmFUNC);
  ------------------
  |  |   78|  1.62M|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 1.62M]
  |  |  ------------------
  |  |   79|  1.62M|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  263|       |
  264|  1.62M|			m_iCode = a_iType;
  265|  1.62M|			m_iType = tpVOID;
  266|  1.62M|			m_pTok = 0;
  267|  1.62M|			m_strTok = a_strTok;
  268|  1.62M|			m_iIdx = -1;
  269|       |
  270|  1.62M|			return *this;
  271|  1.62M|		}
_ZN2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE3SetERKNS_14ParserCallbackERKS7_:
  276|  47.5k|		{
  277|  47.5k|			MUP_ASSERT(a_pCallback.IsValid());
  ------------------
  |  |   78|  47.5k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 47.5k]
  |  |  ------------------
  |  |   79|  47.5k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  278|       |
  279|  47.5k|			m_iCode = a_pCallback.GetCode();
  280|  47.5k|			m_iType = tpVOID;
  281|  47.5k|			m_strTok = a_sTok;
  282|  47.5k|			m_pCallback.reset(new ParserCallback(a_pCallback));
  283|       |
  284|  47.5k|			m_pTok = 0;
  285|  47.5k|			m_iIdx = -1;
  286|       |
  287|  47.5k|			return *this;
  288|  47.5k|		}
_ZN2mu11ParserTokenIdNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE9SetStringERKS7_m:
  334|  12.6k|		{
  335|  12.6k|			m_iCode = cmSTRING;
  336|  12.6k|			m_iType = tpSTR;
  337|  12.6k|			m_strTok = a_strTok;
  338|  12.6k|			m_iIdx = static_cast<int>(a_iSize);
  339|       |
  340|  12.6k|			m_pTok = 0;
  341|  12.6k|			m_pCallback.reset(0);
  342|  12.6k|			return *this;
  343|  12.6k|		}

_ZN2mu6Parser5IsValEPKcPiPd:
   58|   581k|	{
   59|       |		// There is an issue with libc++ where it creates an error if a double value is followed by a character which
   60|       |		// is the case when using postfix operators.
   61|       |		//
   62|       |		// http://cplusplus.github.io/LWG/lwg-defects.html#2381
   63|       |		//
   64|       |		// This happens only with libc++, not with libstdc++ (Gnu C++ standard library)
   65|       |		// It seems that Macs are using libc++. This is causing #123. The fix below will fix #123
   66|       |		// but is will break localization support and cause #136.
   67|       |
   68|       |		// I'm disabling this fix. For systems using libc++ you must put a space between floating point numbers and postfix operators.
   69|       |#if defined(__APPLE__) && defined(NEVERTRUE)
   70|       |		try
   71|       |		{
   72|       |			std::size_t charsProcessed;
   73|       |			value_type fVal = static_cast<value_type>(std::stod(string_type(a_szExpr), &charsProcessed));
   74|       |			if (charsProcessed == 0)
   75|       |				return 0;
   76|       |
   77|       |			*a_iPos += (int)charsProcessed;
   78|       |			*a_fVal = fVal;
   79|       |			return 1;
   80|       |		}
   81|       |		catch (...)
   82|       |		{
   83|       |			return 0;
   84|       |		}
   85|       |#else
   86|   581k|		value_type fVal(0);
   87|       |
   88|   581k|		stringstream_type stream(a_szExpr);
   89|   581k|		stream.imbue(Parser::s_locale);
   90|   581k|		stream >> fVal;
   91|   581k|		stringstream_type::pos_type iEnd = stream.tellg(); // Position after reading
   92|       |
   93|   581k|		if (iEnd == (stringstream_type::pos_type) - 1)
  ------------------
  |  Branch (93:7): [True: 13.2k, False: 568k]
  ------------------
   94|  13.2k|			return 0;
   95|       |
   96|   568k|		*a_iPos += (int)iEnd;
   97|   568k|		*a_fVal = fVal;
   98|   568k|		return 1;
   99|   581k|#endif		
  100|   581k|	}
_ZN2mu6ParserC2Ev:
  109|  3.91k|		:ParserBase()
  110|  3.91k|	{
  111|  3.91k|		AddValIdent(IsVal);
  112|       |
  113|  3.91k|		InitCharSets();
  114|  3.91k|		InitFun();
  115|  3.91k|		InitConst();
  116|  3.91k|		InitOprt();
  117|  3.91k|	}
_ZN2mu6Parser12InitCharSetsEv:
  127|  3.91k|	{
  128|  3.91k|		DefineNameChars(_T("0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"));
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  129|  3.91k|		DefineOprtChars(_T("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+-*^/?<>=#!$%&|~'_{}"));
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  130|  3.91k|		DefineInfixOprtChars(_T("/+-*^?<>=#!$%&|~'_"));
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  131|  3.91k|	}
_ZN2mu6Parser7InitFunEv:
  136|  3.91k|	{
  137|  3.91k|		if (mu::TypeInfo<mu::value_type>::IsInteger())
  ------------------
  |  Branch (137:7): [True: 0, False: 3.91k]
  ------------------
  138|      0|		{
  139|       |			// When setting MUP_BASETYPE to an integer type
  140|       |			// Place functions for dealing with integer values here
  141|       |			// ...
  142|       |			// ...
  143|       |			// ...
  144|      0|		}
  145|  3.91k|		else
  146|  3.91k|		{
  147|       |			// trigonometric functions
  148|  3.91k|			DefineFun(_T("sin"), MathImpl<value_type>::Sin);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  149|  3.91k|			DefineFun(_T("cos"), MathImpl<value_type>::Cos);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  150|  3.91k|			DefineFun(_T("tan"), MathImpl<value_type>::Tan);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  151|       |			// arcus functions
  152|  3.91k|			DefineFun(_T("asin"), MathImpl<value_type>::ASin);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  153|  3.91k|			DefineFun(_T("acos"), MathImpl<value_type>::ACos);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  154|  3.91k|			DefineFun(_T("atan"), MathImpl<value_type>::ATan);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  155|  3.91k|			DefineFun(_T("atan2"), MathImpl<value_type>::ATan2);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  156|       |			// hyperbolic functions
  157|  3.91k|			DefineFun(_T("sinh"), MathImpl<value_type>::Sinh);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  158|  3.91k|			DefineFun(_T("cosh"), MathImpl<value_type>::Cosh);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  159|  3.91k|			DefineFun(_T("tanh"), MathImpl<value_type>::Tanh);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  160|       |			// arcus hyperbolic functions
  161|  3.91k|			DefineFun(_T("asinh"), MathImpl<value_type>::ASinh);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  162|  3.91k|			DefineFun(_T("acosh"), MathImpl<value_type>::ACosh);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  163|  3.91k|			DefineFun(_T("atanh"), MathImpl<value_type>::ATanh);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  164|       |			// Logarithm functions
  165|  3.91k|			DefineFun(_T("log2"), MathImpl<value_type>::Log2);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  166|  3.91k|			DefineFun(_T("log10"), MathImpl<value_type>::Log10);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  167|  3.91k|			DefineFun(_T("log"), MathImpl<value_type>::Log);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  168|  3.91k|			DefineFun(_T("ln"), MathImpl<value_type>::Log);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  169|       |			// misc
  170|  3.91k|			DefineFun(_T("exp"), MathImpl<value_type>::Exp);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  171|  3.91k|			DefineFun(_T("sqrt"), MathImpl<value_type>::Sqrt);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  172|  3.91k|			DefineFun(_T("sign"), MathImpl<value_type>::Sign);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  173|  3.91k|			DefineFun(_T("rint"), MathImpl<value_type>::Rint);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  174|  3.91k|			DefineFun(_T("abs"), MathImpl<value_type>::Abs);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  175|       |			// Functions with variable number of arguments
  176|  3.91k|			DefineFun(_T("sum"), MathImpl<value_type>::Sum);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  177|  3.91k|			DefineFun(_T("avg"), MathImpl<value_type>::Avg);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  178|  3.91k|			DefineFun(_T("min"), MathImpl<value_type>::Min);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  179|  3.91k|			DefineFun(_T("max"), MathImpl<value_type>::Max);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  180|       |			// Random number
  181|  3.91k|			DefineFun(_T("rnd"), MathImpl<value_type>::Rnd, false);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  182|  3.91k|		}
  183|  3.91k|	}
_ZN2mu6Parser9InitConstEv:
  192|  3.91k|	{
  193|  3.91k|		DefineConst(_T("_pi"), MathImpl<value_type>::CONST_PI);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  194|  3.91k|		DefineConst(_T("_e"), MathImpl<value_type>::CONST_E);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  195|  3.91k|	}
_ZN2mu6Parser8InitOprtEv:
  203|  3.91k|	{
  204|  3.91k|		DefineInfixOprt(_T("-"), MathImpl<value_type>::UnaryMinus);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  205|  3.91k|		DefineInfixOprt(_T("+"), MathImpl<value_type>::UnaryPlus);
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  206|  3.91k|	}

_ZN2mu10ParserBaseC2Ev:
   91|  3.91k|		: m_pParseFormula(&ParserBase::ParseString)
   92|  3.91k|		, m_vRPN()
   93|  3.91k|		, m_vStringBuf()
   94|  3.91k|		, m_pTokenReader()
   95|  3.91k|		, m_FunDef()
   96|  3.91k|		, m_PostOprtDef()
   97|  3.91k|		, m_InfixOprtDef()
   98|  3.91k|		, m_OprtDef()
   99|  3.91k|		, m_ConstDef()
  100|  3.91k|		, m_StrVarDef()
  101|  3.91k|		, m_VarDef()
  102|  3.91k|		, m_bBuiltInOp(true)
  103|  3.91k|		, m_sNameChars()
  104|  3.91k|		, m_sOprtChars()
  105|  3.91k|		, m_sInfixOprtChars()
  106|  3.91k|		, m_vStackBuffer()
  107|  3.91k|		, m_nFinalResultIdx(0)
  108|  3.91k|	{
  109|  3.91k|		InitTokenReader();
  110|  3.91k|	}
_ZN2mu10ParserBaseD2Ev:
  141|  3.91k|	{}
_ZN2mu10ParserBase15InitTokenReaderEv:
  246|  3.91k|	{
  247|  3.91k|		m_pTokenReader.reset(new token_reader_type(this));
  248|  3.91k|	}
_ZNK2mu10ParserBase6ReInitEv:
  257|   129k|	{
  258|   129k|		m_pParseFormula = &ParserBase::ParseString;
  259|   129k|		m_vStringBuf.clear();
  260|   129k|		m_vRPN.clear();
  261|   129k|		m_pTokenReader->ReInit();
  262|   129k|	}
_ZN2mu10ParserBase11AddValIdentEPFiPKcPiPdE:
  353|  3.91k|	{
  354|  3.91k|		m_pTokenReader->AddValIdent(a_pCallback);
  355|  3.91k|	}
_ZN2mu10ParserBase11AddCallbackERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_14ParserCallbackERNS1_3mapIS7_SA_NS1_4lessIS7_EENS5_INS1_4pairIS8_SA_EEEEEEPKc:
  374|   113k|	{
  375|   113k|		if (!a_Callback.IsValid())
  ------------------
  |  Branch (375:7): [True: 0, False: 113k]
  ------------------
  376|      0|			Error(ecINVALID_FUN_PTR);
  377|       |
  378|   113k|		const funmap_type* pFunMap = &a_Storage;
  379|       |
  380|       |		// Check for conflicting operator or function names
  381|   113k|		if (pFunMap != &m_FunDef && m_FunDef.find(a_strName) != m_FunDef.end())
  ------------------
  |  Branch (381:7): [True: 7.82k, False: 105k]
  |  Branch (381:7): [True: 0, False: 113k]
  |  Branch (381:31): [True: 0, False: 7.82k]
  ------------------
  382|      0|			Error(ecNAME_CONFLICT, -1, a_strName);
  383|       |
  384|   113k|		if (pFunMap != &m_PostOprtDef && m_PostOprtDef.find(a_strName) != m_PostOprtDef.end())
  ------------------
  |  Branch (384:7): [True: 113k, False: 0]
  |  Branch (384:7): [True: 0, False: 113k]
  |  Branch (384:36): [True: 0, False: 113k]
  ------------------
  385|      0|			Error(ecNAME_CONFLICT, -1, a_strName);
  386|       |
  387|   113k|		if (pFunMap != &m_InfixOprtDef && pFunMap != &m_OprtDef && m_InfixOprtDef.find(a_strName) != m_InfixOprtDef.end())
  ------------------
  |  Branch (387:7): [True: 105k, False: 7.82k]
  |  Branch (387:7): [True: 0, False: 113k]
  |  Branch (387:37): [True: 105k, False: 0]
  |  Branch (387:62): [True: 0, False: 105k]
  ------------------
  388|      0|			Error(ecNAME_CONFLICT, -1, a_strName);
  389|       |
  390|   113k|		if (pFunMap != &m_InfixOprtDef && pFunMap != &m_OprtDef && m_OprtDef.find(a_strName) != m_OprtDef.end())
  ------------------
  |  Branch (390:7): [True: 105k, False: 7.82k]
  |  Branch (390:7): [True: 0, False: 113k]
  |  Branch (390:37): [True: 105k, False: 0]
  |  Branch (390:62): [True: 0, False: 105k]
  ------------------
  391|      0|			Error(ecNAME_CONFLICT, -1, a_strName);
  392|       |
  393|   113k|		CheckOprt(a_strName, a_Callback, a_szCharSet);
  394|   113k|		a_Storage[a_strName] = a_Callback;
  395|   113k|		ReInit();
  396|   113k|	}
_ZNK2mu10ParserBase9CheckOprtERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_14ParserCallbackES9_:
  406|   113k|	{
  407|   113k|		if (!a_sName.length() ||
  ------------------
  |  Branch (407:7): [True: 0, False: 113k]
  ------------------
  408|   113k|			(a_sName.find_first_not_of(a_szCharSet) != string_type::npos) ||
  ------------------
  |  Branch (408:4): [True: 0, False: 113k]
  ------------------
  409|   113k|			(a_sName[0] >= '0' && a_sName[0] <= '9'))
  ------------------
  |  Branch (409:5): [True: 105k, False: 7.82k]
  |  Branch (409:26): [True: 0, False: 105k]
  ------------------
  410|      0|		{
  411|      0|			switch (a_Callback.GetCode())
  412|      0|			{
  413|      0|			case cmOPRT_POSTFIX: Error(ecINVALID_POSTFIX_IDENT, -1, a_sName); break;
  ------------------
  |  Branch (413:4): [True: 0, False: 0]
  ------------------
  414|      0|			case cmOPRT_INFIX:   Error(ecINVALID_INFIX_IDENT, -1, a_sName); break;
  ------------------
  |  Branch (414:4): [True: 0, False: 0]
  ------------------
  415|      0|			default:             Error(ecINVALID_NAME, -1, a_sName);
  ------------------
  |  Branch (415:4): [True: 0, False: 0]
  ------------------
  416|      0|			}
  417|      0|		}
  418|   113k|	}
_ZNK2mu10ParserBase9CheckNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_:
  425|  7.82k|	{
  426|  7.82k|		if (!a_sName.length() ||
  ------------------
  |  Branch (426:7): [True: 0, False: 7.82k]
  ------------------
  427|  7.82k|			(a_sName.find_first_not_of(a_szCharSet) != string_type::npos) ||
  ------------------
  |  Branch (427:4): [True: 0, False: 7.82k]
  ------------------
  428|  7.82k|			(a_sName[0] >= '0' && a_sName[0] <= '9'))
  ------------------
  |  Branch (428:5): [True: 7.82k, False: 0]
  |  Branch (428:26): [True: 0, False: 7.82k]
  ------------------
  429|      0|		{
  430|      0|			Error(ecINVALID_NAME);
  431|      0|		}
  432|  7.82k|	}
_ZN2mu10ParserBase7SetExprERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  442|  3.91k|	{
  443|       |		// Check locale compatibility
  444|  3.91k|		if (m_pTokenReader->GetArgSep() == std::use_facet<numpunct<char_type> >(s_locale).decimal_point())
  ------------------
  |  Branch (444:7): [True: 0, False: 3.91k]
  ------------------
  445|      0|			Error(ecLOCALE);
  446|       |
  447|       |		// Check maximum allowed expression length. An arbitrary value small enough so i can debug expressions sent to me
  448|  3.91k|		if (a_sExpr.length() >= MaxLenExpression)
  ------------------
  |  Branch (448:7): [True: 29, False: 3.88k]
  ------------------
  449|     29|			Error(ecEXPRESSION_TOO_LONG, 0, a_sExpr);
  450|       |
  451|  3.91k|		m_pTokenReader->SetFormula(a_sExpr + _T(" "));
  ------------------
  |  |   69|  3.91k|		#define _T(x) x
  ------------------
  452|  3.91k|		ReInit();
  453|  3.91k|	}
_ZNK2mu10ParserBase10GetOprtDefEv:
  460|  2.53M|	{
  461|  2.53M|		return (const char_type**)(&c_DefaultOprt[0]);
  462|  2.53M|	}
_ZN2mu10ParserBase15DefineNameCharsEPKc:
  469|  3.91k|	{
  470|  3.91k|		m_sNameChars = a_szCharset;
  471|  3.91k|	}
_ZN2mu10ParserBase15DefineOprtCharsEPKc:
  478|  3.91k|	{
  479|  3.91k|		m_sOprtChars = a_szCharset;
  480|  3.91k|	}
_ZN2mu10ParserBase20DefineInfixOprtCharsEPKc:
  487|  3.91k|	{
  488|  3.91k|		m_sInfixOprtChars = a_szCharset;
  489|  3.91k|	}
_ZNK2mu10ParserBase14ValidNameCharsEv:
  496|  2.95M|	{
  497|  2.95M|		MUP_ASSERT(m_sNameChars.size());
  ------------------
  |  |   78|  2.95M|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 2.95M]
  |  |  ------------------
  |  |   79|  2.95M|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  498|  2.95M|		return m_sNameChars.c_str();
  499|  2.95M|	}
_ZNK2mu10ParserBase14ValidOprtCharsEv:
  506|  2.25M|	{
  507|  2.25M|		MUP_ASSERT(m_sOprtChars.size());
  ------------------
  |  |   78|  2.25M|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 2.25M]
  |  |  ------------------
  |  |   79|  2.25M|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  508|  2.25M|		return m_sOprtChars.c_str();
  509|  2.25M|	}
_ZNK2mu10ParserBase19ValidInfixOprtCharsEv:
  516|  42.8k|	{
  517|  42.8k|		MUP_ASSERT(m_sInfixOprtChars.size());
  ------------------
  |  |   78|  42.8k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 42.8k]
  |  |  ------------------
  |  |   79|  42.8k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  518|  42.8k|		return m_sInfixOprtChars.c_str();
  519|  42.8k|	}
_ZN2mu10ParserBase15DefineInfixOprtERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPFddEib:
  556|  7.82k|	{
  557|  7.82k|		if (a_sName.length() > MaxLenIdentifier)
  ------------------
  |  Branch (557:7): [True: 0, False: 7.82k]
  ------------------
  558|      0|			Error(ecIDENTIFIER_TOO_LONG);
  559|       |
  560|  7.82k|		AddCallback(a_sName, ParserCallback(a_pFun, a_bAllowOpt, a_iPrec, cmOPRT_INFIX), m_InfixOprtDef, ValidInfixOprtChars());
  561|  7.82k|	}
_ZN2mu10ParserBase11DefineConstERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEd:
  642|  7.82k|	{
  643|  7.82k|		if (a_sName.length() > MaxLenIdentifier)
  ------------------
  |  Branch (643:7): [True: 0, False: 7.82k]
  ------------------
  644|      0|			Error(ecIDENTIFIER_TOO_LONG);
  645|       |
  646|  7.82k|		CheckName(a_sName, ValidNameChars());
  647|  7.82k|		m_ConstDef[a_sName] = a_fVal;
  648|  7.82k|		ReInit();
  649|  7.82k|	}
_ZNK2mu10ParserBase17GetOprtPrecedenceERKNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  656|   273k|	{
  657|   273k|		switch (a_Tok.GetCode())
  658|   273k|		{
  659|       |			// built in operators
  660|      0|		case cmEND:      return -5;
  ------------------
  |  Branch (660:3): [True: 0, False: 273k]
  ------------------
  661|      0|		case cmARG_SEP:  return -4;
  ------------------
  |  Branch (661:3): [True: 0, False: 273k]
  ------------------
  662|      0|		case cmASSIGN:   return -1;
  ------------------
  |  Branch (662:3): [True: 0, False: 273k]
  ------------------
  663|      0|		case cmELSE:
  ------------------
  |  Branch (663:3): [True: 0, False: 273k]
  ------------------
  664|  26.3k|		case cmIF:       return  0;
  ------------------
  |  Branch (664:3): [True: 26.3k, False: 247k]
  ------------------
  665|  11.8k|		case cmLAND:     return  prLAND;
  ------------------
  |  Branch (665:3): [True: 11.8k, False: 261k]
  ------------------
  666|  8.85k|		case cmLOR:      return  prLOR;
  ------------------
  |  Branch (666:3): [True: 8.85k, False: 264k]
  ------------------
  667|  8.70k|		case cmLT:
  ------------------
  |  Branch (667:3): [True: 8.70k, False: 265k]
  ------------------
  668|  14.5k|		case cmGT:
  ------------------
  |  Branch (668:3): [True: 5.80k, False: 267k]
  ------------------
  669|  16.7k|		case cmLE:
  ------------------
  |  Branch (669:3): [True: 2.28k, False: 271k]
  ------------------
  670|  18.6k|		case cmGE:
  ------------------
  |  Branch (670:3): [True: 1.88k, False: 271k]
  ------------------
  671|  23.1k|		case cmNEQ:
  ------------------
  |  Branch (671:3): [True: 4.45k, False: 269k]
  ------------------
  672|  26.1k|		case cmEQ:       return  prCMP;
  ------------------
  |  Branch (672:3): [True: 3.00k, False: 270k]
  ------------------
  673|  17.1k|		case cmADD:
  ------------------
  |  Branch (673:3): [True: 17.1k, False: 256k]
  ------------------
  674|  45.3k|		case cmSUB:      return  prADD_SUB;
  ------------------
  |  Branch (674:3): [True: 28.1k, False: 245k]
  ------------------
  675|  17.2k|		case cmMUL:
  ------------------
  |  Branch (675:3): [True: 17.2k, False: 256k]
  ------------------
  676|  21.7k|		case cmDIV:      return  prMUL_DIV;
  ------------------
  |  Branch (676:3): [True: 4.55k, False: 269k]
  ------------------
  677|   103k|		case cmPOW:      return  prPOW;
  ------------------
  |  Branch (677:3): [True: 103k, False: 169k]
  ------------------
  678|       |
  679|       |		// user defined binary operators
  680|  29.5k|		case cmOPRT_INFIX:
  ------------------
  |  Branch (680:3): [True: 29.5k, False: 244k]
  ------------------
  681|  29.5k|		case cmOPRT_BIN: return a_Tok.GetPri();
  ------------------
  |  Branch (681:3): [True: 0, False: 273k]
  ------------------
  682|      0|		default:  
  ------------------
  |  Branch (682:3): [True: 0, False: 273k]
  ------------------
  683|      0|			throw exception_type(ecINTERNAL_ERROR, 5, _T(""));
  ------------------
  |  |   69|      0|		#define _T(x) x
  ------------------
  684|   273k|		}
  685|   273k|	}
_ZNK2mu10ParserBase20GetOprtAssociativityERKNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  692|  66.8k|	{
  693|  66.8k|		switch (a_Tok.GetCode())
  694|  66.8k|		{
  695|      0|		case cmASSIGN:
  ------------------
  |  Branch (695:3): [True: 0, False: 66.8k]
  ------------------
  696|  4.03k|		case cmLAND:
  ------------------
  |  Branch (696:3): [True: 4.03k, False: 62.8k]
  ------------------
  697|  5.61k|		case cmLOR:
  ------------------
  |  Branch (697:3): [True: 1.57k, False: 65.3k]
  ------------------
  698|  8.00k|		case cmLT:
  ------------------
  |  Branch (698:3): [True: 2.39k, False: 64.4k]
  ------------------
  699|  9.63k|		case cmGT:
  ------------------
  |  Branch (699:3): [True: 1.62k, False: 65.2k]
  ------------------
  700|  10.3k|		case cmLE:
  ------------------
  |  Branch (700:3): [True: 698, False: 66.1k]
  ------------------
  701|  11.0k|		case cmGE:
  ------------------
  |  Branch (701:3): [True: 751, False: 66.1k]
  ------------------
  702|  12.9k|		case cmNEQ:
  ------------------
  |  Branch (702:3): [True: 1.91k, False: 64.9k]
  ------------------
  703|  13.9k|		case cmEQ:
  ------------------
  |  Branch (703:3): [True: 981, False: 65.9k]
  ------------------
  704|  18.2k|		case cmADD:
  ------------------
  |  Branch (704:3): [True: 4.24k, False: 62.6k]
  ------------------
  705|  20.5k|		case cmSUB:
  ------------------
  |  Branch (705:3): [True: 2.34k, False: 64.5k]
  ------------------
  706|  26.4k|		case cmMUL:
  ------------------
  |  Branch (706:3): [True: 5.88k, False: 61.0k]
  ------------------
  707|  27.6k|		case cmDIV:      return oaLEFT;
  ------------------
  |  Branch (707:3): [True: 1.17k, False: 65.7k]
  ------------------
  708|  39.2k|		case cmPOW:      return oaRIGHT;
  ------------------
  |  Branch (708:3): [True: 39.2k, False: 27.6k]
  ------------------
  709|      0|		case cmOPRT_BIN: return a_Tok.GetAssociativity();
  ------------------
  |  Branch (709:3): [True: 0, False: 66.8k]
  ------------------
  710|      0|		default:         return oaNONE;
  ------------------
  |  Branch (710:3): [True: 0, False: 66.8k]
  ------------------
  711|  66.8k|		}
  712|  66.8k|	}
_ZNK2mu10ParserBase9ApplyFuncERNSt3__15stackINS_11ParserTokenIdNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_5dequeISA_NS7_ISA_EEEEEESF_i:
  825|  43.9k|	{
  826|  43.9k|		MUP_ASSERT(m_pTokenReader.get());
  ------------------
  |  |   78|  43.9k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 43.9k]
  |  |  ------------------
  |  |   79|  43.9k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  827|       |
  828|       |		// Operator stack empty or does not contain tokens with callback functions
  829|  43.9k|		if (a_stOpt.empty() || a_stOpt.top().GetFuncAddr() == 0)
  ------------------
  |  Branch (829:7): [True: 0, False: 43.9k]
  |  Branch (829:7): [True: 0, False: 43.9k]
  |  Branch (829:26): [True: 0, False: 43.9k]
  ------------------
  830|      0|			return;
  831|       |
  832|  43.9k|		token_type funTok = a_stOpt.top();
  833|  43.9k|		a_stOpt.pop();
  834|  43.9k|		MUP_ASSERT(funTok.GetFuncAddr() != nullptr);
  ------------------
  |  |   78|  43.9k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 43.9k]
  |  |  ------------------
  |  |   79|  43.9k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  835|       |
  836|       |		// Binary operators must rely on their internal operator number
  837|       |		// since counting of operators relies on commas for function arguments
  838|       |		// binary operators do not have commas in their expression
  839|  43.9k|		int iArgCount = (funTok.GetCode() == cmOPRT_BIN) ? funTok.GetArgCount() : a_iArgCount;
  ------------------
  |  Branch (839:19): [True: 0, False: 43.9k]
  ------------------
  840|       |
  841|       |		// determine how many parameters the function needs. To remember iArgCount includes the 
  842|       |		// string parameter whilst GetArgCount() counts only numeric parameters.
  843|  43.9k|		int iArgRequired = funTok.GetArgCount() + ((funTok.GetType() == tpSTR) ? 1 : 0);
  ------------------
  |  Branch (843:46): [True: 0, False: 43.9k]
  ------------------
  844|       |
  845|       |		// That's the number of numerical parameters
  846|  43.9k|		int iArgNumerical = iArgCount - ((funTok.GetType() == tpSTR) ? 1 : 0);
  ------------------
  |  Branch (846:36): [True: 0, False: 43.9k]
  ------------------
  847|       |
  848|  43.9k|		if (funTok.GetCode() == cmFUNC_STR && iArgCount - iArgNumerical > 1)
  ------------------
  |  Branch (848:7): [True: 0, False: 43.9k]
  |  Branch (848:41): [True: 0, False: 0]
  ------------------
  849|      0|			Error(ecINTERNAL_ERROR);
  850|       |
  851|  43.9k|		if (funTok.GetArgCount() >= 0 && iArgCount > iArgRequired)
  ------------------
  |  Branch (851:7): [True: 39.3k, False: 4.55k]
  |  Branch (851:36): [True: 25, False: 39.3k]
  ------------------
  852|     25|			Error(ecTOO_MANY_PARAMS, m_pTokenReader->GetPos() - 1, funTok.GetAsString());
  853|       |
  854|  43.9k|		if (funTok.GetCode() != cmOPRT_BIN && iArgCount < iArgRequired)
  ------------------
  |  Branch (854:7): [True: 43.8k, False: 25]
  |  Branch (854:41): [True: 3, False: 43.8k]
  ------------------
  855|      3|			Error(ecTOO_FEW_PARAMS, m_pTokenReader->GetPos() - 1, funTok.GetAsString());
  856|       |
  857|  43.9k|		if (funTok.GetCode() == cmFUNC_STR && iArgCount > iArgRequired)
  ------------------
  |  Branch (857:7): [True: 0, False: 43.9k]
  |  Branch (857:41): [True: 0, False: 0]
  ------------------
  858|      0|			Error(ecTOO_MANY_PARAMS, m_pTokenReader->GetPos() - 1, funTok.GetAsString());
  859|       |
  860|       |		// Collect the numeric function arguments from the value stack and store them
  861|       |		// in a vector
  862|  43.9k|		std::vector<token_type> stArg;
  863|   281k|		for (int i = 0; i < iArgNumerical; ++i)
  ------------------
  |  Branch (863:19): [True: 238k, False: 43.9k]
  ------------------
  864|   238k|		{
  865|   238k|			if (a_stVal.empty())
  ------------------
  |  Branch (865:8): [True: 38, False: 237k]
  ------------------
  866|     38|				Error(ecINTERNAL_ERROR, m_pTokenReader->GetPos(), funTok.GetAsString());
  867|       |
  868|   238k|			stArg.push_back(a_stVal.top());
  869|   238k|			a_stVal.pop();
  870|       |
  871|   238k|			if (stArg.back().GetType() == tpSTR && funTok.GetType() != tpSTR)
  ------------------
  |  Branch (871:8): [True: 3, False: 238k]
  |  Branch (871:43): [True: 3, False: 0]
  ------------------
  872|      3|				Error(ecVAL_EXPECTED, m_pTokenReader->GetPos(), funTok.GetAsString());
  873|   238k|		}
  874|       |
  875|  43.9k|		switch (funTok.GetCode())
  876|  43.9k|		{
  877|      0|		case  cmFUNC_STR:
  ------------------
  |  Branch (877:3): [True: 0, False: 43.9k]
  ------------------
  878|      0|			if (a_stVal.empty())
  ------------------
  |  Branch (878:8): [True: 0, False: 0]
  ------------------
  879|      0|				Error(ecINTERNAL_ERROR, m_pTokenReader->GetPos(), funTok.GetAsString());
  880|       |
  881|      0|			stArg.push_back(a_stVal.top());
  882|      0|			a_stVal.pop();
  883|       |
  884|      0|			if (stArg.back().GetType() == tpSTR && funTok.GetType() != tpSTR)
  ------------------
  |  Branch (884:8): [True: 0, False: 0]
  |  Branch (884:43): [True: 0, False: 0]
  ------------------
  885|      0|				Error(ecVAL_EXPECTED, m_pTokenReader->GetPos(), funTok.GetAsString());
  886|       |
  887|      0|			ApplyStrFunc(funTok, stArg);
  888|      0|			break;
  889|       |
  890|      0|		case  cmFUNC_BULK:
  ------------------
  |  Branch (890:3): [True: 0, False: 43.9k]
  ------------------
  891|      0|			m_vRPN.AddBulkFun(funTok.GetFuncAddr(), (int)stArg.size());
  892|      0|			break;
  893|       |
  894|      0|		case  cmOPRT_BIN:
  ------------------
  |  Branch (894:3): [True: 0, False: 43.9k]
  ------------------
  895|      0|		case  cmOPRT_POSTFIX:
  ------------------
  |  Branch (895:3): [True: 0, False: 43.9k]
  ------------------
  896|  32.0k|		case  cmOPRT_INFIX:
  ------------------
  |  Branch (896:3): [True: 32.0k, False: 11.8k]
  ------------------
  897|  43.8k|		case  cmFUNC:
  ------------------
  |  Branch (897:3): [True: 11.8k, False: 32.1k]
  ------------------
  898|  43.8k|			if (funTok.GetArgCount() == -1 && iArgCount == 0)
  ------------------
  |  Branch (898:8): [True: 4.55k, False: 39.2k]
  |  Branch (898:38): [True: 1, False: 4.55k]
  ------------------
  899|      1|				Error(ecTOO_FEW_PARAMS, m_pTokenReader->GetPos(), funTok.GetAsString());
  900|       |
  901|  43.8k|			m_vRPN.AddFun(funTok.GetFuncAddr(), (funTok.GetArgCount() == -1) ? -iArgNumerical : iArgNumerical, funTok.IsOptimizable());
  ------------------
  |  Branch (901:40): [True: 4.55k, False: 39.2k]
  ------------------
  902|  43.8k|			break;
  903|      0|		default:
  ------------------
  |  Branch (903:3): [True: 0, False: 43.9k]
  ------------------
  904|      0|			break;
  905|  43.9k|		}
  906|       |
  907|       |		// Push dummy value representing the function result to the stack
  908|  43.8k|		token_type token;
  909|  43.8k|		token.SetVal(1);
  910|  43.8k|		a_stVal.push(token);
  911|  43.8k|	}
_ZNK2mu10ParserBase11ApplyIfElseERNSt3__15stackINS_11ParserTokenIdNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_5dequeISA_NS7_ISA_EEEEEESF_:
  915|  2.16k|	{
  916|       |		// Check if there is an if Else clause to be calculated
  917|  43.4k|		while (a_stOpt.size() && a_stOpt.top().GetCode() == cmELSE)
  ------------------
  |  Branch (917:10): [True: 42.8k, False: 598]
  |  Branch (917:28): [True: 41.3k, False: 1.54k]
  ------------------
  918|  41.3k|		{
  919|  41.3k|			MUP_ASSERT(!a_stOpt.empty())
  ------------------
  |  |   78|  41.3k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 41.3k]
  |  |  ------------------
  |  |   79|  41.3k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  920|  41.3k|			token_type opElse = a_stOpt.top();
  921|  41.3k|			a_stOpt.pop();
  922|       |
  923|       |			// Take the value associated with the else branch from the value stack
  924|  41.3k|			MUP_ASSERT(!a_stVal.empty());
  ------------------
  |  |   78|  41.3k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 41.3k]
  |  |  ------------------
  |  |   79|  41.3k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  925|  41.3k|			token_type vVal2 = a_stVal.top();
  926|  41.3k|			if (vVal2.GetType() != tpDBL)
  ------------------
  |  Branch (926:8): [True: 3, False: 41.3k]
  ------------------
  927|      3|				Error(ecUNEXPECTED_STR, m_pTokenReader->GetPos());
  928|       |			
  929|  41.3k|			a_stVal.pop();
  930|       |
  931|       |			// it then else is a ternary operator Pop all three values from the value s
  932|       |			// tack and just return the right value
  933|  41.3k|			MUP_ASSERT(!a_stVal.empty());
  ------------------
  |  |   78|  41.3k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 8, False: 41.3k]
  |  |  ------------------
  |  |   79|  41.3k|            {														\
  |  |   80|      8|              stringstream_type ss;									\
  |  |   81|      8|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      8|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      8|		#define _T(x) x
  |  |  ------------------
  |  |   82|      8|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      8|		#define _T(x) x
  |  |  ------------------
  |  |   83|      8|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      8|		#define _T(x) x
  |  |  ------------------
  |  |   84|      8|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      8|            }
  ------------------
  934|  41.3k|			token_type vVal1 = a_stVal.top();
  935|  41.3k|			if (vVal1.GetType() != tpDBL)
  ------------------
  |  Branch (935:8): [True: 1, False: 41.2k]
  ------------------
  936|      1|				Error(ecUNEXPECTED_STR, m_pTokenReader->GetPos());
  937|       |
  938|  41.3k|			a_stVal.pop();
  939|       |
  940|  41.3k|			MUP_ASSERT(!a_stVal.empty());
  ------------------
  |  |   78|  41.3k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 14, False: 41.2k]
  |  |  ------------------
  |  |   79|  41.3k|            {														\
  |  |   80|     14|              stringstream_type ss;									\
  |  |   81|     14|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|     14|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|     14|		#define _T(x) x
  |  |  ------------------
  |  |   82|     14|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|     14|		#define _T(x) x
  |  |  ------------------
  |  |   83|     14|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|     14|		#define _T(x) x
  |  |  ------------------
  |  |   84|     14|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|     14|            }
  ------------------
  941|  41.2k|			token_type vExpr = a_stVal.top();
  942|  41.2k|			a_stVal.pop();
  943|       |
  944|  41.2k|			a_stVal.push((vExpr.GetVal() != 0) ? vVal1 : vVal2);
  ------------------
  |  Branch (944:17): [True: 3.63k, False: 37.6k]
  ------------------
  945|       |
  946|  41.2k|			token_type opIf = a_stOpt.top();
  947|  41.2k|			a_stOpt.pop();
  948|       |
  949|  41.2k|			MUP_ASSERT(opElse.GetCode() == cmELSE);
  ------------------
  |  |   78|  41.2k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 41.2k]
  |  |  ------------------
  |  |   79|  41.2k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  950|       |
  951|  41.2k|			if (opIf.GetCode() != cmIF)
  ------------------
  |  Branch (951:8): [True: 4, False: 41.2k]
  ------------------
  952|      4|				Error(ecMISPLACED_COLON, m_pTokenReader->GetPos());
  953|       |
  954|  41.2k|			m_vRPN.AddIfElse(cmENDIF);
  955|  41.2k|		} // while pending if-else-clause found
  956|  2.16k|	}
_ZNK2mu10ParserBase12ApplyBinOprtERNSt3__15stackINS_11ParserTokenIdNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_5dequeISA_NS7_ISA_EEEEEESF_:
  963|  71.1k|	{
  964|       |		// is it a user defined binary operator?
  965|  71.1k|		if (a_stOpt.top().GetCode() == cmOPRT_BIN)
  ------------------
  |  Branch (965:7): [True: 0, False: 71.1k]
  ------------------
  966|      0|		{
  967|      0|			ApplyFunc(a_stOpt, a_stVal, 2);
  968|      0|		}
  969|  71.1k|		else
  970|  71.1k|		{
  971|  71.1k|			if (a_stVal.size() < 2)
  ------------------
  |  Branch (971:8): [True: 39, False: 71.0k]
  ------------------
  972|     39|				Error(ecINTERNAL_ERROR, m_pTokenReader->GetPos(), _T("ApplyBinOprt: not enough values in value stack!"));
  ------------------
  |  |   69|     39|		#define _T(x) x
  ------------------
  973|       |
  974|  71.1k|			token_type valTok1 = a_stVal.top();
  975|  71.1k|			a_stVal.pop();
  976|       |
  977|  71.1k|			token_type valTok2 = a_stVal.top();
  978|  71.1k|			a_stVal.pop();
  979|       |
  980|  71.1k|			token_type optTok = a_stOpt.top();
  981|  71.1k|			a_stOpt.pop();
  982|       |
  983|  71.1k|			token_type resTok;
  984|       |
  985|  71.1k|			if (valTok1.GetType() != valTok2.GetType() ||
  ------------------
  |  Branch (985:8): [True: 63, False: 71.0k]
  ------------------
  986|  71.0k|				(valTok1.GetType() == tpSTR && valTok2.GetType() == tpSTR))
  ------------------
  |  Branch (986:6): [True: 15, False: 71.0k]
  |  Branch (986:36): [True: 15, False: 0]
  ------------------
  987|     39|				Error(ecOPRT_TYPE_CONFLICT, m_pTokenReader->GetPos(), optTok.GetAsString());
  988|       |
  989|  71.1k|			if (optTok.GetCode() == cmASSIGN)
  ------------------
  |  Branch (989:8): [True: 0, False: 71.1k]
  ------------------
  990|      0|			{
  991|      0|				if (valTok2.GetCode() != cmVAR)
  ------------------
  |  Branch (991:9): [True: 0, False: 0]
  ------------------
  992|      0|					Error(ecUNEXPECTED_OPERATOR, -1, _T("="));
  ------------------
  |  |   69|      0|		#define _T(x) x
  ------------------
  993|       |
  994|      0|				m_vRPN.AddAssignOp(valTok2.GetVar());
  995|      0|			}
  996|  71.1k|			else
  997|  71.1k|				m_vRPN.AddOp(optTok.GetCode());
  998|       |
  999|  71.1k|			resTok.SetVal(1);
 1000|  71.1k|			a_stVal.push(resTok);
 1001|  71.1k|		}
 1002|  71.1k|	}
_ZNK2mu10ParserBase18ApplyRemainingOprtERNSt3__15stackINS_11ParserTokenIdNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_5dequeISA_NS7_ISA_EEEEEESF_:
 1010|   421k|	{
 1011|   439k|		while (stOpt.size() &&
  ------------------
  |  Branch (1011:10): [True: 395k, False: 44.2k]
  ------------------
 1012|   395k|			stOpt.top().GetCode() != cmBO &&
  ------------------
  |  Branch (1012:4): [True: 86.6k, False: 308k]
  ------------------
 1013|  86.6k|			stOpt.top().GetCode() != cmIF)
  ------------------
  |  Branch (1013:4): [True: 18.4k, False: 68.2k]
  ------------------
 1014|  18.4k|		{
 1015|  18.4k|			token_type tok = stOpt.top();
 1016|  18.4k|			switch (tok.GetCode())
 1017|  18.4k|			{
 1018|  3.63k|			case cmOPRT_INFIX:
  ------------------
  |  Branch (1018:4): [True: 3.63k, False: 14.8k]
  ------------------
 1019|  3.63k|			case cmOPRT_BIN:
  ------------------
  |  Branch (1019:4): [True: 0, False: 18.4k]
  ------------------
 1020|  3.92k|			case cmLE:
  ------------------
  |  Branch (1020:4): [True: 287, False: 18.1k]
  ------------------
 1021|  4.25k|			case cmGE:
  ------------------
  |  Branch (1021:4): [True: 335, False: 18.1k]
  ------------------
 1022|  4.57k|			case cmNEQ:
  ------------------
  |  Branch (1022:4): [True: 314, False: 18.1k]
  ------------------
 1023|  4.89k|			case cmEQ:
  ------------------
  |  Branch (1023:4): [True: 324, False: 18.1k]
  ------------------
 1024|  5.47k|			case cmLT:
  ------------------
  |  Branch (1024:4): [True: 580, False: 17.8k]
  ------------------
 1025|  6.53k|			case cmGT:
  ------------------
  |  Branch (1025:4): [True: 1.05k, False: 17.4k]
  ------------------
 1026|  7.55k|			case cmADD:
  ------------------
  |  Branch (1026:4): [True: 1.02k, False: 17.4k]
  ------------------
 1027|  8.28k|			case cmSUB:
  ------------------
  |  Branch (1027:4): [True: 733, False: 17.7k]
  ------------------
 1028|  9.32k|			case cmMUL:
  ------------------
  |  Branch (1028:4): [True: 1.04k, False: 17.4k]
  ------------------
 1029|  10.0k|			case cmDIV:
  ------------------
  |  Branch (1029:4): [True: 718, False: 17.7k]
  ------------------
 1030|  14.1k|			case cmPOW:
  ------------------
  |  Branch (1030:4): [True: 4.09k, False: 14.3k]
  ------------------
 1031|  14.8k|			case cmLAND:
  ------------------
  |  Branch (1031:4): [True: 753, False: 17.7k]
  ------------------
 1032|  16.3k|			case cmLOR:
  ------------------
  |  Branch (1032:4): [True: 1.42k, False: 17.0k]
  ------------------
 1033|  16.3k|			case cmASSIGN:
  ------------------
  |  Branch (1033:4): [True: 0, False: 18.4k]
  ------------------
 1034|  16.3k|				if (stOpt.top().GetCode() == cmOPRT_INFIX)
  ------------------
  |  Branch (1034:9): [True: 3.63k, False: 12.6k]
  ------------------
 1035|  3.63k|					ApplyFunc(stOpt, stVal, 1);
 1036|  12.6k|				else
 1037|  12.6k|					ApplyBinOprt(stOpt, stVal);
 1038|  16.3k|				break;
 1039|       |
 1040|  2.16k|			case cmELSE:
  ------------------
  |  Branch (1040:4): [True: 2.16k, False: 16.3k]
  ------------------
 1041|  2.16k|				ApplyIfElse(stOpt, stVal);
 1042|  2.16k|				break;
 1043|       |
 1044|      0|			default:
  ------------------
  |  Branch (1044:4): [True: 0, False: 18.4k]
  ------------------
 1045|      0|				Error(ecINTERNAL_ERROR);
 1046|  18.4k|			}
 1047|  18.4k|		}
 1048|   421k|	}
_ZNK2mu10ParserBase12ParseCmdCodeEv:
 1059|    876|	{
 1060|    876|		return ParseCmdCodeBulk(0, 0);
 1061|    876|	}
_ZNK2mu10ParserBase17ParseCmdCodeShortEv:
 1064|    752|	{
 1065|    752|		const SToken *const tok = m_vRPN.GetBase();
 1066|    752|		value_type buf;
 1067|       |
 1068|    752|		switch (tok->Cmd)
 1069|    752|		{
 1070|    749|		case cmVAL:		
  ------------------
  |  Branch (1070:3): [True: 749, False: 3]
  ------------------
 1071|    749|			return tok->Val.data2;
 1072|       |
 1073|      0|		case cmVAR:		
  ------------------
  |  Branch (1073:3): [True: 0, False: 752]
  ------------------
 1074|      0|			return *tok->Val.ptr;
 1075|       |
 1076|      0|		case cmVARMUL:	
  ------------------
  |  Branch (1076:3): [True: 0, False: 752]
  ------------------
 1077|      0|			return *tok->Val.ptr * tok->Val.data + tok->Val.data2;
 1078|       |
 1079|      0|		case cmVARPOW2: 
  ------------------
  |  Branch (1079:3): [True: 0, False: 752]
  ------------------
 1080|      0|			buf = *(tok->Val.ptr);
 1081|      0|			return buf * buf;
 1082|       |
 1083|      0|		case  cmVARPOW3: 				
  ------------------
  |  Branch (1083:3): [True: 0, False: 752]
  ------------------
 1084|      0|			buf = *(tok->Val.ptr);
 1085|      0|			return buf * buf * buf;
 1086|       |
 1087|      0|		case  cmVARPOW4: 				
  ------------------
  |  Branch (1087:3): [True: 0, False: 752]
  ------------------
 1088|      0|			buf = *(tok->Val.ptr);
 1089|      0|			return buf * buf * buf * buf;
 1090|       |
 1091|       |		// numerical function without any argument
 1092|      3|		case cmFUNC:
  ------------------
  |  Branch (1092:3): [True: 3, False: 749]
  ------------------
 1093|      3|			return tok->Fun.cb.call_fun<0>();
 1094|       |
 1095|       |		// String function without a numerical argument
 1096|      0|		case cmFUNC_STR:
  ------------------
  |  Branch (1096:3): [True: 0, False: 752]
  ------------------
 1097|      0|			return tok->Fun.cb.call_strfun<1>(m_vStringBuf[0].c_str());
 1098|       |
 1099|      0|		default:
  ------------------
  |  Branch (1099:3): [True: 0, False: 752]
  ------------------
 1100|      0|			throw ParserError(ecINTERNAL_ERROR);
 1101|    752|		}
 1102|    752|	}
_ZNK2mu10ParserBase16ParseCmdCodeBulkEii:
 1110|    876|	{
 1111|    876|		assert(nThreadID <= s_MaxNumOpenMPThreads);
 1112|       |
 1113|       |		// Note: The check for nOffset==0 and nThreadID here is not necessary but 
 1114|       |		//       brings a minor performance gain when not in bulk mode.
 1115|    876|		value_type *stack = ((nOffset == 0) && (nThreadID == 0)) ? &m_vStackBuffer[0] : &m_vStackBuffer[nThreadID * (m_vStackBuffer.size() / s_MaxNumOpenMPThreads)];
  ------------------
  |  Branch (1115:24): [True: 876, False: 0]
  |  Branch (1115:42): [True: 876, False: 0]
  ------------------
 1116|    876|		value_type buf;
 1117|    876|		int sidx(0);
 1118|   299k|		for (const SToken* pTok = m_vRPN.GetBase(); pTok->Cmd != cmEND; ++pTok)
  ------------------
  |  Branch (1118:47): [True: 299k, False: 876]
  ------------------
 1119|   299k|		{
 1120|   299k|			switch (pTok->Cmd)
 1121|   299k|			{
 1122|       |			// built in binary operators
 1123|    195|			case  cmLE:   --sidx; stack[sidx] = stack[sidx] <= stack[sidx + 1]; continue;
  ------------------
  |  Branch (1123:4): [True: 195, False: 298k]
  ------------------
 1124|    197|			case  cmGE:   --sidx; stack[sidx] = stack[sidx] >= stack[sidx + 1]; continue;
  ------------------
  |  Branch (1124:4): [True: 197, False: 298k]
  ------------------
 1125|    201|			case  cmNEQ:  --sidx; stack[sidx] = stack[sidx] != stack[sidx + 1]; continue;
  ------------------
  |  Branch (1125:4): [True: 201, False: 298k]
  ------------------
 1126|    282|			case  cmEQ:   --sidx; stack[sidx] = stack[sidx] == stack[sidx + 1]; continue;
  ------------------
  |  Branch (1126:4): [True: 282, False: 298k]
  ------------------
 1127|    332|			case  cmLT:   --sidx; stack[sidx] = stack[sidx] < stack[sidx + 1];  continue;
  ------------------
  |  Branch (1127:4): [True: 332, False: 298k]
  ------------------
 1128|    441|			case  cmGT:   --sidx; stack[sidx] = stack[sidx] > stack[sidx + 1];  continue;
  ------------------
  |  Branch (1128:4): [True: 441, False: 298k]
  ------------------
 1129|    325|			case  cmADD:  --sidx; stack[sidx] += stack[1 + sidx]; continue;
  ------------------
  |  Branch (1129:4): [True: 325, False: 298k]
  ------------------
 1130|    548|			case  cmSUB:  --sidx; stack[sidx] -= stack[1 + sidx]; continue;
  ------------------
  |  Branch (1130:4): [True: 548, False: 298k]
  ------------------
 1131|  1.11k|			case  cmMUL:  --sidx; stack[sidx] *= stack[1 + sidx]; continue;
  ------------------
  |  Branch (1131:4): [True: 1.11k, False: 297k]
  ------------------
 1132|    351|			case  cmDIV:  --sidx;
  ------------------
  |  Branch (1132:4): [True: 351, False: 298k]
  ------------------
 1133|    351|				stack[sidx] /= stack[1 + sidx];
 1134|    351|				continue;
 1135|       |
 1136|  21.4k|			case  cmPOW:
  ------------------
  |  Branch (1136:4): [True: 21.4k, False: 277k]
  ------------------
 1137|  21.4k|				--sidx; stack[sidx] = MathImpl<value_type>::Pow(stack[sidx], stack[1 + sidx]);
 1138|  21.4k|				continue;
 1139|       |
 1140|    390|			case  cmLAND: --sidx; stack[sidx] = stack[sidx] && stack[sidx + 1]; continue;
  ------------------
  |  Branch (1140:4): [True: 390, False: 298k]
  |  Branch (1140:40): [True: 196, False: 194]
  |  Branch (1140:55): [True: 196, False: 0]
  ------------------
 1141|    892|			case  cmLOR:  --sidx; stack[sidx] = stack[sidx] || stack[sidx + 1]; continue;
  ------------------
  |  Branch (1141:4): [True: 892, False: 298k]
  |  Branch (1141:40): [True: 365, False: 527]
  |  Branch (1141:55): [True: 224, False: 303]
  ------------------
 1142|       |
 1143|      0|			case  cmASSIGN:
  ------------------
  |  Branch (1143:4): [True: 0, False: 299k]
  ------------------
 1144|       |				// Bugfix for Bulkmode:
 1145|       |				// for details see:
 1146|       |				//    https://groups.google.com/forum/embed/?place=forum/muparser-dev&showsearch=true&showpopout=true&showtabs=false&parenturl=http://muparser.beltoforion.de/mup_forum.html&afterlogin&pli=1#!topic/muparser-dev/szgatgoHTws
 1147|      0|				--sidx; 
 1148|      0|				stack[sidx] = *(pTok->Oprt.ptr + nOffset) = stack[sidx + 1]; 
 1149|      0|				continue;
 1150|       |				// original code:
 1151|       |				//--sidx; Stack[sidx] = *pTok->Oprt.ptr = Stack[sidx+1]; continue;
 1152|       |
 1153|  3.03k|			case  cmIF:
  ------------------
  |  Branch (1153:4): [True: 3.03k, False: 296k]
  ------------------
 1154|  3.03k|				if (stack[sidx--] == 0)
  ------------------
  |  Branch (1154:9): [True: 2.49k, False: 542]
  ------------------
 1155|  2.49k|				{
 1156|  2.49k|					MUP_ASSERT(sidx >= 0);
  ------------------
  |  |   78|  2.49k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 2.49k]
  |  |  ------------------
  |  |   79|  2.49k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
 1157|  2.49k|					pTok += pTok->Oprt.offset;
 1158|  2.49k|				}
 1159|  3.03k|				continue;
 1160|       |
 1161|  3.03k|			case  cmELSE:
  ------------------
  |  Branch (1161:4): [True: 542, False: 298k]
  ------------------
 1162|    542|				pTok += pTok->Oprt.offset;
 1163|    542|				continue;
 1164|       |
 1165|  2.49k|			case  cmENDIF:
  ------------------
  |  Branch (1165:4): [True: 2.49k, False: 296k]
  ------------------
 1166|  2.49k|				continue;
 1167|       |
 1168|       |				// value and variable tokens
 1169|      0|			case  cmVAR:    stack[++sidx] = *(pTok->Val.ptr + nOffset);  continue;
  ------------------
  |  Branch (1169:4): [True: 0, False: 299k]
  ------------------
 1170|   261k|			case  cmVAL:    stack[++sidx] = pTok->Val.data2;  continue;
  ------------------
  |  Branch (1170:4): [True: 261k, False: 37.8k]
  ------------------
 1171|       |
 1172|      0|			case  cmVARPOW2: buf = *(pTok->Val.ptr + nOffset);
  ------------------
  |  Branch (1172:4): [True: 0, False: 299k]
  ------------------
 1173|      0|				stack[++sidx] = buf * buf;
 1174|      0|				continue;
 1175|       |
 1176|      0|			case  cmVARPOW3: buf = *(pTok->Val.ptr + nOffset);
  ------------------
  |  Branch (1176:4): [True: 0, False: 299k]
  ------------------
 1177|      0|				stack[++sidx] = buf * buf * buf;
 1178|      0|				continue;
 1179|       |
 1180|      0|			case  cmVARPOW4: buf = *(pTok->Val.ptr + nOffset);
  ------------------
  |  Branch (1180:4): [True: 0, False: 299k]
  ------------------
 1181|      0|				stack[++sidx] = buf * buf * buf * buf;
 1182|      0|				continue;
 1183|       |
 1184|      0|			case  cmVARMUL:  
  ------------------
  |  Branch (1184:4): [True: 0, False: 299k]
  ------------------
 1185|      0|				stack[++sidx] = *(pTok->Val.ptr + nOffset) * pTok->Val.data + pTok->Val.data2;
 1186|      0|				continue;
 1187|       |
 1188|       |				// Next is treatment of numeric functions
 1189|  5.08k|			case  cmFUNC:
  ------------------
  |  Branch (1189:4): [True: 5.08k, False: 294k]
  ------------------
 1190|  5.08k|			{
 1191|  5.08k|				int iArgCount = pTok->Fun.argc;
 1192|       |
 1193|       |				// switch according to argument count
 1194|  5.08k|				switch (iArgCount)
 1195|  5.08k|				{
 1196|    757|				case 0: sidx += 1; stack[sidx] = pTok->Fun.cb.call_fun<0 >(); continue;
  ------------------
  |  Branch (1196:5): [True: 757, False: 4.33k]
  ------------------
 1197|    534|				case 1:            stack[sidx] = pTok->Fun.cb.call_fun<1 >(stack[sidx]);   continue;
  ------------------
  |  Branch (1197:5): [True: 534, False: 4.55k]
  ------------------
 1198|    195|				case 2: sidx -= 1; stack[sidx] = pTok->Fun.cb.call_fun<2 >(stack[sidx], stack[sidx + 1]); continue;
  ------------------
  |  Branch (1198:5): [True: 195, False: 4.89k]
  ------------------
 1199|      0|				case 3: sidx -= 2; stack[sidx] = pTok->Fun.cb.call_fun<3 >(stack[sidx], stack[sidx + 1], stack[sidx + 2]); continue;
  ------------------
  |  Branch (1199:5): [True: 0, False: 5.08k]
  ------------------
 1200|      0|				case 4: sidx -= 3; stack[sidx] = pTok->Fun.cb.call_fun<4 >(stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3]); continue;
  ------------------
  |  Branch (1200:5): [True: 0, False: 5.08k]
  ------------------
 1201|      0|				case 5: sidx -= 4; stack[sidx] = pTok->Fun.cb.call_fun<5 >(stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4]); continue;
  ------------------
  |  Branch (1201:5): [True: 0, False: 5.08k]
  ------------------
 1202|      0|				case 6: sidx -= 5; stack[sidx] = pTok->Fun.cb.call_fun<6 >(stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5]); continue;
  ------------------
  |  Branch (1202:5): [True: 0, False: 5.08k]
  ------------------
 1203|      0|				case 7: sidx -= 6; stack[sidx] = pTok->Fun.cb.call_fun<7 >(stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5], stack[sidx + 6]); continue;
  ------------------
  |  Branch (1203:5): [True: 0, False: 5.08k]
  ------------------
 1204|      0|				case 8: sidx -= 7; stack[sidx] = pTok->Fun.cb.call_fun<8 >(stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5], stack[sidx + 6], stack[sidx + 7]); continue;
  ------------------
  |  Branch (1204:5): [True: 0, False: 5.08k]
  ------------------
 1205|      0|				case 9: sidx -= 8; stack[sidx] = pTok->Fun.cb.call_fun<9 >(stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5], stack[sidx + 6], stack[sidx + 7], stack[sidx + 8]); continue;
  ------------------
  |  Branch (1205:5): [True: 0, False: 5.08k]
  ------------------
 1206|      0|				case 10:sidx -= 9; stack[sidx] = pTok->Fun.cb.call_fun<10>(stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5], stack[sidx + 6], stack[sidx + 7], stack[sidx + 8], stack[sidx + 9]); continue;
  ------------------
  |  Branch (1206:5): [True: 0, False: 5.08k]
  ------------------
 1207|  3.60k|				default:
  ------------------
  |  Branch (1207:5): [True: 3.60k, False: 1.48k]
  ------------------
 1208|       |					// function with variable arguments store the number as a negative value
 1209|  3.60k|					if (iArgCount > 0)
  ------------------
  |  Branch (1209:10): [True: 0, False: 3.60k]
  ------------------
 1210|      0|						Error(ecINTERNAL_ERROR, -1);
 1211|       |
 1212|  3.60k|					sidx -= -iArgCount - 1;
 1213|       |
 1214|       |					// <ibg 2020-06-08> From oss-fuzz. Happend when Multiarg functions and if-then-else are used incorrectly.
 1215|       |					// Expressions where this was observed:
 1216|       |					//		sum(0?1,2,3,4,5:6)			-> fixed
 1217|       |					//		avg(0>3?4:(""),0^3?4:(""))
 1218|       |					//
 1219|       |					// The final result normally lieas at position 1. If sixd is smaller there is something wrong.
 1220|  3.60k|					if (sidx <= 0)
  ------------------
  |  Branch (1220:10): [True: 0, False: 3.60k]
  ------------------
 1221|      0|						Error(ecINTERNAL_ERROR, -1);
 1222|       |					// </ibg>
 1223|       |
 1224|  3.60k|					stack[sidx] = pTok->Fun.cb.call_multfun(&stack[sidx], -iArgCount);
 1225|  3.60k|					continue;
 1226|  5.08k|				}
 1227|  5.08k|			}
 1228|       |
 1229|       |			// Next is treatment of string functions
 1230|      0|			case  cmFUNC_STR:
  ------------------
  |  Branch (1230:4): [True: 0, False: 299k]
  ------------------
 1231|      0|			{
 1232|      0|				sidx -= pTok->Fun.argc - 1;
 1233|       |
 1234|       |				// The index of the string argument in the string table
 1235|      0|				int iIdxStack = pTok->Fun.idx;
 1236|      0|				if (iIdxStack < 0 || iIdxStack >= (int)m_vStringBuf.size())
  ------------------
  |  Branch (1236:9): [True: 0, False: 0]
  |  Branch (1236:26): [True: 0, False: 0]
  ------------------
 1237|      0|					Error(ecINTERNAL_ERROR, m_pTokenReader->GetPos());
 1238|       |
 1239|      0|				switch (pTok->Fun.argc)  // switch according to argument count
  ------------------
  |  Branch (1239:13): [True: 0, False: 0]
  ------------------
 1240|      0|				{
 1241|      0|				case 0: stack[sidx] = pTok->Fun.cb.call_strfun<1>(m_vStringBuf[iIdxStack].c_str()); continue;
  ------------------
  |  Branch (1241:5): [True: 0, False: 0]
  ------------------
 1242|      0|				case 1: stack[sidx] = pTok->Fun.cb.call_strfun<2>(m_vStringBuf[iIdxStack].c_str(), stack[sidx]); continue;
  ------------------
  |  Branch (1242:5): [True: 0, False: 0]
  ------------------
 1243|      0|				case 2: stack[sidx] = pTok->Fun.cb.call_strfun<3>(m_vStringBuf[iIdxStack].c_str(), stack[sidx], stack[sidx + 1]); continue;
  ------------------
  |  Branch (1243:5): [True: 0, False: 0]
  ------------------
 1244|      0|				case 3: stack[sidx] = pTok->Fun.cb.call_strfun<4>(m_vStringBuf[iIdxStack].c_str(), stack[sidx], stack[sidx + 1], stack[sidx + 2]); continue;
  ------------------
  |  Branch (1244:5): [True: 0, False: 0]
  ------------------
 1245|      0|				case 4: stack[sidx] = pTok->Fun.cb.call_strfun<5>(m_vStringBuf[iIdxStack].c_str(), stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3]); continue;
  ------------------
  |  Branch (1245:5): [True: 0, False: 0]
  ------------------
 1246|      0|				case 5: stack[sidx] = pTok->Fun.cb.call_strfun<6>(m_vStringBuf[iIdxStack].c_str(), stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4]); continue;
  ------------------
  |  Branch (1246:5): [True: 0, False: 0]
  ------------------
 1247|      0|				}
 1248|       |
 1249|      0|				continue;
 1250|      0|			}
 1251|       |
 1252|      0|			case  cmFUNC_BULK:
  ------------------
  |  Branch (1252:4): [True: 0, False: 299k]
  ------------------
 1253|      0|			{
 1254|      0|				int iArgCount = pTok->Fun.argc;
 1255|       |
 1256|       |				// switch according to argument count
 1257|      0|				switch (iArgCount)
 1258|      0|				{
 1259|      0|				case 0: sidx += 1; stack[sidx] = pTok->Fun.cb.call_bulkfun<0 >(nOffset, nThreadID); continue;
  ------------------
  |  Branch (1259:5): [True: 0, False: 0]
  ------------------
 1260|      0|				case 1:            stack[sidx] = pTok->Fun.cb.call_bulkfun<1 >(nOffset, nThreadID, stack[sidx]); continue;
  ------------------
  |  Branch (1260:5): [True: 0, False: 0]
  ------------------
 1261|      0|				case 2: sidx -= 1; stack[sidx] = pTok->Fun.cb.call_bulkfun<2 >(nOffset, nThreadID, stack[sidx], stack[sidx + 1]); continue;
  ------------------
  |  Branch (1261:5): [True: 0, False: 0]
  ------------------
 1262|      0|				case 3: sidx -= 2; stack[sidx] = pTok->Fun.cb.call_bulkfun<3 >(nOffset, nThreadID, stack[sidx], stack[sidx + 1], stack[sidx + 2]); continue;
  ------------------
  |  Branch (1262:5): [True: 0, False: 0]
  ------------------
 1263|      0|				case 4: sidx -= 3; stack[sidx] = pTok->Fun.cb.call_bulkfun<4 >(nOffset, nThreadID, stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3]); continue;
  ------------------
  |  Branch (1263:5): [True: 0, False: 0]
  ------------------
 1264|      0|				case 5: sidx -= 4; stack[sidx] = pTok->Fun.cb.call_bulkfun<5 >(nOffset, nThreadID, stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4]); continue;
  ------------------
  |  Branch (1264:5): [True: 0, False: 0]
  ------------------
 1265|      0|				case 6: sidx -= 5; stack[sidx] = pTok->Fun.cb.call_bulkfun<6 >(nOffset, nThreadID, stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5]); continue;
  ------------------
  |  Branch (1265:5): [True: 0, False: 0]
  ------------------
 1266|      0|				case 7: sidx -= 6; stack[sidx] = pTok->Fun.cb.call_bulkfun<7 >(nOffset, nThreadID, stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5], stack[sidx + 6]); continue;
  ------------------
  |  Branch (1266:5): [True: 0, False: 0]
  ------------------
 1267|      0|				case 8: sidx -= 7; stack[sidx] = pTok->Fun.cb.call_bulkfun<8 >(nOffset, nThreadID, stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5], stack[sidx + 6], stack[sidx + 7]); continue;
  ------------------
  |  Branch (1267:5): [True: 0, False: 0]
  ------------------
 1268|      0|				case 9: sidx -= 8; stack[sidx] = pTok->Fun.cb.call_bulkfun<9 >(nOffset, nThreadID, stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5], stack[sidx + 6], stack[sidx + 7], stack[sidx + 8]); continue;
  ------------------
  |  Branch (1268:5): [True: 0, False: 0]
  ------------------
 1269|      0|				case 10:sidx -= 9; stack[sidx] = pTok->Fun.cb.call_bulkfun<10>(nOffset, nThreadID, stack[sidx], stack[sidx + 1], stack[sidx + 2], stack[sidx + 3], stack[sidx + 4], stack[sidx + 5], stack[sidx + 6], stack[sidx + 7], stack[sidx + 8], stack[sidx + 9]); continue;
  ------------------
  |  Branch (1269:5): [True: 0, False: 0]
  ------------------
 1270|      0|				default:
  ------------------
  |  Branch (1270:5): [True: 0, False: 0]
  ------------------
 1271|      0|					throw exception_type(ecINTERNAL_ERROR, 2, _T(""));
  ------------------
  |  |   69|      0|		#define _T(x) x
  ------------------
 1272|      0|				}
 1273|      0|			}
 1274|       |
 1275|      0|			default:
  ------------------
  |  Branch (1275:4): [True: 0, False: 299k]
  ------------------
 1276|      0|				throw exception_type(ecINTERNAL_ERROR, 3, _T(""));
  ------------------
  |  |   69|      0|		#define _T(x) x
  ------------------
 1277|   299k|			} // switch CmdCode
 1278|   299k|		} // for all bytecode tokens
 1279|       |
 1280|    876|		return stack[m_nFinalResultIdx];
 1281|    876|	}
_ZNK2mu10ParserBase9CreateRPNEv:
 1285|  3.88k|	{
 1286|  3.88k|		if (!m_pTokenReader->GetExpr().length())
  ------------------
  |  Branch (1286:7): [True: 0, False: 3.88k]
  ------------------
 1287|      0|			Error(ecUNEXPECTED_EOF, 0);
 1288|       |
 1289|  3.88k|		std::stack<token_type> stOpt, stVal;
 1290|  3.88k|		std::stack<int> stArgCount;
 1291|  3.88k|		token_type opta, opt;  // for storing operators
 1292|  3.88k|		token_type val, tval;  // for storing value
 1293|  3.88k|		int ifElseCounter = 0;
 1294|       |
 1295|  3.88k|		ReInit();
 1296|       |
 1297|       |		// The outermost counter counts the number of separated items
 1298|       |		// such as in "a=10,b=20,c=c+a"
 1299|  3.88k|		stArgCount.push(1);
 1300|       |
 1301|  3.88k|		for (;;)
 1302|  2.26M|		{
 1303|  2.26M|			opt = m_pTokenReader->ReadNextToken();
 1304|       |
 1305|  2.26M|			switch (opt.GetCode())
 1306|  2.26M|			{
 1307|       |			//
 1308|       |			// Next three are different kind of value entries
 1309|       |			//
 1310|  12.6k|			case cmSTRING:
  ------------------
  |  Branch (1310:4): [True: 12.6k, False: 2.24M]
  ------------------
 1311|  12.6k|				if (stOpt.empty())
  ------------------
  |  Branch (1311:9): [True: 105, False: 12.5k]
  ------------------
 1312|    105|					Error(ecSTR_RESULT, m_pTokenReader->GetPos(), opt.GetAsString());
 1313|       |
 1314|  12.6k|				opt.SetIdx((int)m_vStringBuf.size());      // Assign buffer index to token 
 1315|  12.6k|				stVal.push(opt);
 1316|  12.6k|				m_vStringBuf.push_back(opt.GetAsString()); // Store string in internal buffer
 1317|  12.6k|				break;
 1318|       |
 1319|      0|			case cmVAR:
  ------------------
  |  Branch (1319:4): [True: 0, False: 2.26M]
  ------------------
 1320|      0|				stVal.push(opt);
 1321|      0|				m_vRPN.AddVar(static_cast<value_type*>(opt.GetVar()));
 1322|      0|				break;
 1323|       |
 1324|   569k|			case cmVAL:
  ------------------
  |  Branch (1324:4): [True: 569k, False: 1.69M]
  ------------------
 1325|   569k|				stVal.push(opt);
 1326|   569k|				m_vRPN.AddVal(opt.GetVal());
 1327|   569k|				break;
 1328|       |
 1329|  67.7k|			case cmELSE:
  ------------------
  |  Branch (1329:4): [True: 67.7k, False: 2.19M]
  ------------------
 1330|  67.7k|				if (stArgCount.empty())
  ------------------
  |  Branch (1330:9): [True: 0, False: 67.7k]
  ------------------
 1331|      0|					Error(ecMISPLACED_COLON, m_pTokenReader->GetPos());
 1332|       |
 1333|  67.7k|				if (stArgCount.top() > 1)
  ------------------
  |  Branch (1333:9): [True: 16, False: 67.6k]
  ------------------
 1334|     16|					Error(ecUNEXPECTED_ARG_SEP, m_pTokenReader->GetPos());
 1335|       |
 1336|  67.7k|				stArgCount.pop();
 1337|       |
 1338|  67.7k|				ifElseCounter--;
 1339|  67.7k|				if (ifElseCounter < 0)
  ------------------
  |  Branch (1339:9): [True: 19, False: 67.6k]
  ------------------
 1340|     19|					Error(ecMISPLACED_COLON, m_pTokenReader->GetPos());
 1341|       |
 1342|  67.7k|				ApplyRemainingOprt(stOpt, stVal);
 1343|  67.7k|				m_vRPN.AddIfElse(cmELSE);
 1344|  67.7k|				stOpt.push(opt);
 1345|  67.7k|				break;
 1346|       |
 1347|   298k|			case cmARG_SEP:
  ------------------
  |  Branch (1347:4): [True: 298k, False: 1.96M]
  ------------------
 1348|   298k|				if (!stOpt.empty() && stOpt.top().GetCode() == cmIF)
  ------------------
  |  Branch (1348:9): [True: 261k, False: 37.5k]
  |  Branch (1348:27): [True: 7, False: 261k]
  ------------------
 1349|      7|					Error(ecUNEXPECTED_ARG_SEP, m_pTokenReader->GetPos());
 1350|       |
 1351|   298k|				if (stArgCount.empty())
  ------------------
  |  Branch (1351:9): [True: 0, False: 298k]
  ------------------
 1352|      0|					Error(ecUNEXPECTED_ARG_SEP, m_pTokenReader->GetPos());
 1353|       |
 1354|   298k|				++stArgCount.top();
 1355|       |				// Falls through.
 1356|       |				// intentional (no break!)
 1357|       |
 1358|   300k|			case cmEND:
  ------------------
  |  Branch (1358:4): [True: 1.94k, False: 2.25M]
  ------------------
 1359|   300k|				ApplyRemainingOprt(stOpt, stVal);
 1360|   300k|				break;
 1361|       |
 1362|  52.5k|			case cmBC:
  ------------------
  |  Branch (1362:4): [True: 52.5k, False: 2.20M]
  ------------------
 1363|  52.5k|			{
 1364|       |				// The argument count for parameterless functions is zero
 1365|       |				// by default an opening bracket sets parameter count to 1
 1366|       |				// in preparation of arguments to come. If the last token
 1367|       |				// was an opening bracket we know better...
 1368|  52.5k|				if (opta.GetCode() == cmBO)
  ------------------
  |  Branch (1368:9): [True: 1.33k, False: 51.2k]
  ------------------
 1369|  1.33k|					--stArgCount.top();
 1370|       |
 1371|  52.5k|				ApplyRemainingOprt(stOpt, stVal);
 1372|       |
 1373|       |				// Check if the bracket content has been evaluated completely
 1374|  52.5k|				if (stOpt.size() && stOpt.top().GetCode() == cmBO)
  ------------------
  |  Branch (1374:9): [True: 52.5k, False: 2]
  |  Branch (1374:25): [True: 52.3k, False: 272]
  ------------------
 1375|  52.3k|				{
 1376|       |					// if opt is ")" and opta is "(" the bracket has been evaluated, now its time to check
 1377|       |					// if there is either a function or a sign pending
 1378|       |					// neither the opening nor the closing bracket will be pushed back to
 1379|       |					// the operator stack
 1380|       |					// Check if a function is standing in front of the opening bracket, 
 1381|       |					// if yes evaluate it afterwards check for infix operators
 1382|  52.3k|					MUP_ASSERT(stArgCount.size());
  ------------------
  |  |   78|  52.3k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 52.3k]
  |  |  ------------------
  |  |   79|  52.3k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
 1383|  52.3k|					int iArgCount = stArgCount.top();
 1384|  52.3k|					stArgCount.pop();
 1385|       |
 1386|  52.3k|					stOpt.pop(); // Take opening bracket from stack
 1387|       |
 1388|  52.3k|					if (iArgCount > 1 && (stOpt.size() == 0 ||
  ------------------
  |  Branch (1388:10): [True: 3.49k, False: 48.8k]
  |  Branch (1388:28): [True: 5, False: 3.48k]
  ------------------
 1389|  3.48k|						(stOpt.top().GetCode() != cmFUNC &&
  ------------------
  |  Branch (1389:8): [True: 36, False: 3.45k]
  ------------------
 1390|     36|							stOpt.top().GetCode() != cmFUNC_BULK &&
  ------------------
  |  Branch (1390:8): [True: 36, False: 0]
  ------------------
 1391|     36|							stOpt.top().GetCode() != cmFUNC_STR)))
  ------------------
  |  Branch (1391:8): [True: 36, False: 0]
  ------------------
 1392|     41|						Error(ecUNEXPECTED_ARG, m_pTokenReader->GetPos());
 1393|       |
 1394|       |					// The opening bracket was popped from the stack now check if there
 1395|       |					// was a function before this bracket
 1396|  52.3k|					if (stOpt.size() &&
  ------------------
  |  Branch (1396:10): [True: 51.9k, False: 322]
  |  Branch (1396:10): [True: 11.8k, False: 40.4k]
  ------------------
 1397|  51.9k|						stOpt.top().GetCode() != cmOPRT_INFIX &&
  ------------------
  |  Branch (1397:7): [True: 51.3k, False: 595]
  ------------------
 1398|  51.3k|						stOpt.top().GetCode() != cmOPRT_BIN &&
  ------------------
  |  Branch (1398:7): [True: 51.3k, False: 0]
  ------------------
 1399|  51.3k|						stOpt.top().GetFuncAddr() != 0)
  ------------------
  |  Branch (1399:7): [True: 11.8k, False: 39.5k]
  ------------------
 1400|  11.8k|					{
 1401|  11.8k|						ApplyFunc(stOpt, stVal, iArgCount);
 1402|  11.8k|					}
 1403|  52.3k|				}
 1404|  52.5k|			} // if bracket content is evaluated
 1405|  52.5k|			break;
 1406|       |
 1407|       |			//
 1408|       |			// Next are the binary operator entries
 1409|       |			//
 1410|   153k|			case cmIF:
  ------------------
  |  Branch (1410:4): [True: 153k, False: 2.10M]
  ------------------
 1411|   153k|				ifElseCounter++;
 1412|   153k|				stArgCount.push(1);
 1413|       |				// Falls through.
 1414|       |				// intentional (no break!)
 1415|       |
 1416|   158k|			case cmLAND:
  ------------------
  |  Branch (1416:4): [True: 5.10k, False: 2.25M]
  ------------------
 1417|   161k|			case cmLOR:
  ------------------
  |  Branch (1417:4): [True: 3.05k, False: 2.25M]
  ------------------
 1418|   165k|			case cmLT:
  ------------------
  |  Branch (1418:4): [True: 3.73k, False: 2.25M]
  ------------------
 1419|   168k|			case cmGT:
  ------------------
  |  Branch (1419:4): [True: 3.16k, False: 2.25M]
  ------------------
 1420|   170k|			case cmLE:
  ------------------
  |  Branch (1420:4): [True: 1.26k, False: 2.25M]
  ------------------
 1421|   171k|			case cmGE:
  ------------------
  |  Branch (1421:4): [True: 1.16k, False: 2.26M]
  ------------------
 1422|   173k|			case cmNEQ:
  ------------------
  |  Branch (1422:4): [True: 2.28k, False: 2.25M]
  ------------------
 1423|   175k|			case cmEQ:
  ------------------
  |  Branch (1423:4): [True: 1.67k, False: 2.25M]
  ------------------
 1424|   182k|			case cmADD:
  ------------------
  |  Branch (1424:4): [True: 7.34k, False: 2.25M]
  ------------------
 1425|   186k|			case cmSUB:
  ------------------
  |  Branch (1425:4): [True: 3.59k, False: 2.25M]
  ------------------
 1426|   195k|			case cmMUL:
  ------------------
  |  Branch (1426:4): [True: 9.25k, False: 2.25M]
  ------------------
 1427|   198k|			case cmDIV:
  ------------------
  |  Branch (1427:4): [True: 3.16k, False: 2.25M]
  ------------------
 1428|   239k|			case cmPOW:
  ------------------
  |  Branch (1428:4): [True: 41.0k, False: 2.22M]
  ------------------
 1429|   239k|			case cmASSIGN:
  ------------------
  |  Branch (1429:4): [True: 0, False: 2.26M]
  ------------------
 1430|   239k|			case cmOPRT_BIN:
  ------------------
  |  Branch (1430:4): [True: 0, False: 2.26M]
  ------------------
 1431|       |
 1432|       |				// A binary operator (user defined or built in) has been found. 
 1433|   239k|				while (
 1434|   326k|					stOpt.size() &&
  ------------------
  |  Branch (1434:6): [True: 302k, False: 23.7k]
  ------------------
 1435|   302k|					stOpt.top().GetCode() != cmBO &&
  ------------------
  |  Branch (1435:6): [True: 291k, False: 11.5k]
  ------------------
 1436|   291k|					stOpt.top().GetCode() != cmELSE &&
  ------------------
  |  Branch (1436:6): [True: 224k, False: 66.3k]
  ------------------
 1437|   224k|					stOpt.top().GetCode() != cmIF)
  ------------------
  |  Branch (1437:6): [True: 136k, False: 87.9k]
  ------------------
 1438|   136k|				{
 1439|   136k|					int nPrec1 = GetOprtPrecedence(stOpt.top()),
 1440|   136k|						nPrec2 = GetOprtPrecedence(opt);
 1441|       |
 1442|   136k|					if (stOpt.top().GetCode() == opt.GetCode())
  ------------------
  |  Branch (1442:10): [True: 66.8k, False: 70.0k]
  ------------------
 1443|  66.8k|					{
 1444|       |
 1445|       |						// Deal with operator associativity
 1446|  66.8k|						EOprtAssociativity eOprtAsct = GetOprtAssociativity(opt);
 1447|  66.8k|						if ((eOprtAsct == oaRIGHT && (nPrec1 <= nPrec2)) ||
  ------------------
  |  Branch (1447:12): [True: 39.2k, False: 27.6k]
  |  Branch (1447:36): [True: 39.2k, False: 0]
  ------------------
 1448|  27.6k|							(eOprtAsct == oaLEFT && (nPrec1 < nPrec2)))
  ------------------
  |  Branch (1448:9): [True: 27.6k, False: 0]
  |  Branch (1448:32): [True: 0, False: 27.6k]
  ------------------
 1449|  39.2k|						{
 1450|  39.2k|							break;
 1451|  39.2k|						}
 1452|  66.8k|					}
 1453|  70.0k|					else if (nPrec1 < nPrec2)
  ------------------
  |  Branch (1453:15): [True: 10.7k, False: 59.2k]
  ------------------
 1454|  10.7k|					{
 1455|       |						// In case the operators are not equal the precedence decides alone...
 1456|  10.7k|						break;
 1457|  10.7k|					}
 1458|       |
 1459|  86.8k|					if (stOpt.top().GetCode() == cmOPRT_INFIX)
  ------------------
  |  Branch (1459:10): [True: 28.4k, False: 58.4k]
  ------------------
 1460|  28.4k|						ApplyFunc(stOpt, stVal, 1);
 1461|  58.4k|					else
 1462|  58.4k|						ApplyBinOprt(stOpt, stVal);
 1463|  86.8k|				} // while ( ... )
 1464|       |
 1465|   239k|				if (opt.GetCode() == cmIF)
  ------------------
  |  Branch (1465:9): [True: 153k, False: 85.8k]
  ------------------
 1466|   153k|					m_vRPN.AddIfElse(opt.GetCode());
 1467|       |
 1468|       |				// The operator can't be evaluated right now, push back to the operator stack
 1469|   239k|				stOpt.push(opt);
 1470|   239k|				break;
 1471|       |
 1472|       |				//
 1473|       |				// Last section contains functions and operators implicitly mapped to functions
 1474|       |				//
 1475|   969k|			case cmBO:
  ------------------
  |  Branch (1475:4): [True: 969k, False: 1.29M]
  ------------------
 1476|   969k|				stArgCount.push(1);
 1477|   969k|				stOpt.push(opt);
 1478|   969k|				break;
 1479|       |
 1480|  34.3k|			case cmOPRT_INFIX:
  ------------------
  |  Branch (1480:4): [True: 34.3k, False: 2.22M]
  ------------------
 1481|  47.4k|			case cmFUNC:
  ------------------
  |  Branch (1481:4): [True: 13.1k, False: 2.24M]
  ------------------
 1482|  47.4k|			case cmFUNC_BULK:
  ------------------
  |  Branch (1482:4): [True: 0, False: 2.26M]
  ------------------
 1483|  47.4k|			case cmFUNC_STR:
  ------------------
  |  Branch (1483:4): [True: 0, False: 2.26M]
  ------------------
 1484|  47.4k|				stOpt.push(opt);
 1485|  47.4k|				break;
 1486|       |
 1487|      0|			case cmOPRT_POSTFIX:
  ------------------
  |  Branch (1487:4): [True: 0, False: 2.26M]
  ------------------
 1488|      0|				stOpt.push(opt);
 1489|      0|				ApplyFunc(stOpt, stVal, 1);  // this is the postfix operator
 1490|      0|				break;
 1491|       |
 1492|      0|			default:  Error(ecINTERNAL_ERROR, 3);
  ------------------
  |  Branch (1492:4): [True: 0, False: 2.26M]
  ------------------
 1493|  2.26M|			} // end of switch operator-token
 1494|       |
 1495|  2.25M|			opta = opt;
 1496|       |
 1497|  2.25M|			if (opt.GetCode() == cmEND)
  ------------------
  |  Branch (1497:8): [True: 1.86k, False: 2.25M]
  ------------------
 1498|  1.86k|			{
 1499|  1.86k|				m_vRPN.Finalize();
 1500|  1.86k|				break;
 1501|  1.86k|			}
 1502|       |
 1503|  2.25M|			if (ParserBase::g_DbgDumpStack)
  ------------------
  |  Branch (1503:8): [True: 0, False: 2.25M]
  ------------------
 1504|      0|			{
 1505|      0|				StackDump(stVal, stOpt);
 1506|      0|				m_vRPN.AsciiDump();
 1507|      0|			}
 1508|       |
 1509|       |//			if (ParserBase::g_DbgDumpCmdCode)
 1510|       |				//m_vRPN.AsciiDump();
 1511|  2.25M|		} // while (true)
 1512|       |
 1513|  1.86k|		if (ParserBase::g_DbgDumpCmdCode)
  ------------------
  |  Branch (1513:7): [True: 0, False: 1.86k]
  ------------------
 1514|      0|			m_vRPN.AsciiDump();
 1515|       |
 1516|  1.86k|		if (ifElseCounter > 0)
  ------------------
  |  Branch (1516:7): [True: 210, False: 1.65k]
  ------------------
 1517|    210|			Error(ecMISSING_ELSE_CLAUSE);
 1518|       |
 1519|       |		// get the last value (= final result) from the stack
 1520|  1.86k|		MUP_ASSERT(stArgCount.size() == 1);
  ------------------
  |  |   78|  1.86k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 3, False: 1.86k]
  |  |  ------------------
  |  |   79|  1.86k|            {														\
  |  |   80|      3|              stringstream_type ss;									\
  |  |   81|      3|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      3|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      3|		#define _T(x) x
  |  |  ------------------
  |  |   82|      3|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      3|		#define _T(x) x
  |  |  ------------------
  |  |   83|      3|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      3|		#define _T(x) x
  |  |  ------------------
  |  |   84|      3|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      3|            }
  ------------------
 1521|  1.86k|		m_nFinalResultIdx = stArgCount.top();
 1522|  1.86k|		if (m_nFinalResultIdx == 0)
  ------------------
  |  Branch (1522:7): [True: 0, False: 1.86k]
  ------------------
 1523|      0|			Error(ecINTERNAL_ERROR, 9);
 1524|       |
 1525|  1.86k|		if (stVal.size() == 0)
  ------------------
  |  Branch (1525:7): [True: 20, False: 1.84k]
  ------------------
 1526|     20|			Error(ecEMPTY_EXPRESSION);
 1527|       |
 1528|       |		// 2020-09-17; fix for https://oss-fuzz.com/testcase-detail/5758791700971520
 1529|       |		// I don't need the value stack any more. Destructively check if all values in the value 
 1530|       |		// stack represent floating point values
 1531|  41.6k|		while (stVal.size())
  ------------------
  |  Branch (1531:10): [True: 39.8k, False: 1.86k]
  ------------------
 1532|  39.8k|		{
 1533|  39.8k|			if (stVal.top().GetType() != tpDBL)
  ------------------
  |  Branch (1533:8): [True: 3, False: 39.8k]
  ------------------
 1534|      3|				Error(ecSTR_RESULT);
 1535|       |
 1536|  39.8k|			stVal.pop();
 1537|  39.8k|		}
 1538|       |
 1539|  1.86k|		m_vStackBuffer.resize(m_vRPN.GetMaxStackSize() * s_MaxNumOpenMPThreads);
 1540|  1.86k|	}
_ZNK2mu10ParserBase11ParseStringEv:
 1552|  3.88k|	{
 1553|  3.88k|		try
 1554|  3.88k|		{
 1555|  3.88k|			CreateRPN();
 1556|       |
 1557|  3.88k|			if (m_vRPN.GetSize() == 2)
  ------------------
  |  Branch (1557:8): [True: 752, False: 3.13k]
  ------------------
 1558|    752|			{
 1559|    752|				m_vRPN.StoreEnvironment(m_pTokenReader->GetExpr(), m_vStringBuf);
 1560|    752|				m_pParseFormula = &ParserBase::ParseCmdCodeShort;
 1561|    752|				m_vStackBuffer[1] = (this->*m_pParseFormula)();
 1562|    752|				return m_vStackBuffer[1];
 1563|    752|			}
 1564|  3.13k|			else
 1565|  3.13k|			{
 1566|  3.13k|				m_vRPN.StoreEnvironment(m_pTokenReader->GetExpr(), m_vStringBuf);
 1567|  3.13k|				m_pParseFormula = &ParserBase::ParseCmdCode;
 1568|  3.13k|				return (this->*m_pParseFormula)();
 1569|  3.13k|			}
 1570|  3.88k|		}
 1571|  3.88k|		catch (ParserError& exc)
 1572|  3.88k|		{
 1573|  2.25k|			exc.SetFormula(m_pTokenReader->GetExpr());
 1574|  2.25k|			throw;
 1575|  2.25k|		}
 1576|  3.88k|	}
_ZNK2mu10ParserBase5ErrorENS_11EErrorCodesEiRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
 1590|  2.25k|	{
 1591|  2.25k|		throw exception_type(a_iErrc, a_sTok, m_pTokenReader->GetExpr(), a_iPos);
 1592|  2.25k|	}
_ZNK2mu10ParserBase14HasBuiltInOprtEv:
 1726|  4.49M|	{
 1727|  4.49M|		return m_bBuiltInOp;
 1728|  4.49M|	}
_ZNK2mu10ParserBase4EvalEv:
 1843|  3.88k|	{
 1844|  3.88k|		return (this->*m_pParseFormula)();
 1845|  3.88k|	}

_ZN2mu14ParserByteCodeC2Ev:
   52|  3.91k|		: m_iStackPos(0)
   53|  3.91k| 		, m_stringBuffer()
   54|  3.91k|		, m_expr()
   55|  3.91k|		, m_iMaxStackSize(0)
   56|  3.91k|		, m_vRPN()
   57|  3.91k|		, m_bEnableOptimizer(true)
   58|  3.91k|	{
   59|  3.91k|		m_vRPN.reserve(50);
   60|  3.91k|	}
_ZN2mu14ParserByteCode6AddValEd:
  141|   569k|	{
  142|   569k|		++m_iStackPos;
  143|   569k|		m_iMaxStackSize = std::max(m_iMaxStackSize, (size_t)m_iStackPos);
  144|       |
  145|       |		// If optimization does not apply
  146|   569k|		SToken tok;
  147|   569k|		tok.Cmd = cmVAL;
  148|   569k|		tok.Val.ptr = nullptr;
  149|   569k|		tok.Val.data = 0;
  150|   569k|		tok.Val.data2 = a_fVal;
  151|   569k|		m_vRPN.push_back(tok);
  152|   569k|	}
_ZN2mu14ParserByteCode15ConstantFoldingENS_8ECmdCodeE:
  156|  32.6k|	{
  157|  32.6k|		std::size_t sz = m_vRPN.size();
  158|  32.6k|		value_type& x = m_vRPN[sz - 2].Val.data2;
  159|  32.6k|		value_type& y = m_vRPN[sz - 1].Val.data2;
  160|       |
  161|  32.6k|		switch (a_Oprt)
  162|  32.6k|		{
  163|  2.67k|		case cmLAND: x = (int)x && (int)y; m_vRPN.pop_back(); break;
  ------------------
  |  Branch (163:3): [True: 2.67k, False: 29.9k]
  |  Branch (163:20): [True: 1.69k, False: 981]
  |  Branch (163:30): [True: 1.42k, False: 264]
  ------------------
  164|  1.55k|		case cmLOR:  x = (int)x || (int)y; m_vRPN.pop_back(); break;
  ------------------
  |  Branch (164:3): [True: 1.55k, False: 31.0k]
  |  Branch (164:20): [True: 941, False: 618]
  |  Branch (164:30): [True: 369, False: 249]
  ------------------
  165|  2.49k|		case cmLT:   x = x < y;  m_vRPN.pop_back();  break;
  ------------------
  |  Branch (165:3): [True: 2.49k, False: 30.1k]
  ------------------
  166|  1.72k|		case cmGT:   x = x > y;  m_vRPN.pop_back();  break;
  ------------------
  |  Branch (166:3): [True: 1.72k, False: 30.9k]
  ------------------
  167|    745|		case cmLE:   x = x <= y; m_vRPN.pop_back();  break;
  ------------------
  |  Branch (167:3): [True: 745, False: 31.8k]
  ------------------
  168|    835|		case cmGE:   x = x >= y; m_vRPN.pop_back();  break;
  ------------------
  |  Branch (168:3): [True: 835, False: 31.7k]
  ------------------
  169|  1.76k|		case cmNEQ:  x = x != y; m_vRPN.pop_back();  break;
  ------------------
  |  Branch (169:3): [True: 1.76k, False: 30.8k]
  ------------------
  170|  1.02k|		case cmEQ:   x = x == y; m_vRPN.pop_back();  break;
  ------------------
  |  Branch (170:3): [True: 1.02k, False: 31.5k]
  ------------------
  171|  5.55k|		case cmADD:  x = x + y;  m_vRPN.pop_back();  break;
  ------------------
  |  Branch (171:3): [True: 5.55k, False: 27.0k]
  ------------------
  172|  2.53k|		case cmSUB:  x = x - y;  m_vRPN.pop_back();  break;
  ------------------
  |  Branch (172:3): [True: 2.53k, False: 30.0k]
  ------------------
  173|  2.95k|		case cmMUL:  x = x * y;  m_vRPN.pop_back();  break;
  ------------------
  |  Branch (173:3): [True: 2.95k, False: 29.6k]
  ------------------
  174|  2.17k|		case cmDIV:
  ------------------
  |  Branch (174:3): [True: 2.17k, False: 30.4k]
  ------------------
  175|  2.17k|			x = x / y;
  176|  2.17k|			m_vRPN.pop_back();
  177|  2.17k|			break;
  178|       |
  179|  6.58k|		case cmPOW: x = MathImpl<value_type>::Pow(x, y);
  ------------------
  |  Branch (179:3): [True: 6.58k, False: 26.0k]
  ------------------
  180|  6.58k|			m_vRPN.pop_back();
  181|  6.58k|			break;
  182|       |
  183|      0|		default:
  ------------------
  |  Branch (183:3): [True: 0, False: 32.6k]
  ------------------
  184|      0|			break;
  185|  32.6k|		} // switch opcode
  186|  32.6k|	}
_ZN2mu14ParserByteCode5AddOpENS_8ECmdCodeE:
  200|  71.0k|	{
  201|  71.0k|		bool bOptimized = false;
  202|       |
  203|  71.0k|		if (m_bEnableOptimizer)
  ------------------
  |  Branch (203:7): [True: 71.0k, False: 0]
  ------------------
  204|  71.0k|		{
  205|  71.0k|			std::size_t sz = m_vRPN.size();
  206|       |
  207|       |			// Check for foldable constants like:
  208|       |			//   cmVAL cmVAL cmADD 
  209|       |			// where cmADD can stand fopr any binary operator applied to
  210|       |			// two constant values.
  211|  71.0k|			if (sz >= 2 && m_vRPN[sz - 2].Cmd == cmVAL && m_vRPN[sz - 1].Cmd == cmVAL)
  ------------------
  |  Branch (211:8): [True: 71.0k, False: 0]
  |  Branch (211:19): [True: 35.7k, False: 35.3k]
  |  Branch (211:50): [True: 32.6k, False: 3.11k]
  ------------------
  212|  32.6k|			{
  213|  32.6k|				ConstantFolding(a_Oprt);
  214|  32.6k|				bOptimized = true;
  215|  32.6k|			}
  216|  38.4k|			else
  217|  38.4k|			{
  218|  38.4k|				switch (a_Oprt)
  219|  38.4k|				{
  220|  21.6k|				case  cmPOW:
  ------------------
  |  Branch (220:5): [True: 21.6k, False: 16.7k]
  ------------------
  221|       |					// Optimization for polynomials of low order
  222|  21.6k|					if (m_vRPN[sz - 2].Cmd == cmVAR && m_vRPN[sz - 1].Cmd == cmVAL)
  ------------------
  |  Branch (222:10): [True: 0, False: 21.6k]
  |  Branch (222:41): [True: 0, False: 0]
  ------------------
  223|      0|					{
  224|      0|						if (m_vRPN[sz - 1].Val.data2 == 0)
  ------------------
  |  Branch (224:11): [True: 0, False: 0]
  ------------------
  225|      0|						{
  226|      0|							m_vRPN[sz - 2].Cmd = cmVAL;
  227|      0|							m_vRPN[sz - 2].Val.ptr = nullptr;
  228|      0|							m_vRPN[sz - 2].Val.data = 0;
  229|      0|							m_vRPN[sz - 2].Val.data2 = 1;
  230|      0|						}
  231|      0|						else if (m_vRPN[sz - 1].Val.data2 == 1)
  ------------------
  |  Branch (231:16): [True: 0, False: 0]
  ------------------
  232|      0|							m_vRPN[sz - 2].Cmd = cmVAR;
  233|      0|						else if (m_vRPN[sz - 1].Val.data2 == 2)
  ------------------
  |  Branch (233:16): [True: 0, False: 0]
  ------------------
  234|      0|							m_vRPN[sz - 2].Cmd = cmVARPOW2;
  235|      0|						else if (m_vRPN[sz - 1].Val.data2 == 3)
  ------------------
  |  Branch (235:16): [True: 0, False: 0]
  ------------------
  236|      0|							m_vRPN[sz - 2].Cmd = cmVARPOW3;
  237|      0|						else if (m_vRPN[sz - 1].Val.data2 == 4)
  ------------------
  |  Branch (237:16): [True: 0, False: 0]
  ------------------
  238|      0|							m_vRPN[sz - 2].Cmd = cmVARPOW4;
  239|      0|						else
  240|      0|							break;
  241|       |
  242|      0|						m_vRPN.pop_back();
  243|      0|						bOptimized = true;
  244|      0|					}
  245|  21.6k|					break;
  246|       |
  247|  21.6k|				case  cmSUB:
  ------------------
  |  Branch (247:5): [True: 898, False: 37.5k]
  ------------------
  248|  2.08k|				case  cmADD:
  ------------------
  |  Branch (248:5): [True: 1.18k, False: 37.2k]
  ------------------
  249|       |					// Simple optimization based on pattern recognition for a shitload of different
  250|       |					// bytecode combinations of addition/subtraction
  251|  2.08k|					if ((m_vRPN[sz - 1].Cmd == cmVAR && m_vRPN[sz - 2].Cmd == cmVAL) ||
  ------------------
  |  Branch (251:11): [True: 0, False: 2.08k]
  |  Branch (251:42): [True: 0, False: 0]
  ------------------
  252|  2.08k|						(m_vRPN[sz - 1].Cmd == cmVAL && m_vRPN[sz - 2].Cmd == cmVAR) ||
  ------------------
  |  Branch (252:8): [True: 1.09k, False: 993]
  |  Branch (252:39): [True: 0, False: 1.09k]
  ------------------
  253|  2.08k|						(m_vRPN[sz - 1].Cmd == cmVAL && m_vRPN[sz - 2].Cmd == cmVARMUL) ||
  ------------------
  |  Branch (253:8): [True: 1.09k, False: 993]
  |  Branch (253:39): [True: 0, False: 1.09k]
  ------------------
  254|  2.08k|						(m_vRPN[sz - 1].Cmd == cmVARMUL && m_vRPN[sz - 2].Cmd == cmVAL) ||
  ------------------
  |  Branch (254:8): [True: 0, False: 2.08k]
  |  Branch (254:42): [True: 0, False: 0]
  ------------------
  255|  2.08k|						(m_vRPN[sz - 1].Cmd == cmVAR && m_vRPN[sz - 2].Cmd == cmVAR && m_vRPN[sz - 2].Val.ptr == m_vRPN[sz - 1].Val.ptr) ||
  ------------------
  |  Branch (255:8): [True: 0, False: 2.08k]
  |  Branch (255:39): [True: 0, False: 0]
  |  Branch (255:70): [True: 0, False: 0]
  ------------------
  256|  2.08k|						(m_vRPN[sz - 1].Cmd == cmVAR && m_vRPN[sz - 2].Cmd == cmVARMUL && m_vRPN[sz - 2].Val.ptr == m_vRPN[sz - 1].Val.ptr) ||
  ------------------
  |  Branch (256:8): [True: 0, False: 2.08k]
  |  Branch (256:39): [True: 0, False: 0]
  |  Branch (256:73): [True: 0, False: 0]
  ------------------
  257|  2.08k|						(m_vRPN[sz - 1].Cmd == cmVARMUL && m_vRPN[sz - 2].Cmd == cmVAR && m_vRPN[sz - 2].Val.ptr == m_vRPN[sz - 1].Val.ptr) ||
  ------------------
  |  Branch (257:8): [True: 0, False: 2.08k]
  |  Branch (257:42): [True: 0, False: 0]
  |  Branch (257:73): [True: 0, False: 0]
  ------------------
  258|  2.08k|						(m_vRPN[sz - 1].Cmd == cmVARMUL && m_vRPN[sz - 2].Cmd == cmVARMUL && m_vRPN[sz - 2].Val.ptr == m_vRPN[sz - 1].Val.ptr))
  ------------------
  |  Branch (258:8): [True: 0, False: 2.08k]
  |  Branch (258:42): [True: 0, False: 0]
  |  Branch (258:76): [True: 0, False: 0]
  ------------------
  259|      0|					{
  260|      0|						MUP_ASSERT(
  ------------------
  |  |   78|      0|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:19): [True: 0, False: 0]
  |  |  |  Branch (78:19): [True: 0, False: 0]
  |  |  |  Branch (78:19): [True: 0, False: 0]
  |  |  |  Branch (78:19): [True: 0, False: 0]
  |  |  |  Branch (78:19): [True: 0, False: 0]
  |  |  ------------------
  |  |   79|      0|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  261|      0|							(m_vRPN[sz - 2].Val.ptr == nullptr && m_vRPN[sz - 1].Val.ptr != nullptr) ||
  262|      0|							(m_vRPN[sz - 2].Val.ptr != nullptr && m_vRPN[sz - 1].Val.ptr == nullptr) ||
  263|      0|							(m_vRPN[sz - 2].Val.ptr == m_vRPN[sz - 1].Val.ptr));
  264|       |
  265|      0|						m_vRPN[sz - 2].Cmd = cmVARMUL;
  266|      0|						m_vRPN[sz - 2].Val.ptr = (value_type*)((long long)(m_vRPN[sz - 2].Val.ptr) | (long long)(m_vRPN[sz - 1].Val.ptr));    // variable
  267|      0|						m_vRPN[sz - 2].Val.data2 += ((a_Oprt == cmSUB) ? -1 : 1) * m_vRPN[sz - 1].Val.data2;  // offset
  ------------------
  |  Branch (267:36): [True: 0, False: 0]
  ------------------
  268|      0|						m_vRPN[sz - 2].Val.data += ((a_Oprt == cmSUB) ? -1 : 1) * m_vRPN[sz - 1].Val.data;   // multiplicand
  ------------------
  |  Branch (268:35): [True: 0, False: 0]
  ------------------
  269|      0|						m_vRPN.pop_back();
  270|      0|						bOptimized = true;
  271|      0|					}
  272|  2.08k|					break;
  273|       |
  274|  5.75k|				case  cmMUL:
  ------------------
  |  Branch (274:5): [True: 5.75k, False: 32.6k]
  ------------------
  275|  5.75k|					if ((m_vRPN[sz - 1].Cmd == cmVAR && m_vRPN[sz - 2].Cmd == cmVAL) ||
  ------------------
  |  Branch (275:11): [True: 0, False: 5.75k]
  |  Branch (275:42): [True: 0, False: 0]
  ------------------
  276|  5.75k|						(m_vRPN[sz - 1].Cmd == cmVAL && m_vRPN[sz - 2].Cmd == cmVAR))
  ------------------
  |  Branch (276:8): [True: 4.59k, False: 1.16k]
  |  Branch (276:39): [True: 0, False: 4.59k]
  ------------------
  277|      0|					{
  278|      0|						m_vRPN[sz - 2].Cmd = cmVARMUL;
  279|      0|						m_vRPN[sz - 2].Val.ptr = (value_type*)((long long)(m_vRPN[sz - 2].Val.ptr) | (long long)(m_vRPN[sz - 1].Val.ptr));
  280|      0|						m_vRPN[sz - 2].Val.data = m_vRPN[sz - 2].Val.data2 + m_vRPN[sz - 1].Val.data2;
  281|      0|						m_vRPN[sz - 2].Val.data2 = 0;
  282|      0|						m_vRPN.pop_back();
  283|      0|						bOptimized = true;
  284|      0|					}
  285|  5.75k|					else if (
  286|  5.75k|						(m_vRPN[sz - 1].Cmd == cmVAL && m_vRPN[sz - 2].Cmd == cmVARMUL) ||
  ------------------
  |  Branch (286:8): [True: 4.59k, False: 1.16k]
  |  Branch (286:39): [True: 0, False: 4.59k]
  ------------------
  287|  5.75k|						(m_vRPN[sz - 1].Cmd == cmVARMUL && m_vRPN[sz - 2].Cmd == cmVAL))
  ------------------
  |  Branch (287:8): [True: 0, False: 5.75k]
  |  Branch (287:42): [True: 0, False: 0]
  ------------------
  288|      0|					{
  289|       |						// Optimization: 2*(3*b+1) or (3*b+1)*2 -> 6*b+2
  290|      0|						m_vRPN[sz - 2].Cmd = cmVARMUL;
  291|      0|						m_vRPN[sz - 2].Val.ptr = (value_type*)((long long)(m_vRPN[sz - 2].Val.ptr) | (long long)(m_vRPN[sz - 1].Val.ptr));
  292|      0|						if (m_vRPN[sz - 1].Cmd == cmVAL)
  ------------------
  |  Branch (292:11): [True: 0, False: 0]
  ------------------
  293|      0|						{
  294|      0|							m_vRPN[sz - 2].Val.data *= m_vRPN[sz - 1].Val.data2;
  295|      0|							m_vRPN[sz - 2].Val.data2 *= m_vRPN[sz - 1].Val.data2;
  296|      0|						}
  297|      0|						else
  298|      0|						{
  299|      0|							m_vRPN[sz - 2].Val.data = m_vRPN[sz - 1].Val.data * m_vRPN[sz - 2].Val.data2;
  300|      0|							m_vRPN[sz - 2].Val.data2 = m_vRPN[sz - 1].Val.data2 * m_vRPN[sz - 2].Val.data2;
  301|      0|						}
  302|      0|						m_vRPN.pop_back();
  303|      0|						bOptimized = true;
  304|      0|					}
  305|  5.75k|					else if (
  306|  5.75k|						m_vRPN[sz - 1].Cmd == cmVAR && m_vRPN[sz - 2].Cmd == cmVAR &&
  ------------------
  |  Branch (306:7): [True: 0, False: 5.75k]
  |  Branch (306:38): [True: 0, False: 0]
  ------------------
  307|      0|						m_vRPN[sz - 1].Val.ptr == m_vRPN[sz - 2].Val.ptr)
  ------------------
  |  Branch (307:7): [True: 0, False: 0]
  ------------------
  308|      0|					{
  309|       |						// Optimization: a*a -> a^2
  310|      0|						m_vRPN[sz - 2].Cmd = cmVARPOW2;
  311|      0|						m_vRPN.pop_back();
  312|      0|						bOptimized = true;
  313|      0|					}
  314|  5.75k|					break;
  315|       |
  316|    856|				case cmDIV:
  ------------------
  |  Branch (316:5): [True: 856, False: 37.5k]
  ------------------
  317|    856|					if (m_vRPN[sz - 1].Cmd == cmVAL && m_vRPN[sz - 2].Cmd == cmVARMUL && m_vRPN[sz - 1].Val.data2 != 0)
  ------------------
  |  Branch (317:10): [True: 439, False: 417]
  |  Branch (317:41): [True: 0, False: 439]
  |  Branch (317:75): [True: 0, False: 0]
  ------------------
  318|      0|					{
  319|       |						// Optimization: 4*a/2 -> 2*a
  320|      0|						m_vRPN[sz - 2].Val.data /= m_vRPN[sz - 1].Val.data2;
  321|      0|						m_vRPN[sz - 2].Val.data2 /= m_vRPN[sz - 1].Val.data2;
  322|      0|						m_vRPN.pop_back();
  323|      0|						bOptimized = true;
  324|      0|					}
  325|    856|					break;
  326|       |
  327|       |					// no optimization for other opcodes
  328|  8.06k|				default:
  ------------------
  |  Branch (328:5): [True: 8.06k, False: 30.3k]
  ------------------
  329|  8.06k|					break;
  330|  38.4k|				} // switch a_Oprt
  331|  38.4k|			}
  332|  71.0k|		}
  333|       |
  334|       |		// If optimization can't be applied just write the value
  335|  71.0k|		if (!bOptimized)
  ------------------
  |  Branch (335:7): [True: 38.4k, False: 32.6k]
  ------------------
  336|  38.4k|		{
  337|  38.4k|			--m_iStackPos;
  338|  38.4k|			SToken tok;
  339|  38.4k|			tok.Cmd = a_Oprt;
  340|  38.4k|			m_vRPN.push_back(tok);
  341|  38.4k|		}
  342|  71.0k|	}
_ZN2mu14ParserByteCode9AddIfElseENS_8ECmdCodeE:
  346|   262k|	{
  347|   262k|		SToken tok;
  348|   262k|		tok.Cmd = a_Oprt;
  349|   262k|		m_vRPN.push_back(tok);
  350|   262k|	}
_ZN2mu14ParserByteCode6AddFunENS_21generic_callable_typeEib:
  380|  43.8k|	{
  381|  43.8k|		std::size_t sz = m_vRPN.size();
  382|  43.8k|		bool optimize = false;
  383|       |
  384|       |		// only optimize functions with fixed number of more than a single arguments
  385|  43.8k|		if (isFunctionOptimizable && m_bEnableOptimizer && a_iArgc > 0)
  ------------------
  |  Branch (385:7): [True: 42.5k, False: 1.33k]
  |  Branch (385:32): [True: 42.5k, False: 0]
  |  Branch (385:54): [True: 37.9k, False: 4.55k]
  ------------------
  386|  37.9k|		{
  387|       |			// <ibg 2020-06-10/> Unary Plus is a no-op
  388|  37.9k|			if (a_pFun == generic_callable_type{(erased_fun_type)&MathImpl<value_type>::UnaryPlus, nullptr})
  ------------------
  |  Branch (388:8): [True: 10.0k, False: 27.9k]
  ------------------
  389|  10.0k|				return;
  390|       |
  391|  27.9k|			optimize = true;
  392|       |
  393|  36.6k|			for (int i = 0; i < std::abs(a_iArgc); ++i)
  ------------------
  |  Branch (393:20): [True: 28.1k, False: 8.51k]
  ------------------
  394|  28.1k|			{
  395|  28.1k|				if (m_vRPN[sz - i - 1].Cmd != cmVAL)
  ------------------
  |  Branch (395:9): [True: 19.4k, False: 8.74k]
  ------------------
  396|  19.4k|				{
  397|  19.4k|					optimize = false;
  398|  19.4k|					break;
  399|  19.4k|				}
  400|  28.1k|			}
  401|  27.9k|		}
  402|       |
  403|  33.8k|		if (optimize)
  ------------------
  |  Branch (403:7): [True: 8.51k, False: 25.2k]
  ------------------
  404|  8.51k|		{
  405|  8.51k|			value_type val = 0;
  406|  8.51k|			switch (a_iArgc)
  407|  8.51k|			{
  408|  8.31k|			case 1:  val = a_pFun.call_fun<1>(m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (408:4): [True: 8.31k, False: 194]
  ------------------
  409|    194|			case 2:  val = a_pFun.call_fun<2>(m_vRPN[sz - 2].Val.data2, m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (409:4): [True: 194, False: 8.31k]
  ------------------
  410|      0|			case 3:  val = a_pFun.call_fun<3>(m_vRPN[sz - 3].Val.data2, m_vRPN[sz - 2].Val.data2, m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (410:4): [True: 0, False: 8.51k]
  ------------------
  411|      0|			case 4:  val = a_pFun.call_fun<4>(m_vRPN[sz - 4].Val.data2, m_vRPN[sz - 3].Val.data2, m_vRPN[sz - 2].Val.data2, m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (411:4): [True: 0, False: 8.51k]
  ------------------
  412|      0|			case 5:  val = a_pFun.call_fun<5>(m_vRPN[sz - 5].Val.data2, m_vRPN[sz - 4].Val.data2, m_vRPN[sz - 3].Val.data2, m_vRPN[sz - 2].Val.data2, m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (412:4): [True: 0, False: 8.51k]
  ------------------
  413|      0|			case 6:  val = a_pFun.call_fun<6>(m_vRPN[sz - 6].Val.data2, m_vRPN[sz - 5].Val.data2, m_vRPN[sz - 4].Val.data2, m_vRPN[sz - 3].Val.data2, m_vRPN[sz - 2].Val.data2, m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (413:4): [True: 0, False: 8.51k]
  ------------------
  414|      0|			case 7:  val = a_pFun.call_fun<7>(m_vRPN[sz - 7].Val.data2, m_vRPN[sz - 6].Val.data2, m_vRPN[sz - 5].Val.data2, m_vRPN[sz - 4].Val.data2, m_vRPN[sz - 3].Val.data2, m_vRPN[sz - 2].Val.data2, m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (414:4): [True: 0, False: 8.51k]
  ------------------
  415|      0|			case 8:  val = a_pFun.call_fun<8>(m_vRPN[sz - 8].Val.data2, m_vRPN[sz - 7].Val.data2, m_vRPN[sz - 6].Val.data2, m_vRPN[sz - 5].Val.data2, m_vRPN[sz - 4].Val.data2, m_vRPN[sz - 3].Val.data2, m_vRPN[sz - 2].Val.data2, m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (415:4): [True: 0, False: 8.51k]
  ------------------
  416|      0|			case 9:  val = a_pFun.call_fun<9>(m_vRPN[sz - 9].Val.data2, m_vRPN[sz - 8].Val.data2, m_vRPN[sz - 7].Val.data2, m_vRPN[sz - 6].Val.data2, m_vRPN[sz - 5].Val.data2, m_vRPN[sz - 4].Val.data2, m_vRPN[sz - 3].Val.data2, m_vRPN[sz - 2].Val.data2, m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (416:4): [True: 0, False: 8.51k]
  ------------------
  417|      0|			case 10: val = a_pFun.call_fun<10>(m_vRPN[sz - 10].Val.data2, m_vRPN[sz - 9].Val.data2, m_vRPN[sz - 8].Val.data2, m_vRPN[sz - 7].Val.data2, m_vRPN[sz - 6].Val.data2, m_vRPN[sz - 5].Val.data2, m_vRPN[sz - 4].Val.data2, m_vRPN[sz - 3].Val.data2, m_vRPN[sz - 2].Val.data2, m_vRPN[sz - 1].Val.data2); break;
  ------------------
  |  Branch (417:4): [True: 0, False: 8.51k]
  ------------------
  418|      0|			default:
  ------------------
  |  Branch (418:4): [True: 0, False: 8.51k]
  ------------------
  419|       |				// For now functions with unlimited number of arguments are not optimized
  420|      0|				throw ParserError(ecINTERNAL_ERROR);
  421|  8.51k|			}
  422|       |
  423|       |			// remove the folded values
  424|  8.51k|			m_vRPN.erase(m_vRPN.end() - a_iArgc, m_vRPN.end());
  425|       |
  426|  8.51k|			SToken tok;
  427|  8.51k|			tok.Cmd = cmVAL;
  428|  8.51k|			tok.Val.data = 0;
  429|  8.51k|			tok.Val.data2 = val;
  430|  8.51k|			tok.Val.ptr = nullptr;
  431|  8.51k|			m_vRPN.push_back(tok);
  432|  8.51k|		}
  433|  25.2k|		else
  434|  25.2k|		{
  435|  25.2k|			SToken tok;
  436|  25.2k|			tok.Cmd = cmFUNC;
  437|  25.2k|			tok.Fun.argc = a_iArgc;
  438|  25.2k|			tok.Fun.cb = a_pFun;
  439|  25.2k|			m_vRPN.push_back(tok);
  440|  25.2k|		}
  441|       |
  442|  33.8k|		m_iStackPos = m_iStackPos - std::abs(a_iArgc) + 1;
  443|  33.8k|		m_iMaxStackSize = std::max(m_iMaxStackSize, (size_t)m_iStackPos);
  444|       |
  445|  33.8k|	}
_ZN2mu14ParserByteCode8FinalizeEv:
  493|  1.86k|	{
  494|  1.86k|		SToken tok;
  495|  1.86k|		tok.Cmd = cmEND;
  496|  1.86k|		m_vRPN.push_back(tok);
  497|  1.86k|		rpn_type(m_vRPN).swap(m_vRPN);     // shrink bytecode vector to fit
  498|       |
  499|       |		// Determine the if-then-else jump offsets
  500|  1.86k|		std::stack<int> stIf, stElse;
  501|  1.86k|		int idx;
  502|   721k|		for (int i = 0; i < (int)m_vRPN.size(); ++i)
  ------------------
  |  Branch (502:19): [True: 719k, False: 1.86k]
  ------------------
  503|   719k|		{
  504|   719k|			switch (m_vRPN[i].Cmd)
  505|   719k|			{
  506|   136k|			case cmIF:
  ------------------
  |  Branch (506:4): [True: 136k, False: 582k]
  ------------------
  507|   136k|				stIf.push(i);
  508|   136k|				break;
  509|       |
  510|  60.4k|			case cmELSE:
  ------------------
  |  Branch (510:4): [True: 60.4k, False: 658k]
  ------------------
  511|  60.4k|				stElse.push(i);
  512|  60.4k|				idx = stIf.top();
  513|  60.4k|				stIf.pop();
  514|  60.4k|				m_vRPN[idx].Oprt.offset = i - idx;
  515|  60.4k|				break;
  516|       |
  517|  36.6k|			case cmENDIF:
  ------------------
  |  Branch (517:4): [True: 36.6k, False: 682k]
  ------------------
  518|  36.6k|				idx = stElse.top();
  519|  36.6k|				stElse.pop();
  520|  36.6k|				m_vRPN[idx].Oprt.offset = i - idx;
  521|  36.6k|				break;
  522|       |
  523|   485k|			default:
  ------------------
  |  Branch (523:4): [True: 485k, False: 233k]
  ------------------
  524|   485k|				break;
  525|   719k|			}
  526|   719k|		}
  527|  1.86k|	}
_ZNK2mu14ParserByteCode15GetMaxStackSizeEv:
  531|  1.62k|	{
  532|  1.62k|		return m_iMaxStackSize + 1;
  533|  1.62k|	}
_ZN2mu14ParserByteCode5clearEv:
  545|   129k|	{
  546|   129k|		m_vRPN.clear();
  547|   129k|		m_iStackPos = 0;
  548|   129k|		m_iMaxStackSize = 0;
  549|   129k|	}

_ZN2mu14ParserCallbackC2EPFdvEb:
   55|  3.91k|		:m_pFun((void*)a_pFun)
   56|  3.91k|		, m_iArgc(0)
   57|  3.91k|		, m_iPri(-1)
   58|  3.91k|		, m_eOprtAsct(oaNONE)
   59|  3.91k|		, m_iCode(cmFUNC)
   60|  3.91k|		, m_iType(tpDBL)
   61|  3.91k|		, m_bAllowOpti(a_bAllowOpti)
   62|  3.91k|	{}
_ZN2mu14ParserCallbackC2EPFddEbiNS_8ECmdCodeE:
   66|  89.9k|		:m_pFun((void*)a_pFun)
   67|  89.9k|		, m_iArgc(1)
   68|  89.9k|		, m_iPri(a_iPrec)
   69|  89.9k|		, m_eOprtAsct(oaNONE)
   70|  89.9k|		, m_iCode(a_iCode)
   71|  89.9k|		, m_iType(tpDBL)
   72|  89.9k|		, m_bAllowOpti(a_bAllowOpti)
   73|  89.9k|	{}
_ZN2mu14ParserCallbackC2EPFddEb:
   77|  82.1k|		: ParserCallback(a_pFun, a_bAllowOpti, -1, cmFUNC)
   78|  82.1k|	{}
_ZN2mu14ParserCallbackC2EPFdddEb:
   85|  3.91k|		:m_pFun((void*)a_pFun)
   86|  3.91k|		, m_iArgc(2)
   87|  3.91k|		, m_iPri(-1)
   88|  3.91k|		, m_eOprtAsct(oaNONE)
   89|  3.91k|		, m_iCode(cmFUNC)
   90|  3.91k|		, m_iType(tpDBL)
   91|  3.91k|		, m_bAllowOpti(a_bAllowOpti)
   92|  3.91k|	{}
_ZN2mu14ParserCallbackC2EPFdPKdiEb:
  571|  15.6k|		:m_pFun((void*)a_pFun)
  572|  15.6k|		, m_iArgc(CALLBACK_INTERNAL_VAR_ARGS)
  573|  15.6k|		, m_iPri(-1)
  574|  15.6k|		, m_eOprtAsct(oaNONE)
  575|  15.6k|		, m_iCode(cmFUNC)
  576|  15.6k|		, m_iType(tpDBL)
  577|  15.6k|		, m_bAllowOpti(a_bAllowOpti)
  578|  15.6k|	{}
_ZN2mu14ParserCallbackC2Ev:
  726|   445k|		:m_pFun(0)
  727|   445k|		, m_iArgc(0)
  728|   445k|		, m_iPri(-1)
  729|   445k|		, m_eOprtAsct(oaNONE)
  730|   445k|		, m_iCode(cmUNKNOWN)
  731|   445k|		, m_iType(tpVOID)
  732|   445k|		, m_bAllowOpti(0)
  733|   445k|	{}
_ZN2mu14ParserCallbackC2ERKS0_:
  740|   332k|		:ParserCallback()
  741|   332k|	{
  742|   332k|		Assign(ref);
  743|   332k|	}
_ZN2mu14ParserCallbackaSERKS0_:
  746|   113k|	{
  747|   113k|		Assign(ref);
  748|   113k|		return *this;
  749|   113k|	}
_ZN2mu14ParserCallbackD2Ev:
  753|   559k|	{
  754|   559k|		if (m_iArgc & CALLBACK_INTERNAL_WITH_USER_DATA)
  ------------------
  |  Branch (754:7): [True: 0, False: 559k]
  ------------------
  755|      0|			delete reinterpret_cast<CbWithUserData*>(m_pFun);
  756|   559k|	}
_ZN2mu14ParserCallback6AssignERKS0_:
  764|   445k|	{
  765|   445k|		if (this == &ref)
  ------------------
  |  Branch (765:7): [True: 0, False: 445k]
  ------------------
  766|      0|			return;
  767|       |
  768|   445k|		if (m_iArgc & CALLBACK_INTERNAL_WITH_USER_DATA) {
  ------------------
  |  Branch (768:7): [True: 0, False: 445k]
  ------------------
  769|      0|			delete reinterpret_cast<CbWithUserData*>(m_pFun);
  770|      0|			m_pFun = nullptr;
  771|      0|		}
  772|       |
  773|   445k|		if (ref.m_iArgc & CALLBACK_INTERNAL_WITH_USER_DATA)
  ------------------
  |  Branch (773:7): [True: 0, False: 445k]
  ------------------
  774|      0|			m_pFun = new CbWithUserData(*reinterpret_cast<CbWithUserData*>(ref.m_pFun));
  775|   445k|		else
  776|   445k|			m_pFun = ref.m_pFun;
  777|   445k|		m_iArgc = ref.m_iArgc;
  778|   445k|		m_bAllowOpti = ref.m_bAllowOpti;
  779|   445k|		m_iCode = ref.m_iCode;
  780|   445k|		m_iType = ref.m_iType;
  781|   445k|		m_iPri = ref.m_iPri;
  782|   445k|		m_eOprtAsct = ref.m_eOprtAsct;
  783|   445k|	}
_ZNK2mu14ParserCallback5CloneEv:
  788|   284k|	{
  789|   284k|		return new ParserCallback(*this);
  790|   284k|	}
_ZNK2mu14ParserCallback13IsOptimizableEv:
  799|  43.8k|	{
  800|  43.8k|		return m_bAllowOpti;
  801|  43.8k|	}
_ZNK2mu14ParserCallback7GetAddrEv:
  812|   523k|	{
  813|   523k|		if (m_iArgc & CALLBACK_INTERNAL_WITH_USER_DATA)
  ------------------
  |  Branch (813:7): [True: 0, False: 523k]
  ------------------
  814|      0|			return reinterpret_cast<CbWithUserData*>(m_pFun)->pFun;
  815|   523k|		else
  816|   523k|			return m_pFun;
  817|   523k|	}
_ZNK2mu14ParserCallback11GetUserDataEv:
  825|   143k|	{
  826|   143k|		if (m_iArgc & CALLBACK_INTERNAL_WITH_USER_DATA)
  ------------------
  |  Branch (826:7): [True: 0, False: 143k]
  ------------------
  827|      0|			return reinterpret_cast<CbWithUserData*>(m_pFun)->pUserData;
  828|   143k|		else
  829|   143k|			return nullptr;
  830|   143k|	}
_ZNK2mu14ParserCallback7IsValidEv:
  840|   380k|	{
  841|   380k|		return GetAddr() != nullptr
  ------------------
  |  Branch (841:10): [True: 380k, False: 0]
  ------------------
  842|   380k|			&& !((m_iArgc & CALLBACK_INTERNAL_WITH_USER_DATA)
  ------------------
  |  Branch (842:9): [True: 0, False: 380k]
  ------------------
  843|      0|			     && GetUserData() == nullptr);
  ------------------
  |  Branch (843:12): [True: 0, False: 0]
  ------------------
  844|   380k|	}
_ZNK2mu14ParserCallback7GetCodeEv:
  849|   656k|	{
  850|   656k|		return m_iCode;
  851|   656k|	}
_ZNK2mu14ParserCallback7GetTypeEv:
  855|  87.8k|	{
  856|  87.8k|		return m_iType;
  857|  87.8k|	}
_ZNK2mu14ParserCallback6GetPriEv:
  866|  29.5k|	{
  867|  29.5k|		return m_iPri;
  868|  29.5k|	}
_ZNK2mu14ParserCallback7GetArgcEv:
  887|   175k|	{
  888|   175k|		return (m_iArgc & CALLBACK_INTERNAL_VAR_ARGS) ? -1 : (m_iArgc & CALLBACK_INTERNAL_FIXED_ARGS_MASK);
  ------------------
  |  Branch (888:10): [True: 18.2k, False: 157k]
  ------------------
  889|   175k|	}

_ZN2mu14ParserErrorMsg8InstanceEv:
   41|  2.28k|	{
   42|  2.28k|		static const ParserErrorMsg instance;
   43|  2.28k|		return instance;
   44|  2.28k|	}
_ZNK2mu14ParserErrorMsgixEj:
   48|  2.28k|	{
   49|  2.28k|		return (a_iIdx < m_vErrMsg.size()) ? m_vErrMsg[a_iIdx] : string_type();
  ------------------
  |  Branch (49:10): [True: 2.28k, False: 0]
  ------------------
   50|  2.28k|	}
_ZN2mu14ParserErrorMsgC2Ev:
   54|      1|		:m_vErrMsg(0)
   55|      1|	{
   56|      1|		m_vErrMsg.resize(ecCOUNT);
   57|       |
   58|      1|		m_vErrMsg[ecUNASSIGNABLE_TOKEN] = _T("Unexpected token \"$TOK$\" found at position $POS$.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   59|      1|		m_vErrMsg[ecINTERNAL_ERROR] = _T("Internal error");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   60|      1|		m_vErrMsg[ecINVALID_NAME] = _T("Invalid function-, variable- or constant name: \"$TOK$\".");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   61|      1|		m_vErrMsg[ecINVALID_BINOP_IDENT] = _T("Invalid binary operator identifier: \"$TOK$\".");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   62|      1|		m_vErrMsg[ecINVALID_INFIX_IDENT] = _T("Invalid infix operator identifier: \"$TOK$\".");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   63|      1|		m_vErrMsg[ecINVALID_POSTFIX_IDENT] = _T("Invalid postfix operator identifier: \"$TOK$\".");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   64|      1|		m_vErrMsg[ecINVALID_FUN_PTR] = _T("Invalid pointer to callback function.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   65|      1|		m_vErrMsg[ecEMPTY_EXPRESSION] = _T("Expression is empty.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   66|      1|		m_vErrMsg[ecINVALID_VAR_PTR] = _T("Invalid pointer to variable.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   67|      1|		m_vErrMsg[ecUNEXPECTED_OPERATOR] = _T("Unexpected operator \"$TOK$\" found at position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   68|      1|		m_vErrMsg[ecUNEXPECTED_EOF] = _T("Unexpected end of expression at position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   69|      1|		m_vErrMsg[ecUNEXPECTED_ARG_SEP] = _T("Unexpected argument separator at position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   70|      1|		m_vErrMsg[ecUNEXPECTED_PARENS] = _T("Unexpected parenthesis \"$TOK$\" at position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   71|      1|		m_vErrMsg[ecUNEXPECTED_FUN] = _T("Unexpected function \"$TOK$\" at position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   72|      1|		m_vErrMsg[ecUNEXPECTED_VAL] = _T("Unexpected value \"$TOK$\" found at position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   73|      1|		m_vErrMsg[ecUNEXPECTED_VAR] = _T("Unexpected variable \"$TOK$\" found at position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   74|      1|		m_vErrMsg[ecUNEXPECTED_ARG] = _T("Function arguments used without a function (position: $POS$)");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   75|      1|		m_vErrMsg[ecMISSING_PARENS] = _T("Missing parenthesis");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   76|      1|		m_vErrMsg[ecTOO_MANY_PARAMS] = _T("Too many parameters for function \"$TOK$\" at expression position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   77|      1|		m_vErrMsg[ecTOO_FEW_PARAMS] = _T("Too few parameters for function \"$TOK$\" at expression position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   78|      1|		m_vErrMsg[ecDIV_BY_ZERO] = _T("Divide by zero");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   79|      1|		m_vErrMsg[ecDOMAIN_ERROR] = _T("Domain error");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   80|      1|		m_vErrMsg[ecNAME_CONFLICT] = _T("Name conflict");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   81|      1|		m_vErrMsg[ecOPT_PRI] = _T("Invalid value for operator priority (must be greater or equal to zero).");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   82|      1|		m_vErrMsg[ecBUILTIN_OVERLOAD] = _T("user defined binary operator \"$TOK$\" conflicts with a built in operator.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   83|      1|		m_vErrMsg[ecUNEXPECTED_STR] = _T("Unexpected string token found at position $POS$.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   84|      1|		m_vErrMsg[ecUNTERMINATED_STRING] = _T("Unterminated string starting at position $POS$.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   85|      1|		m_vErrMsg[ecSTRING_EXPECTED] = _T("String function called with a non string type of argument.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   86|      1|		m_vErrMsg[ecVAL_EXPECTED] = _T("String value used where a numerical argument is expected.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   87|      1|		m_vErrMsg[ecOPRT_TYPE_CONFLICT] = _T("No suitable overload for operator \"$TOK$\" at position $POS$.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   88|      1|		m_vErrMsg[ecSTR_RESULT] = _T("Strings must only be used as function arguments!");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   89|      1|		m_vErrMsg[ecGENERIC] = _T("Parser error.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   90|      1|		m_vErrMsg[ecLOCALE] = _T("Decimal separator is identic to function argument separator.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   91|      1|		m_vErrMsg[ecUNEXPECTED_CONDITIONAL] = _T("The \"$TOK$\" operator must be preceded by a closing bracket.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   92|      1|		m_vErrMsg[ecMISSING_ELSE_CLAUSE] = _T("If-then-else operator is missing an else clause");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   93|      1|		m_vErrMsg[ecMISPLACED_COLON] = _T("Misplaced colon at position $POS$");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   94|      1|		m_vErrMsg[ecUNREASONABLE_NUMBER_OF_COMPUTATIONS] = _T("Number of computations to small for bulk mode. (Vectorisation overhead too costly)");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   95|      1|		m_vErrMsg[ecIDENTIFIER_TOO_LONG] = _T("Identifier too long.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   96|      1|		m_vErrMsg[ecEXPRESSION_TOO_LONG] = _T("Expression too long.");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   97|      1|		m_vErrMsg[ecINVALID_CHARACTERS_FOUND] = _T("Invalid non printable characters found in expression/identifer!");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   98|      1|		m_vErrMsg[ecBYTECODE_IMPORT_EXPORT_DISABLED] = _T("Bytecode cannot be imported or exported when parser is using a variable factory!");
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
   99|       |
  100|     42|		for (int i = 0; i < ecCOUNT; ++i)
  ------------------
  |  Branch (100:19): [True: 41, False: 1]
  ------------------
  101|     41|		{
  102|     41|			if (!m_vErrMsg[i].length())
  ------------------
  |  Branch (102:8): [True: 0, False: 41]
  ------------------
  103|      0|				throw std::runtime_error("Error definitions are incomplete!");
  104|     41|		}
  105|      1|	}
_ZN2mu11ParserErrorC2ENS_11EErrorCodesE:
  130|      1|		:m_strMsg()
  131|      1|		, m_strFormula()
  132|      1|		, m_strTok()
  133|      1|		, m_iPos(-1)
  134|      1|		, m_iErrc(a_iErrc)
  135|      1|		, m_ErrMsg(ParserErrorMsg::Instance())
  136|      1|	{
  137|      1|		m_strMsg = m_ErrMsg[m_iErrc];
  138|      1|		stringstream_type stream;
  139|      1|		stream << (int)m_iPos;
  140|      1|		ReplaceSubString(m_strMsg, _T("$POS$"), stream.str());
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
  141|      1|		ReplaceSubString(m_strMsg, _T("$TOK$"), m_strTok);
  ------------------
  |  |   69|      1|		#define _T(x) x
  ------------------
  142|      1|	}
_ZN2mu11ParserErrorC2ENS_11EErrorCodesERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEESA_i:
  164|  2.25k|		:m_strMsg()
  165|  2.25k|		, m_strFormula(sExpr)
  166|  2.25k|		, m_strTok(sTok)
  167|  2.25k|		, m_iPos(iPos)
  168|  2.25k|		, m_iErrc(iErrc)
  169|  2.25k|		, m_ErrMsg(ParserErrorMsg::Instance())
  170|  2.25k|	{
  171|  2.25k|		m_strMsg = m_ErrMsg[m_iErrc];
  172|  2.25k|		stringstream_type stream;
  173|  2.25k|		stream << (int)m_iPos;
  174|  2.25k|		ReplaceSubString(m_strMsg, _T("$POS$"), stream.str());
  ------------------
  |  |   69|  2.25k|		#define _T(x) x
  ------------------
  175|  2.25k|		ReplaceSubString(m_strMsg, _T("$TOK$"), m_strTok);
  ------------------
  |  |   69|  2.25k|		#define _T(x) x
  ------------------
  176|  2.25k|	}
_ZN2mu11ParserErrorC2ENS_11EErrorCodesEiRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  185|     25|		:m_strMsg()
  186|     25|		, m_strFormula()
  187|     25|		, m_strTok(sTok)
  188|     25|		, m_iPos(iPos)
  189|     25|		, m_iErrc(iErrc)
  190|     25|		, m_ErrMsg(ParserErrorMsg::Instance())
  191|     25|	{
  192|     25|		m_strMsg = m_ErrMsg[m_iErrc];
  193|     25|		stringstream_type stream;
  194|     25|		stream << (int)m_iPos;
  195|     25|		ReplaceSubString(m_strMsg, _T("$POS$"), stream.str());
  ------------------
  |  |   69|     25|		#define _T(x) x
  ------------------
  196|     25|		ReplaceSubString(m_strMsg, _T("$TOK$"), m_strTok);
  ------------------
  |  |   69|     25|		#define _T(x) x
  ------------------
  197|     25|	}
_ZN2mu11ParserErrorD2Ev:
  248|  2.28k|	{}
_ZN2mu11ParserError16ReplaceSubStringERNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKS7_SA_:
  258|  4.56k|	{
  259|  4.56k|		string_type strResult;
  260|  4.56k|		string_type::size_type iPos(0), iNext(0);
  261|       |
  262|  4.56k|		for (;;)
  263|  7.05k|		{
  264|  7.05k|			iNext = strSource.find(strFind, iPos);
  265|  7.05k|			strResult.append(strSource, iPos, iNext - iPos);
  266|       |
  267|  7.05k|			if (iNext == string_type::npos)
  ------------------
  |  Branch (267:8): [True: 4.56k, False: 2.49k]
  ------------------
  268|  4.56k|				break;
  269|       |
  270|  2.49k|			strResult.append(strReplaceWith);
  271|  2.49k|			iPos = iNext + strFind.length();
  272|  2.49k|		}
  273|       |
  274|  4.56k|		strSource.swap(strResult);
  275|  4.56k|	}
_ZN2mu11ParserError10SetFormulaERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  291|  2.25k|	{
  292|  2.25k|		m_strFormula = a_strFormula;
  293|  2.25k|	}

_ZN2mu17ParserTokenReaderC2EPNS_10ParserBaseE:
  121|  3.91k|		:m_pParser(a_pParent)
  122|  3.91k|		, m_strFormula()
  123|  3.91k|		, m_iPos(0)
  124|  3.91k|		, m_iSynFlags(0)
  125|  3.91k|		, m_bIgnoreUndefVar(false)
  126|  3.91k|		, m_pFunDef(nullptr)
  127|  3.91k|		, m_pPostOprtDef(nullptr)
  128|  3.91k|		, m_pInfixOprtDef(nullptr)
  129|  3.91k|		, m_pOprtDef(nullptr)
  130|  3.91k|		, m_pConstDef(nullptr)
  131|  3.91k|		, m_pStrVarDef(nullptr)
  132|  3.91k|		, m_pVarDef(nullptr)
  133|  3.91k|		, m_pFactory(nullptr)
  134|  3.91k|		, m_pFactoryData(nullptr)
  135|  3.91k|		, m_vIdentFun()
  136|  3.91k|		, m_UsedVar()
  137|  3.91k|		, m_fZero(0)
  138|  3.91k|		, m_bracketStack()
  139|  3.91k|		, m_lastTok()
  140|  3.91k|		, m_cArgSep(',')
  141|  3.91k|	{
  142|  3.91k|		MUP_ASSERT(m_pParser != nullptr);
  ------------------
  |  |   78|  3.91k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 3.91k]
  |  |  ------------------
  |  |   79|  3.91k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  143|  3.91k|		SetParent(m_pParser);
  144|  3.91k|	}
_ZN2mu17ParserTokenReader16SaveBeforeReturnERKNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  164|  2.25M|	{
  165|  2.25M|		m_lastTok = tok;
  166|  2.25M|		return m_lastTok;
  167|  2.25M|	}
_ZN2mu17ParserTokenReader11AddValIdentEPFiPKcPiPdE:
  171|  3.91k|	{
  172|       |		// Use push_front is used to give user defined callbacks a higher priority than
  173|       |		// the built in ones. Otherwise reading hex numbers would not work
  174|       |		// since the "0" in "0xff" would always be read first making parsing of 
  175|       |		// the rest impossible.
  176|       |		// reference:
  177|       |		// http://sourceforge.net/projects/muparser/forums/forum/462843/topic/4824956
  178|  3.91k|		m_vIdentFun.push_front(a_pCallback);
  179|  3.91k|	}
_ZNK2mu17ParserTokenReader6GetPosEv:
  195|    344|	{
  196|    344|		return m_iPos;
  197|    344|	}
_ZNK2mu17ParserTokenReader7GetExprEv:
  206|  10.0k|	{
  207|  10.0k|		return m_strFormula;
  208|  10.0k|	}
_ZN2mu17ParserTokenReader10SetFormulaERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  224|  3.88k|	{
  225|  3.88k|		m_strFormula = a_strFormula;
  226|  3.88k|		ReInit();
  227|  3.88k|	}
_ZN2mu17ParserTokenReader6ReInitEv:
  253|   132k|	{
  254|   132k|		m_iPos = 0;
  255|   132k|		m_iSynFlags = sfSTART_OF_LINE;
  256|   132k|		m_bracketStack = std::stack<int>();
  257|   132k|		m_UsedVar.clear();
  258|   132k|		m_lastTok = token_type();
  259|   132k|	}
_ZN2mu17ParserTokenReader13ReadNextTokenEv:
  264|  2.26M|	{
  265|  2.26M|		MUP_ASSERT(m_pParser != nullptr);
  ------------------
  |  |   78|  2.26M|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 2.26M]
  |  |  ------------------
  |  |   79|  2.26M|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  266|       |
  267|  2.26M|		const char_type* szExpr = m_strFormula.c_str();
  268|  2.26M|		token_type tok;
  269|       |
  270|       |		// Ignore all non printable characters when reading the expression
  271|  2.26M|		while (szExpr[m_iPos] > 0 && szExpr[m_iPos] <= 0x20)
  ------------------
  |  Branch (271:10): [True: 2.26M, False: 2.79k]
  |  Branch (271:32): [True: 4.80k, False: 2.25M]
  ------------------
  272|  4.80k|		{
  273|       |			// 14-31 are control characters. I donÄt want to have to deal with such strings at all!
  274|       |			// (see https://en.cppreference.com/w/cpp/string/byte/isprint)
  275|  4.80k|			if (szExpr[m_iPos] >= 14 && szExpr[m_iPos] <= 31)
  ------------------
  |  Branch (275:8): [True: 2.98k, False: 1.81k]
  |  Branch (275:32): [True: 10, False: 2.97k]
  ------------------
  276|     10|				Error(ecINVALID_CHARACTERS_FOUND, m_iPos);
  277|       |
  278|  4.80k|			++m_iPos;
  279|  4.80k|		}
  280|       |
  281|       |		// Check for end of formula
  282|  2.26M|		if (IsEOF(tok))
  ------------------
  |  Branch (282:7): [True: 1.94k, False: 2.25M]
  ------------------
  283|  1.94k|			return SaveBeforeReturn(tok);
  284|       |
  285|       |		// Check for user defined binary operator
  286|  2.25M|		if (IsOprt(tok))
  ------------------
  |  Branch (286:7): [True: 0, False: 2.25M]
  ------------------
  287|      0|			return SaveBeforeReturn(tok);
  288|       |
  289|       |		// Check for function token
  290|  2.25M|		if (IsFunTok(tok))
  ------------------
  |  Branch (290:7): [True: 13.1k, False: 2.24M]
  ------------------
  291|  13.1k|			return SaveBeforeReturn(tok);
  292|       |
  293|       |		// Check built in operators / tokens
  294|  2.24M|		if (IsBuiltIn(tok))
  ------------------
  |  Branch (294:7): [True: 1.36M, False: 882k]
  ------------------
  295|  1.36M|			return SaveBeforeReturn(tok);
  296|       |
  297|       |		// Check for function argument separators
  298|   882k|		if (IsArgSep(tok))
  ------------------
  |  Branch (298:7): [True: 298k, False: 583k]
  ------------------
  299|   298k|			return SaveBeforeReturn(tok);
  300|       |
  301|       |		// Check for values / constant tokens
  302|   583k|		if (IsValTok(tok))
  ------------------
  |  Branch (302:7): [True: 569k, False: 14.2k]
  ------------------
  303|   569k|			return SaveBeforeReturn(tok);
  304|       |
  305|       |		// Check for variable tokens
  306|  14.2k|		if (IsVarTok(tok))
  ------------------
  |  Branch (306:7): [True: 0, False: 14.2k]
  ------------------
  307|      0|			return SaveBeforeReturn(tok);
  308|       |
  309|       |		// Check for string variables
  310|  14.2k|		if (IsStrVarTok(tok))
  ------------------
  |  Branch (310:7): [True: 0, False: 14.2k]
  ------------------
  311|      0|			return SaveBeforeReturn(tok);
  312|       |
  313|       |		// Check for String tokens
  314|  14.2k|		if (IsString(tok))
  ------------------
  |  Branch (314:7): [True: 12.6k, False: 1.65k]
  ------------------
  315|  12.6k|			return SaveBeforeReturn(tok);
  316|       |
  317|       |		// Check for unary operators
  318|  1.65k|		if (IsInfixOpTok(tok))
  ------------------
  |  Branch (318:7): [True: 0, False: 1.65k]
  ------------------
  319|      0|			return SaveBeforeReturn(tok);
  320|       |
  321|       |		// Check for unary operators
  322|  1.65k|		if (IsPostOpTok(tok))
  ------------------
  |  Branch (322:7): [True: 0, False: 1.65k]
  ------------------
  323|      0|			return SaveBeforeReturn(tok);
  324|       |
  325|       |		// Check String for undefined variable token. Done only if a 
  326|       |		// flag is set indicating to ignore undefined variables.
  327|       |		// This is a way to conditionally avoid an error if 
  328|       |		// undefined variables occur. 
  329|       |		// (The GetUsedVar function must suppress the error for
  330|       |		// undefined variables in order to collect all variable 
  331|       |		// names including the undefined ones.)
  332|  1.65k|		if ((m_bIgnoreUndefVar || m_pFactory) && IsUndefVarTok(tok))
  ------------------
  |  Branch (332:8): [True: 1.06k, False: 582]
  |  Branch (332:29): [True: 0, False: 582]
  |  Branch (332:44): [True: 0, False: 0]
  ------------------
  333|      0|			return SaveBeforeReturn(tok);
  334|       |
  335|       |		// Check for unknown token
  336|       |		// 
  337|       |		// !!! From this point on there is no exit without an exception possible...
  338|       |		// 
  339|  1.65k|		string_type strTok;
  340|  1.65k|		auto iEnd = ExtractToken(m_pParser->ValidNameChars(), strTok, (std::size_t)m_iPos);
  341|  1.65k|		if (iEnd != m_iPos)
  ------------------
  |  Branch (341:7): [True: 390, False: 1.26k]
  ------------------
  342|    390|			Error(ecUNASSIGNABLE_TOKEN, m_iPos, strTok);
  343|       |
  344|  1.65k|		Error(ecUNASSIGNABLE_TOKEN, m_iPos, m_strFormula.substr(m_iPos));
  345|  1.65k|		return token_type(); // never reached
  346|  1.65k|	}
_ZN2mu17ParserTokenReader9SetParentEPNS_10ParserBaseE:
  350|  3.91k|	{
  351|  3.91k|		m_pParser = a_pParent;
  352|  3.91k|		m_pFunDef = &a_pParent->m_FunDef;
  353|  3.91k|		m_pOprtDef = &a_pParent->m_OprtDef;
  354|  3.91k|		m_pInfixOprtDef = &a_pParent->m_InfixOprtDef;
  355|  3.91k|		m_pPostOprtDef = &a_pParent->m_PostOprtDef;
  356|  3.91k|		m_pVarDef = &a_pParent->m_VarDef;
  357|  3.91k|		m_pStrVarDef = &a_pParent->m_StrVarDef;
  358|  3.91k|		m_pConstDef = &a_pParent->m_ConstDef;
  359|  3.91k|	}
_ZNK2mu17ParserTokenReader12ExtractTokenEPKcRNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEm:
  371|  4.84M|	{
  372|  4.84M|		auto iEnd = m_strFormula.find_first_not_of(a_szCharSet, a_iPos);
  373|       |
  374|  4.84M|		if (iEnd == string_type::npos)
  ------------------
  |  Branch (374:7): [True: 0, False: 4.84M]
  ------------------
  375|      0|			iEnd = m_strFormula.length();
  376|       |
  377|       |		// Assign token string if there was something found
  378|  4.84M|		if (a_iPos != iEnd)
  ------------------
  |  Branch (378:7): [True: 1.18M, False: 3.65M]
  ------------------
  379|  1.18M|			a_sTok = string_type(m_strFormula.begin() + a_iPos, m_strFormula.begin() + iEnd);
  380|       |
  381|  4.84M|		return static_cast<int>(iEnd);
  382|  4.84M|	}
_ZNK2mu17ParserTokenReader20ExtractOperatorTokenERNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEm:
  393|  2.25M|	{
  394|       |		// Changed as per Issue 6: https://code.google.com/p/muparser/issues/detail?id=6
  395|  2.25M|		auto iEnd = m_strFormula.find_first_not_of(m_pParser->ValidOprtChars(), a_iPos);
  396|  2.25M|		if (iEnd == string_type::npos)
  ------------------
  |  Branch (396:7): [True: 0, False: 2.25M]
  ------------------
  397|      0|			iEnd = m_strFormula.length();
  398|       |
  399|       |		// Assign token string if there was something found
  400|  2.25M|		if (a_iPos != iEnd)
  ------------------
  |  Branch (400:7): [True: 288k, False: 1.96M]
  ------------------
  401|   288k|		{
  402|   288k|			a_sTok = string_type(m_strFormula.begin() + a_iPos, m_strFormula.begin() + iEnd);
  403|   288k|			return static_cast<int>(iEnd);
  404|   288k|		}
  405|  1.96M|		else
  406|  1.96M|		{
  407|       |			// There is still the chance of having to deal with an operator consisting exclusively
  408|       |			// of alphabetic characters.
  409|  1.96M|			return ExtractToken(_T("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), a_sTok, (std::size_t)a_iPos);
  ------------------
  |  |   69|  1.96M|		#define _T(x) x
  ------------------
  410|  1.96M|		}
  411|  2.25M|	}
_ZN2mu17ParserTokenReader9IsBuiltInERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  419|  2.24M|	{
  420|  2.24M|		const char_type** const pOprtDef = m_pParser->GetOprtDef(),
  421|  2.24M|			* const szFormula = m_strFormula.c_str();
  422|       |
  423|       |		// Compare token with function and operator strings
  424|       |		// check string for operator/function
  425|  37.0M|		for (int i = 0; pOprtDef[i]; i++)
  ------------------
  |  Branch (425:19): [True: 36.1M, False: 881k]
  ------------------
  426|  36.1M|		{
  427|  36.1M|			std::size_t len(std::char_traits<char_type>::length(pOprtDef[i]));
  428|  36.1M|			if (string_type(pOprtDef[i]) == string_type(szFormula + m_iPos, szFormula + m_iPos + len))
  ------------------
  |  Branch (428:8): [True: 1.36M, False: 34.7M]
  ------------------
  429|  1.36M|			{
  430|  1.36M|				switch (i)
  431|  1.36M|				{
  432|  5.10k|				case cmLAND:
  ------------------
  |  Branch (432:5): [True: 5.10k, False: 1.35M]
  ------------------
  433|  8.17k|				case cmLOR:
  ------------------
  |  Branch (433:5): [True: 3.06k, False: 1.36M]
  ------------------
  434|  11.9k|				case cmLT:
  ------------------
  |  Branch (434:5): [True: 3.74k, False: 1.35M]
  ------------------
  435|  15.0k|				case cmGT:
  ------------------
  |  Branch (435:5): [True: 3.18k, False: 1.36M]
  ------------------
  436|  16.3k|				case cmLE:
  ------------------
  |  Branch (436:5): [True: 1.27k, False: 1.36M]
  ------------------
  437|  17.5k|				case cmGE:
  ------------------
  |  Branch (437:5): [True: 1.16k, False: 1.36M]
  ------------------
  438|  19.8k|				case cmNEQ:
  ------------------
  |  Branch (438:5): [True: 2.29k, False: 1.36M]
  ------------------
  439|  21.5k|				case cmEQ:
  ------------------
  |  Branch (439:5): [True: 1.67k, False: 1.36M]
  ------------------
  440|  40.9k|				case cmADD:
  ------------------
  |  Branch (440:5): [True: 19.4k, False: 1.34M]
  ------------------
  441|  66.8k|				case cmSUB:
  ------------------
  |  Branch (441:5): [True: 25.8k, False: 1.33M]
  ------------------
  442|  76.0k|				case cmMUL:
  ------------------
  |  Branch (442:5): [True: 9.26k, False: 1.35M]
  ------------------
  443|  79.2k|				case cmDIV:
  ------------------
  |  Branch (443:5): [True: 3.17k, False: 1.36M]
  ------------------
  444|   120k|				case cmPOW:
  ------------------
  |  Branch (444:5): [True: 41.0k, False: 1.32M]
  ------------------
  445|   120k|				case cmASSIGN:
  ------------------
  |  Branch (445:5): [True: 13, False: 1.36M]
  ------------------
  446|       |					// The assignment operator need special treatment
  447|   120k|					if (i == cmASSIGN && m_iSynFlags & noASSIGN)
  ------------------
  |  Branch (447:10): [True: 13, False: 120k]
  |  Branch (447:27): [True: 11, False: 2]
  ------------------
  448|     11|						Error(ecUNEXPECTED_OPERATOR, m_iPos, pOprtDef[i]);
  449|       |
  450|   120k|					if (!m_pParser->HasBuiltInOprt()) continue;
  ------------------
  |  Branch (450:10): [True: 0, False: 120k]
  ------------------
  451|   120k|					if (m_iSynFlags & noOPT)
  ------------------
  |  Branch (451:10): [True: 34.4k, False: 85.8k]
  ------------------
  452|  34.4k|					{
  453|       |						// Maybe its an infix operator not an operator
  454|       |						// Both operator types can share characters in 
  455|       |						// their identifiers
  456|  34.4k|						if (IsInfixOpTok(a_Tok))
  ------------------
  |  Branch (456:11): [True: 34.3k, False: 138]
  ------------------
  457|  34.3k|							return true;
  458|       |
  459|    138|						Error(ecUNEXPECTED_OPERATOR, m_iPos, pOprtDef[i]);
  460|    138|					}
  461|       |
  462|  85.9k|					m_iSynFlags = noBC | noOPT | noARG_SEP | noPOSTOP | noASSIGN | noIF | noELSE | noEND;
  463|  85.9k|					break;
  464|       |
  465|   969k|				case cmBO:
  ------------------
  |  Branch (465:5): [True: 969k, False: 394k]
  ------------------
  466|   969k|					if (m_iSynFlags & noBO)
  ------------------
  |  Branch (466:10): [True: 15, False: 969k]
  ------------------
  467|     15|						Error(ecUNEXPECTED_PARENS, m_iPos, pOprtDef[i]);
  468|       |
  469|   969k|					if (m_lastTok.GetCode() == cmFUNC)
  ------------------
  |  Branch (469:10): [True: 13.1k, False: 956k]
  ------------------
  470|  13.1k|						m_iSynFlags = noOPT | noEND | noARG_SEP | noPOSTOP | noASSIGN | noIF | noELSE;
  471|   956k|					else
  472|   956k|						m_iSynFlags = noBC | noOPT | noEND | noARG_SEP | noPOSTOP | noASSIGN | noIF | noELSE;
  473|       |
  474|   969k|					m_bracketStack.push(cmBO);
  475|   969k|					break;
  476|       |
  477|  52.6k|				case cmBC:
  ------------------
  |  Branch (477:5): [True: 52.6k, False: 1.31M]
  ------------------
  478|  52.6k|					if (m_iSynFlags & noBC)
  ------------------
  |  Branch (478:10): [True: 7, False: 52.5k]
  ------------------
  479|      7|						Error(ecUNEXPECTED_PARENS, m_iPos, pOprtDef[i]);
  480|       |
  481|  52.6k|					m_iSynFlags = noBO | noVAR | noVAL | noFUN | noINFIXOP | noSTR | noASSIGN;
  482|       |
  483|  52.6k|					if (!m_bracketStack.empty())
  ------------------
  |  Branch (483:10): [True: 52.5k, False: 17]
  ------------------
  484|  52.5k|						m_bracketStack.pop();
  485|     17|					else
  486|     17|						Error(ecUNEXPECTED_PARENS, m_iPos, pOprtDef[i]);
  487|  52.6k|					break;
  488|       |
  489|  67.7k|				case cmELSE:
  ------------------
  |  Branch (489:5): [True: 67.7k, False: 1.29M]
  ------------------
  490|  67.7k|					if (m_iSynFlags & noELSE)
  ------------------
  |  Branch (490:10): [True: 5, False: 67.7k]
  ------------------
  491|      5|						Error(ecUNEXPECTED_CONDITIONAL, m_iPos, pOprtDef[i]);
  492|       |
  493|  67.7k|					m_iSynFlags = noBC | noPOSTOP | noEND | noOPT | noIF | noELSE | noSTR;
  494|  67.7k|					break;
  495|       |
  496|   153k|				case cmIF:
  ------------------
  |  Branch (496:5): [True: 153k, False: 1.20M]
  ------------------
  497|   153k|					if (m_iSynFlags & noIF)
  ------------------
  |  Branch (497:10): [True: 13, False: 153k]
  ------------------
  498|     13|						Error(ecUNEXPECTED_CONDITIONAL, m_iPos, pOprtDef[i]);
  499|       |
  500|   153k|					m_iSynFlags = noBC | noPOSTOP | noEND | noOPT | noIF | noELSE | noSTR;
  501|   153k|					break;
  502|       |
  503|      0|				default:      // The operator is listed in c_DefaultOprt, but not here. This is a bad thing...
  ------------------
  |  Branch (503:5): [True: 0, False: 1.36M]
  ------------------
  504|      0|					Error(ecINTERNAL_ERROR);
  505|  1.36M|				} // switch operator id
  506|       |
  507|  1.32M|				m_iPos += (int)len;
  508|  1.32M|				a_Tok.Set((ECmdCode)i, pOprtDef[i]);
  509|  1.32M|				return true;
  510|  1.36M|			} // if operator string found
  511|  36.1M|		} // end of for all operator strings
  512|       |
  513|   881k|		return false;
  514|  2.24M|	}
_ZN2mu17ParserTokenReader8IsArgSepERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  518|   881k|	{
  519|   881k|		const char_type* szFormula = m_strFormula.c_str();
  520|       |
  521|   881k|		if (szFormula[m_iPos] == m_cArgSep)
  ------------------
  |  Branch (521:7): [True: 298k, False: 582k]
  ------------------
  522|   298k|		{
  523|       |			// copy the separator into null terminated string
  524|   298k|			char_type szSep[2];
  525|   298k|			szSep[0] = m_cArgSep;
  526|   298k|			szSep[1] = 0;
  527|       |
  528|   298k|			if (m_iSynFlags & noARG_SEP)
  ------------------
  |  Branch (528:8): [True: 4, False: 298k]
  ------------------
  529|      4|				Error(ecUNEXPECTED_ARG_SEP, m_iPos, szSep);
  530|       |
  531|   298k|			m_iSynFlags = noBC | noOPT | noEND | noARG_SEP | noPOSTOP | noASSIGN;
  532|   298k|			m_iPos++;
  533|   298k|			a_Tok.Set(cmARG_SEP, szSep);
  534|   298k|			return true;
  535|   298k|		}
  536|       |
  537|   582k|		return false;
  538|   881k|	}
_ZN2mu17ParserTokenReader5IsEOFERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  549|  2.26M|	{
  550|  2.26M|		const char_type* szFormula = m_strFormula.c_str();
  551|       |
  552|       |		// check for EOF
  553|  2.26M|		if (!szFormula[m_iPos] /*|| szFormula[m_iPos] == '\n'*/)
  ------------------
  |  Branch (553:7): [True: 2.69k, False: 2.25M]
  ------------------
  554|  2.69k|		{
  555|  2.69k|			if (m_iSynFlags & noEND)
  ------------------
  |  Branch (555:8): [True: 587, False: 2.10k]
  ------------------
  556|    587|				Error(ecUNEXPECTED_EOF, m_iPos);
  557|       |
  558|  2.69k|			if (!m_bracketStack.empty())
  ------------------
  |  Branch (558:8): [True: 162, False: 2.53k]
  ------------------
  559|    162|				Error(ecMISSING_PARENS, m_iPos, _T(")"));
  ------------------
  |  |   69|    162|		#define _T(x) x
  ------------------
  560|       |
  561|  2.69k|			m_iSynFlags = 0;
  562|  2.69k|			a_Tok.Set(cmEND);
  563|  2.69k|			return true;
  564|  2.69k|		}
  565|       |
  566|  2.25M|		return false;
  567|  2.26M|	}
_ZN2mu17ParserTokenReader12IsInfixOpTokERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  574|  35.0k|	{
  575|  35.0k|		string_type sTok;
  576|  35.0k|		auto iEnd = ExtractToken(m_pParser->ValidInfixOprtChars(), sTok, (std::size_t)m_iPos);
  577|  35.0k|		if (iEnd == m_iPos)
  ------------------
  |  Branch (577:7): [True: 421, False: 34.6k]
  ------------------
  578|    421|			return false;
  579|       |
  580|       |		// iterate over all postfix operator strings
  581|  34.6k|		funmap_type::const_reverse_iterator it = m_pInfixOprtDef->rbegin();
  582|  47.2k|		for (; it != m_pInfixOprtDef->rend(); ++it)
  ------------------
  |  Branch (582:10): [True: 46.9k, False: 257]
  ------------------
  583|  46.9k|		{
  584|  46.9k|			if (sTok.find(it->first) != 0)
  ------------------
  |  Branch (584:8): [True: 12.6k, False: 34.3k]
  ------------------
  585|  12.6k|				continue;
  586|       |
  587|  34.3k|			a_Tok.Set(it->second, it->first);
  588|  34.3k|			m_iPos += (int)it->first.length();
  589|       |
  590|  34.3k|			if (m_iSynFlags & noINFIXOP)
  ------------------
  |  Branch (590:8): [True: 42, False: 34.3k]
  ------------------
  591|     42|				Error(ecUNEXPECTED_OPERATOR, m_iPos, a_Tok.GetAsString());
  592|       |
  593|  34.3k|			m_iSynFlags = noPOSTOP | noINFIXOP | noOPT | noBC | noSTR | noASSIGN | noARG_SEP;
  594|  34.3k|			return true;
  595|  46.9k|		}
  596|       |
  597|    257|		return false;
  598|       |
  599|       |		/*
  600|       |			a_Tok.Set(item->second, sTok);
  601|       |			m_iPos = (int)iEnd;
  602|       |
  603|       |			if (m_iSynFlags & noINFIXOP)
  604|       |			  Error(ecUNEXPECTED_OPERATOR, m_iPos, a_Tok.GetAsString());
  605|       |
  606|       |			m_iSynFlags = noPOSTOP | noINFIXOP | noOPT | noBC | noSTR | noASSIGN;
  607|       |			return true;
  608|       |		*/
  609|  34.6k|	}
_ZN2mu17ParserTokenReader8IsFunTokERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  619|  2.25M|	{
  620|  2.25M|		string_type strTok;
  621|  2.25M|		auto iEnd = ExtractToken(m_pParser->ValidNameChars(), strTok, (std::size_t)m_iPos);
  622|  2.25M|		if (iEnd == m_iPos)
  ------------------
  |  Branch (622:7): [True: 1.67M, False: 582k]
  ------------------
  623|  1.67M|			return false;
  624|       |
  625|   582k|		funmap_type::const_iterator item = m_pFunDef->find(strTok);
  626|   582k|		if (item == m_pFunDef->end())
  ------------------
  |  Branch (626:7): [True: 569k, False: 13.1k]
  ------------------
  627|   569k|			return false;
  628|       |
  629|       |		// Check if the next sign is an opening bracket
  630|  13.1k|		const char_type* szFormula = m_strFormula.c_str();
  631|  13.1k|		if (szFormula[iEnd] != '(')
  ------------------
  |  Branch (631:7): [True: 14, False: 13.1k]
  ------------------
  632|     14|			return false;
  633|       |
  634|  13.1k|		a_Tok.Set(item->second, strTok);
  635|       |
  636|  13.1k|		m_iPos = (int)iEnd;
  637|  13.1k|		if (m_iSynFlags & noFUN)
  ------------------
  |  Branch (637:7): [True: 3, False: 13.1k]
  ------------------
  638|      3|			Error(ecUNEXPECTED_FUN, m_iPos - (int)a_Tok.GetAsString().length(), a_Tok.GetAsString());
  639|       |
  640|  13.1k|		m_iSynFlags = noANY ^ noBO;
  641|  13.1k|		return true;
  642|  13.1k|	}
_ZN2mu17ParserTokenReader6IsOprtERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  650|  2.25M|	{
  651|  2.25M|		const char_type* const szExpr = m_strFormula.c_str();
  652|  2.25M|		string_type strTok;
  653|       |
  654|  2.25M|		auto iEnd = ExtractOperatorToken(strTok, (std::size_t)m_iPos);
  655|  2.25M|		if (iEnd == m_iPos)
  ------------------
  |  Branch (655:7): [True: 1.96M, False: 288k]
  ------------------
  656|  1.96M|			return false;
  657|       |
  658|       |		// Check if the operator is a built in operator, if so ignore it here
  659|   288k|		const char_type** const pOprtDef = m_pParser->GetOprtDef();
  660|  4.37M|		for (int i = 0; m_pParser->HasBuiltInOprt() && pOprtDef[i]; ++i)
  ------------------
  |  Branch (660:19): [True: 4.37M, False: 0]
  |  Branch (660:50): [True: 4.30M, False: 73.4k]
  ------------------
  661|  4.30M|		{
  662|  4.30M|			if (string_type(pOprtDef[i]) == strTok)
  ------------------
  |  Branch (662:8): [True: 215k, False: 4.08M]
  ------------------
  663|   215k|				return false;
  664|  4.30M|		}
  665|       |
  666|       |		// Note:
  667|       |		// All tokens in oprt_bin_maptype are have been sorted by their length
  668|       |		// Long operators must come first! Otherwise short names (like: "add") that
  669|       |		// are part of long token names (like: "add123") will be found instead 
  670|       |		// of the long ones.
  671|       |		// Length sorting is done with ascending length so we use a reverse iterator here.
  672|  73.4k|		funmap_type::const_reverse_iterator it = m_pOprtDef->rbegin();
  673|  73.4k|		for (; it != m_pOprtDef->rend(); ++it)
  ------------------
  |  Branch (673:10): [True: 0, False: 73.4k]
  ------------------
  674|      0|		{
  675|      0|			const string_type& sID = it->first;
  676|      0|			if (sID == string_type(szExpr + m_iPos, szExpr + m_iPos + sID.length()))
  ------------------
  |  Branch (676:8): [True: 0, False: 0]
  ------------------
  677|      0|			{
  678|      0|				a_Tok.Set(it->second, strTok);
  679|       |
  680|       |				// operator was found
  681|      0|				if (m_iSynFlags & noOPT)
  ------------------
  |  Branch (681:9): [True: 0, False: 0]
  ------------------
  682|      0|				{
  683|       |					// An operator was found but is not expected to occur at
  684|       |					// this position of the formula, maybe it is an infix 
  685|       |					// operator, not a binary operator. Both operator types
  686|       |					// can share characters in their identifiers.
  687|      0|					if (IsInfixOpTok(a_Tok))
  ------------------
  |  Branch (687:10): [True: 0, False: 0]
  ------------------
  688|      0|						return true;
  689|      0|					else
  690|      0|					{
  691|       |						// nope, no infix operator
  692|      0|						return false;
  693|       |						//Error(ecUNEXPECTED_OPERATOR, m_iPos, a_Tok.GetAsString()); 
  694|      0|					}
  695|       |
  696|      0|				}
  697|       |
  698|      0|				m_iPos += (int)sID.length();
  699|      0|				m_iSynFlags = noBC | noOPT | noARG_SEP | noPOSTOP | noEND | noASSIGN;
  700|      0|				return true;
  701|      0|			}
  702|      0|		}
  703|       |
  704|  73.4k|		return false;
  705|  73.4k|	}
_ZN2mu17ParserTokenReader11IsPostOpTokERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  710|    582|	{
  711|       |		// <ibg 20110629> Do not check for postfix operators if they are not allowed at
  712|       |		//                the current expression index.
  713|       |		//
  714|       |		//  This will fix the bug reported here:  
  715|       |		//
  716|       |		//  http://sourceforge.net/tracker/index.php?func=detail&aid=3343891&group_id=137191&atid=737979
  717|       |		//
  718|    582|		if (m_iSynFlags & noPOSTOP)
  ------------------
  |  Branch (718:7): [True: 387, False: 195]
  ------------------
  719|    387|			return false;
  720|       |		// </ibg>
  721|       |
  722|       |		// Tricky problem with equations like "3m+5":
  723|       |		//     m is a postfix operator, + is a valid sign for postfix operators and 
  724|       |		//     for binary operators parser detects "m+" as operator string and 
  725|       |		//     finds no matching postfix operator.
  726|       |		// 
  727|       |		// This is a special case so this routine slightly differs from the other
  728|       |		// token readers.
  729|       |
  730|       |		// Test if there could be a postfix operator
  731|    195|		string_type sTok;
  732|    195|		auto iEnd = ExtractToken(m_pParser->ValidOprtChars(), sTok, (std::size_t)m_iPos);
  733|    195|		if (iEnd == m_iPos)
  ------------------
  |  Branch (733:7): [True: 41, False: 154]
  ------------------
  734|     41|			return false;
  735|       |
  736|       |		// iterate over all postfix operator strings
  737|    154|		funmap_type::const_reverse_iterator it = m_pPostOprtDef->rbegin();
  738|    154|		for (; it != m_pPostOprtDef->rend(); ++it)
  ------------------
  |  Branch (738:10): [True: 0, False: 154]
  ------------------
  739|      0|		{
  740|      0|			if (sTok.find(it->first) != 0)
  ------------------
  |  Branch (740:8): [True: 0, False: 0]
  ------------------
  741|      0|				continue;
  742|       |
  743|      0|			a_Tok.Set(it->second, sTok);
  744|      0|			m_iPos += (int)it->first.length();
  745|       |
  746|      0|			m_iSynFlags = noVAL | noVAR | noFUN | noBO | noPOSTOP | noSTR | noASSIGN;
  747|      0|			return true;
  748|      0|		}
  749|       |
  750|    154|		return false;
  751|    154|	}
_ZN2mu17ParserTokenReader8IsValTokERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  762|   582k|	{
  763|   582k|		MUP_ASSERT(m_pConstDef != nullptr);
  ------------------
  |  |   78|   582k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 582k]
  |  |  ------------------
  |  |   79|   582k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  764|   582k|		MUP_ASSERT(m_pParser != nullptr);
  ------------------
  |  |   78|   582k|            if (!(COND))											\
  |  |  ------------------
  |  |  |  Branch (78:17): [True: 0, False: 582k]
  |  |  ------------------
  |  |   79|   582k|            {														\
  |  |   80|      0|              stringstream_type ss;									\
  |  |   81|      0|              ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |                             ss << _T("Assertion \"") _T(#COND) _T("\" failed: ")	\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   82|      0|                 << __FILE__ << _T(" line ")						\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   83|      0|                 << __LINE__ << _T(".");							\
  |  |  ------------------
  |  |  |  |   69|      0|		#define _T(x) x
  |  |  ------------------
  |  |   84|      0|              throw ParserError( ecINTERNAL_ERROR, -1, ss.str());   \
  |  |   85|      0|            }
  ------------------
  765|       |
  766|   582k|		string_type strTok;
  767|   582k|		value_type fVal(0);
  768|       |
  769|       |		// 2.) Check for user defined constant
  770|       |		// Read everything that could be a constant name
  771|   582k|		auto iEnd = ExtractToken(m_pParser->ValidNameChars(), strTok, (std::size_t)m_iPos);
  772|   582k|		if (iEnd != m_iPos)
  ------------------
  |  Branch (772:7): [True: 569k, False: 13.3k]
  ------------------
  773|   569k|		{
  774|   569k|			valmap_type::const_iterator item = m_pConstDef->find(strTok);
  775|   569k|			if (item != m_pConstDef->end())
  ------------------
  |  Branch (775:8): [True: 868, False: 568k]
  ------------------
  776|    868|			{
  777|    868|				m_iPos = iEnd;
  778|    868|				a_Tok.SetVal(item->second, strTok);
  779|       |
  780|    868|				if (m_iSynFlags & noVAL)
  ------------------
  |  Branch (780:9): [True: 1, False: 867]
  ------------------
  781|      1|					Error(ecUNEXPECTED_VAL, m_iPos - (int)strTok.length(), strTok);
  782|       |
  783|    868|				m_iSynFlags = noVAL | noVAR | noFUN | noBO | noINFIXOP | noSTR | noASSIGN;
  784|    868|				return true;
  785|    868|			}
  786|   569k|		}
  787|       |
  788|       |		// 3.call the value recognition functions provided by the user
  789|       |		// Call user defined value recognition functions
  790|   581k|		std::list<identfun_type>::const_iterator item = m_vIdentFun.begin();
  791|   595k|		for (item = m_vIdentFun.begin(); item != m_vIdentFun.end(); ++item)
  ------------------
  |  Branch (791:36): [True: 581k, False: 13.2k]
  ------------------
  792|   581k|		{
  793|   581k|			int iStart = m_iPos;
  794|   581k|			if ((*item)(m_strFormula.c_str() + m_iPos, &m_iPos, &fVal) == 1)
  ------------------
  |  Branch (794:8): [True: 568k, False: 13.2k]
  ------------------
  795|   568k|			{
  796|       |				// 2013-11-27 Issue 2:  https://code.google.com/p/muparser/issues/detail?id=2
  797|   568k|				strTok.assign(m_strFormula.c_str(), iStart, (std::size_t)m_iPos - iStart);
  798|       |
  799|   568k|				if (m_iSynFlags & noVAL)
  ------------------
  |  Branch (799:9): [True: 17, False: 568k]
  ------------------
  800|     17|					Error(ecUNEXPECTED_VAL, m_iPos - (int)strTok.length(), strTok);
  801|       |
  802|   568k|				a_Tok.SetVal(fVal, strTok);
  803|   568k|				m_iSynFlags = noVAL | noVAR | noFUN | noBO | noINFIXOP | noSTR | noASSIGN;
  804|   568k|				return true;
  805|   568k|			}
  806|   581k|		}
  807|       |
  808|  13.2k|		return false;
  809|   581k|	}
_ZN2mu17ParserTokenReader8IsVarTokERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  817|  13.2k|	{
  818|  13.2k|		if (m_pVarDef->empty())
  ------------------
  |  Branch (818:7): [True: 13.2k, False: 0]
  ------------------
  819|  13.2k|			return false;
  820|       |
  821|      0|		string_type strTok;
  822|      0|		auto iEnd = ExtractToken(m_pParser->ValidNameChars(), strTok, (std::size_t)m_iPos);
  823|      0|		if (iEnd == m_iPos)
  ------------------
  |  Branch (823:7): [True: 0, False: 0]
  ------------------
  824|      0|			return false;
  825|       |
  826|      0|		varmap_type::const_iterator item = m_pVarDef->find(strTok);
  827|      0|		if (item == m_pVarDef->end())
  ------------------
  |  Branch (827:7): [True: 0, False: 0]
  ------------------
  828|      0|			return false;
  829|       |
  830|      0|		if (m_iSynFlags & noVAR)
  ------------------
  |  Branch (830:7): [True: 0, False: 0]
  ------------------
  831|      0|			Error(ecUNEXPECTED_VAR, m_iPos, strTok);
  832|       |
  833|      0|		m_pParser->OnDetectVar(&m_strFormula, m_iPos, iEnd);
  834|       |
  835|      0|		m_iPos = iEnd;
  836|      0|		a_Tok.SetVar(item->second, strTok);
  837|      0|		m_UsedVar[item->first] = item->second;  // Add variable to used-var-list
  838|       |
  839|      0|		m_iSynFlags = noVAL | noVAR | noFUN | noBO | noINFIXOP | noSTR;
  840|       |
  841|       |		//  Zur Info hier die SynFlags von IsVal():
  842|       |		//    m_iSynFlags = noVAL | noVAR | noFUN | noBO | noINFIXOP | noSTR | noASSIGN; 
  843|      0|		return true;
  844|      0|	}
_ZN2mu17ParserTokenReader11IsStrVarTokERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  848|  13.2k|	{
  849|  13.2k|		if (!m_pStrVarDef || m_pStrVarDef->empty())
  ------------------
  |  Branch (849:7): [True: 0, False: 13.2k]
  |  Branch (849:24): [True: 13.2k, False: 0]
  ------------------
  850|  13.2k|			return false;
  851|       |
  852|      0|		string_type strTok;
  853|      0|		auto iEnd = ExtractToken(m_pParser->ValidNameChars(), strTok, (std::size_t)m_iPos);
  854|      0|		if (iEnd == m_iPos)
  ------------------
  |  Branch (854:7): [True: 0, False: 0]
  ------------------
  855|      0|			return false;
  856|       |
  857|      0|		strmap_type::const_iterator item = m_pStrVarDef->find(strTok);
  858|      0|		if (item == m_pStrVarDef->end())
  ------------------
  |  Branch (858:7): [True: 0, False: 0]
  ------------------
  859|      0|			return false;
  860|       |
  861|      0|		if (m_iSynFlags & noSTR)
  ------------------
  |  Branch (861:7): [True: 0, False: 0]
  ------------------
  862|      0|			Error(ecUNEXPECTED_VAR, m_iPos, strTok);
  863|       |
  864|      0|		m_iPos = iEnd;
  865|      0|		if (!m_pParser->m_vStringVarBuf.size())
  ------------------
  |  Branch (865:7): [True: 0, False: 0]
  ------------------
  866|      0|			Error(ecINTERNAL_ERROR);
  867|       |
  868|      0|		a_Tok.SetString(m_pParser->m_vStringVarBuf[item->second], m_pParser->m_vStringVarBuf.size());
  869|       |
  870|      0|		m_iSynFlags = noANY ^ (noBC | noOPT | noEND | noARG_SEP);
  871|      0|		return true;
  872|      0|	}
_ZN2mu17ParserTokenReader8IsStringERNS_11ParserTokenIdNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE:
  935|  13.2k|	{
  936|  13.2k|		if (m_strFormula[m_iPos] != '"')
  ------------------
  |  Branch (936:7): [True: 582, False: 12.7k]
  ------------------
  937|    582|			return false;
  938|       |
  939|  12.7k|		string_type strBuf(&m_strFormula[(std::size_t)m_iPos + 1]);
  940|  12.7k|		std::size_t iEnd(0), iSkip(0);
  941|       |
  942|       |		// parser over escaped '\"' end replace them with '"'
  943|  13.2k|		for (iEnd = (int)strBuf.find(_T('\"')); iEnd != 0 && iEnd != string_type::npos; iEnd = (int)strBuf.find(_T('\"'), iEnd))
  ------------------
  |  |   69|  12.7k|		#define _T(x) x
  ------------------
              		for (iEnd = (int)strBuf.find(_T('\"')); iEnd != 0 && iEnd != string_type::npos; iEnd = (int)strBuf.find(_T('\"'), iEnd))
  ------------------
  |  |   69|    572|		#define _T(x) x
  ------------------
  |  Branch (943:43): [True: 2.06k, False: 11.2k]
  |  Branch (943:56): [True: 2.02k, False: 48]
  ------------------
  944|  2.02k|		{
  945|  2.02k|			if (strBuf[iEnd - 1] != '\\') break;
  ------------------
  |  Branch (945:8): [True: 1.44k, False: 572]
  ------------------
  946|    572|			strBuf.replace(iEnd - 1, 2, _T("\""));
  ------------------
  |  |   69|    572|		#define _T(x) x
  ------------------
  947|    572|			iSkip++;
  948|    572|		}
  949|       |
  950|  12.7k|		if (iEnd == string_type::npos)
  ------------------
  |  Branch (950:7): [True: 48, False: 12.6k]
  ------------------
  951|     48|			Error(ecUNTERMINATED_STRING, m_iPos, _T("\""));
  ------------------
  |  |   69|     48|		#define _T(x) x
  ------------------
  952|       |
  953|  12.7k|		string_type strTok(strBuf.begin(), strBuf.begin() + iEnd);
  954|       |
  955|  12.7k|		if (m_iSynFlags & noSTR)
  ------------------
  |  Branch (955:7): [True: 38, False: 12.6k]
  ------------------
  956|     38|			Error(ecUNEXPECTED_STR, m_iPos, strTok);
  957|       |
  958|  12.7k|		m_pParser->m_vStringBuf.push_back(strTok); // Store string in internal buffer
  959|  12.7k|		a_Tok.SetString(strTok, m_pParser->m_vStringBuf.size());
  960|       |
  961|  12.7k|		m_iPos += (int)strTok.length() + 2 + (int)iSkip;  // +2 for quotes; +iSkip for escape characters 
  962|  12.7k|		m_iSynFlags = noANY ^ (noARG_SEP | noBC | noOPT | noEND);
  963|       |
  964|  12.7k|		return true;
  965|  13.2k|	}
_ZNK2mu17ParserTokenReader5ErrorENS_11EErrorCodesEiRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  978|  1.65k|	{
  979|  1.65k|		m_pParser->Error(a_iErrc, a_iPos, a_sTok);
  980|  1.65k|	}
_ZNK2mu17ParserTokenReader9GetArgSepEv:
  990|  3.91k|	{
  991|  3.91k|		return m_cArgSep;
  992|  3.91k|	}

LLVMFuzzerTestOneInput:
   22|  3.91k|extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
   23|  3.91k|  std::string line_string((char *)data, size);
   24|  3.91k|  try {
   25|  3.91k|    mu::Parser parser;
   26|  3.91k|    parser.SetExpr(line_string);
   27|  3.91k|    parser.Eval();
   28|  3.91k|  } catch (mu::Parser::exception_type &e) {
   29|  2.28k|  } catch (mu::ParserError &e) {
   30|      0|  }
   31|  3.91k|  return 0;
   32|  3.91k|}

