Lines Matching refs:rParam

194 ::rtl::OUString OSQLParseNode::convertDateString(const SQLParseNodeParameter& rParam, const ::rtl::…  in convertDateString()  argument
198 Reference< XNumberFormatsSupplier > xSupplier(rParam.xFormatter->getNumberFormatsSupplier()); in convertDateString()
202 sal_Int32 nKey = xTypes->getStandardIndex(rParam.rLocale) + 36; // XXX hack in convertDateString()
203 return rParam.xFormatter->convertNumberToString(nKey, fDate); in convertDateString()
207 ::rtl::OUString OSQLParseNode::convertDateTimeString(const SQLParseNodeParameter& rParam, const ::r… in convertDateTimeString() argument
211 Reference< XNumberFormatsSupplier > xSupplier(rParam.xFormatter->getNumberFormatsSupplier()); in convertDateTimeString()
215 sal_Int32 nKey = xTypes->getStandardIndex(rParam.rLocale) + 51; // XXX hack in convertDateTimeString()
216 return rParam.xFormatter->convertNumberToString(nKey, fDateTime); in convertDateTimeString()
220 ::rtl::OUString OSQLParseNode::convertTimeString(const SQLParseNodeParameter& rParam, const ::rtl::… in convertTimeString() argument
224 Reference< XNumberFormatsSupplier > xSupplier(rParam.xFormatter->getNumberFormatsSupplier()); in convertTimeString()
229 sal_Int32 nKey = xTypes->getStandardIndex(rParam.rLocale) + 41; // XXX hack in convertTimeString()
230 return rParam.xFormatter->convertNumberToString(nKey, fTime); in convertTimeString()
366 …_parseNodeToString_throw(::rtl::OUStringBuffer& rString, const SQLParseNodeParameter& rParam) const in impl_parseNodeToString_throw()
371 parseLeaf(rString,rParam); in impl_parseNodeToString_throw()
387 m_aChildren[0]->impl_parseNodeToString_throw( rString, rParam ); in impl_parseNodeToString_throw()
390 m_aChildren[0]->impl_parseNodeToString_throw( rString, rParam ); in impl_parseNodeToString_throw()
395 m_aChildren[0]->impl_parseNodeToString_throw( rString, rParam ); in impl_parseNodeToString_throw()
407 impl_parseTableRangeNodeToString_throw( rString, rParam ); in impl_parseNodeToString_throw()
414 bHandled = impl_parseTableNameNodeToString_throw( rString, rParam ); in impl_parseNodeToString_throw()
418 if ( rParam.aMetaData.generateASBeforeCorrelationName() ) in impl_parseNodeToString_throw()
427 impl_parseLikeNodeToString_throw( rString, rParam ); in impl_parseNodeToString_throw()
438 if (!addDateValue(rString, rParam)) in impl_parseNodeToString_throw()
441 SQLParseNodeParameter aNewParam(rParam); in impl_parseNodeToString_throw()
445 aNewParam.bQuote = rParam.bQuote; in impl_parseNodeToString_throw()
483 SQLParseNodeParameter aNewParam(rParam); in impl_parseNodeToString_throw()
486 if (rParam.xField.is() && SQL_ISRULE(pSubTree,subquery)) in impl_parseNodeToString_throw()
490 if (rParam.xField.is() && SQL_ISRULE(pSubTree,column_ref)) in impl_parseNodeToString_throw()
498 …if ( rParam.xField->getPropertySetInfo()->hasPropertyByName( OMetaConnection::getPropMap().getName… in impl_parseNodeToString_throw()
500rParam.xField->getPropertyValue( OMetaConnection::getPropMap().getNameByIndex( nNamePropertyId ) )… in impl_parseNodeToString_throw()
552 if (SQL_ISRULE(this,value_exp_commalist) && rParam.bPredicate) in impl_parseNodeToString_throw()
563 …NameNodeToString_throw( ::rtl::OUStringBuffer& rString, const SQLParseNodeParameter& rParam ) const in impl_parseTableNameNodeToString_throw()
572 if ( !rParam.bParseToSDBCLevel ) in impl_parseTableNameNodeToString_throw()
575 if ( !rParam.xQueries.is() ) in impl_parseTableNameNodeToString_throw()
582 bool bIsQuery = rParam.xQueries->hasByName( sTableOrQueryName ); in impl_parseTableNameNodeToString_throw()
587 if ( rParam.pSubQueryHistory->find( sTableOrQueryName ) != rParam.pSubQueryHistory->end() ) in impl_parseTableNameNodeToString_throw()
590 … OSL_ENSURE( rParam.pParser, "OSQLParseNode::impl_parseTableNameNodeToString_throw: no parser?" ); in impl_parseTableNameNodeToString_throw()
591 if ( rParam.pParser ) in impl_parseTableNameNodeToString_throw()
593 const SQLError& rErrors( rParam.pParser->getErrorHelper() ); in impl_parseTableNameNodeToString_throw()
602 rParam.pSubQueryHistory->insert( sTableOrQueryName ); in impl_parseTableNameNodeToString_throw()
604 …Reference< XPropertySet > xQuery( rParam.xQueries->getByName( sTableOrQueryName ), UNO_QUERY_THROW… in impl_parseTableNameNodeToString_throw()
614 …OSL_ENSURE( rParam.pParser, "OSQLParseNode::impl_parseTableNameNodeToString_throw: cannot analyze … in impl_parseTableNameNodeToString_throw()
615 if ( bEscapeProcessing && rParam.pParser ) in impl_parseTableNameNodeToString_throw()
618 …::std::auto_ptr< OSQLParseNode > pSubQueryNode( rParam.pParser->parseTree( sError, sCommand, sal_F… in impl_parseTableNameNodeToString_throw()
623 pSubQueryNode->impl_parseNodeToString_throw( sSubSelect, rParam ); in impl_parseTableNameNodeToString_throw()
638 if ( rParam.bQuote ) in impl_parseTableNameNodeToString_throw()
640rParam.aMetaData.getIdentifierQuoteString(), rParam.aMetaData.getIdentifierQuoteString() )); in impl_parseTableNameNodeToString_throw()
646 rParam.pSubQueryHistory->erase( sTableOrQueryName ); in impl_parseTableNameNodeToString_throw()
662 …eRangeNodeToString_throw(::rtl::OUStringBuffer& rString, const SQLParseNodeParameter& rParam) const in impl_parseTableRangeNodeToString_throw()
669 … &OSQLParseNode::impl_parseNodeToString_throw, _1, boost::ref( rString ), boost::cref( rParam ) )); in impl_parseTableRangeNodeToString_throw()
673 …LikeNodeToString_throw( ::rtl::OUStringBuffer& rString, const SQLParseNodeParameter& rParam ) const in impl_parseLikeNodeToString_throw()
681 SQLParseNodeParameter aNewParam(rParam); in impl_parseLikeNodeToString_throw()
686 if (rParam.xField.is()) in impl_parseLikeNodeToString_throw()
694rParam.xField->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME)) >>… in impl_parseLikeNodeToString_throw()
721 ::rtl::OUString aStr = ConvertLikeToken(pParaNode, pEscNode, rParam.bInternational); in impl_parseLikeNodeToString_throw()
1706 …LParseNode::addDateValue(::rtl::OUStringBuffer& rString, const SQLParseNodeParameter& rParam) const in addDateValue()
1721 if (rParam.bPredicate) in addDateValue()
1723 if (rParam.aMetaData.shouldEscapeDateTime()) in addDateValue()
1730 if (rParam.aMetaData.shouldEscapeDateTime()) in addDateValue()
1743 rString.append(rParam.bPredicate ? convertDateString(rParam, sTokenValue) : sTokenValue); in addDateValue()
1747 rString.append(rParam.bPredicate ? convertTimeString(rParam, sTokenValue) : sTokenValue); in addDateValue()
1751 rString.append(rParam.bPredicate ? convertDateTimeString(rParam, sTokenValue) : sTokenValue); in addDateValue()
2455 void OSQLParseNode::parseLeaf(::rtl::OUStringBuffer& rString, const SQLParseNodeParameter& rParam) … in parseLeaf()
2467 …onst ::rtl::OString sT = OSQLParser::TokenIDToStr(m_nNodeID, rParam.bInternational ? &rParam.m_rCo… in parseLeaf()
2483 if ( !rParam.aMetaData.getCatalogSeparator().getLength() in parseLeaf()
2484 … || rString.charAt( rString.getLength()-1 ) != rParam.aMetaData.getCatalogSeparator().toChar() in parseLeaf()
2489 if (rParam.bQuote) in parseLeaf()
2491 if (rParam.bPredicate) in parseLeaf()
2499rParam.aMetaData.getIdentifierQuoteString(), rParam.aMetaData.getIdentifierQuoteString() )); in parseLeaf()
2516 if (rParam.bInternational && rParam.bPredicate && rParam.cDecSep != '.') in parseLeaf()
2517 aTmp = aTmp.replace('.', rParam.cDecSep); in parseLeaf()
2539 if ( !rParam.aMetaData.getCatalogSeparator().getLength() in parseLeaf()
2540 … || rString.charAt( rString.getLength()-1 ) != rParam.aMetaData.getCatalogSeparator().toChar() in parseLeaf()