Lines Matching refs:i

103 	size_t i;  in php_zip_make_relative_path()  local
113 i = path_len; in php_zip_make_relative_path()
116 while (i > 0 && !IS_SLASH(path[i])) { in php_zip_make_relative_path()
117 i--; in php_zip_make_relative_path()
120 if (!i) { in php_zip_make_relative_path()
124 if (i >= 2 && (path[i -1] == '.' || path[i -1] == ':')) { in php_zip_make_relative_path()
126 path_begin = path + i + 1; in php_zip_make_relative_path()
129 i--; in php_zip_make_relative_path()
663 int preg_options = 0, i; in php_zip_pcre() local
674 for (i = 0; i < files_cnt; i++) { in php_zip_pcre()
679 int namelist_len = strlen(namelist[i]); in php_zip_pcre()
682 if ((namelist_len == 1 && namelist[i][0] == '.') || in php_zip_pcre()
683 (namelist_len == 2 && namelist[i][0] == '.' && namelist[i][1] == '.')) { in php_zip_pcre()
684 efree(namelist[i]); in php_zip_pcre()
691 efree(namelist[i]); in php_zip_pcre()
695 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]); in php_zip_pcre()
699 efree(namelist[i]); in php_zip_pcre()
704 efree(namelist[i]); in php_zip_pcre()
708 matches = pcre_exec(re, NULL, namelist[i], strlen(namelist[i]), 0, 0, ovector, 3); in php_zip_pcre()
711 efree(namelist[i]); in php_zip_pcre()
716 efree(namelist[i]); in php_zip_pcre()
1063 int i; in php_zip_object_free_storage() local
1076 for (i=0; i<intern->buffers_cnt; i++) { in php_zip_object_free_storage()
1077 efree(intern->buffers[i]); in php_zip_object_free_storage()
1710 int i; in php_zip_add_from_pattern() local
1713 for (i = 0; i < found; i++) { in php_zip_add_from_pattern()
1719 if (zend_hash_index_find(Z_ARRVAL_P(return_value), i, (void **) &zval_file) == SUCCESS) { in php_zip_add_from_pattern()
2434 int ret, i; in ZIPARCHIVE_METHOD() local
2470 for (i = 0; i < nelems; i++) { in ZIPARCHIVE_METHOD()
2471 if (zend_hash_index_find(Z_ARRVAL_P(zval_files), i, (void **) &zval_file) == SUCCESS) { in ZIPARCHIVE_METHOD()
2498 for (i = 0; i < filecount; i++) { in ZIPARCHIVE_METHOD()
2499 char *file = (char*)zip_get_name(intern, i, ZIP_FL_UNCHANGED); in ZIPARCHIVE_METHOD()