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

12

/external/chromium_org/third_party/sqlite/src/src/
H A Dos.c57 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 Dtest_multiplex.c358 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 Dtest_onefile.c390 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 Dtest_osinst.c257 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 Dtest_vfstrace.c197 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 Dtest_quota.c329 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 Dtest_superlock.c98 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 Dtest_vfs.c336 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 Dtest_devsym.c277 if( p->pReal->pMethods ){
278 pFile->pMethods = &devsym_io_methods;
H A Djournal.c225 if( p->pMethods!=&JournalFileMethods ){
H A Dmemjournal.c251 return pJfd->pMethods==&MemJournalMethods;
H A Dtest_journal.c698 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 Dtest_demovfs.c445 p->base.pMethods = &demoio;
H A Dpager.c774 ** 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 Dsqlite.h.in566 ** 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 Dmain.c2437 }else if( fd->pMethods ){
H A Dos_unix.c4361 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 Dspeedtest8inst1.c95 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 DJS_Runtime.cpp432 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 Dsqlite3async.c685 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 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/
H A Dconnection.cc135 // 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 Dsqlite3.h571 ** 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 Dsqlite3.h624 ** 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 Dsqlite3.h624 ** 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

Completed in 2386 milliseconds

12