Lines Matching defs:end

1018 ** Macro to disable warnings about missing "break" at the end of a "case".
1516 /* end-of-error-codes */
2271 ** the end. Each time such an extension occurs, the iVersion field
5065 ** past the end of the first SQL statement in zSql. These routines only
5377 ** is ignored and the end result is the same as sqlite3_bind_null().
5643 ** ^As with all other SQLite APIs, those whose names end with "16" return
5921 ** [sqlite3_column_bytes16()] do not include the zero terminators at the end
6665 ** should be called near the end of the function implementation and the
8371 ** ^If offset iOffset is less than N bytes from the end of the BLOB,
8412 ** ^If offset iOffset is less than N bytes from the end of the BLOB,
8967 ** functionality of SQLite to append formatted text onto the end of
8971 ** onto the end of the [sqlite3_str] object X. N must be non-negative.
8977 ** zero-terminated string S onto the end of [sqlite3_str] object X.
8980 ** single-byte character C onto the end of [sqlite3_str] object X.
10182 ** attached databases and SQLITE_BUSY is returned at the end. ^If any other
11070 } /* end of the 'extern "C"' block */
12040 ** appended onto the end of the output changeset, again in the order in
13264 int iEnd /* Byte offset of end of token within input text */
13322 } /* end of the 'extern "C"' block */
14516 ** the end of buffer S. This macro returns true if P points to something
15398 ** are appended to the end of the content when constructing the entry.
16873 void *pMiddle; /* First byte past end of full-size buffers and
16877 void *pEnd; /* First byte past end of available space */
17852 ** for the rowid at the end.
17900 ** When default_rc!=0, the search might end up on the record immediately
18878 ** is constant but the second part is reset at the beginning and end of
19180 ** do not necessarily know how big the string will be in the end.
19410 ** until the end of code generation.
22141 ** Parse a timezone extension on the end of a date-time.
24184 ** backtrace pointers. There is also a guard word at the end of the
24281 ** This routine checks the guards at either end of the allocation and
24929 ** Carve a piece off of the end of the mem3.iKeyBlk free chunk.
25053 ** Try to satisfy the allocation by carving a piece off of the end
25065 ** of the end of the key chunk. This step happens very
28397 ** Take actions at the end of an API call to deal with error codes.
31196 ** byte past the end.
32219 }else if( &zNum[i]<zEnd ){ /* Extra bytes at the end */
36652 unsigned char startEndFlag; /* 1=rel to end of fork, 0=rel to start */
38065 ** written might end up being altered.) However, non-PSOW behavior is very,
38383 ** database to end up using different files for shared memory -
38608 ** writing a single byte to the end of each (OS) page being
49219 ** "halt" opcode and causes the test to end.
50355 PgHdr1 lru; /* The beginning and end of the LRU list */
50862 /* If we are just shaving the last few pages off the end of the
52826 i16 nReserve; /* Number of unused bytes at end of each page */
52893 ** because garbage data that appears at the end of a journal is likely
53424 ** end of the file and, if successful, copies it into memory supplied
53426 ** used to store a super-journal file name at the end of a journal file.
53435 ** If a super-journal file name is present at the end of the journal
53799 ** of Pager.sectorSize is restored at the end of that routine.
53861 /* Write the super-journal data to the end of the journal file. If
53876 ** journal-file may extend past the end of the super-journal name
54332 ** scenario is that one end or the other of the record will be changed.
54599 ** encoded text. The end of each child journal file is marked with a
54744 ** the end of the new file instead.
55058 ** This is because it may end up being passed to sqlite3OsOpen(), in
55469 ** PagerSavepoint.iHdrOffset, or to the end of the main journal
55474 ** PagerSavepoint.iHdrOffset to the end of the main journal file.
55477 ** with the PagerSavepoint.iSubRec and continuing to the end of
55547 ** the first journal header seen and continuing until the effective end
55870 * cell header parser will never run off the end of the allocation */
57200 ** at the end of the file. If there is, and that super-journal file
57424 ** playing back the hot-journal so that we don't end up with
57836 ** The btree layer always holds page1 open until the end, so these first
58046 ** Write page pPg onto the end of the rollback journal.
58128 ** an error might occur and the pager would end up in WRITER_LOCKED state
58143 ** then end of the file, make sure it is marked as PGHDR_NEED_SYNC.
59315 ** it is synced into the journal file. This way, it may end up in
59888 ** toward the end. Checksums and counters attached to each frame are
60043 ** within each index block, starting at the end and moving toward the
60065 ** (wrapping around to the beginning when the end of the hash table is
60239 ** Writers normally append new frames to the end of the WAL. However,
63498 /* If this is the end of a transaction, then we might need to pad
63992 ** 20 1 Bytes of unused space at the end of each page
64079 ** Cell content is stored at the very end of the page and grows toward the
64096 ** the end of the page. Pointers to the cells are in the cell pointer array
64227 u8 *aDataEnd; /* One byte past the end of usable data */
65557 ** at the end of every transaction.
65772 int bias, /* Bias search to the high end */
66302 ** past the end of the key value. */
66391 ** cells are packed tightly at the end of the page.
66557 /* This slot extends off the end of the usable part of the page */
66571 /* The next slot in the chain is not past the end of the current slot */
66578 /* The free slot chain extends off the end of the page */
66595 ** also end up needing a new cell pointer.
66670 ** is no way that the allocation can extend off the end of the page.
66690 ** at the end of the page. So do additional corruption checks inside this
66735 ** Check to see if iFreeBlk should be coalesced onto the end of iStart.
66750 ** coalesced onto the end of iPtr.
66898 /* Freeblock off the end of the page */
66912 /* Last freeblock extends past page end */
67264 ** This routine needs to reset the extra data section at the end of the
67901 ** Return the number of bytes of space at the end of every page that
68153 ** integer at offset 20 is the number of bytes of space at the end of
68968 ** At the end of this call, the rollback journal still exists on the
69807 /* Trying to read or write past the end of the data is an error. The
70412 int biasRight, /* If true, bias the search to the high end */
70577 ** up to two varints past the end of the buffer. An extra 18
70578 ** bytes of padding is allocated at the end of the buffer in
71168 ** content for any page that really does lie past the end of the database
71170 ** here are confined to those pages that lie between the end of the
71171 ** database image and the end of the database file.
71183 ** at the end of the file instead of one. The first allocated page
71187 TRACE(("ALLOCATE: %d from end of file (pointer-map page)\n", pBt->nPage));
71210 TRACE(("ALLOCATE: %d from end of file\n", *pPgno));
71398 /* Cell extends past end of page */
71414 ** overflow page. Therefore if ovflPgno<2 or past the end of the
71860 ** For an index btree, the apEnd[] array holds pointer to the end of page
71880 ** entries, shift down. The end result is that each ixNx[] entry should
72026 ** end of the space required by this page for the cell-pointer area (for
72175 /* Remove cells from the start and end of the page */
72223 /* Append cells to the end of the page */
72260 ** a new entry is being inserted on the extreme right-end of the
72268 ** at the end soon afterwards so the nearly empty page will quickly
73533 /* Mixed read data and zeros at the end. Make a recursive call
75104 checkAppendMsg(pCheck, "Extends off end of page");
75562 ** parameters that attempt to write past the end of the existing data,
78679 ** If the input string does not end with "X" then an OP_ResultRow instruction
78879 /* Insert the end of a co-routine
79095 ** OP_Clear. So this routine may end up returning true in the case
80642 ** This allocator is employed to repurpose unused slots at the end of the
80750 ** space at the end of aMem[] for cursors 1 and greater.
80756 /* Figure out how much reusable memory is available at the end of the
80795 ** end of the opcode array. If we are unable to satisfy all memory
80800 ** the leftover memory at the end of the opcode array. This can significantly
81975 ** the end. Hence these functions allow the caller to handle the
83333 /* Fetch the integer off the end of the index record */
83354 ** omits the rowid at the end. The rowid at the end of the index entry
87027 ** There is an implied "Halt 0 0 0" instruction inserted at the very end of
87487 ** Add the text in register P1 onto the end of the text in
88649 ** branch jumps to reads past the end of the record, but never more
88650 ** than a few bytes. Even if the record occurs at the end of the page
88702 ** (3) the end of the data extends beyond the end of the record.
88891 ** only used inside an assert() and does not affect the end result.
88898 i64 nZero; /* Number of zero bytes at the end of the record */
88927 nZero = 0; /* Number of zero bytes at the end of the record */
88960 /* NULLs can be safely trimmed from the end of the record, as long as
88997 ** nZero Zero bytes at the end of the record
90102 ** from the beginning toward the end. In other words, the cursor is
90120 ** from the beginning toward the end. In other words, the cursor is
90138 ** from the end toward the beginning. In other words, the cursor is
90156 ** from the end toward the beginning. In other words, the cursor is
91294 ** fields (not counting the P4 fields at the end which are ignored) then
91489 ** Position cursor P1 at the end of the btree for the purpose of
91494 ** at the end of the btree and so no changes are made to
91506 ** from the end toward the beginning. In other words, the cursor is
91588 ** end. We use the OP_Sort opcode instead of OP_Rewind to do the
91612 ** from the beginning toward the end. In other words, the cursor is
91909 ** the end of the index key pointed to by cursor P1. This integer should be
91994 ** fields at the end.
92005 ** fields at the end.
93623 ** the end of its result set, then fall through to the next instruction.
94161 } /* The end of the for(;;) loop the loops through opcodes */
95128 ** When the PmaReader reaches the end of aFile[0], it blocks until the
96028 ** Whether or not the file does end up memory mapped of course depends on
96289 ** * One or more records packed end-to-end in order of ascending keys.
96300 ** This is used by an assert() statement at the end of this function. */
96353 ** the MergeEngine has reached the end of all its inputs.
97375 ** SQLITE_DONE end of data
97463 ** the comparison, ignore the rowid field at the end of each record.
98014 FilePoint endpoint; /* Pointer to the end of the file */
98015 FilePoint readpoint; /* Pointer to the end of the last xRead() */
98893 ** resulting in an appropriate error message toward the end of this routine
102307 ** Add a new element to the end of an expression list. If pList is
104098 VdbeComment((v, "end IN expr"));
105121 int endLabel; /* GOTO label for end of CASE stmt */
105225 ** the end of the prepared statement in the initialization section.
105232 ** are factored out into the initialization section at the end of the
106591 } /* end loop over pSrcList */
106818 ** called at the end of the generation of an ALTER TABLE ... RENAME ...
110076 sqlite3VdbeAddOp2(v, OP_Goto, 1, addrNext); /* P1==1 for end-of-loop */
110582 /* Take a copy of the sample. Add two 0x00 bytes the end of the buffer.
110585 ** end of the allocated buffer before it realizes it is dealing with
111722 /* Begin by generating some termination code at the end of the
111857 ** code for the SQL statement given onto the end of the pParse context
112603 ** the end.
112641 ** At the end of the CREATE TABLE statement, the sqlite3EndTable() routine
112880 ** removed at the end of the parse.
113134 const char *zEnd /* First character past end of defaut value text */
113711 ** This routine runs at the end of parsing a CREATE TABLE statement that
114304 /* Locate the end of the CREATE VIEW statement. Make sEnd point to
114305 ** the end.
115507 /* Append the table key to the end of the index. For WITHOUT ROWID
115732 /* Ensure all REPLACE indexes on pTab are at the end of the pIndex list.
115750 /* Verify that all REPLACE indexes really are now at the end
115895 ** to extend the array so that there is space for a new object at the end.
116008 ** To append 3 new entries onto the end, do this:
116194 ** end of a growing FROM clause. The "p" parameter is the part of
116454 ** will occur at the end of the top-level VDBE and will be generated
118154 int iLabel; /* Label resolved to end of generated code */
118718 ** If p1 is negative, then we begin abs(p1) from the end of x[].
118945 ** 2s complement of that positive value. The end result can
119127 return SQLITE_MATCH; /* "*" at the end of the pattern matches */
122234 ** An extra 'D' is appended to the end of the string to cover the
122744 ** end foreach
122756 ** end loop
122758 ** end-coroutine X
122777 ** end loop
122779 ** end co-routine R
122788 ** end loop
122809 int endOfLoop; /* Label for the end of the insertion loop */
123193 ** end loop
123765 int upsertIpkReturn = 0; /* Address of Goto at end of IPK uniqueness check */
123768 int ipkBottom = 0; /* OP_Goto at the end of the IPK uniqueness check */
123879 } /* end switch(onError) */
123880 } /* end loop i over columns */
123898 } /* end of 2-pass loop */
123899 } /* end if( has-not-null-constraints ) */
124369 /* Extract the PRIMARY KEY from the end of the index entry and
124643 /* All REPLACE indexes are at the end of the list */
125417 ** interfaces to the end of this structure only. If you insert new
131647 /* Add the ON clause to the end of the WHERE clause, connected by
132448 /* Jump to the end of the loop if the LIMIT is reached. Except, if
132528 int nExtra /* Add this many extra columns to the end */
134232 /* Jump to the end of the loop if the LIMIT is reached.
134297 ** following nextX causes a jump to the end of the select processing.
134328 ** until all data is exhausted then jump to the "end" labe. AltB, AeqB,
134362 int labelEnd; /* Label for the end of the overall SELECT stmt */
137180 int iEnd; /* Address of the end of the query */
137370 SELECTTRACE(0x1,pParse,p,("end compound-select processing\n"));
137573 VdbeComment((v, "end %s", pItem->pTab->zName));
137643 ** do the sorting. But this sorting ephemeral index might end up
137754 VdbeComment((v, "end inner-loop subroutine"));
138127 VdbeComment((v, "end groupby result generator"));
138311 SELECTTRACE(0x1,pParse,p,("end processing\n"));
139665 ** OP_Halt inserted at the end of the program. */
139680 /* Insert an OP_Halt at the end of the sub-program. */
141012 /* Nothing to do at end-of-loop for a single-pass */
141725 Db *pDb = 0; /* Database to detach at end of vacuum */
141727 int nRes; /* Bytes of reserved space at the end of each page */
141951 ** was committed at the btree level). So it safe to end the transaction
142716 /* Add pVtab to the end of sqlite3.aVTrans */
143387 int p1, p2; /* Operands of the opcode used to end the loop */
143496 ** at the end is the chosen query plan.
143752 ** such transformations need to be undone at the end of WHERE clause
143946 ** at a time. This routine adds a new term to the end of the expression.
144229 ** are no-ops) at the beginning and end of zAff are ignored. If all entries
144244 ** entries at the beginning and end of the affinity string.
144835 WhereTerm *pEndRange /* Hint this end-of-scan boundary term if not NULL */
145559 WhereTerm *pRangeEnd = 0; /* Inequality constraint at range end */
145561 int endEq; /* True if range end uses ==, >= or <= */
145568 char *zEndAff = 0; /* Affinity for end of range constraint */
145579 /* Find any inequality constraint terms for the start and end
145643 ** start and end terms (pRangeStart and pRangeEnd).
145766 /* Load the value for the inequality constraint at the end of the
145807 /* Check if the index cursor is past the end of the range. */
145810 /* Except, skip the end-of-range check while doing the NULL-scan */
145824 /* During a NULL-scan, check to see if we have reached the end of
146019 ** correct response for the end-of-loop code (the OP_Return) is to
146629 ** with a wildcard and if (2) the non-wildcard prefix does not end with
146656 ** pattern prefix boundaries (both the start and end boundaries) must
147838 ** The two new terms are added onto the end of the WhereClause object.
148248 ** end of the WHERE clause. We do not want to analyze these new
148249 ** virtual terms, so start analyzing at the end and work forward
148331 ** Extra information appended to the end of sqlite3_index_info but not
148923 int iStart, /* Translate from this opcode to the end */
149057 char *zNotUsed; /* Extra space on the end of pIdx */
150548 /* Allocate a new WhereLoop to add to the end of the list */
151098 ** On the other hand, the extra seeks could end up being significantly
152042 WhereLoop *pLast, /* Add this WhereLoop to the end of pPath->aLoop[] */
152315 } /* end Loop over all index columns */
152320 } /* end-if not one-row */
152990 ** end \ Code generated
152991 ** end |-- by sqlite3WhereEnd()
152992 ** end /
153034 ** end
153039 ** end
153411 sqlite3DebugPrintf("---- WHERE clause at end of analysis:\n");
153649 ** Generate the end of the WHERE loop. See comments on
153790 /* The "break" point is here, just past the end of the outer loop.
155352 ** store the start and end index of the current frame. */
155471 ** start,current,end
155481 ** once its window function values have been calculated. Another (end)
155487 ** Each cursor (start, current and end) consists of a VDBE cursor
155507 WindowCsrAndReg end;
155794 VdbeModuleComment((v, "windowFullScan end"));
156109 VdbeModuleComment((v, "CodeRangeTest: end"));
156158 p, OP_Gt, p->end.csr, regCountdown, p->current.csr, lblDone
156174 ** start cursor does not advance past the end cursor within the
156182 sqlite3VdbeAddOp2(v, OP_Rowid, p->end.csr, regRowid2);
156210 csr = p->end.csr;
156211 reg = p->end.reg;
156713 s.end.csr = s.current.csr+3;
156767 ** for the main loop, and for each cursor (start, current and end). */
156775 s.end.reg = pParse->nMem+1; pParse->nMem += nPeer;
156850 sqlite3VdbeAddOp2(v, OP_Rewind, s.end.csr, 1);
156856 sqlite3VdbeAddOp3(v, OP_Copy, regPeer, s.end.reg, pOrderBy->nExpr-1);
156873 windowCodeRangeTest(&s, OP_Ge, s.current.csr, regEnd, s.end.csr, lbl);
156899 windowCodeRangeTest(&s, OP_Ge, s.current.csr, regEnd, s.end.csr, lbl);
159475 ** systems, every element of this matrix should end up being set.
162101 int yyendofinput; /* True if we are at the end of input */
162966 ** end result.
163436 /* Upon reaching the end of input, call the parser two more times
163722 ** must end with ";END;".
163728 ** (1) START At the beginning or end of an SQL statement. This routine
163746 ** the end of a trigger definition.
163748 ** (7) END We've seen the ";END" of the ";END;" that occurs at the end
163761 ** (7) tkEND The "end" keyword.
163767 ** to recognize the end of a trigger can be omitted. All we have to do
163775 /* A complex statement machine used to detect the end of a CREATE TRIGGER
163792 ** used to detect the end of a statement is much simpler
163836 case '-': { /* SQL-style comments from "--" to end of line */
163896 if( nId==3 && sqlite3StrNICmp(zSql, "end", 3)==0 ){
164277 ** must be complete. So isInit must not be set until the very end
167019 memset(zFile+iOut, 0, 4); /* end-of-options + empty journal filenames */
168357 ** Append text z[] to the end of p[]. Return a pointer to the first
169151 ** varint POS_END; (marks end of positions for this document.
169170 ** (14-2 and 35-2+12). The 0 at H indicate the end-of-document. The
169208 ** the %_segments table in sorted order. This means that when the end
169514 ** the end of the buffer has been reached, or an SQLite error code.
169523 ** to the index of the first byte just past the end of the token in
169538 int *piEndOffset, /* OUT: Byte offset of end of token in input buffer */
170493 ** to the first byte past the end of the varint. Add the value of the varint
172088 ** the doclist, or to the first byte past the end of the doclist.
172098 /* The end of a position list is marked by a zero encoded as an FTS3
172163 ** Value used to signify the end of an position-list. This must be
172172 ** being parsed, or it may point to 1 byte past the end of the position-list
172176 ** If *pp points past the end of the current position-list, set *pi to
172408 ** end of the position list, or the 0x01 that precedes the next
172498 ** pEnd points 1 byte past the end of the buffer. When this function is
172499 ** called, if *pp points to pEnd or greater, then the end of the buffer
172503 ** from *pp. *pp is then set to point 1 byte past the end of the read varint.
172531 ** end of the value written.
172881 ** Add FTS3_VARINT_MAX bytes of unused space to the end of the
172942 ** Append SegReader object pNew to the end of the pCsr->apSegment[] array.
173246 ** even if we reach end-of-file. The fts3EofMethod() will be called
173420 ** routine to find out if it has reached the end of a result set.
173529 ** are merged eight at a time, updating the input segments at the end
173634 ** end of a position-list. i.e. ( (*ppPoslist)[-1]==POS_END ). This function
173645 /* Search backwards for a varint with value zero (the end of the previous
174457 ** This function is used to iterate backwards (from the end to start)
174464 ** function iterates from the end of the doclist to the beginning.
174565 char *pEnd; /* 1 byte past end of aAll */
174575 /* We have already reached the end of this doclist. EOF. */
175662 /* Check if the cursor is past the end of the docid range specified
176827 ** single token and set *ppExpr to point to it. If the end of the buffer is
177046 ** structure, or set to 0 if the end of the input buffer is reached.
177172 ** the end of the input. Read a regular token using the sqlite3_tokenizer
177263 ** returns either when the end of the buffer is reached or an unmatched
178633 ** by taking 10 or 3 bytes from the beginning and end.
178669 ** a few bytes from the beginning and the end of the word. If the
178671 ** 3 bytes from the end. For long words without digits, 10 bytes
178672 ** are taken from each end. US-ASCII case folding still applies.
179788 ** CREATE TABLE <tbl>(input, token, start, end, position)
179802 ** end: Byte offset of the byte immediately following the end of the
179836 int iEnd; /* Current 'end' value */
179912 #define FTS3_TOK_SCHEMA "CREATE TABLE x(input, token, start, end, position)"
180151 /* CREATE TABLE x(input, token, start, end, position) */
180257 ** are loaded into has the following number of bytes of padding at the end
180741 ** the caller may end up attempting to take this lock as part of committing
180897 /* Append the new serialized varint to the end of the list. */
181639 /* Check that the doclist does not appear to extend past the end of the
181722 ** following block advances it to point one byte past the end of
182044 ** 1) EOF (end of doclist in this case) is greater than not EOF.
182835 ** the end of the output list is zeroed before returning.
186657 ** The fts3BestSnippet() function often selects snippets that end with a
186757 int iEnd = 0; /* Byte offset of end of current token */
186785 int iFin = 0; /* Offset in zDoc of end of token */
186803 ** of the column. Append any punctuation that occurred between the end
186804 ** of the previous token and the end of the document to the output.
186863 ** the last varint in the column-list (either the 0x00 signifying the end
187109 int iPosOffset; /* Tokens count up to end of this phrase */
187286 const char *pEnd; /* First byte past end of length array */
187463 const char *zEnd, /* Snippet end text - "</b>" */
188109 ** Return SQLITE_DONE early if this takes us all the way to the end of
188820 /* Append N bytes from zIn onto the end of the JsonString string.
188857 /* Append the N-byte string in zIn to the end of the JsonString string
189346 ** index of the first character past the end of the value parsed.
190716 /* Return TRUE if the jsonEachCursor object has been advanced off the end
191050 jsonEachEof, /* xEof - check for end of scan */
191078 jsonEachEof, /* xEof - check for end of scan */
191231 ** on the end of the %_rowid table.
191458 u8 atEOF; /* True if at end of search */
192487 if( p->op!=RTREE_EQ ) break; /* RTREE_LE and RTREE_LT end here */
195582 ** This file is #include-ed onto the end of "rtree.c" so that it has
195679 ** GeoPoly.a[] array at the end is the appropriate size.
195837 s.nVertex--; /* Remove the redundant vertex at the end */
199073 } /* end of the 'extern "C"' block */
199463 ** finished, leave *pz pointing to the first character past the end of
199532 ** file and a NUL terminator at the end. The delta_output_size()
199585 /* ERROR: copy extends past end of input */
205132 statEof, /* xEof - check for end of scan */
205551 dbpageEof, /* xEof - check for end of scan */
207414 ** The new object must be linked onto the end of the list, not
208367 ** one byte after the end of the same record before this function returns.
208628 /* If the iterator is already at the end of the changeset, return DONE. */
210558 /* The new object must be linked on to the end of the list, not
211711 int iEnd /* Byte offset of end of token within input text */
211769 } /* end of the 'extern "C"' block */
213312 ** systems, every element of this matrix should end up being set.
213894 int fts5yyendofinput; /* True if we are at the end of input */
215929 ** int iEnd // Byte offset of end of token within input text
219092 int iUnused2 /* Byte offset of end of token within input text */
220117 u8 *aEof; /* Pointer to 1 byte past end of doclist */
221080 ** Advance the iterator passed as the only argument. If the end of the
221788 /* Search for the end of the position list within the current page. */
222963 const u8 *pEnd = &p[nPos]; /* One byte past end of position list */
227411 ** even if we reach end-of-file. The fts5EofMethod() will be called
227911 ** routine to find out if it has reached the end of a result set.
233807 ** routine to find out if it has reached the end of a result set.
234189 stmtEof, /* xEof - check for end of scan */