Lines Matching refs:z
105 && sqliteStrNICmp(p->z, keywords[j].zKeyword, p->n)==0 ){ in sqliteJoinType()
124 pA->z, pA->n, zSp1, 1, pB->z, pB->n, zSp2, 1, pC->z, pC->n, 0); in sqliteJoinType()
162 dummy.z = zCol; in addWhereTerm()
167 dummy.z = pTab1->zName; in addWhereTerm()
168 dummy.n = strlen(dummy.z); in addWhereTerm()
170 dummy.z = pTab2->zName; in addWhereTerm()
171 dummy.n = strlen(dummy.z); in addWhereTerm()
738 if( !shortNames && !fullNames && p->span.z && p->span.z[0] ){ in generateColumnNames()
739 int addr = sqliteVdbeOp3(v,OP_ColumnName, i, p2, p->span.z, p->span.n); in generateColumnNames()
752 }else if( p->span.z && p->span.z[0] ){ in generateColumnNames()
753 int addr = sqliteVdbeOp3(v,OP_ColumnName, i, p2, p->span.z, p->span.n); in generateColumnNames()
768 char *z; in selectOpName() local
770 case TK_ALL: z = "UNION ALL"; break; in selectOpName()
771 case TK_INTERSECT: z = "INTERSECT"; break; in selectOpName()
772 case TK_EXCEPT: z = "EXCEPT"; break; in selectOpName()
773 default: z = "UNION"; break; in selectOpName()
775 return z; in selectOpName()
810 && (pR=p->pRight)!=0 && pR->token.z && pR->token.z[0] ){ in sqliteResultSetOfSelect()
812 sqliteSetNString(&aCol[i].zName, pR->token.z, pR->token.n, 0); in sqliteResultSetOfSelect()
819 sqliteSetNString(&aCol[i].zName, pR->token.z, pR->token.n, zBuf, n,0); in sqliteResultSetOfSelect()
823 }else if( p->span.z && p->span.z[0] ){ in sqliteResultSetOfSelect()
824 sqliteSetNString(&pTab->aCol[i].zName, p->span.z, p->span.n, 0); in sqliteResultSetOfSelect()
996 pRight->token.z = zName; in fillInColumnList()
1003 pLeft->token.z = zTabName; in fillInColumnList()
1006 sqliteSetString((char**)&pExpr->span.z, zTabName, ".", zName, 0); in fillInColumnList()
1007 pExpr->span.n = strlen(pExpr->span.z); in fillInColumnList()
1009 pExpr->token.z = 0; in fillInColumnList()
1130 assert( pE->token.z ); in matchOrderbyToColumn()
1131 zLabel = sqliteStrNDup(pE->token.z, pE->token.n); in matchOrderbyToColumn()
1758 if( pList->a[i].zName==0 && (pExpr = pList->a[i].pExpr)->span.z!=0 ){ in flattenSubquery()
1759 pList->a[i].zName = sqliteStrNDup(pExpr->span.z, pExpr->span.n); in flattenSubquery()
1873 if( sqliteStrNICmp(pExpr->token.z,"min",3)==0 ){ in simpleMinMaxQuery()
1875 }else if( sqliteStrNICmp(pExpr->token.z,"max",3)==0 ){ in simpleMinMaxQuery()