Home
last modified time | relevance | path

Searched refs:oldfile (Results 1 – 4 of 4) sorted by relevance

/PHP-5.6/ext/phar/
H A Dtar.c1119 oldfile = phar->fp; in phar_tar_flush()
1121 php_stream_rewind(oldfile); in phar_tar_flush()
1133 php_stream_close(oldfile); in phar_tar_flush()
1138 pass.old = oldfile; in phar_tar_flush()
1149 php_stream_close(oldfile); in phar_tar_flush()
1165 php_stream_close(oldfile); in phar_tar_flush()
1184 php_stream_close(oldfile); in phar_tar_flush()
1204 php_stream_close(oldfile); in phar_tar_flush()
1237 php_stream_close(oldfile); in phar_tar_flush()
1250 php_stream_close(oldfile); in phar_tar_flush()
[all …]
H A Dphar.c2610 oldfile = phar->fp;
2612 php_stream_rewind(oldfile);
2623 php_stream_close(oldfile);
2666 php_stream_close(oldfile);
2683 php_stream_close(oldfile);
2711 php_stream_close(oldfile);
2826 php_stream_close(oldfile);
2849 php_stream_close(oldfile);
2952 php_stream_close(oldfile);
2973 php_stream_close(oldfile);
[all …]
H A Dzip.c1164 php_stream *stubfile, *oldfile; in phar_zip_flush() local
1353 oldfile = phar->fp; in phar_zip_flush()
1355 php_stream_rewind(oldfile); in phar_zip_flush()
1357 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_zip_flush()
1358 closeoldfile = oldfile != NULL; in phar_zip_flush()
1362 pass.old = oldfile; in phar_zip_flush()
1368 php_stream_close(oldfile); in phar_zip_flush()
1417 php_stream_close(oldfile); in phar_zip_flush()
1496 php_stream_close(oldfile); in phar_zip_flush()
1511 php_stream_close(oldfile); in phar_zip_flush()
H A Dphar_object.c3436 char *oldfile, *newfile, *error; in PHP_METHOD() local
3443 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp", &oldfile, &oldfile_len, &newfile, &newf… in PHP_METHOD()
3449 "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); in PHP_METHOD()
3453 if (oldfile_len >= sizeof(".phar")-1 && !memcmp(oldfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3456 …"file \"%s\" cannot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile,… in PHP_METHOD()
3463 …"file \"%s\" cannot be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfi… in PHP_METHOD()
3467 …bj->arc.archive->manifest, oldfile, (uint) oldfile_len) || SUCCESS != zend_hash_find(&phar_obj->ar… in PHP_METHOD()
3469 …"file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_o… in PHP_METHOD()
3476 …"file \"%s\" cannot be copied to file \"%s\", file must not already exist in phar %s", oldfile, ne… in PHP_METHOD()
3493 zend_hash_find(&phar_obj->arc.archive->manifest, oldfile, (uint) oldfile_len, (void**)&oldentry); in PHP_METHOD()
[all …]

Completed in 34 milliseconds