Lines Matching refs:namelist
607 zend_string **namelist; in php_zip_pcre() local
631 files_cnt = php_stream_scandir(path, &namelist, NULL, (void *) php_stream_dirent_alphasort); in php_zip_pcre()
652 int namelist_len = ZSTR_LEN(namelist[i]); in php_zip_pcre()
654 if ((namelist_len == 1 && ZSTR_VAL(namelist[i])[0] == '.') || in php_zip_pcre()
655 (namelist_len == 2 && ZSTR_VAL(namelist[i])[0] == '.' && ZSTR_VAL(namelist[i])[1] == '.')) { in php_zip_pcre()
656 zend_string_release(namelist[i]); in php_zip_pcre()
663 zend_string_release(namelist[i]); in php_zip_pcre()
667 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
671 zend_string_release(namelist[i]); in php_zip_pcre()
676 zend_string_release(namelist[i]); in php_zip_pcre()
680 matches = pcre_exec(re, NULL, ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, ovector, 3); in php_zip_pcre()
683 zend_string_release(namelist[i]); in php_zip_pcre()
688 zend_string_release(namelist[i]); in php_zip_pcre()
690 efree(namelist); in php_zip_pcre()