Lines Matching refs:i64
73 typedef sqlite3_int64 i64; typedef
165 i64 nRowEst; /* Estimated number of rows in this table */
361 i64 iNode; /* The node number */
375 i64 iRowid; /* Node or entry ID */
520 static i64 readInt64(u8 *p){ in readInt64()
524 return (i64)_byteswap_uint64(x); in readInt64()
528 return (i64)__builtin_bswap64(x); in readInt64()
530 i64 x; in readInt64()
534 return (i64)( in readInt64()
579 static int writeInt64(u8 *p, i64 i){ in writeInt64()
581 i = (i64)__builtin_bswap64((u64)i); in writeInt64()
584 i = (i64)_byteswap_uint64((u64)i); in writeInt64()
623 static unsigned int nodeHash(i64 iNode){ in nodeHash()
631 static RtreeNode *nodeHashLookup(Rtree *pRtree, i64 iNode){ in nodeHashLookup()
698 i64 iNode, /* Node number to load */ in nodeAcquire()
921 static i64 nodeGetRowid( in nodeGetRowid()
1360 i64 iRowid, in nodeRowidIndex()
1778 i64 iRowid, /* The rowid searching for */ in findLeafNode()
1786 i64 iNode = sqlite3_column_int64(pRtree->pReadRowid, 0); in findLeafNode()
1854 i64 iRowid = sqlite3_value_int64(argv[0]); in rtreeFilter()
1855 i64 iNode = 0; in rtreeFilter()
1990 i64 nRow; /* Estimated rows returned by this scan */ in rtreeBestIndex()
2090 case 5: area = (i64)p->aCoord[9].i - (i64)p->aCoord[8].i; in cellArea()
2091 case 4: area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i; in cellArea()
2092 case 3: area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i; in cellArea()
2093 case 2: area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i; in cellArea()
2094 default: area *= (i64)p->aCoord[1].i - (i64)p->aCoord[0].i; in cellArea()
2557 i64 iRowid, in updateMapping()
2679 i64 iRowid = nodeGetRowid(pRtree, pRight, i); in SplitNode()
2690 i64 iRowid = nodeGetRowid(pRtree, pLeft, i); in SplitNode()
2736 i64 iNode; /* Node number of parent node */ in fixLeafParent()
3039 static int rtreeNewRowid(Rtree *pRtree, i64 *piRowid){ in rtreeNewRowid()
3104 i64 iChild = nodeGetRowid(pRtree, pRoot, 0); in rtreeDeleteRowid()
3440 i64 nRow = RTREE_MIN_ROWEST; in rtreeQueryStat1()
4035 static u8 *rtreeCheckGetNode(RtreeCheck *pCheck, i64 iNode, int *pnNode){ in rtreeCheckGetNode()
4082 i64 iKey, /* Key for mapping */ in rtreeCheckMapping()
4083 i64 iVal /* Expected value for mapping */ in rtreeCheckMapping()
4108 i64 ii = sqlite3_column_int64(pStmt, 0); in rtreeCheckMapping()
4133 i64 iNode, /* Node id to use in error messages */ in rtreeCheckCellCoord()
4181 i64 iNode /* Node to check */ in rtreeCheckNode()
4215 i64 iVal = readInt64(pCell); in rtreeCheckNode()
4240 static void rtreeCheckCount(RtreeCheck *pCheck, const char *zTbl, i64 nExpect){ in rtreeCheckCount()
4248 i64 nActual = sqlite3_column_int64(pCount, 0); in rtreeCheckCount()