/external/chromium_org/third_party/sqlite/src/src/ |
H A D | os.c | 57 if( pId->pMethods ){ 58 rc = pId->pMethods->xClose(pId); 59 pId->pMethods = 0; 65 return id->pMethods->xRead(id, pBuf, amt, offset); 69 return id->pMethods->xWrite(id, pBuf, amt, offset); 72 return id->pMethods->xTruncate(id, size); 76 return id->pMethods->xSync(id, flags); 80 return id->pMethods->xFileSize(id, pSize); 84 return id->pMethods->xLock(id, lockType); 87 return id->pMethods [all...] |
H A D | test_multiplex.c | 358 int rc2 = pSubOpen->pMethods->xFileSize(pSubOpen, &sz); 362 if( pSubOpen->pMethods->iVersion==1 ){ 363 pMultiplexOpen->base.pMethods = &gMultiplex.sIoMethodsV1; 365 pMultiplexOpen->base.pMethods = &gMultiplex.sIoMethodsV2; 478 int rc2 = pSubOpen->pMethods->xClose(pSubOpen); 511 rc = ( !pSubOpen ) ? SQLITE_IOERR_READ : pSubOpen->pMethods->xRead(pSubOpen, pBuf, iAmt, iOfst); 520 rc = pSubOpen->pMethods->xRead(pSubOpen, pBuf, iAmt, iOfst % pGroup->nChunkSize); 551 rc = ( !pSubOpen ) ? SQLITE_IOERR_WRITE : pSubOpen->pMethods->xWrite(pSubOpen, pBuf, iAmt, iOfst); 560 rc = pSubOpen->pMethods->xWrite(pSubOpen, pBuf, iAmt, iOfst % pGroup->nChunkSize); 586 rc = ( !pSubOpen ) ? SQLITE_IOERR_TRUNCATE : pSubOpen->pMethods [all...] |
H A D | test_onefile.c | 390 rc = pReal->pFile->pMethods->xClose(pReal->pFile); 416 rc = pF->pMethods->xRead(pF, zBuf, iAmt, iOfst+BLOCKSIZE); 426 rc = pF->pMethods->xRead(pF, &((char *)zBuf)[iBuf], iRealAmt, iRealOff); 454 rc = pF->pMethods->xWrite(pF, zBuf, iAmt, iOfst+BLOCKSIZE); 471 rc = pF->pMethods->xWrite(pF, &((char *)zBuf)[iBuf], iRealAmt,iRealOff); 514 rc = pRealFile->pMethods->xWrite(pRealFile, zSize, 4, 0); 517 rc = pRealFile->pMethods->xSync(pRealFile, flags&(~SQLITE_SYNC_DATAONLY)); 600 p->base.pMethods = &tmp_io_methods; 605 p->base.pMethods = &fs_io_methods; 635 rc = pRealFile->pMethods [all...] |
H A D | test_osinst.c | 257 if( p->pReal->pMethods ){ 258 rc = p->pReal->pMethods->xClose(p->pReal); 278 rc = p->pReal->pMethods->xRead(p->pReal, zBuf, iAmt, iOfst); 297 rc = p->pReal->pMethods->xWrite(p->pReal, z, iAmt, iOfst); 311 rc = p->pReal->pMethods->xTruncate(p->pReal, size); 325 rc = p->pReal->pMethods->xSync(p->pReal, flags); 339 rc = p->pReal->pMethods->xFileSize(p->pReal, pSize); 353 rc = p->pReal->pMethods->xLock(p->pReal, eLock); 367 rc = p->pReal->pMethods->xUnlock(p->pReal, eLock); 381 rc = p->pReal->pMethods [all...] |
H A D | test_vfstrace.c | 197 rc = p->pReal->pMethods->xClose(p->pReal); 200 sqlite3_free((void*)p->base.pMethods); 201 p->base.pMethods = 0; 220 rc = p->pReal->pMethods->xRead(p->pReal, zBuf, iAmt, iOfst); 239 rc = p->pReal->pMethods->xWrite(p->pReal, zBuf, iAmt, iOfst); 253 rc = p->pReal->pMethods->xTruncate(p->pReal, size); 277 rc = p->pReal->pMethods->xSync(p->pReal, flags); 290 rc = p->pReal->pMethods->xFileSize(p->pReal, pSize); 319 rc = p->pReal->pMethods->xLock(p->pReal, eLock); 333 rc = p->pReal->pMethods [all...] |
H A D | test_quota.c | 329 pSubOpen->pMethods->xClose(pSubOpen); 343 if( pSubOpen->pMethods->iVersion==1 ){ 344 pQuotaOpen->base.pMethods = &gQuota.sIoMethodsV1; 346 pQuotaOpen->base.pMethods = &gQuota.sIoMethodsV2; 365 rc = pSubOpen->pMethods->xClose(pSubOpen); 390 return pSubOpen->pMethods->xRead(pSubOpen, pBuf, iAmt, iOfst); 428 return pSubOpen->pMethods->xWrite(pSubOpen, pBuf, iAmt, iOfst); 437 int rc = pSubOpen->pMethods->xTruncate(pSubOpen, size); 455 return pSubOpen->pMethods->xSync(pSubOpen, flags); 469 rc = pSubOpen->pMethods [all...] |
H A D | test_superlock.c | 98 int (*xShmLock)(sqlite3_file*, int, int, int) = fd->pMethods->xShmLock; 134 rc = fd->pMethods->xShmMap(fd, 0, 32*1024, 1, &p); 159 fd->pMethods->xShmLock(fd, 2, 1, flags); 160 fd->pMethods->xShmLock(fd, 3, SQLITE_SHM_NLOCK-3, flags);
|
H A D | test_vfs.c | 336 if( pFile->pMethods ){ 337 ckfree((char *)pFile->pMethods); 577 if( pFd->pReal->pMethods ){ 578 sqlite3_io_methods *pMethods; local 587 pMethods = (sqlite3_io_methods *)ckalloc(nByte); 588 memcpy(pMethods, &tvfs_io_methods, nByte); 589 pMethods->iVersion = pVfs->iVersion; 591 pMethods->xShmUnmap = 0; 592 pMethods->xShmLock = 0; 593 pMethods [all...] |
H A D | test_devsym.c | 277 if( p->pReal->pMethods ){ 278 pFile->pMethods = &devsym_io_methods;
|
H A D | journal.c | 225 if( p->pMethods!=&JournalFileMethods ){
|
H A D | memjournal.c | 251 return pJfd->pMethods==&MemJournalMethods;
|
H A D | test_journal.c | 698 pFile->pMethods = 0; 700 p->pReal->pMethods = 0; 702 assert( rc==SQLITE_OK || p->pReal->pMethods==0 ); 704 pFile->pMethods = &jt_io_methods;
|
H A D | test_demovfs.c | 445 p->base.pMethods = &demoio;
|
H A D | pager.c | 774 ** if( pPager->jfd->pMethods ){ ... 776 #define isOpen(pFd) ((pFd)->pMethods) 2738 pPager->fd->pMethods==0 || 6685 const sqlite3_io_methods *pMethods = pPager->fd->pMethods; local 6686 return pPager->exclusiveMode || (pMethods->iVersion>=2 && pMethods->xShmMap);
|
H A D | sqlite.h.in | 566 ** for their own use. The pMethods entry is a pointer to an 572 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ 584 ** If the xOpen method sets the sqlite3_file.pMethods element 588 ** is for the xOpen to set the sqlite3_file.pMethods element to NULL. 860 ** the xOpen method must set the sqlite3_file.pMethods to either 862 ** this even if the open fails. SQLite expects that the sqlite3_file.pMethods
|
H A D | main.c | 2437 }else if( fd->pMethods ){
|
H A D | os_unix.c | 4361 const sqlite3_io_methods *pMethods; /* Appropriate locking method */ member in struct:Mapping 4385 return aMap[i].pMethods; 5138 ** pFile->pMethods will be NULL so sqlite3OsClose will be a no-op
|
/external/chromium_org/third_party/sqlite/src/tool/ |
H A D | speedtest8inst1.c | 95 rc = p->pMethods->xFileSize(p, &nByte); 101 rc = p->pMethods->xRead(p, zData, nByte, 0); 107 p->pMethods->xClose(p); 113 p->pMethods->xClose(p);
|
/external/pdfium/fpdfsdk/src/javascript/ |
H A D | JS_Runtime.cpp | 432 JSMethodSpec* pMethods = NULL;
local 436 CJS_App::GetMethods(pMethods, nSize);
438 CJS_Color::GetMethods(pMethods, nSize);
442 CJS_Document::GetMethods(pMethods, nSize);
444 CJS_App::GetMethods(pMethods, nSize);
447 CJS_Event::GetMethods(pMethods, nSize);
449 CJS_Field::GetMethods(pMethods, nSize);
451 CJS_Global::GetMethods(pMethods, nSize);
453 CJS_Util::GetMethods(pMethods, nSize);
456 array.Add(pMethods[ [all...] |
/external/chromium_org/third_party/sqlite/src/ext/async/ |
H A D | sqlite3async.c | 685 if( pBase->pMethods ){ 687 rc = pBase->pMethods->xFileSize(pBase, &filesize); 693 rc = pBase->pMethods->xRead(pBase, zOut, (int)nRead, iOffset); 772 /* Read the filesystem size from the base file. If pMethods is NULL, this 778 if( pBase->pMethods ){ 779 rc = pBase->pMethods->xFileSize(pBase, &s); 828 rc = pLock->pFile->pMethods->xLock(pLock->pFile, eRequired); 834 rc = pLock->pFile->pMethods->xUnlock(pLock->pFile, eRequired); 979 pLock->pFile->pMethods->xClose(pLock->pFile); 1134 if( pData->pBaseRead->pMethods ){ [all...] |
/external/pdfium/fpdfsdk/include/javascript/ |
H A D | JS_Define.h | 250 static void GetMethods(JSMethodSpec*& pMethods, int& nSize);\
303 void js_class_name::GetMethods(JSMethodSpec*& pMethods, int& nSize)\
305 pMethods = JS_Class_Methods;\
354 static void GetMethods(JSMethodSpec*& pMethods, int& nSize);\
587 void js_class_name::GetMethods(JSMethodSpec*& pMethods, int& nSize)\
589 pMethods = JS_Class_Methods;\
|
/external/chromium_org/sql/ |
H A D | connection.cc | 135 // TODO(shess): NULL in file->pMethods has been observed on android_dbg 138 if (!*file || !(*file)->pMethods) 334 rc = file->pMethods->xFileSize(file, &file_size); 344 rc = file->pMethods->xRead(file, buf.get(), page_size, pos); 467 rc = file->pMethods->xTruncate(file, 0);
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.h | 571 ** for their own use. The pMethods entry is a pointer to an 577 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member in struct:sqlite3_file 589 ** If the xOpen method sets the sqlite3_file.pMethods element 593 ** is for the xOpen to set the sqlite3_file.pMethods element to NULL. 865 ** the xOpen method must set the sqlite3_file.pMethods to either 867 ** this even if the open fails. SQLite expects that the sqlite3_file.pMethods
|
/external/sqlite/dist/orig/ |
H A D | sqlite3.h | 624 ** for their own use. The pMethods entry is a pointer to an 630 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member in struct:sqlite3_file 642 ** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element 646 ** is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element 1092 ** the xOpen method must set the sqlite3_file.pMethods to either 1094 ** this even if the open fails. SQLite expects that the sqlite3_file.pMethods
|
/external/sqlite/dist/ |
H A D | sqlite3.h | 624 ** for their own use. The pMethods entry is a pointer to an 630 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member in struct:sqlite3_file 642 ** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element 646 ** is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element 1092 ** the xOpen method must set the sqlite3_file.pMethods to either 1094 ** this even if the open fails. SQLite expects that the sqlite3_file.pMethods
|