Lines Matching refs:pPath
6453 DbPath *pPath, /* Path under construction, to which to append zName */ in appendOnePathElement() argument
6462 if( pPath->nUsed<=1 ){ in appendOnePathElement()
6463 pPath->rc = SQLITE_ERROR; in appendOnePathElement()
6466 assert( pPath->zOut[0]=='/' ); in appendOnePathElement()
6467 while( pPath->zOut[--pPath->nUsed]!='/' ){} in appendOnePathElement()
6471 if( pPath->nUsed + nName + 2 >= pPath->nOut ){ in appendOnePathElement()
6472 pPath->rc = SQLITE_ERROR; in appendOnePathElement()
6475 pPath->zOut[pPath->nUsed++] = '/'; in appendOnePathElement()
6476 memcpy(&pPath->zOut[pPath->nUsed], zName, nName); in appendOnePathElement()
6477 pPath->nUsed += nName; in appendOnePathElement()
6479 if( pPath->rc==SQLITE_OK ){ in appendOnePathElement()
6482 pPath->zOut[pPath->nUsed] = 0; in appendOnePathElement()
6483 zIn = pPath->zOut; in appendOnePathElement()
6486 pPath->rc = unixLogError(SQLITE_CANTOPEN_BKPT, "lstat", zIn); in appendOnePathElement()
6491 if( pPath->nSymlink++ > SQLITE_MAX_SYMLINK ){ in appendOnePathElement()
6492 pPath->rc = SQLITE_CANTOPEN_BKPT; in appendOnePathElement()
6497 pPath->rc = unixLogError(SQLITE_CANTOPEN_BKPT, "readlink", zIn); in appendOnePathElement()
6502 pPath->nUsed = 0; in appendOnePathElement()
6504 pPath->nUsed -= nName + 1; in appendOnePathElement()
6506 appendAllPathElements(pPath, zLnk); in appendOnePathElement()
6516 DbPath *pPath, /* Path under construction, to which to append zName */ in appendAllPathElements() argument
6524 appendOnePathElement(pPath, &zPath[j], i-j); in appendAllPathElements()