Home
last modified time | relevance | path

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

/PHP-7.0/win32/
H A Dregistry.c184 char *p, *orig_path; in UpdateIniFromRegistry() local
218 orig_path = path = estrdup(path); in UpdateIniFromRegistry()
232 efree(orig_path); in UpdateIniFromRegistry()
246 spprintf(&path, 0, "%c\\%s\\%s", drive_letter, cwd, orig_path); in UpdateIniFromRegistry()
247 efree(orig_path); in UpdateIniFromRegistry()
248 orig_path = path; in UpdateIniFromRegistry()
279 efree(orig_path); in UpdateIniFromRegistry()
/PHP-7.0/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()
244 stream->orig_path = estrdup(path); in php_stream_zip_open()
/PHP-7.0/main/streams/
H A Dstreams.c317 ret->orig_path = NULL; in _php_stream_alloc()
514 if (stream->orig_path) { in _php_stream_free()
516 stream->orig_path = NULL; in _php_stream_free()
527 if (stream->orig_path) { in _php_stream_free()
529 stream->orig_path = NULL; in _php_stream_free()
535 if (stream->orig_path) { in _php_stream_free()
537 stream->orig_path = NULL; in _php_stream_free()
2079 if (stream->orig_path) {
2080 pefree(stream->orig_path, persistent);
2083 stream->orig_path = copy_of_path;
[all …]
H A Dplain_wrapper.c223 stream->orig_path = estrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path)); in _php_stream_fopen_temporary_file()
/PHP-7.0/TSRM/
H A Dtsrm_win32.h113 TSRM_API char *realpath(char *orig_path, char *buffer);
H A Dtsrm_win32.c742 TSRM_API char *realpath(char *orig_path, char *buffer) in realpath() argument
744 int ret = GetFullPathName(orig_path, _MAX_PATH, buffer, NULL); in realpath()
/PHP-7.0/ext/spl/
H A Dspl_directory.h67 char *orig_path; member
H A Dspl_directory.c118 if (intern->orig_path) { in spl_filesystem_object_free_storage()
119 efree(intern->orig_path); in spl_filesystem_object_free_storage()
297 …intern->orig_path = estrndup(intern->u.file.stream->orig_path, strlen(intern->u.file.stream->orig_… in spl_filesystem_file_open()
660 if (fsobj->u.dir.dirp == NULL && fsobj->orig_path == NULL) { in spl_filesystem_object_get_method_check()
1283 if (intern->orig_path) { in SPL_METHOD()
1284 filename = intern->orig_path; in SPL_METHOD()
2281 tmp_path_len = strlen(intern->u.file.stream->orig_path); in SPL_METHOD()
2283 if (tmp_path_len > 1 && IS_SLASH_AT(intern->u.file.stream->orig_path, tmp_path_len-1)) { in SPL_METHOD()
2287 tmp_path = estrndup(intern->u.file.stream->orig_path, tmp_path_len); in SPL_METHOD()
2303 intern->_path = estrndup(intern->u.file.stream->orig_path, intern->_path_len); in SPL_METHOD()
/PHP-7.0/ext/standard/
H A Dstreamsfuncs.c532 if (stream->orig_path) { in PHP_FUNCTION()
533 add_assoc_string(return_value, "uri", stream->orig_path); in PHP_FUNCTION()
/PHP-7.0/main/
H A Dphp_streams.h210 char *orig_path; member

Completed in 41 milliseconds