Home
last modified time | relevance | path

Searched refs:ToInt (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsEnumDeclaration.cpp49 int32_t ToInt(double num) in ToInt() function
120 return static_cast<double>(~ToInt(std::get<double>(value))); in EvaluateUnaryExpression()
170 return static_cast<double>(ToInt(std::get<double>(left)) << ToUInt(std::get<double>(right))); in EvaluateBinaryExpression()
173 return static_cast<double>(ToInt(std::get<double>(left)) >> ToUInt(std::get<double>(right))); in EvaluateBinaryExpression()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSAnalyzer.cpp1553 static int32_t ToInt(double num) in ToInt() function
1589 return static_cast<double>(ToInt(std::get<double>(left)) << ToUInt(std::get<double>(right))); in GetOperationResulForDouble()
1592 return static_cast<double>(ToInt(std::get<double>(left)) >> ToUInt(std::get<double>(right))); in GetOperationResulForDouble()
1660 return static_cast<double>(~ToInt(std::get<double>(value))); // NOLINT(hicpp-signed-bitwise) in EvaluateUnaryExpression()
/arkcompiler/ets_runtime/ecmascript/
H A Decma_string.h616 bool ToInt(int32_t *index, bool *negative);
1445 bool ToInt(int32_t *index, bool *negative) in ToInt() function in panda::EcmaStringAccessor
1447 return string_->ToInt(index, negative); in ToInt()
H A Decma_string.cpp1105 bool EcmaString::ToInt(int32_t *index, bool *negative) in ToInt() function in panda::ecmascript::EcmaString
/arkcompiler/ets_runtime/ecmascript/base/
H A Dnumber_helper.cpp563 if (EcmaStringAccessor(string).ToInt(&elementIndex, &negative)) {

Completed in 12 milliseconds