Home
last modified time | relevance | path

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

/php-src/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-src/ext/zip/
H A Dzip_stream.c124 const char *path = stream->orig_path; in php_zip_ops_stat()
125 size_t path_len = strlen(stream->orig_path); in php_zip_ops_stat()
266 stream->orig_path = estrdup(sb->name); in php_stream_zip_open()
/php-src/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-src/ext/spl/
H A Dspl_directory.h55 zend_string *orig_path; member
H A Dspl_directory.c167 if (intern->orig_path) { in spl_filesystem_object_free_storage()
168 zend_string_release(intern->orig_path); in spl_filesystem_object_free_storage()
361 …intern->orig_path = zend_string_init(intern->u.file.stream->orig_path, strlen(intern->u.file.strea… in spl_filesystem_file_open()
672 if (fsobj->u.dir.dirp == NULL && fsobj->orig_path == NULL) { in spl_filesystem_object_get_method_check()
1281 if (intern->orig_path) { in PHP_METHOD()
1282 filename = ZSTR_VAL(intern->orig_path); in PHP_METHOD()
2043 path_len = strlen(intern->u.file.stream->orig_path); in PHP_METHOD()
2045 if (path_len > 1 && IS_SLASH_AT(intern->u.file.stream->orig_path, path_len-1)) { in PHP_METHOD()
2049 while (path_len > 1 && !IS_SLASH_AT(intern->u.file.stream->orig_path, path_len-1)) { in PHP_METHOD()
2057 intern->path = zend_string_init(intern->u.file.stream->orig_path, path_len, 0); in PHP_METHOD()
/php-src/ext/standard/
H A Dstreamsfuncs.c581 if (stream->orig_path) { in PHP_FUNCTION()
582 add_assoc_string(return_value, "uri", stream->orig_path); in PHP_FUNCTION()
/php-src/main/
H A Dphp_streams.h228 char *orig_path; member
/php-src/ext/exif/
H A Dexif.c4398 if (stream->orig_path && VCWD_STAT(stream->orig_path, &st) >= 0) { in exif_read_from_impl()
4407 base = php_basename(stream->orig_path, strlen(stream->orig_path), NULL, 0); in exif_read_from_impl()

Completed in 63 milliseconds