Lines Matching refs:j

1552                     for ($j = 0; $j < $counter; $j++) {
1554 $v_item_list = explode("-", $v_work_list[$j]);
1563 $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0];
1564 $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[0];
1567 $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0];
1568 $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[1];
1578 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Extracted index item = [".$v_result_list[$p_options_list[$i]][$j]['start'].",".$v_result_list[$p_options_list[$i]][$j]['end']."]");
1581 if ($v_result_list[$p_options_list[$i]][$j]['start'] < $v_sort_value) {
1593 $v_sort_value = $v_result_list[$p_options_list[$i]][$j]['start'];
2330 for ($j = 0; ($j < count($p_filedescr_list)) && ($v_result == 1); $j++) {
2332 $p_filedescr_list[$j]['filename']
2333 = PclZipUtilTranslateWinPath($p_filedescr_list[$j]['filename'], false);
2335 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Looking for file '".$p_filedescr_list[$j]['filename']."'");
2339 if ($p_filedescr_list[$j]['filename'] == "") {
2345 if (!file_exists($p_filedescr_list[$j]['filename'])) {
2346 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "File '".$p_filedescr_list[$j]['filename']."' does not exists");
2347 PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "File '" . $p_filedescr_list[$j]['filename'] . "' does not exists");
2354 (is_file($p_filedescr_list[$j]['filename']))
2355 || ( is_dir($p_filedescr_list[$j]['filename'])
2361 $p_filedescr_list[$j],
3116 for ($j = 0; ($j < count($p_options[PCLZIP_OPT_BY_NAME])) && (!$v_extract); $j++) {
3117 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Compare with file '".$p_options[PCLZIP_OPT_BY_NAME][$j]."'");
3120 if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == "/") {
3125 (strlen($v_header['stored_filename']) > strlen($p_options[PCLZIP_OPT_BY_NAME][$j]))
3126 && (substr($v_header['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])
3133 elseif ($v_header['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) {
3162 for ($j = $j_start; ($j < count($p_options[PCLZIP_OPT_BY_INDEX])) && (!$v_extract); $j++) {
3163 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Look if index '$i' is in [".$p_options[PCLZIP_OPT_BY_INDEX][$j]['start'].",".$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']."]");
3165 if (($i >= $p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i <= $p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) {
3169 if ($i >= $p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) {
3171 $j_start = $j + 1;
3174 if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start'] > $i) {
4509 for ($j = 0; ($j < count($p_options[PCLZIP_OPT_BY_NAME])) && (!$v_found); $j++) {
4510 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Compare with file '".$p_options[PCLZIP_OPT_BY_NAME][$j]."'");
4513 if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == "/") {
4518 (strlen($v_header_list[$v_nb_extracted]['stored_filename']) > strlen($p_options[PCLZIP_OPT_BY_NAME][$j]))
4519 && (substr($v_header_list[$v_nb_extracted]['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])
4525 && ($v_header_list[$v_nb_extracted]['stored_filename'] . '/' == $p_options[PCLZIP_OPT_BY_NAME][$j])
4532 elseif ($v_header_list[$v_nb_extracted]['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) {
4561 for ($j = $j_start; ($j < count($p_options[PCLZIP_OPT_BY_INDEX])) && (!$v_found); $j++) {
4562 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Look if index '$i' is in [".$p_options[PCLZIP_OPT_BY_INDEX][$j]['start'].",".$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']."]");
4564 if (($i >= $p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i <= $p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) {
4568 if ($i >= $p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) {
4570 $j_start = $j + 1;
4573 if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start'] > $i) {
5340 $j = 0;
5341 while (($i < $v_list_dir_size) && ($j < $v_list_path_size) && ($v_result)) {
5342 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 5, "Working on dir($i)='".$v_list_dir[$i]."' and path($j)='".$v_list_path[$j]."'");
5349 if ($v_list_path[$j] == '') {
5350 $j++;
5355 if (($v_list_dir[$i] !== $v_list_path[$j]) && ($v_list_dir[$i] != '') && ( $v_list_path[$j] != '')) {
5356 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 5, "Items ($i,$j) are different");
5362 $j++;
5369 while (($j < $v_list_path_size) && ($v_list_path[$j] == '')) $j++;
5371 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 5, "Looking on dir($i)='".($i < $v_list_dir_size?$v_list_dir[$i]:'')."' and path($j)='".($j < $v_list_path_size?$v_list_path[$j]:'')."'");
5373 if (($i >= $v_list_dir_size) && ($j >= $v_list_path_size)) {