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()
2053 long line_add = (intern->u.file.current_line || intern->u.file.current_zval) ? 1 : 0; in spl_filesystem_file_read()
2077 intern->u.file.current_line = estrdup(""); in spl_filesystem_file_read()
2090 intern->u.file.current_line = buf; in spl_filesystem_file_read()
2169 char *buf = estrndup(intern->u.file.current_line, buf_len); in spl_filesystem_file_read_csv()
2207 if (intern->u.file.current_line || intern->u.file.current_zval) { in spl_filesystem_file_read_line_ex()
2212 intern->u.file.current_line = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in spl_filesystem_file_read_line_ex()
2230 if (intern->u.file.current_line) { in spl_filesystem_file_is_empty_line()
2416 RETURN_BOOL(intern->u.file.current_line || intern->u.file.current_zval); in SPL_METHOD()
2435 RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len, 1); in SPL_METHOD()
2448 if (!intern->u.file.current_line && !intern->u.file.current_zval) { in SPL_METHOD()
2451 …if (intern->u.file.current_line && (!SPL_HAS_FLAG(intern->flags, SPL_FILE_OBJECT_READ_CSV) || !int… in SPL_METHOD()
2452 RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len, 1); in SPL_METHOD()