Lines Matching refs:namelist
731 zend_string **namelist; in php_zip_pcre() local
754 files_cnt = php_stream_scandir(path, &namelist, NULL, (void *) php_stream_dirent_alphasort); in php_zip_pcre()
774 size_t namelist_len = ZSTR_LEN(namelist[i]); in php_zip_pcre()
776 if ((namelist_len == 1 && ZSTR_VAL(namelist[i])[0] == '.') || in php_zip_pcre()
777 (namelist_len == 2 && ZSTR_VAL(namelist[i])[0] == '.' && ZSTR_VAL(namelist[i])[1] == '.')) { in php_zip_pcre()
778 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
785 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
792 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
795 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, match_data, m… in php_zip_pcre()
799 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
803 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
807 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
812 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
817 zend_string_release_ex(namelist[i], 0); in php_zip_pcre()
819 efree(namelist); in php_zip_pcre()