Home
last modified time | relevance | path

Searched refs:pMethods (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/sqlite/src/src/
Dos.c57 if( pId->pMethods ){ in sqlite3OsClose()
58 rc = pId->pMethods->xClose(pId); in sqlite3OsClose()
59 pId->pMethods = 0; in sqlite3OsClose()
65 return id->pMethods->xRead(id, pBuf, amt, offset); in sqlite3OsRead()
69 return id->pMethods->xWrite(id, pBuf, amt, offset); in sqlite3OsWrite()
72 return id->pMethods->xTruncate(id, size); in sqlite3OsTruncate()
76 return id->pMethods->xSync(id, flags); in sqlite3OsSync()
80 return id->pMethods->xFileSize(id, pSize); in sqlite3OsFileSize()
84 return id->pMethods->xLock(id, lockType); in sqlite3OsLock()
87 return id->pMethods->xUnlock(id, lockType); in sqlite3OsUnlock()
[all …]
Dtest_quota.c329 pSubOpen->pMethods->xClose(pSubOpen); in quotaOpen()
343 if( pSubOpen->pMethods->iVersion==1 ){ in quotaOpen()
344 pQuotaOpen->base.pMethods = &gQuota.sIoMethodsV1; in quotaOpen()
346 pQuotaOpen->base.pMethods = &gQuota.sIoMethodsV2; in quotaOpen()
365 rc = pSubOpen->pMethods->xClose(pSubOpen); in quotaClose()
390 return pSubOpen->pMethods->xRead(pSubOpen, pBuf, iAmt, iOfst); in quotaRead()
428 return pSubOpen->pMethods->xWrite(pSubOpen, pBuf, iAmt, iOfst); in quotaWrite()
437 int rc = pSubOpen->pMethods->xTruncate(pSubOpen, size); in quotaTruncate()
455 return pSubOpen->pMethods->xSync(pSubOpen, flags); in quotaSync()
469 rc = pSubOpen->pMethods->xFileSize(pSubOpen, &sz); in quotaFileSize()
[all …]
Dtest_osinst.c257 if( p->pReal->pMethods ){ in vfslogClose()
258 rc = p->pReal->pMethods->xClose(p->pReal); in vfslogClose()
278 rc = p->pReal->pMethods->xRead(p->pReal, zBuf, iAmt, iOfst); in vfslogRead()
297 rc = p->pReal->pMethods->xWrite(p->pReal, z, iAmt, iOfst); in vfslogWrite()
311 rc = p->pReal->pMethods->xTruncate(p->pReal, size); in vfslogTruncate()
325 rc = p->pReal->pMethods->xSync(p->pReal, flags); in vfslogSync()
339 rc = p->pReal->pMethods->xFileSize(p->pReal, pSize); in vfslogFileSize()
353 rc = p->pReal->pMethods->xLock(p->pReal, eLock); in vfslogLock()
367 rc = p->pReal->pMethods->xUnlock(p->pReal, eLock); in vfslogUnlock()
381 rc = p->pReal->pMethods->xCheckReservedLock(p->pReal, pResOut); in vfslogCheckReservedLock()
[all …]
Dtest_vfstrace.c197 rc = p->pReal->pMethods->xClose(p->pReal); in vfstraceClose()
200 sqlite3_free((void*)p->base.pMethods); in vfstraceClose()
201 p->base.pMethods = 0; in vfstraceClose()
220 rc = p->pReal->pMethods->xRead(p->pReal, zBuf, iAmt, iOfst); in vfstraceRead()
239 rc = p->pReal->pMethods->xWrite(p->pReal, zBuf, iAmt, iOfst); in vfstraceWrite()
253 rc = p->pReal->pMethods->xTruncate(p->pReal, size); in vfstraceTruncate()
277 rc = p->pReal->pMethods->xSync(p->pReal, flags); in vfstraceSync()
290 rc = p->pReal->pMethods->xFileSize(p->pReal, pSize); in vfstraceFileSize()
319 rc = p->pReal->pMethods->xLock(p->pReal, eLock); in vfstraceLock()
333 rc = p->pReal->pMethods->xUnlock(p->pReal, eLock); in vfstraceUnlock()
[all …]
Dtest_multiplex.c358 int rc2 = pSubOpen->pMethods->xFileSize(pSubOpen, &sz); in multiplexOpen()
362 if( pSubOpen->pMethods->iVersion==1 ){ in multiplexOpen()
363 pMultiplexOpen->base.pMethods = &gMultiplex.sIoMethodsV1; in multiplexOpen()
365 pMultiplexOpen->base.pMethods = &gMultiplex.sIoMethodsV2; in multiplexOpen()
478 int rc2 = pSubOpen->pMethods->xClose(pSubOpen); in multiplexClose()
511 rc = ( !pSubOpen ) ? SQLITE_IOERR_READ : pSubOpen->pMethods->xRead(pSubOpen, pBuf, iAmt, iOfst); in multiplexRead()
520 rc = pSubOpen->pMethods->xRead(pSubOpen, pBuf, iAmt, iOfst % pGroup->nChunkSize); in multiplexRead()
551 … rc = ( !pSubOpen ) ? SQLITE_IOERR_WRITE : pSubOpen->pMethods->xWrite(pSubOpen, pBuf, iAmt, iOfst); in multiplexWrite()
560 rc = pSubOpen->pMethods->xWrite(pSubOpen, pBuf, iAmt, iOfst % pGroup->nChunkSize); in multiplexWrite()
586 rc = ( !pSubOpen ) ? SQLITE_IOERR_TRUNCATE : pSubOpen->pMethods->xTruncate(pSubOpen, size); in multiplexTruncate()
[all …]
Dtest_onefile.c390 rc = pReal->pFile->pMethods->xClose(pReal->pFile); in fsClose()
416 rc = pF->pMethods->xRead(pF, zBuf, iAmt, iOfst+BLOCKSIZE); in fsRead()
426 rc = pF->pMethods->xRead(pF, &((char *)zBuf)[iBuf], iRealAmt, iRealOff); in fsRead()
454 rc = pF->pMethods->xWrite(pF, zBuf, iAmt, iOfst+BLOCKSIZE); in fsWrite()
471 rc = pF->pMethods->xWrite(pF, &((char *)zBuf)[iBuf], iRealAmt,iRealOff); in fsWrite()
514 rc = pRealFile->pMethods->xWrite(pRealFile, zSize, 4, 0); in fsSync()
517 rc = pRealFile->pMethods->xSync(pRealFile, flags&(~SQLITE_SYNC_DATAONLY)); in fsSync()
600 p->base.pMethods = &tmp_io_methods; in fsOpen()
605 p->base.pMethods = &fs_io_methods; in fsOpen()
635 rc = pRealFile->pMethods->xFileSize(pRealFile, &size); in fsOpen()
[all …]
Dtest_superlock.c98 int (*xShmLock)(sqlite3_file*, int, int, int) = fd->pMethods->xShmLock; in superlockShmLock()
134 rc = fd->pMethods->xShmMap(fd, 0, 32*1024, 1, &p); in superlockWalLock()
159 fd->pMethods->xShmLock(fd, 2, 1, flags); in sqlite3demo_superunlock()
160 fd->pMethods->xShmLock(fd, 3, SQLITE_SHM_NLOCK-3, flags); in sqlite3demo_superunlock()
Dtest_vfs.c336 if( pFile->pMethods ){ in tvfsClose()
337 ckfree((char *)pFile->pMethods); in tvfsClose()
577 if( pFd->pReal->pMethods ){ in tvfsOpen()
578 sqlite3_io_methods *pMethods; in tvfsOpen() local
587 pMethods = (sqlite3_io_methods *)ckalloc(nByte); in tvfsOpen()
588 memcpy(pMethods, &tvfs_io_methods, nByte); in tvfsOpen()
589 pMethods->iVersion = pVfs->iVersion; in tvfsOpen()
591 pMethods->xShmUnmap = 0; in tvfsOpen()
592 pMethods->xShmLock = 0; in tvfsOpen()
593 pMethods->xShmBarrier = 0; in tvfsOpen()
[all …]
Dtest_journal.c698 pFile->pMethods = 0; in jtOpen()
700 p->pReal->pMethods = 0; in jtOpen()
702 assert( rc==SQLITE_OK || p->pReal->pMethods==0 ); in jtOpen()
704 pFile->pMethods = &jt_io_methods; in jtOpen()
Dtest_devsym.c277 if( p->pReal->pMethods ){ in devsymOpen()
278 pFile->pMethods = &devsym_io_methods; in devsymOpen()
Dmemjournal.c251 return pJfd->pMethods==&MemJournalMethods; in sqlite3IsMemJournal()
Djournal.c225 if( p->pMethods!=&JournalFileMethods ){ in sqlite3JournalCreate()
Dtest_demovfs.c445 p->base.pMethods = &demoio; in demoOpen()
Dpager.c776 #define isOpen(pFd) ((pFd)->pMethods)
2738 pPager->fd->pMethods==0 || in pager_playback()
6685 const sqlite3_io_methods *pMethods = pPager->fd->pMethods; in sqlite3PagerWalSupported() local
6686 return pPager->exclusiveMode || (pMethods->iVersion>=2 && pMethods->xShmMap); in sqlite3PagerWalSupported()
Dmain.c2437 }else if( fd->pMethods ){ in sqlite3_file_control()
Dos_unix.c4361 const sqlite3_io_methods *pMethods; /* Appropriate locking method */ in autolockIoFinderImpl() member
4385 return aMap[i].pMethods; in autolockIoFinderImpl()
/external/chromium_org/third_party/sqlite/src/ext/async/
Dsqlite3async.c685 if( pBase->pMethods ){ in asyncRead()
687 rc = pBase->pMethods->xFileSize(pBase, &filesize); in asyncRead()
693 rc = pBase->pMethods->xRead(pBase, zOut, (int)nRead, iOffset); in asyncRead()
778 if( pBase->pMethods ){ in asyncFileSize()
779 rc = pBase->pMethods->xFileSize(pBase, &s); in asyncFileSize()
828 rc = pLock->pFile->pMethods->xLock(pLock->pFile, eRequired); in getFileLock()
834 rc = pLock->pFile->pMethods->xUnlock(pLock->pFile, eRequired); in getFileLock()
979 pLock->pFile->pMethods->xClose(pLock->pFile); in unlinkAsyncFile()
1134 if( pData->pBaseRead->pMethods ){ in asyncOpen()
1135 pData->pBaseRead->pMethods->xClose(pData->pBaseRead); in asyncOpen()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
DJS_Runtime.cpp432 JSMethodSpec* pMethods = NULL; in GetObjectMethods() local
436 CJS_App::GetMethods(pMethods, nSize); in GetObjectMethods()
438 CJS_Color::GetMethods(pMethods, nSize); in GetObjectMethods()
442 CJS_Document::GetMethods(pMethods, nSize); in GetObjectMethods()
444 CJS_App::GetMethods(pMethods, nSize); in GetObjectMethods()
447 CJS_Event::GetMethods(pMethods, nSize); in GetObjectMethods()
449 CJS_Field::GetMethods(pMethods, nSize); in GetObjectMethods()
451 CJS_Global::GetMethods(pMethods, nSize); in GetObjectMethods()
453 CJS_Util::GetMethods(pMethods, nSize); in GetObjectMethods()
456 array.Add(pMethods[i].pName); in GetObjectMethods()
/external/chromium_org/third_party/sqlite/src/tool/
Dspeedtest8inst1.c95 rc = p->pMethods->xFileSize(p, &nByte); in readScriptFile()
101 rc = p->pMethods->xRead(p, zData, nByte, 0); in readScriptFile()
107 p->pMethods->xClose(p); in readScriptFile()
113 p->pMethods->xClose(p); in readScriptFile()
/external/pdfium/fpdfsdk/include/javascript/
DJS_Define.h250 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/
Dconnection.cc138 if (!*file || !(*file)->pMethods) in GetSqlite3File()
334 rc = file->pMethods->xFileSize(file, &file_size); in Preload()
344 rc = file->pMethods->xRead(file, buf.get(), page_size, pos); in Preload()
467 rc = file->pMethods->xTruncate(file, 0); in Raze()
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.h577 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member
/external/sqlite/dist/
Dsqlite3.h630 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member
Dsqlite3.c745 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member
15789 if( pId->pMethods ){ in sqlite3OsClose()
15790 rc = pId->pMethods->xClose(pId); in sqlite3OsClose()
15791 pId->pMethods = 0; in sqlite3OsClose()
15797 return id->pMethods->xRead(id, pBuf, amt, offset); in sqlite3OsRead()
15801 return id->pMethods->xWrite(id, pBuf, amt, offset); in sqlite3OsWrite()
15804 return id->pMethods->xTruncate(id, size); in sqlite3OsTruncate()
15808 return id->pMethods->xSync(id, flags); in sqlite3OsSync()
15812 return id->pMethods->xFileSize(id, pSize); in sqlite3OsFileSize()
15816 return id->pMethods->xLock(id, lockType); in sqlite3OsLock()
[all …]
/external/sqlite/dist/orig/
Dsqlite3.h630 const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ member

12