Lines Matching refs:poffset
507 static const char *dptr_normal_ReadDirName(struct dptr_struct *dptr, long *poffset, SMB_STRUCT_STAT *pst)
511 while ((name = ReadDirName(dptr->dir_hnd, poffset)) != NULL) {
523 const char *dptr_ReadDirName(struct dptr_struct *dptr, long *poffset, SMB_STRUCT_STAT *pst)
530 return dptr_normal_ReadDirName(dptr, poffset, pst);
533 /* If poffset is -1 then we know we returned this name before and we have
535 if (*poffset == -1) {
546 return dptr_normal_ReadDirName(dptr, poffset, pst);
552 dptr->dir_hnd->offset = *poffset = -1;
563 dptr->dir_hnd->offset = *poffset = -1;
571 dptr->dir_hnd->offset = *poffset = -1;
584 dptr->dir_hnd->offset = *poffset = -1;
587 return dptr_normal_ReadDirName(dptr, poffset, pst);
595 BOOL dptr_SearchDir(struct dptr_struct *dptr, const char *name, long *poffset, SMB_STRUCT_STAT *pst)
601 *poffset = -1;
605 while (SearchDir(dptr->dir_hnd, name, poffset) == True) {
1063 const char *ReadDirName(struct smb_Dir *dirp, long *poffset)
1068 SeekDir(dirp, *poffset);
1080 *poffset = e->offset= dirp->offset;
1113 BOOL SearchDir(struct smb_Dir *dirp, const char *name, long *poffset)
1123 *poffset = e->offset;
1131 *poffset = e->offset;
1139 *poffset = 0;
1140 while ((entry = ReadDirName(dirp, poffset))) {