/external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/ |
H A D | binaryajax.js | 21 this.getByteAt = function(iOffset) { 22 return data.charCodeAt(iOffset + dataOffset) & 0xFF; 27 this.getByteAt = function(iOffset) { 28 return IEBinary_getByteAt(data, iOffset + dataOffset); 36 this.getSByteAt = function(iOffset) { 37 var iByte = this.getByteAt(iOffset); 44 this.getShortAt = function(iOffset, bBigEndian) { 46 (this.getByteAt(iOffset) << 8) + this.getByteAt(iOffset + 1) 47 : (this.getByteAt(iOffset [all...] |
H A D | exif.js | 332 var iOffset = 2; 334 while (iOffset < iLength) { 335 if (oFile.getByteAt(iOffset) != 0xFF) { 336 if (bDebug) console.log("Not a valid marker at offset " + iOffset + ", found: " + oFile.getByteAt(iOffset)); 340 var iMarker = oFile.getByteAt(iOffset+1); 347 return readEXIFData(oFile, iOffset + 4, oFile.getShortAt(iOffset+2, true)-2); 348 iOffset += 2 + oFile.getShortAt(iOffset [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
H A D | fts1_tokenizer1.c | 37 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 D | fts1_porter.c | 50 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 D | fulltext.c | 366 * 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 D | fts2_tokenizer1.c | 44 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 D | fts2_porter.c | 49 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...] |
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
H A D | fts3_tokenizer1.c | 45 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 D | fts3_porter.c | 50 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 D | memjournal.c | 53 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 D | vdbeblob.c | 28 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 D | test6.c | 114 ** 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 D | mem5.c | 460 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 D | wal.c | 1080 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 D | select.c | 433 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 D | os_win.c | 633 ** 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 D | test_osinst.c | 119 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 D | recover.c | 373 static const unsigned char *PageData(DbPage *pPage, unsigned iOffset){ argument 374 assert( iOffset<=pPage->nPageSize ); 375 return (unsigned char *)pPage->pData + iOffset;
|
H A D | sqlite.h.in | 4976 ** from the open BLOB, starting at offset iOffset.)^ 4978 ** ^If offset iOffset is less than N bytes from the end of the BLOB, 4979 ** [SQLITE_ERROR] is returned and no data is read. ^If N or iOffset is 4981 ** ^The size of the blob (and hence the maximum value of N+iOffset) 4997 int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset); 5004 ** into the open BLOB, starting at offset iOffset. 5012 ** ^If offset iOffset is less than N bytes from the end of the BLOB, 5015 ** The size of the BLOB (and hence the maximum value of N+iOffset) 5035 int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
|
/external/chromium_org/third_party/sqlite/src/ext/async/ |
H A D | sqlite3async.c | 417 ** 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/pdfium/fpdfsdk/src/javascript/ |
H A D | util.cpp | 147 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/sonivox/jet_tools/JetCreator/ |
H A D | JetSegGraph.py | 324 iOffset = 0
326 iOffset = self.iMidiModeStart
331 dc.DrawRectangle(self.iEdges + iOffset, gHeight-6, till, 3)
346 iOffset = 0
348 iOffset = self.iMidiModeStart
356 dc.DrawRectangle(self.iEdges + iOffset, gHeight-6, till, 3)
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.h | 4981 ** from the open BLOB, starting at offset iOffset.)^ 4983 ** ^If offset iOffset is less than N bytes from the end of the BLOB, 4984 ** [SQLITE_ERROR] is returned and no data is read. ^If N or iOffset is 4986 ** ^The size of the blob (and hence the maximum value of N+iOffset) 5002 SQLITE_API int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset); 5009 ** into the open BLOB, starting at offset iOffset. 5017 ** ^If offset iOffset is less than N bytes from the end of the BLOB, 5020 ** The size of the BLOB (and hence the maximum value of N+iOffset) 5040 SQLITE_API int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
|
/external/sqlite/dist/orig/ |
H A D | sqlite3.h | 5722 ** from the open BLOB, starting at offset iOffset.)^ 5724 ** ^If offset iOffset is less than N bytes from the end of the BLOB, 5725 ** [SQLITE_ERROR] is returned and no data is read. ^If N or iOffset is 5727 ** ^The size of the blob (and hence the maximum value of N+iOffset) 5743 SQLITE_API int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset); 5750 ** into the open BLOB, starting at offset iOffset. 5758 ** ^If offset iOffset is less than N bytes from the end of the BLOB, 5761 ** The size of the BLOB (and hence the maximum value of N+iOffset) 5781 SQLITE_API int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
|
/external/sqlite/dist/ |
H A D | sqlite3.h | 5722 ** from the open BLOB, starting at offset iOffset.)^ 5724 ** ^If offset iOffset is less than N bytes from the end of the BLOB, 5725 ** [SQLITE_ERROR] is returned and no data is read. ^If N or iOffset is 5727 ** ^The size of the blob (and hence the maximum value of N+iOffset) 5743 SQLITE_API int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset); 5750 ** into the open BLOB, starting at offset iOffset. 5758 ** ^If offset iOffset is less than N bytes from the end of the BLOB, 5761 ** The size of the BLOB (and hence the maximum value of N+iOffset) 5781 SQLITE_API int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
|