Lines Matching defs:oom
11933 ** If some other error occurs (e.g. an OOM condition), an SQLite error code
11967 ** If some other error occurs (e.g. an OOM condition), an SQLite error code
11995 ** If some other error occurs (e.g. an OOM condition), an SQLite error code
13111 ** an OOM condition or IO error), an appropriate SQLite error code is
13125 ** an OOM condition or IO error), an appropriate SQLite error code is
13231 ** If an error (e.g. an OOM condition) occurs within this function,
19734 u8 earlyCleanup; /* OOM inside sqlite3ParserAddCleanup() */
30753 ** Call this routine to record the fact that an OOM (out-of-memory) error
30763 ** common case where no OOM occurs.
30822 ** If an OOM as occurred, then the connection error-code (the value
32250 ** This routine returns 0 on an OOM.
36354 ** VList object be reallocated, so return the new VList. If an OOM
54300 ** an OOM error.
56262 ** In an OOM situation, the RowSet.db->mallocFailed flag is set and this
80577 ** Record an OOM error during integrity_check
81766 /* One (or both) of the named databases did not exist or an OOM
84238 ** (e.g. OOM), return SQLITE_OK and set *ppVal to NULL. Or, if an error
84540 ** simulated OOM faults. SQLITE_TEST_REALLOC_STRESS is generally used
85434 ** fail due to a OOM fault and hence that the return value from
86040 ** after an OOM fault without having to check to see if the return from
86091 sqlite3 *db, /* Optional - Oom error reporting only */
88537 ** If an OOM error occurs, NULL is returned.
88769 u8 *prcErr /* If an OOM occurs, set to SQLITE_NOMEM */
89045 ** SQLITE_CORRUPT and return 0. If an OOM error is encountered,
90255 ** is too big or if an OOM occurs.
92009 ** if successful, or a NULL pointer if an OOM error is encountered.
99192 ** since it was last positioned and an error (e.g. OOM or an IO error)
103042 ** If an OOM error is encountered, (pTask->pUnpacked->error_rc) is set
104252 ** If an OOM condition is encountered, return NULL. In this case free the
107869 ** an appropriate error message might be left in pParse. (OOM errors
109417 ** Expr node. Or, if an OOM error occurs, set pParse->db->mallocFailed,
109820 ** The pExpr might be deleted immediately on an OOM error.
110108 ** argument. If an OOM condition is encountered, NULL is returned
110340 /* Any prior OOM might have left the Select object incomplete.
110454 /* pColumns can only be NULL due to an OOM but an OOM will cause an
110540 ** pList might be NULL following an OOM error. But pName should never be
110575 ** pList might be NULL following an OOM error. But pSpan should never be
111072 if( NEVER(p==0) ) return 0; /* Used to only happen following on OOM */
111791 testcase( pKeyInfo==0 ); /* Caused by OOM in sqlite3KeyInfoAlloc() */
111800 assert( pKeyInfo!=0 ); /* OOM will cause exit after sqlite3Select() */
112103 assert( v!=0 ); /* OOM detected prior to this routine */
115053 /* OOM on resize */
116593 ** Or, if an error occurs (i.e. an OOM condition), an error is left in
119649 ** If an OOM error occurs, this function always sets db->mallocFailed.
120930 /* This can result either from an OOM or because the formatted string
122800 ** on success and SQLITE_NOMEM on an OOM error.
125203 assert( pParse->nErr==0 ); /* Never called with prior non-OOM errors */
125268 ** If the realloc() is successful (i.e. if no OOM condition occurs), the
125447 ** A SrcList is returned, or NULL if there is an OOM error or if the
125450 ** a new one. If an OOM error does occurs, then the prior value of pList
130835 ** into pParse. If an OOM error occurs, non-zero is returned and the
134081 if( sIdxIter.u.ax.aIdx==0 ) return; /* OOM */
141103 ** the schema loaded, even if errors (other than OOM) occurred. In
141320 ** use-after-free errors following an OOM. The preferred way to do this is
147404 ** the pWith object is destroyed immediately due to an OOM condition,
147637 ** SQLITE_OK is returned. Otherwise, if an OOM error is encountered,
148038 break; /* OOM */
151016 ** If an OOM error occurs, NULL is returned and db->mallocFailed is set.
157640 /* An OOM inside of AddOp4(OP_VFilter) instruction above might have freed
163855 break; /* OOM while trying to enlarge the pNew->aLTerm array */
163967 if( whereLoopResize(db, pNew, pNew->nLTerm+1) ) break; /* OOM */
170283 ** If an OOM error occurs, this function sets the Parse.db.mallocFailed
182042 return sqlite3ReportError(SQLITE_NOMEM, lineno, "OOM");
182046 return sqlite3ReportError(SQLITE_IOERR_NOMEM, lineno, "I/O OOM error");
185418 ** a NULL pointer is returned). Otherwise, if an OOM error is encountered
185475 ** a NULL pointer is returned). Otherwise, if an OOM error is encountered
185629 ** variables are undefined. Or, if an OOM is encountered, SQLITE_NOMEM is
186420 ** If an OOM error occurs, SQLITE_NOMEM is returned. Otherwise, SQLITE_OK.
187345 ** If an OOM error occurs, return SQLITE_NOMEM. In this case it is
192400 ** sqlite3_free() to release the memory. If an OOM condition is encountered,
195537 ** If an OOM error occurs, *pRc is set to SQLITE_NOMEM before returning.
195538 ** Zero is always returned in this case. Otherwise, if no OOM error occurs,
197515 ** If successful, return SQLITE_OK. Otherwise, if an OOM error is encountered
198606 ** If an OOM error occurs, set *pRc to SQLITE_NOMEM and leave pBlob->a
198814 ** If an error (i.e. OOM condition) occurs, an SQLite error code is
200147 ** If an error occurs (e.g. an OOM or IO error), return an SQLite error
200237 ** Or, if an error (e.g. an OOM or IO error) occurs, return an SQLite
202334 ** If an OOM occurs while retrieving the data (this can happen if SQLite
203536 u8 oom; /* Set to true if out of memory */
203728 /* Report an out-of-memory (OOM) condition
203737 ** Return zero on success. Return non-zero on an OOM error
203833 ** Return true on success. Return false if an OOM prevents this
204315 if( aNew==0 ){ pParse->oom = 1; return 1; }
204327 ** Return true on success. Return false on OOM.
204333 if( pParse->oom ) return 0;
204353 if( pParse->oom==0 ){
204444 if( pParse->oom ) return 0;
204470 return 0; /* OOM error. Error state recorded in pParse->oom. */
204720 ** -1 Syntax error or OOM
204774 if( pParse->oom ) return -1;
204841 if( pParse->oom ) return -1;
205195 if( pParse->oom ) i = -1;
205216 if( pParse->oom ){
205241 if( px.oom ){
205326 ** The pOut->eErr JSTRING_OOM flag is set on a OOM.
205603 ** Set pParse->oom if an OOM occurs.
205616 if( pParse->oom ) return;
205808 ** 0 if they differ. Return -1 if an OOM occurs.
205882 pParse->oom |= pIns->oom;
205998 pParse->oom |= ix.oom;
206003 assert( !pParse->oom );
206006 if( !pParse->oom ){
206007 assert( pParse->aBlob!=0 ); /* Because pParse->oom!=0 */
206008 assert( ix.aBlob!=0 ); /* Because pPasre->oom!=0 */
206075 assert( !pParse->oom );
206284 ** It might also set an error message and return non-zero on an OOM error.
206355 if( pParse->oom ){
206622 if( p->oom ){
207123 return pTarget->oom ? JSON_MERGE_OOM : JSON_MERGE_OK; /* Line 03 */
207188 /* vvvvvv----- No OOM on a delete-only edit */
207189 if( NEVER(pTarget->oom) ) return JSON_MERGE_OOM;
207203 if( pTarget->oom ) return JSON_MERGE_OOM;
207210 if( pTarget->oom ) return JSON_MERGE_OOM;
207222 return pTarget->oom ? JSON_MERGE_OOM : JSON_MERGE_OK;
207563 if( p->oom ){
207612 if( s.zJson==0 ) return; /* NULL input or OOM */
207615 if( s.oom ){
207620 assert( s.zJson!=0 ); /* Because s.oom is false */
208301 if( p->sParse.oom ){
211541 ** Assuming no OOM error occurs, this function sets the error message
211550 ** If an OOM occurs, SQLITE_NOMEM is returned instead of SQLITE_CONSTRAINT.
217048 ** If argument zSql is NULL, this function assumes that an OOM has occurred.
217284 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
217338 ** If an error (i.e. an OOM condition) occurs, return NULL and leave an
217361 ** there is room for at least nCol elements. If an OOM occurs, store an
217385 ** If an OOM condition is encountered when attempting to allocate memory,
217671 if( zName==0 ) break; /* An OOM - finalize() below returns S_NOMEM */
218171 ** If an OOM error is encountered when allocating space for the new
218225 ** If an OOM error is encountered when allocating space for the new
219314 ** As a result, unless an error (i.e. OOM or SQLITE_BUSY) occurs, the
222024 /* In some circumstances, specifically if an OOM has occurred, the call
223425 ** If no error occurs, SQLITE_OK is returned. Or, if an OOM error occurs
223993 ** (part of the session pSession). If a fatal OOM error occurs, set the
223997 ** It is possible that a non-fatal OOM error occurs in this function. In
224418 ** If successful, return zero. Otherwise, if an OOM condition is encountered,
224462 ** If an OOM condition is encountered, set *pRc to SQLITE_NOMEM before
224810 ** be converted to utf-8 and an OOM error occurs while doing so. */
224831 ** It is not possible for an OOM to occur in this block. */
225491 ** If an OOM condition is encountered, set *pRc to SQLITE_NOMEM before
225504 ** If an OOM condition is encountered, set *pRc to SQLITE_NOMEM before
225517 ** If an OOM condition is encountered, set *pRc to SQLITE_NOMEM before
225537 ** If an OOM condition is encountered, set *pRc to SQLITE_NOMEM before
225556 ** If an OOM condition is encountered, set *pRc to SQLITE_NOMEM before
226439 ** buffer. SQLITE_OK is returned if successful, or SQLITE_NOMEM if an OOM
226450 ** automatically. But doing so makes it difficult to detect any OOM
227605 /* This condition occurs when an earlier OOM in a call to
229585 ** an OOM condition or IO error), an appropriate SQLite error code is
229599 ** an OOM condition or IO error), an appropriate SQLite error code is
229705 ** If an error (e.g. an OOM condition) occurs within this function,
232670 ** called, it is a no-op. If an error (i.e. an OOM condition) is encountered,
233329 ** pBuf. If an OOM error occurs, set the error code in p.
233348 ** Append buffer nData/pData to buffer pBuf. If an OOM error occurs, set
233442 ** Set the buffer to contain nData/pData. If an OOM error occurs, leave an
233572 ** buffer using sqlite3_free(). If an OOM error occurs, NULL is returned.
234137 ** a no-op (NULL is returned). Otherwise, if an OOM occurs within this
236380 ** If an OOM error occurs, both the pNear and pPhrase objects are freed and
236766 ** If an OOM error occurs, store an error code in pParse and return NULL.
237084 ** OOM error), leave an error code in pParse and return NULL.
239319 ** If an OOM error is encountered, return NULL and set the error code in
240028 ** segments as possible to level iPromote. If an OOM occurs, NULL is
240523 ** the iterator passed as the second argument. If an OOM error occurs,
242208 ** called. If an OOM error is encountered, *pRc is set to SQLITE_NOMEM
246745 ** error, or some other SQLite error code if another error (e.g. OOM)
247036 ** no-op. If an OOM or other error occurs within this function, *pRc is