Searched refs:vector_size (Results 1 – 2 of 2) sorted by relevance
56 int vector_size = 0; in php_scandir() local76 if (nfiles == vector_size) { in php_scandir()78 if (vector_size == 0) { in php_scandir()79 vector_size = 10; in php_scandir()81 vector_size *= 2; in php_scandir()84 newv = (struct dirent **) realloc (vector, vector_size * sizeof (struct dirent *)); in php_scandir()
2300 unsigned int vector_size = 0; local2313 if (nfiles == vector_size) {2314 if (vector_size == 0) {2315 vector_size = 10;2317 if(vector_size*2 < vector_size) {2323 vector_size *= 2;2325 vector = (zend_string **) safe_erealloc(vector, vector_size, sizeof(char *), 0);2331 if(vector_size < 10 || nfiles == 0) {
Completed in 13 milliseconds