Home
last modified time | relevance | path

Searched refs:orig_path (Results 1 – 10 of 10) sorted by relevance

/PHP-8.3/win32/
H A Dregistry.c182 char *p, *orig_path; in UpdateIniFromRegistry() local
216 orig_path = path = estrdup(path); in UpdateIniFromRegistry()
230 efree(orig_path); in UpdateIniFromRegistry()
244 spprintf(&path, 0, "%c\\%s\\%s", drive_letter, cwd, orig_path); in UpdateIniFromRegistry()
245 efree(orig_path); in UpdateIniFromRegistry()
246 orig_path = path; in UpdateIniFromRegistry()
277 efree(orig_path); in UpdateIniFromRegistry()
/PHP-8.3/ext/zip/
H A Dzip_stream.c126 const char *path = stream->orig_path; in php_zip_ops_stat()
127 size_t path_len = strlen(stream->orig_path); in php_zip_ops_stat()
268 stream->orig_path = estrdup(sb->name); in php_stream_zip_open()
/PHP-8.3/main/streams/
H A Dtransports.c62 const char *p, *protocol, *orig_path = NULL; in _php_stream_xport_create() local
97 orig_path = name; in _php_stream_xport_create()
139 stream->orig_path = pestrdup(orig_path, persistent_id ? 1 : 0); in _php_stream_xport_create()
H A Dstreams.c321 ret->orig_path = NULL; in _php_stream_alloc()
445 stream->ops->label, stream, stream->orig_path, preserve_handle, release_cast, in _php_stream_free()
523 if (stream->orig_path) { in _php_stream_free()
524 pefree(stream->orig_path, stream->is_persistent); in _php_stream_free()
525 stream->orig_path = NULL; in _php_stream_free()
2266 if (stream->orig_path) {
2267 pefree(stream->orig_path, persistent);
2270 stream->orig_path = copy_of_path;
2289 if (newstream->orig_path) {
2290 pefree(newstream->orig_path, persistent);
[all …]
H A Dplain_wrapper.c234 stream->orig_path = estrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path)); in _php_stream_fopen_temporary_file()
/PHP-8.3/ext/spl/
H A Dspl_directory.h56 zend_string *orig_path; member
H A Dspl_directory.c169 if (intern->orig_path) { in spl_filesystem_object_free_storage()
170 zend_string_release(intern->orig_path); in spl_filesystem_object_free_storage()
370 …intern->orig_path = zend_string_init(intern->u.file.stream->orig_path, strlen(intern->u.file.strea… in spl_filesystem_file_open()
704 if (fsobj->u.dir.dirp == NULL && fsobj->orig_path == NULL) { in spl_filesystem_object_get_method_check()
1313 if (intern->orig_path) { in PHP_METHOD()
1314 filename = ZSTR_VAL(intern->orig_path); in PHP_METHOD()
2068 path_len = strlen(intern->u.file.stream->orig_path); in PHP_METHOD()
2070 if (path_len > 1 && IS_SLASH_AT(intern->u.file.stream->orig_path, path_len-1)) { in PHP_METHOD()
2074 while (path_len > 1 && !IS_SLASH_AT(intern->u.file.stream->orig_path, path_len-1)) { in PHP_METHOD()
2082 intern->path = zend_string_init(intern->u.file.stream->orig_path, path_len, 0); in PHP_METHOD()
/PHP-8.3/ext/standard/
H A Dstreamsfuncs.c584 if (stream->orig_path) { in PHP_FUNCTION()
585 add_assoc_string(return_value, "uri", stream->orig_path); in PHP_FUNCTION()
/PHP-8.3/main/
H A Dphp_streams.h232 char *orig_path; member
/PHP-8.3/ext/exif/
H A Dexif.c4402 if (stream->orig_path && VCWD_STAT(stream->orig_path, &st) >= 0) { in exif_read_from_impl()
4411 base = php_basename(stream->orig_path, strlen(stream->orig_path), NULL, 0); in exif_read_from_impl()

Completed in 59 milliseconds