Lines Matching refs:pSearchCondition
1272 void OSQLParseTreeIterator::traverseORCriteria(OSQLParseNode * pSearchCondition) in traverseORCriteria() argument
1278 pSearchCondition->count() == 3 && in traverseORCriteria()
1279 SQL_ISPUNCTUATION(pSearchCondition->getChild(0),"(") && in traverseORCriteria()
1280 SQL_ISPUNCTUATION(pSearchCondition->getChild(2),")") in traverseORCriteria()
1284 traverseORCriteria(pSearchCondition->getChild(1)); in traverseORCriteria()
1285 } else if (SQL_ISRULE(pSearchCondition,search_condition) && in traverseORCriteria()
1286 pSearchCondition->count() == 3 && in traverseORCriteria()
1287 SQL_ISTOKEN(pSearchCondition->getChild(1),OR)) in traverseORCriteria()
1296 SQL_ISRULE(pSearchCondition->getChild(0),search_condition) && in traverseORCriteria()
1297 pSearchCondition->getChild(0)->count() == 3 && in traverseORCriteria()
1298 SQL_ISTOKEN(pSearchCondition->getChild(0)->getChild(1),OR)) in traverseORCriteria()
1301 traverseORCriteria(pSearchCondition->getChild(0)); in traverseORCriteria()
1305 traverseANDCriteria(pSearchCondition->getChild(i)); in traverseORCriteria()
1314 traverseANDCriteria(pSearchCondition); in traverseORCriteria()
1322 void OSQLParseTreeIterator::traverseANDCriteria(OSQLParseNode * pSearchCondition) in traverseANDCriteria() argument
1328 SQL_ISRULE(pSearchCondition,boolean_primary) && in traverseANDCriteria()
1329 pSearchCondition->count() == 3 && in traverseANDCriteria()
1330 SQL_ISPUNCTUATION(pSearchCondition->getChild(0),"(") && in traverseANDCriteria()
1331 SQL_ISPUNCTUATION(pSearchCondition->getChild(2),")") in traverseANDCriteria()
1335 traverseANDCriteria(pSearchCondition->getChild(1)); in traverseANDCriteria()
1338 else if ( SQL_ISRULE(pSearchCondition,search_condition) && pSearchCondition->count() == 3 ) in traverseANDCriteria()
1341 traverseORCriteria(pSearchCondition->getChild(0)); in traverseANDCriteria()
1346 traverseANDCriteria(pSearchCondition->getChild(2)); in traverseANDCriteria()
1349 else if ( SQL_ISRULE(pSearchCondition,boolean_term) && pSearchCondition->count() == 3 ) in traverseANDCriteria()
1352 traverseANDCriteria(pSearchCondition->getChild(0)); in traverseANDCriteria()
1357 traverseANDCriteria(pSearchCondition->getChild(2)); in traverseANDCriteria()
1360 else if (SQL_ISRULE(pSearchCondition,comparison_predicate) ) in traverseANDCriteria()
1363 …pSearchCondition->getChild(2)->parseNodeToStr( aValue, m_pImpl->m_xConnection, NULL, sal_False, sa… in traverseANDCriteria()
1364 traverseOnePredicate(pSearchCondition->getChild(0),aValue,pSearchCondition->getChild(2)); in traverseANDCriteria()
1365 impl_fillJoinConditions(pSearchCondition); in traverseANDCriteria()
1369 …else if (SQL_ISRULE(pSearchCondition,like_predicate) /*&& SQL_ISRULE(pSearchCondition->getChild(0)… in traverseANDCriteria()
1371 OSL_ENSURE(pSearchCondition->count() == 2,"OSQLParseTreeIterator: error in parse tree!"); in traverseANDCriteria()
1372 const OSQLParseNode* pPart2 = pSearchCondition->getChild(1); in traverseANDCriteria()
1401 traverseOnePredicate(pSearchCondition->getChild(0),aValue,pParam); in traverseANDCriteria()
1405 else if (SQL_ISRULE(pSearchCondition,in_predicate)) in traverseANDCriteria()
1407 OSL_ENSURE(pSearchCondition->count() == 2,"OSQLParseTreeIterator: error in parse tree!"); in traverseANDCriteria()
1408 const OSQLParseNode* pPart2 = pSearchCondition->getChild(1); in traverseANDCriteria()
1410 traverseORCriteria(pSearchCondition->getChild(0)); in traverseANDCriteria()
1429 …else if (SQL_ISRULE(pSearchCondition,test_for_null) /*&& SQL_ISRULE(pSearchCondition->getChild(0),… in traverseANDCriteria()
1431 OSL_ENSURE(pSearchCondition->count() == 2,"OSQLParseTreeIterator: error in parse tree!"); in traverseANDCriteria()
1432 const OSQLParseNode* pPart2 = pSearchCondition->getChild(1); in traverseANDCriteria()
1437 traverseOnePredicate(pSearchCondition->getChild(0),aString,NULL); in traverseANDCriteria()
1440 else if (SQL_ISRULE(pSearchCondition,num_value_exp) || SQL_ISRULE(pSearchCondition,term)) in traverseANDCriteria()
1443 traverseOnePredicate(pSearchCondition->getChild(0),aString,pSearchCondition->getChild(0)); in traverseANDCriteria()
1444 traverseOnePredicate(pSearchCondition->getChild(2),aString,pSearchCondition->getChild(2)); in traverseANDCriteria()