Lines Matching refs:pLiteral
775 void OSQLParser::killThousandSeparator(OSQLParseNode* pLiteral) in killThousandSeparator() argument
777 if ( pLiteral ) in killThousandSeparator()
781 pLiteral->m_aNodeValue = pLiteral->m_aNodeValue.replace('.', sal_Unicode()); in killThousandSeparator()
783 pLiteral->m_aNodeValue = pLiteral->m_aNodeValue.replace(',', '.'); in killThousandSeparator()
786 pLiteral->m_aNodeValue = pLiteral->m_aNodeValue.replace(',', sal_Unicode()); in killThousandSeparator()
790 OSQLParseNode* OSQLParser::convertNode(sal_Int32 nType,OSQLParseNode*& pLiteral) in convertNode() argument
792 if ( !pLiteral ) in convertNode()
795 OSQLParseNode* pReturn = pLiteral; in convertNode()
797 …if ( ( pLiteral->isRule() && !SQL_ISRULE(pLiteral,value_exp) ) || SQL_ISTOKEN(pLiteral,FALSE) || S… in convertNode()
813 switch(pLiteral->getNodeType()) in convertNode()
908 sal_Int16 OSQLParser::buildPredicateRule(OSQLParseNode*& pAppend,OSQLParseNode* pLiteral,OSQLParseN… in buildPredicateRule() argument
924 OSQLParseNode* pNode1 = convertNode(nType,pLiteral); in buildPredicateRule()
937 sal_Int16 OSQLParser::buildLikeRule(OSQLParseNode*& pAppend, OSQLParseNode*& pLiteral, const OSQLPa… in buildLikeRule() argument
963 if(pLiteral->isRule()) in buildLikeRule()
965 pAppend->append(pLiteral); in buildLikeRule()
970 switch(pLiteral->getNodeType()) in buildLikeRule()
973 pLiteral->m_aNodeValue = ConvertLikeToken(pLiteral, pEscape, sal_False); in buildLikeRule()
974 pAppend->append(pLiteral); in buildLikeRule()
990 …pAppend->append(new OSQLInternalNode(stringToDouble(pLiteral->getTokenValue(),nScale),SQL_NODE_STR… in buildLikeRule()
993 pAppend->append(new OSQLInternalNode(pLiteral->getTokenValue(),SQL_NODE_STRING)); in buildLikeRule()
995 delete pLiteral; in buildLikeRule()
1000 …aceAt(m_sErrorMessage.indexOf(::rtl::OUString::createFromAscii("#1")),2,pLiteral->getTokenValue()); in buildLikeRule()
1491 bool OSQLParser::extractDate(OSQLParseNode* pLiteral,double& _rfValue) in extractDate() argument
1505 ::rtl::OUString sValue = pLiteral->getTokenValue(); in extractDate()
1540 OSQLParseNode* OSQLParser::buildDate(sal_Int32 _nType,OSQLParseNode*& pLiteral) in buildDate() argument
1546 if ( extractDate(pLiteral,fValue) ) in buildDate()
1549 delete pLiteral; in buildDate()
1550 pLiteral = NULL; in buildDate()