Lines Matching refs:unmarshal
478 _, err := Unmarshal(test.in, val)
480 t.Errorf("Unmarshal failed at index %d %v", i, err)
529 if _, err := Unmarshal
530 t.Errorf("Unmarshal failed: %v", err)
542 if _, err := Unmarshal(derEncodedPaypalNULCertBytes, &cert); err == nil {
543 t.Error("Unmarshal succeeded, should not have")
556 rest, err := Unmarshal(input, &s)
849 _, err = Unmarshal(bs, &res)
855 t.Errorf("incorrect marshal/unmarshal; %v != %v", res, test)
879 _, err := Unmarshal(test.in, &got)
881 t.Errorf("Unmarshal failed at index %d %v", i, err)
900 if _, err := Unmarshal(der, &result); err != nil {
913 // This crashed Unmarshal in the past. See #11154.
922 if _, err := Unmarshal(der, &result); err == nil {
923 t.Error("Unmarshal returned without error")
934 _, err := Unmarshal(data, &result)