コード例 #1
0
ファイル: os_c.cs プロジェクト: ehsan2022002/VirastarE
 static int sqlite3OsFullPathname(
     sqlite3_vfs pVfs,
     string zPath,
     int nPathOut,
     StringBuilder zPathOut
     )
 {
     zPathOut.Length = 0;//zPathOut[0] = 0;
     return(pVfs.xFullPathname(pVfs, zPath, nPathOut, zPathOut));
 }
コード例 #2
0
/*
** Populate buffer zOut with the full canonical pathname corresponding
** to the pathname in zPath. zOut is guaranteed to point to a buffer
** of at least (DEVSYM_MAX_PATHNAME+1) bytes.
*/
        static int vfstraceFullPathname(
            sqlite3_vfs pVfs,
            string zPath,
            int nOut,
            StringBuilder zOut
            )
        {
            vfstrace_info pInfo = (vfstrace_info)pVfs.pAppData;
            sqlite3_vfs   pRoot = pInfo.pRootVfs;
            int           rc;

            vfstrace_printf(pInfo, "%s.xFullPathname(\"%s\")",
                            pInfo.zVfsName, zPath);
            rc = pRoot.xFullPathname(pRoot, zPath, nOut, zOut);
            vfstrace_print_errcode(pInfo, " . %s", rc);
            vfstrace_printf(pInfo, ", ref=\"%.*s\"\n", nOut, zOut);
            return(rc);
        }
コード例 #3
0
ファイル: os_c.cs プロジェクト: pragmat1c/coolstorage
 static int sqlite3OsFullPathname(
 sqlite3_vfs pVfs,
 string zPath,
 int nPathOut,
 StringBuilder zPathOut
 )
 {
   zPathOut.Length = 0;//zPathOut[0] = 0;
   return pVfs.xFullPathname( pVfs, zPath, nPathOut, zPathOut );
 }