Lines Matching refs:estrndup

250 		intern->_path = estrndup(path, --intern->_path_len);  in spl_filesystem_dir_open()
252 intern->_path = estrndup(path, intern->_path_len); in spl_filesystem_dir_open()
305 …intern->orig_path = estrndup(intern->u.file.stream->orig_path, strlen(intern->u.file.stream->orig_… in spl_filesystem_file_open()
307 intern->file_name = estrndup(intern->file_name, intern->file_name_len); in spl_filesystem_file_open()
308 intern->u.file.open_mode = estrndup(intern->u.file.open_mode, intern->u.file.open_mode_len); in spl_filesystem_file_open()
351 intern->_path = estrndup(source->_path, source->_path_len); in spl_filesystem_object_clone()
353 intern->file_name = estrndup(source->file_name, intern->file_name_len); in spl_filesystem_object_clone()
394 intern->file_name = use_copy ? estrndup(path, len) : path; in spl_filesystem_info_set_filename()
417 intern->_path = estrndup(path, intern->_path_len); in spl_filesystem_info_set_filename()
501 intern->file_name = estrndup(source->file_name, source->file_name_len); in spl_filesystem_object_create_type()
504 intern->_path = estrndup(intern->_path, intern->_path_len); in spl_filesystem_object_create_type()
529 intern->_path = estrndup(intern->_path, intern->_path_len); in spl_filesystem_object_create_type()
1409 char *dpath = estrndup(path, path_len); in SPL_METHOD()
1543 subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len); in SPL_METHOD()
1796 *str_key = estrndup(object->u.dir.entry.d_name, *str_key_len - 1); in spl_filesystem_tree_it_current_key()
1800 *str_key = estrndup(object->file_name, object->file_name_len); in spl_filesystem_tree_it_current_key()
2171 char *buf = estrndup(intern->u.file.current_line, buf_len); in spl_filesystem_file_read_csv()
2214 intern->u.file.current_line = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in spl_filesystem_file_read_line_ex()
2321 tmp_path = estrndup(intern->u.file.stream->orig_path, tmp_path_len); in SPL_METHOD()
2337 intern->_path = estrndup(intern->u.file.stream->orig_path, intern->_path_len); in SPL_METHOD()
2376 intern->_path = estrndup("", 0); in SPL_METHOD()