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()
2313 unsigned int vector_size = 0; local2326 if (nfiles == vector_size) {2327 if (vector_size == 0) {2328 vector_size = 10;2330 if(vector_size*2 < vector_size) {2336 vector_size *= 2;2338 vector = (zend_string **) safe_erealloc(vector, vector_size, sizeof(char *), 0);2344 if(vector_size < 10 || nfiles == 0) {
Completed in 19 milliseconds