/external/chromium_org/third_party/sqlite/src/test/ |
D | malloc4.test | 92 set ::mallocFailed [expr [sqlite3_memdebug_pending] < 0] 95 $::name8 == $::name8_2 && $::name16 == $::name8 && !$::mallocFailed || 96 $::name8 == $::name8_2 && $::name16 == "" && $::mallocFailed || 97 $::name8 == $::name16 && $::name8_2 == "" && $::mallocFailed || 98 $::name8_2 == $::name16 && $::name8 == "" && $::mallocFailed 117 set mf [expr [sqlite3_memdebug_pending] < 0 && !$::mallocFailed] 124 set mf [expr [sqlite3_memdebug_pending] < 0 && !$::mallocFailed] 129 set mf [expr [sqlite3_memdebug_pending] < 0 && !$::mallocFailed] 160 [sqlite3_memdebug_pending] < 0 && !$::mallocFailed 175 if {$::mallocFailed == 0 && $mallocFailedAfterStep == 0} {
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | prepare.c | 28 if( !db->mallocFailed && (db->flags & SQLITE_RecoveryMode)==0 ){ in corruptSchema() 37 pData->rc = db->mallocFailed ? SQLITE_NOMEM : SQLITE_CORRUPT_BKPT; in corruptSchema() 61 if( db->mallocFailed ){ in sqlite3InitCallback() 94 db->mallocFailed = 1; in sqlite3InitCallback() 339 if( db->mallocFailed ){ in sqlite3InitOne() 368 db->mallocFailed = 1; in sqlite3InitOne() 463 db->mallocFailed = 1; in schemaIsValid() 543 assert( !db->mallocFailed ); in sqlite3Prepare() 610 if( db->mallocFailed ){ in sqlite3Prepare() 617 if( db->mallocFailed ){ in sqlite3Prepare() [all …]
|
D | utf.c | 446 if( db->mallocFailed ){ in sqlite3Utf16to8() 450 assert( (m.flags & MEM_Term)!=0 || db->mallocFailed ); in sqlite3Utf16to8() 451 assert( (m.flags & MEM_Str)!=0 || db->mallocFailed ); in sqlite3Utf16to8() 452 assert( (m.flags & MEM_Dyn)!=0 || db->mallocFailed ); in sqlite3Utf16to8() 453 assert( m.z || db->mallocFailed ); in sqlite3Utf16to8() 474 assert( db->mallocFailed ); in sqlite3Utf8to16()
|
D | printf.c | 670 pAccum->mallocFailed = 1; in sqlite3VXPrintf() 750 if( p->tooBig | p->mallocFailed ){ in sqlite3StrAccumAppend() 752 testcase(p->mallocFailed); in sqlite3StrAccumAppend() 789 p->mallocFailed = 1; in sqlite3StrAccumAppend() 816 p->mallocFailed = 1; in sqlite3StrAccumFinish() 848 p->mallocFailed = 0; in sqlite3StrAccumInit() 865 if( acc.mallocFailed ){ in sqlite3VMPrintf() 866 db->mallocFailed = 1; in sqlite3VMPrintf()
|
D | main.c | 1076 assert( !db->mallocFailed ); in sqlite3CreateFunc() 1084 assert(p || db->mallocFailed); in sqlite3CreateFunc() 1173 assert( !db->mallocFailed ); in sqlite3_create_function16() 1525 if( db->mallocFailed ){ in sqlite3_errmsg() 1529 assert( !db->mallocFailed ); in sqlite3_errmsg() 1564 if( db->mallocFailed ){ in sqlite3_errmsg16() 1578 db->mallocFailed = 0; in sqlite3_errmsg16() 1593 if( !db || db->mallocFailed ){ in sqlite3_errcode() 1602 if( !db || db->mallocFailed ){ in sqlite3_extended_errcode() 1925 if( db->mallocFailed ){ in openDatabase() [all …]
|
D | malloc.c | 616 if( db->mallocFailed ){ in sqlite3DbMallocRaw() 636 if( db && db->mallocFailed ){ in sqlite3DbMallocRaw() 642 db->mallocFailed = 1; in sqlite3DbMallocRaw() 657 if( db->mallocFailed==0 ){ in sqlite3DbRealloc() 677 db->mallocFailed = 1; in sqlite3DbRealloc() 770 if( db && (db->mallocFailed || rc==SQLITE_IOERR_NOMEM) ){ in sqlite3ApiExit() 772 db->mallocFailed = 0; in sqlite3ApiExit()
|
D | vdbeblob.c | 254 assert( pBlob->pStmt || db->mallocFailed ); in sqlite3_blob_open() 299 if( !db->mallocFailed ){ in sqlite3_blob_open() 308 if( db->mallocFailed ){ in sqlite3_blob_open() 316 if( rc==SQLITE_OK && db->mallocFailed==0 ){ in sqlite3_blob_open()
|
D | trigger.c | 126 if( !pTableName || db->mallocFailed ){ in sqlite3BeginTrigger() 136 if( db->mallocFailed ) goto trigger_cleanup; in sqlite3BeginTrigger() 315 db->mallocFailed = 1; in sqlite3FinishTrigger() 393 assert(pEList != 0 || pSelect != 0 || db->mallocFailed); in sqlite3TriggerInsertStep() 485 if( db->mallocFailed ) goto drop_trigger_cleanup; in sqlite3DropTrigger() 871 && db->mallocFailed==0 in codeRowTrigger() 890 if( db->mallocFailed==0 ){ in codeRowTrigger() 959 assert( pPrg || pParse->nErr || pParse->db->mallocFailed ); in sqlite3CodeRowTriggerDirect()
|
D | alter.c | 413 if( NEVER(db->mallocFailed) ) goto exit_rename_table; in sqlite3AlterRenameTable() 635 if( pParse->nErr || db->mallocFailed ) return; in sqlite3AlterFinishAddColumn() 692 db->mallocFailed = 1; in sqlite3AlterFinishAddColumn() 759 if( db->mallocFailed ) goto exit_begin_add_column; in sqlite3AlterBeginAddColumn() 800 db->mallocFailed = 1; in sqlite3AlterBeginAddColumn()
|
D | vdbeaux.c | 388 return ( v->db->mallocFailed || hasAbort==mayAbort ); in sqlite3VdbeAssertMayAbort() 463 assert( aOp && !p->db->mallocFailed ); in sqlite3VdbeTakeOpArray() 709 if( p->aOp==0 || db->mallocFailed ){ in sqlite3VdbeChangeP4() 749 p->db->mallocFailed = 1; in sqlite3VdbeChangeP4() 781 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed ); in sqlite3VdbeComment() 795 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed ); in sqlite3VdbeNoopComment() 838 assert( (addr>=0 && addr<p->nOp) || p->db->mallocFailed ); in sqlite3VdbeGetOp() 839 if( p->db->mallocFailed ){ in sqlite3VdbeGetOp() 1058 u8 malloc_failed = db->mallocFailed; in releaseMemArray() 1089 db->mallocFailed = malloc_failed; in releaseMemArray() [all …]
|
D | tokenize.c | 409 db->mallocFailed = 1; in sqlite3RunParser() 420 while( !db->mallocFailed && zSql[i]!=0 ){ in sqlite3RunParser() 474 if( db->mallocFailed ){ in sqlite3RunParser()
|
D | resolve.c | 608 return (pParse->nErr || pParse->db->mallocFailed) ? WRC_Abort : WRC_Continue; in resolveExprStep() 781 if( !db->mallocFailed ){ in resolveCompoundOrderBy() 836 if( pOrderBy==0 || pParse->db->mallocFailed ) return 0; in sqlite3ResolveOrderGroupBy() 956 return (pParse->nErr || db->mallocFailed) ? WRC_Abort : WRC_Prune; in resolveSelectStep() 1003 if( pParse->nErr || db->mallocFailed ) return WRC_Abort; in resolveSelectStep() 1054 if( db->mallocFailed ){ in resolveSelectStep() 1064 if( resolveOrderGroupBy(&sNC, p, pGroupBy, "GROUP") || db->mallocFailed ){ in resolveSelectStep()
|
D | build.c | 93 pToplevel->db->mallocFailed = 1; in sqlite3TableLock() 134 if( db->mallocFailed ) return; in sqlite3FinishCoding() 197 if( v && ALWAYS(pParse->nErr==0) && !db->mallocFailed ){ in sqlite3FinishCoding() 833 db->mallocFailed = 1; in sqlite3StartTable() 1398 db->mallocFailed = 1; in createTableStmt() 1470 if( (pEnd==0 && pSelect==0) || db->mallocFailed ){ in sqlite3EndTable() 1642 db->mallocFailed = 1; in sqlite3EndTable() 1713 if( db->mallocFailed ){ in sqlite3CreateView() 1998 if( db->mallocFailed ){ in sqlite3DropTable() 2263 db->mallocFailed = 1; in sqlite3CreateForeignKey() [all …]
|
D | select.c | 66 assert( db->mallocFailed || !pOffset || pLimit ); /* OFFSET implies LIMIT */ in sqlite3SelectNew() 88 if( db->mallocFailed ) { in sqlite3SelectNew() 1161 if( pParse->colNamesSet || NEVER(v==0) || db->mallocFailed ) return; in generateColumnNames() 1266 if( db->mallocFailed ){ in selectColumnsFromExprList() 1288 if( db->mallocFailed ){ in selectColumnsFromExprList() 1327 assert( nCol==pSelect->pEList->nExpr || db->mallocFailed ); in selectAddColumnTypeAndCollation() 1328 if( db->mallocFailed ) return; in selectAddColumnTypeAndCollation() 1373 if( db->mallocFailed ){ in sqlite3ResultSetOfSelect() 1930 if( pParse->db->mallocFailed ) return 0; in generateOutputSubroutine() 2191 for(i=1; db->mallocFailed==0 && i<=p->pEList->nExpr; i++){ in multiSelectOrderBy() [all …]
|
D | vtab.c | 49 db->mallocFailed = 1; in createModule() 392 db->mallocFailed = 1; in sqlite3VtabFinishParse() 462 if( rc==SQLITE_NOMEM ) db->mallocFailed = 1; in vtabCallConstructor() 663 && !db->mallocFailed in sqlite3_declare_vtab() 936 pToplevel->db->mallocFailed = 1; in sqlite3VtabMakeWritable()
|
D | analyze.c | 286 if( db->mallocFailed ){ in analyzeOneTable() 670 db->mallocFailed = 1; in sqlite3AnalysisLoad() 698 db->mallocFailed = 1; in sqlite3AnalysisLoad() 713 db->mallocFailed = 1; in sqlite3AnalysisLoad()
|
D | vdbeapi.c | 308 pCtx->s.db->mallocFailed = 1; in sqlite3_result_error_nomem() 376 if( db->mallocFailed ){ in sqlite3Step() 496 if( !db->mallocFailed ){ in sqlite3_step() 859 assert( db->mallocFailed==0 ); in columnName() 864 if( db->mallocFailed ){ in columnName() 865 db->mallocFailed = 0; in columnName()
|
D | legacy.c | 94 db->mallocFailed = 1; in sqlite3_exec()
|
D | callback.c | 178 db->mallocFailed = 1; in findCollSeqEntry() 448 db->mallocFailed = 1; in sqlite3SchemaGet()
|
D | attach.c | 208 db->mallocFailed = 1; in attachFunc() 337 assert( v || db->mallocFailed ); in codeAttach()
|
D | notify.c | 186 assert( !db->mallocFailed ); in sqlite3_unlock_notify()
|
D | btreeInt.h | 633 int mallocFailed; /* A memory allocation error has occurred */ member
|
D | where.c | 874 if( db->mallocFailed ) return; in exprAnalyzeOrTerm() 901 testcase( db->mallocFailed ); in exprAnalyzeOrTerm() 902 if( !db->mallocFailed ){ in exprAnalyzeOrTerm() 1113 if( db->mallocFailed ){ in exprAnalyze() 1158 if( db->mallocFailed ){ in exprAnalyze() 1257 if( !db->mallocFailed ){ in exprAnalyze() 2077 pParse->db->mallocFailed = 1; in vtabBestIndex() 2345 assert( db->mallocFailed ); in whereRangeRegion() 3227 assert( pParse->db->mallocFailed ); in codeApplyAffinity() 3387 pParse->db->mallocFailed = 1; in codeAllEqualityTerms() [all …]
|
D | vacuum.c | 187 || NEVER(db->mallocFailed) in sqlite3RunVacuum()
|
/external/sqlite/dist/ |
D | Android.patch | 90 - if( !db->mallocFailed && rc==SQLITE_OK ){ 98 + if( !db->mallocFailed && rc==SQLITE_OK ){ 102 + if( !db->mallocFailed && rc==SQLITE_OK ){ 107 + if( !db->mallocFailed && rc==SQLITE_OK ){
|