HomeSort by relevance Sort by last modified time
    Searched refs:pMethods (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/third_party/sqlite/src/src/
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->xUnlock(id, lockType)
    [all...]
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->xTruncate(pSubOpen, size)
    [all...]
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->xFileSize(pRealFile, &size)
    [all...]
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->xCheckReservedLock(p->pReal, pResOut)
    [all...]
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->xUnlock(p->pReal, eLock)
    [all...]
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->xFileSize(pSubOpen, &sz)
    [all...]
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);
test_vfs.c 336 if( pFile->pMethods ){
337 ckfree((char *)pFile->pMethods);
577 if( pFd->pReal->pMethods ){
578 sqlite3_io_methods *pMethods;
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->xShmBarrier = 0
    [all...]
test_devsym.c 277 if( p->pReal->pMethods ){
278 pFile->pMethods = &devsym_io_methods;
journal.c 225 if( p->pMethods!=&JournalFileMethods ){
memjournal.c 251 return pJfd->pMethods==&MemJournalMethods;
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;
test_demovfs.c 445 p->base.pMethods = &demoio;
pager.c     [all...]
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.
    [all...]
  /external/chromium_org/third_party/sqlite/src/tool/
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/
JS_Runtime.cpp 432 JSMethodSpec* pMethods = NULL;
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[i].pName);
    [all...]
  /external/chromium_org/third_party/sqlite/src/ext/async/
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);
    [all...]
  /dalvik/tools/dmtracedump/
TraceDump.c     [all...]
  /external/pdfium/fpdfsdk/include/javascript/
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/
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);
    [all...]
  /external/sqlite/dist/orig/
sqlite3.c     [all...]
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 */
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
    [all...]
  /external/sqlite/dist/
sqlite3.c     [all...]
  /external/chromium_org/third_party/sqlite/amalgamation/
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 */
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.
    [all...]

Completed in 1472 milliseconds

1 2