Searched defs:iOffset (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dfts1_tokenizer1.c37 int iOffset; /* current position in pInput */ member in struct:simple_tokenizer_cursor
123 c->iOffset = 0; /* start tokenizing at the beginning */
159 while( c->iOffset<c->nBytes ){
163 while( c->iOffset<c->nBytes && isDelim(t, p[c->iOffset]) ){
164 c->iOffset++;
168 iStartOffset = c->iOffset;
169 while( c->iOffset<c->nBytes && !isDelim(t, p[c->iOffset]) ){
170 c->iOffset
[all...]
H A Dfts1_porter.c50 int iOffset; /* current position in zInput */ member in struct:porter_tokenizer_cursor
108 c->iOffset = 0; /* start tokenizing at the beginning */
589 while( c->iOffset<c->nInput ){
593 while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){
594 c->iOffset++;
598 iStartOffset = c->iOffset;
599 while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){
600 c->iOffset
[all...]
H A Dfulltext.c366 * A merge is performed using an integer [iOffset] provided by the caller.
367 * [iOffset] is subtracted from each position in the on-disk doclist for the
377 int iOffset; member in struct:DocListMerge
381 DocList *pIn, int iOffset, DocList *pOut){
384 m->iOffset = iOffset;
401 if( block_pos-m->iOffset==in_pos ){
411 } else if( in_pos==-1 || (block_pos!=-1 && block_pos-m->iOffset<in_pos) ){
1062 * produce the doclist [out], using the given offset [iOffset] for phrase
1069 DocList *pIn, int iOffset, DocLis
380 mergeInit(DocListMerge *m, DocList *pIn, int iOffset, DocList *pOut) argument
1067 query_merge(fulltext_vtab *v, sqlite3_stmt **pSelect, const char *zTerm, DocList *pIn, int iOffset, DocList *out) argument
[all...]
/external/chromium_org/third_party/sqlite/src/ext/fts2/
H A Dfts2_tokenizer1.c44 int iOffset; /* current position in pInput */ member in struct:simple_tokenizer_cursor
132 c->iOffset = 0; /* start tokenizing at the beginning */
168 while( c->iOffset<c->nBytes ){
172 while( c->iOffset<c->nBytes && simpleDelim(t, p[c->iOffset]) ){
173 c->iOffset++;
177 iStartOffset = c->iOffset;
178 while( c->iOffset<c->nBytes && !simpleDelim(t, p[c->iOffset]) ){
179 c->iOffset
[all...]
H A Dfts2_porter.c49 int iOffset; /* current position in zInput */ member in struct:porter_tokenizer_cursor
107 c->iOffset = 0; /* start tokenizing at the beginning */
587 while( c->iOffset<c->nInput ){
591 while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){
592 c->iOffset++;
596 iStartOffset = c->iOffset;
597 while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){
598 c->iOffset
[all...]
H A Dfts2.c1032 int iOffset; /* the last start offset written */ member in struct:PLWriter
1057 pWriter->iOffset = 0;
1063 assert( iStartOffset>=pWriter->iOffset );
1064 n += putVarint(c+n, iStartOffset-pWriter->iOffset);
1065 pWriter->iOffset = iStartOffset;
1092 pWriter->iOffset = 0;
/external/chromium_org/third_party/sqlite/src/ext/fts3/
H A Dfts3_tokenizer1.c45 int iOffset; /* current position in pInput */ member in struct:simple_tokenizer_cursor
134 c->iOffset = 0; /* start tokenizing at the beginning */
170 while( c->iOffset<c->nBytes ){
174 while( c->iOffset<c->nBytes && simpleDelim(t, p[c->iOffset]) ){
175 c->iOffset++;
179 iStartOffset = c->iOffset;
180 while( c->iOffset<c->nBytes && !simpleDelim(t, p[c->iOffset]) ){
181 c->iOffset
[all...]
H A Dfts3_porter.c50 int iOffset; /* current position in zInput */ member in struct:porter_tokenizer_cursor
110 c->iOffset = 0; /* start tokenizing at the beginning */
590 while( c->iOffset<c->nInput ){
594 while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){
595 c->iOffset++;
599 iStartOffset = c->iOffset;
600 while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){
601 c->iOffset
[all...]
/external/chromium_org/third_party/sqlite/src/src/
H A Dvdbeblob.c28 int iOffset; /* Byte offset of blob in cursor data */ member in struct:Incrblob
76 p->iOffset = v->apCsr[0]->aOffset[p->iCol];
358 int iOffset,
371 if( n<0 || iOffset<0 || (iOffset+n)>p->nByte ){
386 rc = xCall(p->pCsr, iOffset+p->iOffset, n, z);
404 int sqlite3_blob_read(sqlite3_blob *pBlob, void *z, int n, int iOffset){ argument
405 return blobReadWrite(pBlob, z, n, iOffset, sqlite3BtreeData);
411 int sqlite3_blob_write(sqlite3_blob *pBlob, const void *z, int n, int iOffset){ argument
354 blobReadWrite( sqlite3_blob *pBlob, void *z, int n, int iOffset, int (*xCall)(BtCursor*, u32, u32, void*) ) argument
[all...]
H A Dmemjournal.c53 sqlite3_int64 iOffset; /* Offset from the beginning of the file */ member in struct:FilePoint
85 assert( iOfst+iAmt<=p->endpoint.iOffset );
87 if( p->readpoint.iOffset!=iOfst || iOfst==0 ){
108 p->readpoint.iOffset = iOfst+iAmt;
130 assert( iOfst==p->endpoint.iOffset );
135 int iChunkOffset = (int)(p->endpoint.iOffset%JOURNAL_CHUNKSIZE);
158 p->endpoint.iOffset += iSpace;
209 *pSize = (sqlite_int64) p->endpoint.iOffset;
H A Dmem5.c460 int iOffset; /* An offset into mem5.aCtrl[] */ local
491 iOffset = 0;
494 if( (iOffset+nAlloc)<=mem5.nBlock ){
495 mem5.aCtrl[iOffset] = ii | CTRL_FREE;
496 memsys5Link(iOffset, ii);
497 iOffset += nAlloc;
499 assert((iOffset+nAlloc)>mem5.nBlock);
H A Dpragma.c33 static const u8 iOffset[] = {0, 1, 2, 4, 9, 12, 16}; local
42 if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0 ){
H A Dtest6.c114 ** not xWrite(). In that case, iOffset is the size that the file is
118 i64 iOffset; /* Byte offset of the start of this write() */ member in struct:WriteBuffer
264 if( iSize==pWrite->iOffset ){
280 pWrite->pFile, pWrite->zBuf, pWrite->nBuf, pWrite->iOffset
283 rc = sqlite3OsTruncate(pRealFile, pWrite->iOffset);
289 pWrite->nBuf, (int)pWrite->iOffset, pWrite->pFile->zName
301 pWrite->nBuf, (int)pWrite->iOffset, pWrite->pFile->zName
309 int iFirst = (pWrite->iOffset/g.iSectorSize);
310 int iLast = (pWrite->iOffset+pWrite->nBuf-1)/g.iSectorSize;
360 sqlite3_int64 iOffset,
358 writeListAppend( sqlite3_file *pFile, sqlite3_int64 iOffset, const u8 *zBuf, int nBuf ) argument
[all...]
H A Dos_win.c633 ** argument to offset iOffset within the file. If successful, return 0.
636 static int seekWinFile(winFile *pFile, sqlite3_int64 iOffset){ argument
641 upperBits = (LONG)((iOffset>>32) & 0x7fffffff);
642 lowerBits = (LONG)(iOffset & 0xffffffff);
1802 int iOffset = pShmNode->nRegion*szRegion; local
1803 int iOffsetShift = iOffset % winSysInfo.dwAllocationGranularity;
1805 0, iOffset - iOffsetShift, szRegion + iOffsetShift
1808 (int)GetCurrentProcessId(), pShmNode->nRegion, iOffset, szRegion,
1826 int iOffset = iRegion*szRegion; local
1827 int iOffsetShift = iOffset
[all...]
H A Drecover.c373 static const unsigned char *PageData(DbPage *pPage, unsigned iOffset){ argument
374 assert( iOffset<=pPage->nPageSize );
375 return (unsigned char *)pPage->pData + iOffset;
H A Dtest_osinst.c119 sqlite3_int64 iOffset; /* Log file offset of start of write buffer */ member in struct:VfslogVfs
624 p->pLog->pMethods->xWrite(p->pLog, p->aBuf, p->nBuf, p->iOffset);
625 p->iOffset += p->nBuf;
739 p->iOffset = 0;
814 sqlite3_int64 iOffset; /* Offset of next record in file */ member in struct:VfslogCsr
966 if( pCsr->iOffset+nRead<=p->nByte ){
968 rc = p->pFd->pMethods->xRead(p->pFd, pCsr->aBuf, nRead, pCsr->iOffset);
975 rc = p->pFd->pMethods->xRead(p->pFd, buf, 4, pCsr->iOffset+nRead);
980 rc = p->pFd->pMethods->xRead(p->pFd, zStr, nStr, pCsr->iOffset+nRead);
1003 pCsr->iOffset
[all...]
H A Dwal.c1080 i64 iOffset; /* Next offset to read from log file */ local
1139 for(iOffset=WAL_HDRSIZE; (iOffset+szFrame)<=nSize; iOffset+=szFrame){
1145 rc = sqlite3OsRead(pWal->pWalFd, aFrame, szFrame, iOffset);
1702 i64 iOffset; local
1705 iOffset = walFrameOffset(iFrame, szPage) + WAL_FRAME_HDRSIZE;
1706 /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL file */
1707 rc = sqlite3OsRead(pWal->pWalFd, zBuf, szPage, iOffset);
1709 iOffset
2312 i64 iOffset; local
2624 i64 iOffset; /* Write offset in log file */ local
2654 i64 iOffset = walFrameOffset(iFrame+1, szPage); local
[all...]
H A Dselect.c433 if( pSelect->iOffset ){
434 iLimit = pSelect->iOffset+1;
456 if( p->iOffset && iContinue!=0 ){
458 sqlite3VdbeAddOp2(v, OP_AddImm, p->iOffset, -1);
459 addr = sqlite3VdbeAddOp1(v, OP_IfNeg, p->iOffset);
1399 ** Compute the iLimit and iOffset fields of the SELECT based on the
1402 ** keywords. Or NULL if those keywords are omitted. iLimit and iOffset
1405 ** iLimit and iOffset are negative.
1407 ** This routine changes the values of iLimit and iOffset only if
1409 ** iOffset shoul
1419 int iOffset; local
[all...]
H A Dpager.c446 i64 iOffset; /* Starting offset in main journal */ member in struct:PagerSavepoint
2816 i64 iOffset = (pgno-1)*(i64)pPager->pageSize; local
2817 rc = sqlite3OsRead(pPager->fd, pPg->pData, pgsz, iOffset);
3157 ** offset PagerSavepoint.iOffset and continuing to
3218 ** PagerSavepoint.iOffset and continuing to the next journal header.
3226 pPager->journalOff = pSavepoint->iOffset;
6149 aNew[ii].iOffset = pPager->journalOff;
6151 aNew[ii].iOffset = JOURNAL_HDR_SZ(pPager);
H A Dtest1.c1691 int iOffset; local
1701 if( TCL_OK!=Tcl_GetIntFromObj(interp, objv[2], &iOffset)
1710 rc = sqlite3_blob_read(pBlob, zBuf, nByte, iOffset);
1742 int iOffset; local
1754 if( TCL_OK!=Tcl_GetIntFromObj(interp, objv[2], &iOffset) ){
1762 rc = sqlite3_blob_write(pBlob, zBuf, nBuf, iOffset);
H A DsqliteInt.h2045 int iLimit, iOffset; /* Memory registers holding LIMIT & OFFSET counters */ member in struct:Select
/external/pdfium/fpdfsdk/src/javascript/
H A Dutil.cpp147 int iOffset = 0; local
150 while(iOffset != -1)
152 iOffend = c_ConvChar.find(L"%",iOffset+1);
155 strSub = c_ConvChar.substr(iOffset);
157 strSub = c_ConvChar.substr(iOffset ,iOffend - iOffset);
159 iOffset = iOffend ;
/external/chromium_org/third_party/sqlite/src/ext/async/
H A Dsqlite3async.c417 ** The interpretation of the iOffset and nByte variables varies depending
424 ** iOffset -> Offset in file to write to.
431 ** iOffset -> Size to truncate file to.
435 ** iOffset -> Unused.
439 ** iOffset -> Contains the "syncDir" flag.
443 ** iOffset -> Value of "delflag".
458 sqlite_int64 iOffset; /* See above */ member in struct:AsyncWrite
554 pWrite->pFileData ? pWrite->pFileData->zName : "-", pWrite->iOffset));
590 sqlite3_int64 iOffset,
609 p->iOffset
587 addNewAsyncWrite( AsyncFileData *pFileData, int op, sqlite3_int64 iOffset, int nByte, const char *zByte ) argument
[all...]
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c5524 ** from the open BLOB, starting at offset iOffset.)^
5526 ** ^If offset iOffset is less than N bytes from the end of the BLOB,
5527 ** [SQLITE_ERROR] is returned and no data is read. ^If N or iOffset is
5529 ** ^The size of the blob (and hence the maximum value of N+iOffset)
5545 SQLITE_API int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset);
5552 ** into the open BLOB, starting at offset iOffset.
5560 ** ^If offset iOffset is less than N bytes from the end of the BLOB,
5563 ** The size of the BLOB (and hence the maximum value of N+iOffset)
5583 SQLITE_API int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
10390 int iLimit, iOffset; /* Memor member in struct:Select
16257 int iOffset; /* An offset into mem5.aCtrl[] */ local
31755 seekWinFile(winFile *pFile, sqlite3_int64 iOffset) argument
32921 int iOffset = pShmNode->nRegion*szRegion; local
32945 int iOffset = iRegion*szRegion; local
36876 i64 iOffset; /* Starting offset in main journal */ member in struct:PagerSavepoint
39246 i64 iOffset = (pgno-1)*(i64)pPager->pageSize; local
44360 i64 iOffset; /* Next offset to read from log file */ local
44982 i64 iOffset; local
45592 i64 iOffset; local
45904 i64 iOffset; /* Write offset in log file */ local
45934 i64 iOffset = walFrameOffset(iFrame+1, szPage); local
68456 int iOffset; /* Byte offset of blob in cursor data */ member in struct:Incrblob
68782 blobReadWrite( sqlite3_blob *pBlob, void *z, int n, int iOffset, int (*xCall)(BtCursor*, u32, u32, void*) ) argument
68832 sqlite3_blob_read(sqlite3_blob *pBlob, void *z, int n, int iOffset) argument
68839 sqlite3_blob_write(sqlite3_blob *pBlob, const void *z, int n, int iOffset) argument
69189 sqlite3_int64 iOffset; /* Offset from the beginning of the file */ member in struct:FilePoint
87569 static const u8 iOffset[] = {0, 1, 2, 4, 9, 12, 16}; local
91341 int iOffset; local
110619 PageData(DbPage *pPage, unsigned iOffset) argument
118589 int iOffset; /* current position in zInput */ member in struct:porter_tokenizer_cursor
119718 int iOffset; /* current position in pInput */ member in struct:simple_tokenizer_cursor
[all...]

Completed in 309 milliseconds

12