Home
last modified time | relevance | path

Searched refs:newfile (Results 1 – 5 of 5) sorted by relevance

/PHP-8.0/ext/phar/
H A Dphar.c2611 if (!newfile) { in phar_flush()
2664 php_stream_close(newfile); in phar_flush()
2681 php_stream_close(newfile); in phar_flush()
2710 php_stream_close(newfile); in phar_flush()
2945 php_stream_close(newfile); in phar_flush()
2966 php_stream_close(newfile); in phar_flush()
3208 php_stream_rewind(newfile); in phar_flush()
3212 phar->fp = newfile; in phar_flush()
3216 phar->fp = newfile; in phar_flush()
3245 phar->fp = newfile; in phar_flush()
[all …]
H A Dtar.c1155 if (!newfile) { in phar_tar_flush()
1166 pass.new = newfile; in phar_tar_flush()
1215 php_stream_close(newfile); in phar_tar_flush()
1234 php_stream_close(newfile); in phar_tar_flush()
1266 php_stream_close(newfile); in phar_tar_flush()
1296 php_stream_close(newfile); in phar_tar_flush()
1312 php_stream_rewind(newfile); in phar_tar_flush()
1316 phar->fp = newfile; in phar_tar_flush()
1320 phar->fp = newfile; in phar_tar_flush()
1357 phar->fp = newfile; in phar_tar_flush()
[all …]
H A Dzip.c1134 php_stream *newfile; in phar_zip_applysignature() local
1137 newfile = php_stream_fopen_tmpfile(); in phar_zip_applysignature()
1138 if (newfile == NULL) { in phar_zip_applysignature()
1145 php_stream_copy_to_stream_ex(pass->filefp, newfile, tell, NULL); in phar_zip_applysignature()
1148 php_stream_copy_to_stream_ex(pass->centralfp, newfile, tell, NULL); in phar_zip_applysignature()
1150 …php_stream_write(newfile, ZSTR_VAL(phar->metadata_tracker.str), ZSTR_LEN(phar->metadata_tracker.st… in phar_zip_applysignature()
1153 if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, pass->error)) { in phar_zip_applysignature()
1160 php_stream_close(newfile); in phar_zip_applysignature()
1183 php_stream_close(newfile); in phar_zip_applysignature()
1192 php_stream_close(newfile); in phar_zip_applysignature()
H A Dphar_object.c3402 char *oldfile, *newfile, *error; in PHP_METHOD() local
3408 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) =… in PHP_METHOD()
3416 "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); in PHP_METHOD()
3423 …ot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile, phar_obj->archiv… in PHP_METHOD()
3427 if (newfile_len >= sizeof(".phar")-1 && !memcmp(newfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3430 …be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfile, phar_obj->archiv… in PHP_METHOD()
3436 …"file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_o… in PHP_METHOD()
3440 if (zend_hash_str_exists(&phar_obj->archive->manifest, newfile, (uint32_t) newfile_len)) { in PHP_METHOD()
3449 if (phar_path_check(&newfile, &tmp_len, &pcr_error) > pcr_is_ok) { in PHP_METHOD()
3469 newentry.filename = estrndup(newfile, newfile_len); in PHP_METHOD()
[all …]
/PHP-8.0/ext/opcache/jit/dynasm/
H A Dminilua.c6654 static FILE**newfile(lua_State*L){
6698 FILE**pf=newfile(L);
6714 FILE**pf=newfile(L);
6752 FILE**pf=newfile(L);
6938 *newfile(L)=f;

Completed in 327 milliseconds