Searched refs:vector_size (Results 1 – 2 of 2) sorted by relevance
64 int vector_size = 0; in php_scandir() local85 if (nfiles == vector_size) { in php_scandir()87 if (vector_size == 0) { in php_scandir()88 vector_size = 10; in php_scandir()90 vector_size *= 2; in php_scandir()93 newv = (struct dirent **) realloc (vector, vector_size * sizeof (struct dirent *)); in php_scandir()
2281 unsigned int vector_size = 0; local2294 if (nfiles == vector_size) {2295 if (vector_size == 0) {2296 vector_size = 10;2298 if(vector_size*2 < vector_size) {2304 vector_size *= 2;2306 vector = (char **) safe_erealloc(vector, vector_size, sizeof(char *), 0);2312 if(vector_size < 10 || nfiles == 0) {
Completed in 14 milliseconds