Lines Matching refs:current_line
65 if (intern->u.file.current_line) { in spl_filesystem_file_free_line()
66 efree(intern->u.file.current_line); in spl_filesystem_file_free_line()
67 intern->u.file.current_line = NULL; in spl_filesystem_file_free_line()
2059 long line_add = (intern->u.file.current_line || intern->u.file.current_zval) ? 1 : 0; in spl_filesystem_file_read()
2083 intern->u.file.current_line = estrdup(""); in spl_filesystem_file_read()
2091 intern->u.file.current_line = buf; in spl_filesystem_file_read()
2170 char *buf = estrndup(intern->u.file.current_line, buf_len); in spl_filesystem_file_read_csv()
2208 if (intern->u.file.current_line || intern->u.file.current_zval) { in spl_filesystem_file_read_line_ex()
2213 intern->u.file.current_line = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in spl_filesystem_file_read_line_ex()
2231 if (intern->u.file.current_line) { in spl_filesystem_file_is_empty_line()
2426 RETURN_BOOL(intern->u.file.current_line || intern->u.file.current_zval); in SPL_METHOD()
2453 RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len, 1); in SPL_METHOD()
2471 if (!intern->u.file.current_line && !intern->u.file.current_zval) { in SPL_METHOD()
2474 …if (intern->u.file.current_line && (!SPL_HAS_FLAG(intern->flags, SPL_FILE_OBJECT_READ_CSV) || !int… in SPL_METHOD()
2475 RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len, 1); in SPL_METHOD()