Lines Matching refs:i

1453     $i=0;
1454 while ($i<$p_size) {
1458 if (!isset($v_requested_options[$p_options_list[$i]])) {
1460 …LZIP_ERR_INVALID_PARAMETER, "Invalid optional parameter '".$p_options_list[$i]."' for this method"…
1468 switch ($p_options_list[$i]) {
1474 if (($i+1) >= $p_size) {
1476 …PTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1484 … $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], false);
1486 $i++;
1491 if (($i+1) >= $p_size) {
1493 …PTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1501 if ( is_string($p_options_list[$i+1])
1502 && ($p_options_list[$i+1] != '')) {
1503 … $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], false);
1505 $i++;
1515 if (($i+1) >= $p_size) {
1517 …PTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1525 if (is_string($p_options_list[$i+1])) {
1526 $v_result_list[$p_options_list[$i]][0] = $p_options_list[$i+1];
1528 else if (is_array($p_options_list[$i+1])) {
1529 $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1];
1533 …_OPTION_VALUE, "Wrong parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1540 $i++;
1548 if (($i+1) >= $p_size) {
1550 …PTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1558 if (is_string($p_options_list[$i+1])) {
1559 $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1];
1563 …_OPTION_VALUE, "Wrong parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1570 $i++;
1578 if (($i+1) >= $p_size) {
1582 .PclZipUtilOptionText($p_options_list[$i])
1591 if (is_string($p_options_list[$i+1])) {
1592 $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1];
1598 .PclZipUtilOptionText($p_options_list[$i])
1606 $i++;
1612 if (($i+1) >= $p_size) {
1614 …PTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1623 if (is_string($p_options_list[$i+1])) {
1627 $p_options_list[$i+1] = strtr($p_options_list[$i+1], ' ', '');
1630 $v_work_list = explode(",", $p_options_list[$i+1]);
1632 else if (is_integer($p_options_list[$i+1])) {
1634 $v_work_list[0] = $p_options_list[$i+1].'-'.$p_options_list[$i+1];
1636 else if (is_array($p_options_list[$i+1])) {
1638 $v_work_list = $p_options_list[$i+1];
1642 …alue must be integer, string or array for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1666 $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0];
1667 $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[0];
1671 $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0];
1672 $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[1];
1676 …ALUE, "Too many values in index range for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1686 if ($v_result_list[$p_options_list[$i]][$j]['start'] < $v_sort_value) {
1692 …_VALUE, "Invalid order of index range for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1698 $v_sort_value = $v_result_list[$p_options_list[$i]][$j]['start'];
1708 $i++;
1718 $v_result_list[$p_options_list[$i]] = true;
1725 if (($i+1) >= $p_size) {
1727 …PTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1735 $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1];
1737 $i++;
1752 if (($i+1) >= $p_size) {
1754 …PTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1762 $v_function_name = $p_options_list[$i+1];
1768 …name."()' is not an existing function for option '".PclZipUtilOptionText($p_options_list[$i])."'");
1776 $v_result_list[$p_options_list[$i]] = $v_function_name;
1777 $i++;
1784 .$p_options_list[$i]."'");
1792 $i++;
1952 for ($i=0; $i<sizeof($p_filedescr_list); $i++) {
1954 $v_descr = $p_filedescr_list[$i];
2218 for ($i=0, $v_count=0; $i<sizeof($v_header_list); $i++)
2221 if ($v_header_list[$i]['status'] == 'ok') {
2222 if (($v_result = $this->privWriteCentralFileHeader($v_header_list[$i])) != 1) {
2236 $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]);
2386 for ($i=0,$v_count=0; $i<sizeof($v_header_list); $i++)
2389 if ($v_header_list[$i]['status'] == 'ok') {
2390 if (($v_result = $this->privWriteCentralFileHeader($v_header_list[$i])) != 1) {
2399 $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]);
3031 for ($i=0; $i<$v_central_dir['entries']; $i++)
3040 $v_header['index'] = $i;
3043 $this->privConvertHeader2FileInfo($v_header, $p_list[$i]);
3175 for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++)
3211 $v_header['index'] = $i;
3278 …if (($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]…
3282 if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) {
3287 if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) {
4631 for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++)
4649 $v_header_list[$v_nb_extracted]['index'] = $i;
4718 …if (($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]…
4722 if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) {
4727 if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) {
4771 for ($i=0; $i<sizeof($v_header_list); $i++) {
4779 if (@fseek($this->zip_fd, $v_header_list[$i]['offset'])) {
4809 $v_header_list[$i]) != 1) {
4815 if (($v_result = $v_temp_zip->privWriteFileHeader($v_header_list[$i])) != 1) {
4828 …t = PclZipUtilCopyBlock($this->zip_fd, $v_temp_zip->zip_fd, $v_header_list[$i]['compressed_size'])…
4846 for ($i=0; $i<sizeof($v_header_list); $i++) {
4849 if (($v_result = $v_temp_zip->privWriteCentralFileHeader($v_header_list[$i])) != 1) {
4860 $v_temp_zip->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]);
5433 for ($i=sizeof($v_list)-1; $i>=0; $i--) {
5435 if ($v_list[$i] == ".") {
5439 else if ($v_list[$i] == "..") {
5442 else if ($v_list[$i] == "") {
5444 if ($i == 0) {
5455 else if ($i == (sizeof($v_list)-1)) {
5456 $v_result = $v_list[$i];
5470 $v_result = $v_list[$i].($i!=(sizeof($v_list)-1)?"/".$v_result:"");
5529 $i = 0;
5531 while (($i < $v_list_dir_size) && ($j < $v_list_path_size) && ($v_result)) {
5535 if ($v_list_dir[$i] == '') {
5536 $i++;
5545 …if (($v_list_dir[$i] != $v_list_path[$j]) && ($v_list_dir[$i] != '') && ( $v_list_path[$j] != ''))…
5551 $i++;
5560 while (($i < $v_list_dir_size) && ($v_list_dir[$i] == '')) $i++;
5563 if (($i >= $v_list_dir_size) && ($j >= $v_list_path_size)) {
5567 else if ($i < $v_list_dir_size) {