/aoo4110/main/connectivity/source/drivers/kab/ |
H A D | KStatement.cxx | 101 if (pParseNode->count() == 3) in analyseWhereClause() 184 else if (SQL_ISRULE(pParseNode, test_for_null) || SQL_ISRULE(pParseNode, like_predicate)) in analyseWhereClause() 251 sal_uInt32 n = pParseNode->count(); in analyseOrderByClause() 264 if (pParseNode->count() == 2) in analyseOrderByClause() 323 const OSQLParseNode *pParseNode; in selectAddressees() local 327 if (pParseNode != NULL) in selectAddressees() 329 if (SQL_ISRULE(pParseNode, where_clause)) in selectAddressees() 332 pParseNode = pParseNode->getChild(1); in selectAddressees() 349 const OSQLParseNode *pParseNode; in sortAddressees() local 353 if (pParseNode != NULL) in sortAddressees() [all …]
|
H A D | KStatement.hxx | 69 const OSQLParseNode *pParseNode) const throw(::com::sun::star::sdbc::SQLException); 71 const OSQLParseNode *pParseNode) const throw(::com::sun::star::sdbc::SQLException);
|
/aoo4110/main/connectivity/source/drivers/macab/ |
H A D | MacabStatement.cxx | 104 if (pParseNode->count() == 3) in analyseWhereClause() 187 else if (SQL_ISRULE(pParseNode, test_for_null) || SQL_ISRULE(pParseNode, like_predicate)) in analyseWhereClause() 252 sal_uInt32 n = pParseNode->count(); in analyseOrderByClause() 265 if (pParseNode->count() == 2) in analyseOrderByClause() 329 const OSQLParseNode *pParseNode; in selectRecords() local 333 if (pParseNode != NULL) in selectRecords() 335 if (SQL_ISRULE(pParseNode, where_clause)) in selectRecords() 340 pParseNode = pParseNode->getChild(1); in selectRecords() 357 const OSQLParseNode *pParseNode; in sortRecords() local 361 if (pParseNode != NULL) in sortRecords() [all …]
|
H A D | MacabStatement.hxx | 73 const OSQLParseNode *pParseNode) const throw(::com::sun::star::sdbc::SQLException); 75 const OSQLParseNode *pParseNode) const throw(::com::sun::star::sdbc::SQLException);
|
/aoo4110/main/connectivity/source/parse/ |
H A D | sqlbison.y | 140 connectivity::OSQLParseNode * pParseNode; 148 %nonassoc <pParseNode> SQL_TOKEN_UMINUS 186 %token <pParseNode> SQL_TOKEN_CONCAT 210 %token <pParseNode> SQL_TOKEN_NEW SQL_TOKEN_OLD 224 %left <pParseNode> SQL_TOKEN_OR 225 %left <pParseNode> SQL_TOKEN_AND 228 %left <pParseNode> '+' '-' SQL_CONCAT 229 %left <pParseNode> '*' '/' 237 %token <pParseNode> SQL_TOKEN_INVALIDSYMBOL 241 %type <pParseNode> sql /*schema */ [all …]
|
H A D | sqliterator.cxx | 49 #define SQL_ISRULEOR2(pParseNode, e1,e2) ((pParseNode)->isRule() && (\ argument 50 (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e1) || \ 51 (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e2))) 1587 OSQLParseNode * pParseNode) in traverseOnePredicate() argument 1590 if ( !pParseNode ) in traverseOnePredicate() 1601 else */if (SQL_ISRULE(pParseNode,column_ref))// Column-Name (und TableRange): in traverseOnePredicate() 1602 getColumnRange(pParseNode,aName,rValue); in traverseOnePredicate() 1605 traverseORCriteria(pParseNode); in traverseOnePredicate()
|
H A D | sqlflex.l | 79 SQLyylval.pParseNode = new OSQLInternalNode(text, token); 82 …SQLyylval.pParseNode = new OSQLInternalNode(aEmptyString, SQL_NODE_KEYWORD, (token)); return toke…
|
H A D | sqlnode.cxx | 1243 SQLyylval.pParseNode = NULL; in predicateTree()
|
/aoo4110/main/connectivity/source/commontools/ |
H A D | predicateinput.cxx | 263 if ( pParseNode ) in normalizePredicateString() 271 pParseNode->parseNodeToPredicateStr( in normalizePredicateString() 276 delete pParseNode; in normalizePredicateString() 325 OSQLParseNode* pParseNode = implPredicateTree( sError, sValue, _rxField ); in getPredicateValue() local 329 sReturn = implParseNode(pParseNode,_bForStatementUse); in getPredicateValue() 356 if ( pParseNode.get() ) in getPredicateValue() 384 return pParseNode ? implParseNode(pParseNode,_bForStatementUse) : sReturn; in getPredicateValue() 390 if ( pParseNode ) in implParseNode() 392 ::std::auto_ptr<OSQLParseNode> pTemp(pParseNode); in implParseNode() 415 if ( pParseNode->count() >= 3 ) in implParseNode() [all …]
|
/aoo4110/main/connectivity/source/drivers/file/ |
H A D | FNoException.cxx | 82 void OPreparedStatement::scanParameter(OSQLParseNode* pParseNode,::std::vector< OSQLParseNode*>& _r… in scanParameter() argument 85 DBG_ASSERT(pParseNode != NULL,"OResultSet: interner Fehler: ungueltiger ParseNode"); in scanParameter() 88 if (SQL_ISRULE(pParseNode,parameter)) in scanParameter() 90 DBG_ASSERT(pParseNode->count() >= 1,"OResultSet: Parse Tree fehlerhaft"); in scanParameter() 91 …DBG_ASSERT(pParseNode->getChild(0)->getNodeType() == SQL_NODE_PUNCTUATION,"OResultSet: Parse Tree … in scanParameter() 93 _rParaNodes.push_back(pParseNode); in scanParameter() 99 for (sal_uInt32 i = 0; i < pParseNode->count(); i++) in scanParameter() 100 scanParameter(pParseNode->getChild(i),_rParaNodes); in scanParameter()
|
/aoo4110/main/connectivity/inc/connectivity/ |
H A D | sqlnode.hxx | 267 void setParent(OSQLParseNode* pParseNode) {m_pParent = pParseNode;}; in setParent() argument 466 …#define SQL_ISRULE(pParseNode, eRule) ((pParseNode)->isRule() && (pParseNode)->getRuleID() == OSQ… argument 467 …#define SQL_ISTOKEN(pParseNode, token) ((pParseNode)->isToken() && (pParseNode)->getTokenID() == S… argument 468 …#define SQL_ISPUNCTUATION(pParseNode, aString) ((pParseNode)->getNodeType() == SQL_NODE_PUNCTUATIO… argument
|
H A D | predicateinput.hxx | 122 …::rtl::OUString implParseNode(::connectivity::OSQLParseNode* pParseNode,sal_Bool _bForStatementUse…
|
/aoo4110/main/dbaccess/source/ui/querydesign/ |
H A D | QueryDesignView.cxx | 143 #define SQL_ISRULEOR2(pParseNode, e1,e2) ((pParseNode)->isRule() && (\ argument 303 …if ( SQL_ISRULE( pParseNode, qualified_join ) || SQL_ISRULE( pParseNode, joined_table ) || SQL_ISR… in FillOuterJoins() 304 pJoinNode = pParseNode; in FillOuterJoins() 305 else if( SQL_ISRULE(pParseNode,table_ref) in FillOuterJoins() 307 pJoinNode = pParseNode->getChild(2); in FillOuterJoins() 861 if (pParseNode.get()) in GenerateCriterias() 892 if (pParseNode.get()) in GenerateCriterias() 1254 if (pParseNode.get()) in GenerateGroupBy() 3036 if ( pParseNode.get() ) in getStatement() 3152 if ( pParseNode.get() ) in getPredicateTreeFromEntry() [all …]
|
H A D | SelectionBrowseBox.cxx | 115 #define SQL_ISRULEOR2(pParseNode, e1,e2) ((pParseNode)->isRule() && (\ argument 741 OSQLParseNode* pParseNode = NULL; in saveField() local 780 if ( pParseNode == NULL ) in saveField() 957 delete pParseNode; in saveField() 1170 if (pParseNode) in SaveModified() 1172 pParseNode->parseNodeToPredicateStr(aCrit, in SaveModified() 1179 delete pParseNode; in SaveModified() 1205 pParseNode = rParser.predicateTree(aErrorMsg, in SaveModified() 1209 if (pParseNode) in SaveModified() 1211 pParseNode->parseNodeToPredicateStr(aCrit, in SaveModified() [all …]
|
/aoo4110/main/connectivity/source/inc/file/ |
H A D | FPreparedStatement.hxx | 69 void scanParameter(OSQLParseNode* pParseNode,::std::vector< OSQLParseNode*>& _rParaNodes);
|