Lines Matching refs:pCur
125 templatevtab_cursor *pCur; in templatevtabOpen() local
126 pCur = sqlite3_malloc( sizeof(*pCur) ); in templatevtabOpen()
127 if( pCur==0 ) return SQLITE_NOMEM; in templatevtabOpen()
128 memset(pCur, 0, sizeof(*pCur)); in templatevtabOpen()
129 *ppCursor = &pCur->base; in templatevtabOpen()
137 templatevtab_cursor *pCur = (templatevtab_cursor*)cur; in templatevtabClose() local
138 sqlite3_free(pCur); in templatevtabClose()
147 templatevtab_cursor *pCur = (templatevtab_cursor*)cur; in templatevtabNext() local
148 pCur->iRowid++; in templatevtabNext()
161 templatevtab_cursor *pCur = (templatevtab_cursor*)cur; in templatevtabColumn() local
164 sqlite3_result_int(ctx, 1000 + pCur->iRowid); in templatevtabColumn()
168 sqlite3_result_int(ctx, 2000 + pCur->iRowid); in templatevtabColumn()
179 templatevtab_cursor *pCur = (templatevtab_cursor*)cur; in templatevtabRowid() local
180 *pRowid = pCur->iRowid; in templatevtabRowid()
189 templatevtab_cursor *pCur = (templatevtab_cursor*)cur; in templatevtabEof() local
190 return pCur->iRowid>=10; in templatevtabEof()
204 templatevtab_cursor *pCur = (templatevtab_cursor *)pVtabCursor; in templatevtabFilter() local
205 pCur->iRowid = 1; in templatevtabFilter()