Searched refs:mallocFailed (Results 1 - 25 of 37) sorted by relevance
12
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | prepare.c | 28 if( !db->mallocFailed && (db->flags & SQLITE_RecoveryMode)==0 ){ 37 pData->rc = db->mallocFailed ? SQLITE_NOMEM : SQLITE_CORRUPT_BKPT; 61 if( db->mallocFailed ){ 94 db->mallocFailed = 1; 339 if( db->mallocFailed ){ 368 db->mallocFailed = 1; 463 db->mallocFailed = 1; 543 assert( !db->mallocFailed ); 610 if( db->mallocFailed ){ 617 if( db->mallocFailed ){ [all...] |
H A D | utf.c | 446 if( db->mallocFailed ){ 450 assert( (m.flags & MEM_Term)!=0 || db->mallocFailed ); 451 assert( (m.flags & MEM_Str)!=0 || db->mallocFailed ); 452 assert( (m.flags & MEM_Dyn)!=0 || db->mallocFailed ); 453 assert( m.z || db->mallocFailed ); 464 ** If a malloc failure occurs, NULL is returned and the db.mallocFailed 474 assert( db->mallocFailed );
|
H A D | malloc.c | 581 ** the mallocFailed flag in the connection pointer. 593 ** the mallocFailed flag in the connection pointer. 595 ** If db!=0 and db->mallocFailed is true (indicating a prior malloc 598 ** failing, it fails consistently until mallocFailed is reset. 616 if( db->mallocFailed ){ 636 if( db && db->mallocFailed ){ 642 db->mallocFailed = 1; 651 ** resize fails, set the mallocFailed flag in the connection object. 657 if( db->mallocFailed==0 ){ 677 db->mallocFailed [all...] |
H A D | main.c | 1013 ** is returned and the mallocFailed flag cleared. 1076 assert( !db->mallocFailed ); 1084 assert(p || db->mallocFailed); 1173 assert( !db->mallocFailed ); 1525 if( db->mallocFailed ){ 1529 assert( !db->mallocFailed ); 1564 if( db->mallocFailed ){ 1574 ** above. If this is the case, then the db->mallocFailed flag needs to 1578 db->mallocFailed = 0; 1593 if( !db || db->mallocFailed ){ [all...] |
H A D | tokenize.c | 409 db->mallocFailed = 1; 420 while( !db->mallocFailed && zSql[i]!=0 ){ 474 if( db->mallocFailed ){
|
H A D | legacy.c | 94 db->mallocFailed = 1;
|
H A D | vdbeblob.c | 254 assert( pBlob->pStmt || db->mallocFailed ); 299 if( !db->mallocFailed ){ 308 if( db->mallocFailed ){ 316 if( rc==SQLITE_OK && db->mallocFailed==0 ){
|
H A D | trigger.c | 126 if( !pTableName || db->mallocFailed ){ 136 if( db->mallocFailed ) goto trigger_cleanup; 315 db->mallocFailed = 1; 355 ** If an OOM error occurs, NULL is returned and db->mallocFailed is set. 393 assert(pEList != 0 || pSelect != 0 || db->mallocFailed); 485 if( db->mallocFailed ) goto drop_trigger_cleanup; 871 && db->mallocFailed==0 890 if( db->mallocFailed==0 ){ 959 assert( pPrg || pParse->nErr || pParse->db->mallocFailed );
|
H A D | alter.c | 413 if( NEVER(db->mallocFailed) ) goto exit_rename_table; 635 if( pParse->nErr || db->mallocFailed ) return; 692 db->mallocFailed = 1; 759 if( db->mallocFailed ) goto exit_begin_add_column; 800 db->mallocFailed = 1;
|
H A D | vdbeaux.c | 388 return ( v->db->mallocFailed || hasAbort==mayAbort ); 463 assert( aOp && !p->db->mallocFailed ); 709 if( p->aOp==0 || db->mallocFailed ){ 749 p->db->mallocFailed = 1; 781 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed ); 795 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed ); 838 assert( (addr>=0 && addr<p->nOp) || p->db->mallocFailed ); 839 if( p->db->mallocFailed ){ 1058 u8 malloc_failed = db->mallocFailed; 1089 db->mallocFailed [all...] |
H A D | resolve.c | 608 return (pParse->nErr || pParse->db->mallocFailed) ? WRC_Abort : WRC_Continue; 781 if( !db->mallocFailed ){ 836 if( pOrderBy==0 || pParse->db->mallocFailed ) return 0; 956 return (pParse->nErr || db->mallocFailed) ? WRC_Abort : WRC_Prune; 1003 if( pParse->nErr || db->mallocFailed ) return WRC_Abort; 1054 if( db->mallocFailed ){ 1064 if( resolveOrderGroupBy(&sNC, p, pGroupBy, "GROUP") || db->mallocFailed ){
|
H A D | analyze.c | 286 if( db->mallocFailed ){ 597 ** If an OOM error occurs, this function always sets db->mallocFailed. 670 db->mallocFailed = 1; 698 db->mallocFailed = 1; 713 db->mallocFailed = 1;
|
H A D | btreeInt.h | 633 int mallocFailed; /* A memory allocation error has occurred */ member in struct:IntegrityCk
|
H A D | notify.c | 186 assert( !db->mallocFailed );
|
H A D | callback.c | 178 db->mallocFailed = 1; 448 db->mallocFailed = 1;
|
H A D | select.c | 66 assert( db->mallocFailed || !pOffset || pLimit ); /* OFFSET implies LIMIT */ 88 if( db->mallocFailed ) { 1161 if( pParse->colNamesSet || NEVER(v==0) || db->mallocFailed ) return; 1266 if( db->mallocFailed ){ 1288 if( db->mallocFailed ){ 1327 assert( nCol==pSelect->pEList->nExpr || db->mallocFailed ); 1328 if( db->mallocFailed ) return; 1373 if( db->mallocFailed ){ 1930 if( pParse->db->mallocFailed ) return 0; 2191 for(i=1; db->mallocFailed [all...] |
H A D | vdbeapi.c | 308 pCtx->s.db->mallocFailed = 1; 376 if( db->mallocFailed ){ 496 if( !db->mallocFailed ){ 726 ** malloc() has failed, the threads mallocFailed flag is cleared and the result 859 assert( db->mallocFailed==0 ); 862 ** is the case, clear the mallocFailed flag and return NULL. 864 if( db->mallocFailed ){ 865 db->mallocFailed = 0;
|
H A D | vtab.c | 49 db->mallocFailed = 1; 392 db->mallocFailed = 1; 462 if( rc==SQLITE_NOMEM ) db->mallocFailed = 1; 663 && !db->mallocFailed 936 pToplevel->db->mallocFailed = 1;
|
H A D | build.c | 90 pToplevel->db->mallocFailed = 1; 131 if( db->mallocFailed ) return; 194 if( v && ALWAYS(pParse->nErr==0) && !db->mallocFailed ){ 830 db->mallocFailed = 1; 1395 db->mallocFailed = 1; 1467 if( (pEnd==0 && pSelect==0) || db->mallocFailed ){ 1639 db->mallocFailed = 1; 1710 if( db->mallocFailed ){ 1995 if( db->mallocFailed ){ 2260 db->mallocFailed [all...] |
H A D | attach.c | 208 db->mallocFailed = 1; 337 assert( v || db->mallocFailed );
|
H A D | vacuum.c | 187 || NEVER(db->mallocFailed)
|
H A D | where.c | 321 ** the db->mallocFailed flag so that higher-level functions can detect it. 874 if( db->mallocFailed ) return; 901 testcase( db->mallocFailed ); 902 if( !db->mallocFailed ){ 1113 if( db->mallocFailed ){ 1158 if( db->mallocFailed ){ 1257 if( !db->mallocFailed ){ 2077 pParse->db->mallocFailed = 1; 2345 assert( db->mallocFailed ); 3227 assert( pParse->db->mallocFailed ); [all...] |
H A D | insert.c | 72 db->mallocFailed = 1; 114 db->mallocFailed = 1; 481 if( pParse->nErr || db->mallocFailed ){ 606 if( rc || NEVER(pParse->nErr) || db->mallocFailed ){
|
H A D | fkey.c | 179 ** pParse->db->mallocFailed flag is set. 725 if( !isIgnoreErrors || db->mallocFailed ) return; 788 if( !isIgnoreErrors || db->mallocFailed ) return; 1094 if( db->mallocFailed==1 ){
|
H A D | vdbemem.c | 561 if( db->mallocFailed ){ 985 || pVal->db->mallocFailed ); 1116 db->mallocFailed = 1;
|
Completed in 271 milliseconds
12