Home | History | Annotate | Download | only in gzip

Lines Matching refs:if

19 	if err := NewWriter(buf).Close(); err != nil {
24 if err != nil {
28 if err != nil {
31 if len(b) != 0 {
34 if err := r.Close(); err != nil {
49 if _, err := w.Write([]byte("payload")); err != nil {
52 if err := w.Close(); err != nil {
57 if err != nil {
61 if err != nil {
64 if string(b) != "payload" {
67 if r.Comment != "comment" {
70 if string(r.Extra) != "extra" {
73 if r.ModTime.Unix() != 1e8 {
76 if r.Name != "name" {
79 if err := r.Close(); err != nil {
90 if err != nil {
93 if s != utf8 {
99 if err = c.writeString(utf8); err != nil {
103 if s != string(latin1) {
132 if (err == nil) != tc.ok {
136 if !tc.ok {
141 if err != nil {
146 if err != nil {
150 if r.Name != tc.name {
154 if err := r.Close(); err != nil {
171 if n0 != 0 {
175 if err := w.Flush(); err != nil {
180 if n1 == 0 {
187 if n1 != n2 {
191 if err := w.Flush(); err != nil {
196 if n2 == n3 {
213 if string(data) != "hello world\n" || err != nil {
228 if buf.String() != buf2.String() {