• Home
  • Raw
  • Download

Lines Matching refs:directory

73 void closedir(DIR *directory)  in closedir()  argument
77 assert(directory != (DIR *) NULL); in closedir()
78 directory->pattern=DestroyString(directory->pattern); in closedir()
79 directory=DestroyString(directory); in closedir()
109 *directory; in opendir() local
114 directory=(DIR *) AcquireMagickMemory(sizeof(DIR)); in opendir()
115 if (directory == (DIR *) NULL) in opendir()
122 directory->pattern=(char *) AcquireQuantumMemory(strlen(name)+sizeof("*.*")+ in opendir()
123 1UL,sizeof(*directory->pattern)); in opendir()
124 if (directory->pattern == (char *) NULL) in opendir()
126 directory=DestroyString(directory); in opendir()
133 (void) FormatLocaleString(directory->pattern,MagickPathExtent,"%s*.*",name); in opendir()
134 directory->context=0; in opendir()
135 directory->pat.dsc$a_pointer=directory->pattern; in opendir()
136 directory->pat.dsc$w_length=strlen(directory->pattern); in opendir()
137 directory->pat.dsc$b_dtype=DSC$K_DTYPE_T; in opendir()
138 directory->pat.dsc$b_class=DSC$K_CLASS_S; in opendir()
139 return(directory); in opendir()
166 struct dirent *readdir(DIR *directory) in readdir() argument
169 buffer[sizeof(directory->entry.d_name)]; in readdir()
190 status=lib$find_file(&directory->pat,&result,&directory->context); in readdir()
191 if ((status == RMS$_NMF) || (directory->context == 0L)) in readdir()
209 (void) CopyMagickString(directory->entry.d_name,p+1,MagickPathExtent); in readdir()
211 (void) CopyMagickString(directory->entry.d_name,buffer,MagickPathExtent); in readdir()
212 directory->entry.d_namlen=strlen(directory->entry.d_name); in readdir()
213 return(&directory->entry); in readdir()