Home
last modified time | relevance | path

Searched refs:destructor (Results 1 – 9 of 9) sorted by relevance

/sqlite-3.40.0/ext/fts5/
H A Dfts5parse.y83 %destructor input { (void)pParse; }
88 %destructor cnearset { sqlite3Fts5ParseNodeFree($$); }
89 %destructor expr { sqlite3Fts5ParseNodeFree($$); }
90 %destructor exprlist { sqlite3Fts5ParseNodeFree($$); }
93 %destructor colset { sqlite3_free($$); }
95 %destructor colsetlist { sqlite3_free($$); }
148 %destructor nearset { sqlite3Fts5ParseNearsetFree($$); }
149 %destructor nearphrases { sqlite3Fts5ParseNearsetFree($$); }
183 %destructor phrase { sqlite3Fts5ParsePhraseFree($$); }
/sqlite-3.40.0/src/
H A Dparse.y496 %destructor select {sqlite3SelectDelete(pParse->db, $$);}
615 %destructor values {sqlite3SelectDelete(pParse->db, $$);}
648 %destructor sclp {sqlite3ExprListDelete(pParse->db, $$);}
681 %destructor from {sqlite3SrcListDelete(pParse->db, $$);}
1030 %destructor idlist {sqlite3IdListDelete(pParse->db, $$);}
1043 %destructor expr {sqlite3ExprDelete(pParse->db, $$);}
1045 %destructor term {sqlite3ExprDelete(pParse->db, $$);}
1484 %destructor vinto {sqlite3ExprDelete(pParse->db, $$);}
1650 %destructor key_opt {sqlite3ExprDelete(pParse->db, $$);}
1722 %destructor wqlist {sqlite3WithDelete(pParse->db, $$);}
[all …]
H A Dtest_func.c92 static void destructor(void *p){ in destructor() function
119 sqlite3_result_text(pCtx, zVal, -1, destructor); in test_destructor()
142 sqlite3_result_text16(pCtx, zVal, -1, destructor); in test_destructor16()
H A Dsqlite.h.in4532 ** a pointer to a destructor function for P. ^SQLite will invoke the
4533 ** destructor D with a single argument of P when it is finished using
5206 ** created) and the presence or absence of a destructor callback for
5294 ** closes.)^ ^The destructor is also invoked if the call to
5762 ** Note the last bullet in particular. The destructor X in
5893 ** function as the destructor on the text or BLOB result when it has
6532 ** destructor for the P parameter. ^If X is not NULL, then X(P) is
7287 ** is a pointer to a destructor for the pClientData. ^SQLite will
7288 ** invoke the destructor function (if it is not NULL) when SQLite
7293 ** destructor.
[all …]
/sqlite-3.40.0/tool/
H A Dlemon.c265 char *destructor; /* Code which executes whenever this symbol is member
2577 psp->declargslot = &sp->destructor; in parseonetoken()
3741 }else if( sp->destructor ){ in emit_destructor_code()
3742 cp = sp->destructor; in emit_destructor_code()
3781 ret = lemp->vardest!=0 || sp->destructor!=0; in has_destructor()
4811 sp->index<=0 || sp->destructor!=0 ) continue; in ReportTable()
4826 if( sp==0 || sp->type==TERMINAL || sp->destructor==0 ) continue; in ReportTable()
4833 if( sp2 && sp2->type!=TERMINAL && sp2->destructor in ReportTable()
4835 && strcmp(sp->destructor,sp2->destructor)==0 ){ in ReportTable()
5394 sp->destructor = 0; in Symbol_new()
/sqlite-3.40.0/test/
H A Dfunc3.test12 # focus of this file is testing that destructor functions associated
H A Dfunc.test596 # text form of that argument. A destructor is associated with the return
598 # destructor calls for values returned by test_destructor().
H A Dexpr.test932 # These two statements used to leak memory (because of missing %destructor
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5aux.test82 # Test the xSet and xGetAuxdata APIs with a NULL destructor.