/external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/ |
D | binaryajax.js | 21 this.getByteAt = function(iOffset) { argument 22 return data.charCodeAt(iOffset + dataOffset) & 0xFF; 27 this.getByteAt = function(iOffset) { argument 28 return IEBinary_getByteAt(data, iOffset + dataOffset); 36 this.getSByteAt = function(iOffset) { argument 37 var iByte = this.getByteAt(iOffset); 44 this.getShortAt = function(iOffset, bBigEndian) { argument 46 (this.getByteAt(iOffset) << 8) + this.getByteAt(iOffset + 1) 47 : (this.getByteAt(iOffset + 1) << 8) + this.getByteAt(iOffset) 51 this.getSShortAt = function(iOffset, bBigEndian) { argument [all …]
|
D | exif.js | 332 var iOffset = 2; 334 while (iOffset < iLength) { 335 if (oFile.getByteAt(iOffset) != 0xFF) { 336 …Debug) console.log("Not a valid marker at offset " + iOffset + ", found: " + oFile.getByteAt(iOffs… 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+2, true); 353 return readEXIFData(oFile, iOffset + 4, oFile.getShortAt(iOffset+2, true)-2); 356 iOffset += 2 + oFile.getShortAt(iOffset+2, true);
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2_tokenizer1.c | 44 int iOffset; /* current position in pInput */ member 132 c->iOffset = 0; /* start tokenizing at the beginning */ in simpleOpen() 168 while( c->iOffset<c->nBytes ){ in simpleNext() 172 while( c->iOffset<c->nBytes && simpleDelim(t, p[c->iOffset]) ){ in simpleNext() 173 c->iOffset++; in simpleNext() 177 iStartOffset = c->iOffset; in simpleNext() 178 while( c->iOffset<c->nBytes && !simpleDelim(t, p[c->iOffset]) ){ in simpleNext() 179 c->iOffset++; in simpleNext() 182 if( c->iOffset>iStartOffset ){ in simpleNext() 183 int i, n = c->iOffset-iStartOffset; in simpleNext() [all …]
|
D | fts2_porter.c | 49 int iOffset; /* current position in zInput */ member 107 c->iOffset = 0; /* start tokenizing at the beginning */ in porterOpen() 587 while( c->iOffset<c->nInput ){ in porterNext() 591 while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){ in porterNext() 592 c->iOffset++; in porterNext() 596 iStartOffset = c->iOffset; in porterNext() 597 while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){ in porterNext() 598 c->iOffset++; in porterNext() 601 if( c->iOffset>iStartOffset ){ in porterNext() 602 int n = c->iOffset-iStartOffset; in porterNext() [all …]
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
D | fts1_tokenizer1.c | 37 int iOffset; /* current position in pInput */ member 123 c->iOffset = 0; /* start tokenizing at the beginning */ in simpleOpen() 159 while( c->iOffset<c->nBytes ){ in simpleNext() 163 while( c->iOffset<c->nBytes && isDelim(t, p[c->iOffset]) ){ in simpleNext() 164 c->iOffset++; in simpleNext() 168 iStartOffset = c->iOffset; in simpleNext() 169 while( c->iOffset<c->nBytes && !isDelim(t, p[c->iOffset]) ){ in simpleNext() 170 c->iOffset++; in simpleNext() 173 if( c->iOffset>iStartOffset ){ in simpleNext() 174 int i, n = c->iOffset-iStartOffset; in simpleNext() [all …]
|
D | fts1_porter.c | 50 int iOffset; /* current position in zInput */ member 108 c->iOffset = 0; /* start tokenizing at the beginning */ in porterOpen() 589 while( c->iOffset<c->nInput ){ in porterNext() 593 while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){ in porterNext() 594 c->iOffset++; in porterNext() 598 iStartOffset = c->iOffset; in porterNext() 599 while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){ in porterNext() 600 c->iOffset++; in porterNext() 603 if( c->iOffset>iStartOffset ){ in porterNext() 604 int n = c->iOffset-iStartOffset; in porterNext() [all …]
|
D | fulltext.c | 377 int iOffset; member 381 DocList *pIn, int iOffset, DocList *pOut){ in mergeInit() argument 384 m->iOffset = iOffset; in mergeInit() 401 if( block_pos-m->iOffset==in_pos ){ in mergePosList() 411 } else if( in_pos==-1 || (block_pos!=-1 && block_pos-m->iOffset<in_pos) ){ in mergePosList() 1069 DocList *pIn, int iOffset, DocList *out){ in query_merge() argument 1082 mergeInit(&merge, pIn, iOffset, out); in query_merge()
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
D | fts3_tokenizer1.c | 45 int iOffset; /* current position in pInput */ member 134 c->iOffset = 0; /* start tokenizing at the beginning */ in simpleOpen() 170 while( c->iOffset<c->nBytes ){ in simpleNext() 174 while( c->iOffset<c->nBytes && simpleDelim(t, p[c->iOffset]) ){ in simpleNext() 175 c->iOffset++; in simpleNext() 179 iStartOffset = c->iOffset; in simpleNext() 180 while( c->iOffset<c->nBytes && !simpleDelim(t, p[c->iOffset]) ){ in simpleNext() 181 c->iOffset++; in simpleNext() 184 if( c->iOffset>iStartOffset ){ in simpleNext() 185 int i, n = c->iOffset-iStartOffset; in simpleNext() [all …]
|
D | fts3_porter.c | 50 int iOffset; /* current position in zInput */ member 110 c->iOffset = 0; /* start tokenizing at the beginning */ in porterOpen() 590 while( c->iOffset<c->nInput ){ in porterNext() 594 while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){ in porterNext() 595 c->iOffset++; in porterNext() 599 iStartOffset = c->iOffset; in porterNext() 600 while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){ in porterNext() 601 c->iOffset++; in porterNext() 604 if( c->iOffset>iStartOffset ){ in porterNext() 605 int n = c->iOffset-iStartOffset; in porterNext() [all …]
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | incrblob2.test | 36 foreach iOffset [list 0 256 4094] { 37 do_test incrblob2-1.$iOffset.1 { 39 puts $fd "[string repeat x $iOffset]SQLite version 3.6.0" 43 do_test incrblob2-1.$iOffset.2 { 48 if {$iOffset != 0} { 49 seek $fd2 $iOffset start 50 seek $fd1 $iOffset start 55 do_test incrblob2-1.$iOffset.3 { 59 do_test incrblob2-1.$iOffset.4 { 60 seek $fd2 $iOffset start [all …]
|
D | select9.test | 71 for {set iOffset 0} {$iOffset < $iOffsetEnd} {incr iOffset $iOffsetIncr} { 75 if {$iOffset != 0} { 76 append ::compound_sql " OFFSET $iOffset" 79 set iStart [expr {$iOffset*$nCol}] 80 set iEnd [expr {($iOffset*$nCol) + ($iLimit*$nCol) -1}] 82 do_test $testname.limit=$iLimit.offset=$iOffset {
|
D | rollback.test | 110 set iOffset [expr (([file size testA.db-journal] + 511)/512)*512] 113 seek $fd $iOffset
|
D | analyze2.test | 474 foreach iOffset {24 40} { 475 set cookie [hexio_get_int [hexio_read $zDb $iOffset 4]] 477 hexio_write $zDb $iOffset [hexio_render_int32 $cookie]
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | memjournal.c | 53 sqlite3_int64 iOffset; /* Offset from the beginning of the file */ member 85 assert( iOfst+iAmt<=p->endpoint.iOffset ); in memjrnlRead() 87 if( p->readpoint.iOffset!=iOfst || iOfst==0 ){ in memjrnlRead() 108 p->readpoint.iOffset = iOfst+iAmt; in memjrnlRead() 130 assert( iOfst==p->endpoint.iOffset ); in memjrnlWrite() 135 int iChunkOffset = (int)(p->endpoint.iOffset%JOURNAL_CHUNKSIZE); in memjrnlWrite() 158 p->endpoint.iOffset += iSpace; in memjrnlWrite() 209 *pSize = (sqlite_int64) p->endpoint.iOffset; in memjrnlFileSize()
|
D | vdbeblob.c | 28 int iOffset; /* Byte offset of blob in cursor data */ member 76 p->iOffset = v->apCsr[0]->aOffset[p->iCol]; in blobSeekToRow() 358 int iOffset, in blobReadWrite() argument 371 if( n<0 || iOffset<0 || (iOffset+n)>p->nByte ){ in blobReadWrite() 386 rc = xCall(p->pCsr, iOffset+p->iOffset, n, z); in blobReadWrite() 404 int sqlite3_blob_read(sqlite3_blob *pBlob, void *z, int n, int iOffset){ in sqlite3_blob_read() argument 405 return blobReadWrite(pBlob, z, n, iOffset, sqlite3BtreeData); in sqlite3_blob_read() 411 int sqlite3_blob_write(sqlite3_blob *pBlob, const void *z, int n, int iOffset){ in sqlite3_blob_write() argument 412 return blobReadWrite(pBlob, (void *)z, n, iOffset, sqlite3BtreePutData); in sqlite3_blob_write()
|
D | mem5.c | 460 int iOffset; /* An offset into mem5.aCtrl[] */ in memsys5Init() local 491 iOffset = 0; in memsys5Init() 494 if( (iOffset+nAlloc)<=mem5.nBlock ){ in memsys5Init() 495 mem5.aCtrl[iOffset] = ii | CTRL_FREE; in memsys5Init() 496 memsys5Link(iOffset, ii); in memsys5Init() 497 iOffset += nAlloc; in memsys5Init() 499 assert((iOffset+nAlloc)>mem5.nBlock); in memsys5Init()
|
D | test6.c | 118 i64 iOffset; /* Byte offset of the start of this write() */ member 264 if( iSize==pWrite->iOffset ){ in writeListSync() 280 pWrite->pFile, pWrite->zBuf, pWrite->nBuf, pWrite->iOffset in writeListSync() 283 rc = sqlite3OsTruncate(pRealFile, pWrite->iOffset); in writeListSync() 289 pWrite->nBuf, (int)pWrite->iOffset, pWrite->pFile->zName in writeListSync() 301 pWrite->nBuf, (int)pWrite->iOffset, pWrite->pFile->zName in writeListSync() 309 int iFirst = (pWrite->iOffset/g.iSectorSize); in writeListSync() 310 int iLast = (pWrite->iOffset+pWrite->nBuf-1)/g.iSectorSize; in writeListSync() 360 sqlite3_int64 iOffset, in writeListAppend() argument 373 pNew->iOffset = iOffset; in writeListAppend()
|
D | wal.c | 1080 i64 iOffset; /* Next offset to read from log file */ in walIndexRecover() local 1139 for(iOffset=WAL_HDRSIZE; (iOffset+szFrame)<=nSize; iOffset+=szFrame){ in walIndexRecover() 1145 rc = sqlite3OsRead(pWal->pWalFd, aFrame, szFrame, iOffset); in walIndexRecover() 1702 i64 iOffset; in walCheckpoint() local 1705 iOffset = walFrameOffset(iFrame, szPage) + WAL_FRAME_HDRSIZE; in walCheckpoint() 1707 rc = sqlite3OsRead(pWal->pWalFd, zBuf, szPage, iOffset); in walCheckpoint() 1709 iOffset = (iDbpage-1)*(i64)szPage; in walCheckpoint() 1710 testcase( IS_BIG_INT(iOffset) ); in walCheckpoint() 1711 rc = sqlite3OsWrite(pWal->pDbFd, zBuf, szPage, iOffset); in walCheckpoint() 2312 i64 iOffset; in sqlite3WalRead() local [all …]
|
D | test_osinst.c | 119 sqlite3_int64 iOffset; /* Log file offset of start of write buffer */ member 624 p->pLog->pMethods->xWrite(p->pLog, p->aBuf, p->nBuf, p->iOffset); in vfslog_flush() 625 p->iOffset += p->nBuf; in vfslog_flush() 739 p->iOffset = 0; in sqlite3_vfslog_new() 814 sqlite3_int64 iOffset; /* Offset of next record in file */ member 966 if( pCsr->iOffset+nRead<=p->nByte ){ in vlogNext() 968 rc = p->pFd->pMethods->xRead(p->pFd, pCsr->aBuf, nRead, pCsr->iOffset); in vlogNext() 975 rc = p->pFd->pMethods->xRead(p->pFd, buf, 4, pCsr->iOffset+nRead); in vlogNext() 980 rc = p->pFd->pMethods->xRead(p->pFd, zStr, nStr, pCsr->iOffset+nRead); in vlogNext() 1003 pCsr->iOffset += nRead; in vlogNext() [all …]
|
D | select.c | 433 if( pSelect->iOffset ){ in pushOntoSorter() 434 iLimit = pSelect->iOffset+1; in pushOntoSorter() 456 if( p->iOffset && iContinue!=0 ){ in codeOffset() 458 sqlite3VdbeAddOp2(v, OP_AddImm, p->iOffset, -1); in codeOffset() 459 addr = sqlite3VdbeAddOp1(v, OP_IfNeg, p->iOffset); in codeOffset() 1419 int iOffset; in computeLimitRegisters() local 1450 p->iOffset = iOffset = ++pParse->nMem; in computeLimitRegisters() 1452 sqlite3ExprCode(pParse, p->pOffset, iOffset); in computeLimitRegisters() 1453 sqlite3VdbeAddOp1(v, OP_MustBeInt, iOffset); in computeLimitRegisters() 1455 addr1 = sqlite3VdbeAddOp1(v, OP_IfPos, iOffset); in computeLimitRegisters() [all …]
|
D | os_win.c | 636 static int seekWinFile(winFile *pFile, sqlite3_int64 iOffset){ in seekWinFile() argument 641 upperBits = (LONG)((iOffset>>32) & 0x7fffffff); in seekWinFile() 642 lowerBits = (LONG)(iOffset & 0xffffffff); in seekWinFile() 1802 int iOffset = pShmNode->nRegion*szRegion; in winShmMap() local 1803 int iOffsetShift = iOffset % winSysInfo.dwAllocationGranularity; in winShmMap() 1805 0, iOffset - iOffsetShift, szRegion + iOffsetShift in winShmMap() 1808 (int)GetCurrentProcessId(), pShmNode->nRegion, iOffset, szRegion, in winShmMap() 1826 int iOffset = iRegion*szRegion; in winShmMap() local 1827 int iOffsetShift = iOffset % winSysInfo.dwAllocationGranularity; in winShmMap()
|
/external/chromium_org/third_party/sqlite/src/ext/async/ |
D | sqlite3async.c | 458 sqlite_int64 iOffset; /* See above */ member 554 pWrite->pFileData ? pWrite->pFileData->zName : "-", pWrite->iOffset)); in addAsyncWrite() 590 sqlite3_int64 iOffset, in addNewAsyncWrite() argument 609 p->iOffset = iOffset; in addNewAsyncWrite() 666 sqlite3_int64 iOffset in asyncRead() argument 691 nRead = MIN(filesize - iOffset, iAmt64); in asyncRead() 693 rc = pBase->pMethods->xRead(pBase, zOut, (int)nRead, iOffset); in asyncRead() 694 ASYNC_TRACE(("READ %s %d bytes at %d\n", p->zName, nRead, iOffset)); in asyncRead() 715 sqlite3_int64 iBeginOut = (pWrite->iOffset-iOffset); in asyncRead() 720 filesize = MAX(filesize, pWrite->iOffset+nByte64); in asyncRead() [all …]
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | util.cpp | 147 int iOffset = 0; in printf() local 150 while(iOffset != -1) in printf() 152 iOffend = c_ConvChar.find(L"%",iOffset+1); in printf() 155 strSub = c_ConvChar.substr(iOffset); in printf() 157 strSub = c_ConvChar.substr(iOffset ,iOffend - iOffset); in printf() 159 iOffset = iOffend ; in printf()
|
/external/sonivox/jet_tools/JetCreator/ |
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/ |
D | sqlite3.h | 5002 SQLITE_API int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset); 5040 SQLITE_API int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
|