Lines Matching refs:Marshal
112 result, err := Marshal(s)
121 result, err = Marshal(r)
138 if _, err := Marshal(v); err != nil {
207 b, err := Marshal(&s)
209 t.Fatalf("Marshal: %v", err)
233 b, err := Marshal(c)
235 t.Fatalf("Marshal(c): %v", err)
238 t.Errorf("Marshal(c) = %#q, want %#q", got, want)
243 b, err = Marshal(ct)
245 t.Fatalf("Marshal(ct): %v", err)
248 t.Errorf("Marshal(ct) = %#q, want %#q", got, want)
263 b, err := Marshal(a)
265 t.Fatalf("Marshal: %v", err)
298 b, err := Marshal(v)
300 t.Fatal("Marshal:", err)
305 t.Fatalf("Marshal: got %s want %s", got, want)
311 b, err = Marshal(x)
313 t.Fatal("Marshal:", err)
318 t.Fatalf("Marshal: got %s want %s", got, want)
338 b, err := Marshal(v)
340 t.Fatal("Marshal:", err)
345 t.Fatalf("Marshal: got %s want %s", got, want)
365 b, err := Marshal(v)
367 t.Fatal("Marshal:", err)
372 t.Fatalf("Marshal: got %s want %s", got, want)
428 b, err := Marshal(&x)
433 t.Errorf("Marshal(&x) = %#q; want %#q", b, want)
436 b, err = Marshal(x)
442 t.Errorf("Marshal(x) = %#q; want %#q", b, want)
462 b, err := Marshal(stringPointer{N: &n})
464 t.Fatalf("Marshal: %v", err)
467 t.Errorf("Marshal = %s, want %s", got, want)
522 b, err := Marshal(tt.in)
524 t.Errorf("Marshal(%q): %v", tt.in, err)
529 t.Errorf("Marshal(%q) = %#q, want %#q", tt.in, out, tt.out)