array 147 replace/scandir.c struct dirent **array; array 159 replace/scandir.c if ((array = (struct dirent **)malloc(allocated * sizeof(struct dirent *))) array 197 replace/scandir.c free(array); array 208 replace/scandir.c array = pcmk__realloc((char *)array, array 210 replace/scandir.c if (array == NULL) { array 212 replace/scandir.c free(array); array 217 replace/scandir.c array[counter++] = copy; array 222 replace/scandir.c array[counter] = NULL; array 223 replace/scandir.c *array_pointer = array; array 229 replace/scandir.c qsort((char *)array, counter, sizeof(struct dirent *)