Lines Matching refs:namelist
730 zend_string **namelist; in php_zip_pcre() local
753 files_cnt = php_stream_scandir(path, &namelist, NULL, (void *) php_stream_dirent_alphasort); in php_zip_pcre()
773 size_t namelist_len = ZSTR_LEN(namelist[i]); in php_zip_pcre()
775 if ((namelist_len == 1 && ZSTR_VAL(namelist[i])[0] == '.') || in php_zip_pcre()
776 (namelist_len == 2 && ZSTR_VAL(namelist[i])[0] == '.' && ZSTR_VAL(namelist[i])[1] == '.')) { in php_zip_pcre()
777 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
784 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
791 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
794 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, match_data, m… in php_zip_pcre()
798 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
802 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
806 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
811 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
816 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
818 efree(namelist); in php_zip_pcre()