Lines Matching refs:namelist
627 zend_string **namelist; in php_zip_pcre() local
651 files_cnt = php_stream_scandir(path, &namelist, NULL, (void *) php_stream_dirent_alphasort); in php_zip_pcre()
672 int namelist_len = ZSTR_LEN(namelist[i]); in php_zip_pcre()
674 if ((namelist_len == 1 && ZSTR_VAL(namelist[i])[0] == '.') || in php_zip_pcre()
675 (namelist_len == 2 && ZSTR_VAL(namelist[i])[0] == '.' && ZSTR_VAL(namelist[i])[1] == '.')) { in php_zip_pcre()
676 zend_string_release(namelist[i]); in php_zip_pcre()
683 zend_string_release(namelist[i]); in php_zip_pcre()
687 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
691 zend_string_release(namelist[i]); in php_zip_pcre()
696 zend_string_release(namelist[i]); in php_zip_pcre()
700 matches = pcre_exec(re, NULL, ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, ovector, 3); in php_zip_pcre()
703 zend_string_release(namelist[i]); in php_zip_pcre()
708 zend_string_release(namelist[i]); in php_zip_pcre()
710 efree(namelist); in php_zip_pcre()