Lines Matching refs:MEM_Int
345 assert( (pRec->flags & (MEM_Str|MEM_Int|MEM_Real|MEM_IntReal))==MEM_Str ); in applyNumericAffinity()
349 pRec->flags |= MEM_Int; in applyNumericAffinity()
389 if( (pRec->flags & MEM_Int)==0 ){ /*OPTIMIZATION-IF-FALSE*/ in applyAffinity()
403 if( (pRec->flags&(MEM_Real|MEM_Int|MEM_IntReal)) ){ in applyAffinity()
404 testcase( pRec->flags & MEM_Int ); in applyAffinity()
410 pRec->flags &= ~(MEM_Real|MEM_Int|MEM_IntReal); in applyAffinity()
451 assert( (pMem->flags & (MEM_Int|MEM_Real|MEM_IntReal))==0 ); in computeNumericType()
455 return MEM_Int; in computeNumericType()
461 return MEM_Int; in computeNumericType()
467 return MEM_Int; in computeNumericType()
482 if( pMem->flags & (MEM_Int|MEM_Real|MEM_IntReal|MEM_Null) ){ in numericType()
483 testcase( pMem->flags & MEM_Int ); in numericType()
486 return pMem->flags & (MEM_Int|MEM_Real|MEM_IntReal|MEM_Null); in numericType()
565 }else if( (p->flags & (MEM_Int|MEM_Str))==(MEM_Int|MEM_Str) ){ in memTracePrint()
569 }else if( p->flags & MEM_Int ){ in memTracePrint()
657 pOut->flags = MEM_Int; in out2PrereleaseWithClear()
669 pOut->flags = MEM_Int; in out2Prerelease()
685 if( p->flags & (MEM_Int|MEM_IntReal) ){ in filterHash()
985 pIn1->flags = MEM_Int; in sqlite3VdbeExec()
1015 if( pIn1->flags & MEM_Int ){ in sqlite3VdbeExec()
1042 pOut->flags = MEM_Int; in sqlite3VdbeExec()
1065 assert( pIn1->flags==MEM_Int ); in sqlite3VdbeExec()
1092 pIn1->flags = MEM_Int; in sqlite3VdbeExec()
1312 assert( pIn3->flags & MEM_Int ); in sqlite3VdbeExec()
1557 assert( (pIn1->flags & MEM_Int)!=0 ); in sqlite3VdbeExec()
1748 if( (type1 & type2 & MEM_Int)!=0 ){ in sqlite3VdbeExec()
1770 MemSetTypeFlag(pOut, MEM_Int); in sqlite3VdbeExec()
1776 if( (type1 & type2 & MEM_Int)!=0 ) goto int_math; in sqlite3VdbeExec()
1801 MemSetTypeFlag(pOut, MEM_Int); in sqlite3VdbeExec()
1918 MemSetTypeFlag(pOut, MEM_Int); in sqlite3VdbeExec()
1947 if( (pIn1->flags & MEM_Int)==0 ){ in sqlite3VdbeExec()
1949 if( (pIn1->flags & MEM_Int)==0 ){ in sqlite3VdbeExec()
1960 MemSetTypeFlag(pIn1, MEM_Int); in sqlite3VdbeExec()
1976 if( pIn1->flags & (MEM_Int|MEM_IntReal) ){ in sqlite3VdbeExec()
1977 testcase( pIn1->flags & MEM_Int ); in sqlite3VdbeExec()
2128 if( (flags1 & flags3 & MEM_Int)!=0 ){ in sqlite3VdbeExec()
2188 if( (flags1 & (MEM_Int|MEM_IntReal|MEM_Real|MEM_Str))==MEM_Str ){ in sqlite3VdbeExec()
2193 if( (flags3 & (MEM_Int|MEM_IntReal|MEM_Real|MEM_Str))==MEM_Str ){ in sqlite3VdbeExec()
2198 if( (flags1 & MEM_Str)==0 && (flags1&(MEM_Int|MEM_Real|MEM_IntReal))!=0 ){ in sqlite3VdbeExec()
2199 testcase( pIn1->flags & MEM_Int ); in sqlite3VdbeExec()
2207 if( (flags3 & MEM_Str)==0 && (flags3&(MEM_Int|MEM_Real|MEM_IntReal))!=0 ){ in sqlite3VdbeExec()
2208 testcase( pIn3->flags & MEM_Int ); in sqlite3VdbeExec()
2441 MemSetTypeFlag(pOut, MEM_Int); in sqlite3VdbeExec()
2505 pOut->flags = MEM_Int; in sqlite3VdbeExec()
3131 if( (pIn1->flags & MEM_Int)==0 ) goto vdbe_type_error; in sqlite3VdbeExec()
3141 if( pIn1->flags & MEM_Int ){ in sqlite3VdbeExec()
3152 pIn1->flags &= ~MEM_Int; in sqlite3VdbeExec()
3156 pIn1->flags &= ~MEM_Int; in sqlite3VdbeExec()
3204 if( zAffinity[0]==SQLITE_AFF_REAL && (pIn1->flags & MEM_Int)!=0 ){ in sqlite3VdbeExec()
3215 pIn1->flags &= ~MEM_Int; in sqlite3VdbeExec()
3219 pIn1->flags &= ~MEM_Int; in sqlite3VdbeExec()
3310 if( zAffinity[0]==SQLITE_AFF_REAL && (pRec->flags & MEM_Int) ){ in sqlite3VdbeExec()
3312 pRec->flags &= ~(MEM_Int); in sqlite3VdbeExec()
3380 }else if( pRec->flags & (MEM_Int|MEM_IntReal) ){ in sqlite3VdbeExec()
3384 testcase( pRec->flags & MEM_Int ); in sqlite3VdbeExec()
4202 assert( (pIn2->flags & MEM_Int)!=0 ); in sqlite3VdbeExec()
4638 if( (flags3 & (MEM_Int|MEM_Real|MEM_IntReal|MEM_Str))==MEM_Str ){ in sqlite3VdbeExec()
4647 if( (newType & (MEM_Int|MEM_IntReal))==0 ){ in sqlite3VdbeExec()
5272 testcase( pIn3->flags & MEM_Int ); in sqlite3VdbeExec()
5275 testcase( (pIn3->flags & (MEM_Str|MEM_Int))==MEM_Str ); in sqlite3VdbeExec()
5276 if( (pIn3->flags & (MEM_Int|MEM_IntReal))==0 ){ in sqlite3VdbeExec()
5284 if( (x.flags & MEM_Int)==0 ) goto jump_to_p2; in sqlite3VdbeExec()
5292 assert( (pIn3->flags & MEM_Int)!=0 || pOp->opcode==OP_SeekRowid ); in sqlite3VdbeExec()
5441 assert( (pMem->flags & MEM_Int)!=0 ); /* mem(P3) holds an integer */ in sqlite3VdbeExec()
5541 assert( pKey->flags & MEM_Int ); in sqlite3VdbeExec()
5716 || (aMem[pOp->p3].flags & MEM_Int) in sqlite3VdbeExec()
6657 pOut->flags = MEM_Int; in sqlite3VdbeExec()
6947 assert( (pnErr->flags & MEM_Int)!=0 ); in sqlite3VdbeExec()
6980 assert( (pIn2->flags & MEM_Int)!=0 ); in sqlite3VdbeExec()
7047 assert( pIn3->flags&MEM_Int ); in sqlite3VdbeExec()
7330 assert( pIn1->flags&MEM_Int ); in sqlite3VdbeExec()
7362 assert( pIn1->flags & MEM_Int ); in sqlite3VdbeExec()
7363 assert( pIn3->flags & MEM_Int ); in sqlite3VdbeExec()
7390 assert( pIn1->flags&MEM_Int ); in sqlite3VdbeExec()
7407 assert( pIn1->flags&MEM_Int ); in sqlite3VdbeExec()
8069 assert( (pQuery->flags&MEM_Int)!=0 && pArgc->flags==MEM_Int ); in sqlite3VdbeExec()