Home
last modified time | relevance | path

Searched refs:nfiles (Results 1 – 3 of 3) sorted by relevance

/PHP-8.0/main/
H A Dphp_scandir.c57 int nfiles = 0; in php_scandir() local
76 if (nfiles == vector_size) { in php_scandir()
98 vector[nfiles++] = (struct dirent *) memcpy(newdp, dp, dsize); in php_scandir()
106 …qsort (*namelist, nfiles, sizeof(struct dirent *), (int (*) (const void *, const void *)) compare); in php_scandir()
109 return nfiles; in php_scandir()
112 while (nfiles-- > 0) { in php_scandir()
113 free(vector[nfiles]); in php_scandir()
/PHP-8.0/main/streams/
H A Dstreams.c2314 unsigned int nfiles = 0; local
2326 if (nfiles == vector_size) {
2341 vector[nfiles] = zend_string_init(sdp.d_name, strlen(sdp.d_name), 0);
2343 nfiles++;
2344 if(vector_size < 10 || nfiles == 0) {
2355 if (nfiles > 0 && compare) {
2356 qsort(*namelist, nfiles, sizeof(zend_string *), (int(*)(const void *, const void *))compare);
2358 return nfiles;
/PHP-8.0/ext/openssl/
H A Dopenssl.c2478 int ndirs = 0, nfiles = 0; in php_openssl_setup_verify() local
2514 nfiles++; in php_openssl_setup_verify()
2529 if (nfiles == 0) { in php_openssl_setup_verify()

Completed in 25 milliseconds