Lines Matching refs:pCondition
177 const ::connectivity::OSQLParseNode * pCondition,
271 ,const ::connectivity::OSQLParseNode* pCondition in ParseCondition()
280 sal_uInt32 nCount = pCondition->count(); in ParseCondition()
282 pCondition->getChild(i)->parseNodeToPredicateStr(aCondition, in ParseCondition()
663 const ::connectivity::OSQLParseNode *pCondition) in GetInnerJoinCriteria()
665 return InsertJoinConnection(_pView,pCondition, INNER_JOIN,NULL,NULL) != eOk; in GetInnerJoinCriteria()
1292 const ::connectivity::OSQLParseNode * pCondition,
1313 ::connectivity::OSQLParseNode * pCondition = pNode->getChild(1); in GetSelectionCriteria()
1314 if ( pCondition ) // no where clause in GetSelectionCriteria()
1318 ::connectivity::OSQLParseNode::negateSearchCondition(pCondition); in GetSelectionCriteria()
1343 const ::connectivity::OSQLParseNode * pCondition,
1350 const ::connectivity::OSQLParseNode * pCondition,
1357 const ::connectivity::OSQLParseNode * pCondition, in GetORCriteria()
1365 if (pCondition->count() == 3 && in GetORCriteria()
1366 SQL_ISPUNCTUATION(pCondition->getChild(0),"(") && in GetORCriteria()
1367 SQL_ISPUNCTUATION(pCondition->getChild(2),")")) in GetORCriteria()
1369 …eErrorCode = GetORCriteria(_pView,_pSelectionBrw,pCondition->getChild(1),nLevel,bHaving,bAddOrOnOn… in GetORCriteria()
1373 else if (SQL_ISRULE(pCondition,search_condition)) in GetORCriteria()
1377 const ::connectivity::OSQLParseNode* pChild = pCondition->getChild(i); in GetORCriteria()
1389 eErrorCode = GetANDCriteria( _pView,_pSelectionBrw,pCondition, nLevel, bHaving,bAddOrOnOneLine ); in GetORCriteria()
1418 const ::connectivity::OSQLParseNode * pCondition, in GetANDCriteria()
1431 if (SQL_ISRULE(pCondition,boolean_primary)) in GetANDCriteria()
1434 const ::connectivity::OSQLParseNode* pSearchCondition = pCondition->getChild(1); in GetANDCriteria()
1447 else if ( SQL_ISRULE(pCondition,boolean_term) ) in GetANDCriteria()
1449 OSL_ENSURE(pCondition->count() == 3,"Illegal definifiton of boolean_term"); in GetANDCriteria()
1450 …eErrorCode = GetANDCriteria(_pView,_pSelectionBrw,pCondition->getChild(0), nLevel,bHaving,bAddOrOn… in GetANDCriteria()
1452 …eErrorCode = GetANDCriteria(_pView,_pSelectionBrw,pCondition->getChild(2), nLevel,bHaving,bAddOrOn… in GetANDCriteria()
1454 else if (SQL_ISRULE( pCondition, comparison_predicate)) in GetANDCriteria()
1456 … eErrorCode = ComparisonPredicate(_pView,_pSelectionBrw,pCondition,nLevel,bHaving,bAddOrOnOneLine); in GetANDCriteria()
1458 else if( SQL_ISRULE(pCondition,like_predicate) ) in GetANDCriteria()
1460 const ::connectivity::OSQLParseNode* pValueExp = pCondition->getChild(0); in GetANDCriteria()
1470 pCondition->parseNodeToPredicateStr(aCondition, in GetANDCriteria()
1504 pCondition, in GetANDCriteria()
1516 else if( SQL_ISRULEOR2(pCondition,test_for_null,in_predicate) in GetANDCriteria()
1517 || SQL_ISRULEOR2(pCondition,all_or_any_predicate,between_predicate)) in GetANDCriteria()
1519 if ( SQL_ISRULEOR2(pCondition->getChild(0), set_fct_spec , general_set_fct ) ) in GetANDCriteria()
1523 pCondition, in GetANDCriteria()
1528 else if ( SQL_ISRULE(pCondition->getChild(0), column_ref ) ) in GetANDCriteria()
1531 ::rtl::OUString sCondition = ParseCondition(rController,pCondition,sDecimal,aLocale,1); in GetANDCriteria()
1533 if ( eOk == ( eErrorCode = FillDragInfo(_pView,pCondition->getChild(0),aDragLeft)) ) in GetANDCriteria()
1543 ::rtl::OUString sCondition = ParseCondition(rController,pCondition,sDecimal,aLocale,1); in GetANDCriteria()
1548 pCondition->getChild(0)->parseNodeToPredicateStr(sName, in GetANDCriteria()
1564 else if( SQL_ISRULEOR2(pCondition,existence_test,unique_test) ) in GetANDCriteria()
1567 ::rtl::OUString aCondition = ParseCondition(rController,pCondition,sDecimal,aLocale,0); in GetANDCriteria()
1583 const ::connectivity::OSQLParseNode * pCondition, in AddFunctionCondition()
1591 OSQLParseNode* pFunction = pCondition->getChild(0); in AddFunctionCondition()
1605 pCondition->parseNodeToPredicateStr(aCondition, in AddFunctionCondition()
1684 const ::connectivity::OSQLParseNode * pCondition, in ComparisonPredicate()
1692 …DBG_ASSERT(SQL_ISRULE( pCondition, comparison_predicate),"ComparisonPredicate: pCondition ist kein… in ComparisonPredicate()
1693 if ( SQL_ISRULE(pCondition->getChild(0), column_ref ) in ComparisonPredicate()
1694 || SQL_ISRULE(pCondition->getChild(pCondition->count()-1), column_ref) ) in ComparisonPredicate()
1699 …if ( SQL_ISRULE(pCondition->getChild(0), column_ref ) && SQL_ISRULE(pCondition->getChild(pConditio… in ComparisonPredicate()
1702 if (eOk != ( eErrorCode = FillDragInfo(_pView,pCondition->getChild(0),aDragLeft)) || in ComparisonPredicate()
1703 eOk != ( eErrorCode = FillDragInfo(_pView,pCondition->getChild(2),aDragRight))) in ComparisonPredicate()
1727 if(SQL_ISRULE(pCondition->getChild(0), column_ref )) in ComparisonPredicate()
1733 if (pCondition->getChild(i)->getNodeType() == SQL_NODE_EQUAL) in ComparisonPredicate()
1738 ,pCondition in ComparisonPredicate()
1743 else if( SQL_ISRULE(pCondition->getChild(pCondition->count()-1), column_ref ) ) in ComparisonPredicate()
1745 nPos = pCondition->count()-1; in ComparisonPredicate()
1747 sal_Int32 i = static_cast<sal_Int32>(pCondition->count() - 2); in ComparisonPredicate()
1748 switch (pCondition->getChild(i)->getNodeType()) in ComparisonPredicate()
1784 pCondition->getChild(i)->parseNodeToPredicateStr(aCondition, in ComparisonPredicate()
1795 if( eOk == ( eErrorCode = FillDragInfo(_pView,pCondition->getChild(nPos),aDragLeft))) in ComparisonPredicate()
1802 else if( SQL_ISRULEOR2(pCondition->getChild(0), set_fct_spec , general_set_fct ) ) in ComparisonPredicate()
1806 pCondition, in ComparisonPredicate()
1815 ::connectivity::OSQLParseNode *pLhs = pCondition->getChild(0); in ComparisonPredicate()
1816 ::connectivity::OSQLParseNode *pRhs = pCondition->getChild(2); in ComparisonPredicate()
1826 aCondition = pCondition->getChild(1)->getTokenValue(); in ComparisonPredicate()
3041 ::connectivity::OSQLParseNode * pCondition = pNode->getChild(1); in getStatement()
3042 if ( pCondition ) // no where clause in getStatement()
3044 OSQLParseNode::compress(pCondition); in getStatement()