Lines Matching refs:substr

713                     if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) {
869 if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) {
2561 if (@substr($p_header['stored_filename'], -1) != '/') {
2663 if (substr($p_remove_dir, -1) != '/')
2666 (substr($p_filename, 0, 2) == "./")
2667 || (substr($p_remove_dir, 0, 2) == "./")
2670 (substr($p_filename, 0, 2) == "./")
2671 && (substr($p_remove_dir, 0, 2) != "./")
2676 (substr($p_filename, 0, 2) != "./")
2677 && (substr($p_remove_dir, 0, 2) == "./")
2679 $p_remove_dir = substr($p_remove_dir, 2);
2692 $v_stored_filename = substr(
2702 if (substr($p_add_dir, -1) == "/")
3023 || ( (substr($p_path, 0, 1) != "/")
3024 && (substr($p_path, 0, 3) != "../")
3025 && (substr($p_path, 1, 2) != ":/"))
3032 while (substr($p_path, -1) == "/") {
3034 $p_path = substr($p_path, 0, strlen($p_path) - 1);
3040 if (($p_remove_path != "") && (substr($p_remove_path, -1) != '/')) {
3120 if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == "/") {
3126 && (substr($v_header['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])
3439 if (substr($p_entry['filename'], 0, $p_remove_path_size) == $p_remove_path) {
3443 $p_entry['filename'] = substr($p_entry['filename'], $p_remove_path_size);
3599 if ((($p_entry['external'] & 0x00000010) == 0x00000010) || (substr($p_entry['filename'], -1) == '/')) {
4182 if (substr($p_header['filename'], -1) == '/') {
4513 if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == "/") {
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])
4777 if (($p_is_dir) && (substr($p_dir, -1) == '/')) {
4778 $p_dir = substr($p_dir, 0, strlen($p_dir) - 1);
5319 || ((strlen($p_dir) >= 2) && (substr($p_dir, 0, 2) == './'))
5321 $p_dir = PclZipUtilTranslateWinPath(getcwd(), false) . '/' . substr($p_dir, 1);
5326 || ((strlen($p_path) >= 2) && (substr($p_path, 0, 2) == './'))
5328 $p_path = PclZipUtilTranslateWinPath(getcwd(), false) . '/' . substr($p_path, 1);
5500 $v_prefix = substr($v_key, 0, 10);
5535 $p_path = substr($p_path, $v_position + 1);
5538 if ((strpos($p_path, '\\') > 0) || (substr($p_path, 0, 1) == '\\')) {