Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 5645) sorted by relevance

12345678910>>...226

/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsserver.go82 if err := json.Unmarshal(*r.Params, &params); err != nil {
83 sendParseError(ctx, r, err)
86 if err := h.server.DidChangeWorkspaceFolders(ctx, &params); err != nil {
87 log.Printf("%v", err)
92 if err := json.Unmarshal(*r.Params, &params); err != nil {
93 sendParseError(ctx, r, err)
96 if err := h.server.Initialized(ctx, &params); err != nil {
97 log.Printf("%v", err)
101 if err := h.server.Exit(ctx); err != nil {
102 log.Printf("%v", err)
[all …]
Dtsclient.go49 if err := json.Unmarshal(*r.Params, &params); err != nil {
50 sendParseError(ctx, r, err)
53 if err := h.client.ShowMessage(ctx, &params); err != nil {
54 log.Printf("%v", err)
59 if err := json.Unmarshal(*r.Params, &params); err != nil {
60 sendParseError(ctx, r, err)
63 if err := h.client.LogMessage(ctx, &params); err != nil {
64 log.Printf("%v", err)
69 if err := json.Unmarshal(*r.Params, &params); err != nil {
70 sendParseError(ctx, r, err)
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/protocol/
Dtsserver.go82 if err := json.Unmarshal(*r.Params, &params); err != nil {
83 sendParseError(ctx, r, err)
86 if err := h.server.DidChangeWorkspaceFolders(ctx, &params); err != nil {
87 log.Printf("%v", err)
92 if err := json.Unmarshal(*r.Params, &params); err != nil {
93 sendParseError(ctx, r, err)
96 if err := h.server.Initialized(ctx, &params); err != nil {
97 log.Printf("%v", err)
101 if err := h.server.Exit(ctx); err != nil {
102 log.Printf("%v", err)
[all …]
Dtsclient.go49 if err := json.Unmarshal(*r.Params, &params); err != nil {
50 sendParseError(ctx, r, err)
53 if err := h.client.ShowMessage(ctx, &params); err != nil {
54 log.Printf("%v", err)
59 if err := json.Unmarshal(*r.Params, &params); err != nil {
60 sendParseError(ctx, r, err)
63 if err := h.client.LogMessage(ctx, &params); err != nil {
64 log.Printf("%v", err)
69 if err := json.Unmarshal(*r.Params, &params); err != nil {
70 sendParseError(ctx, r, err)
[all …]
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsserver.go82 if err := json.Unmarshal(*r.Params, &params); err != nil {
83 sendParseError(ctx, r, err)
86 if err := h.server.DidChangeWorkspaceFolders(ctx, &params); err != nil {
87 log.Printf("%v", err)
92 if err := json.Unmarshal(*r.Params, &params); err != nil {
93 sendParseError(ctx, r, err)
96 if err := h.server.Initialized(ctx, &params); err != nil {
97 log.Printf("%v", err)
101 if err := h.server.Exit(ctx); err != nil {
102 log.Printf("%v", err)
[all …]
Dtsclient.go49 if err := json.Unmarshal(*r.Params, &params); err != nil {
50 sendParseError(ctx, r, err)
53 if err := h.client.ShowMessage(ctx, &params); err != nil {
54 log.Printf("%v", err)
59 if err := json.Unmarshal(*r.Params, &params); err != nil {
60 sendParseError(ctx, r, err)
63 if err := h.client.LogMessage(ctx, &params); err != nil {
64 log.Printf("%v", err)
69 if err := json.Unmarshal(*r.Params, &params); err != nil {
70 sendParseError(ctx, r, err)
[all …]
/external/selinux/libsemanage/tests/
Dtest_semanage_store.c59 int err; in semanage_store_test_init() local
62 err = mkdir(rootpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
63 if (err != 0) in semanage_store_test_init()
66 err = mkdir(polpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
67 if (err != 0) in semanage_store_test_init()
70 err = mkdir(actpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
71 if (err != 0) in semanage_store_test_init()
74 err = mkdir(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
75 if (err != 0) in semanage_store_test_init()
91 err = semanage_check_init(sh, rootpath); in semanage_store_test_init()
[all …]
/external/golang-protobuf/proto/
Dtext.go77 func (w *textWriter) WriteString(s string) (n int, err error) {
91 func (w *textWriter) Write(p []byte) (n int, err error) {
97 n, err = w.w.Write(p)
99 return n, err
106 if err := w.w.WriteByte(' '); err != nil {
107 return n, err
111 nn, err := w.w.Write(frag)
113 if err != nil {
114 return n, err
124 nn, err := w.w.Write(frag)
[all …]
/external/grpc-grpc/tools/http2_interop/
Dhttp2interop.go39 if err := fh.Parse(r); err != nil {
40 return nil, err
62 if err := f.ParsePayload(r); err != nil {
63 return nil, err
70 raw, err := f.MarshalBinary()
71 if err != nil {
72 return err
74 if _, err := w.Write(raw); err != nil {
75 return err
81 conn, err := connect(ctx)
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/http2_interop/
Dhttp2interop.go53 if err := fh.Parse(r); err != nil {
54 return nil, err
76 if err := f.ParsePayload(r); err != nil {
77 return nil, err
84 raw, err := f.MarshalBinary()
85 if err != nil {
86 return err
88 if _, err := w.Write(raw); err != nil {
89 return err
95 conn, err := connect(ctx)
[all …]
/external/tensorflow/tensorflow/go/
Dgraph_test.go58 v, err := NewTensor(int64(1))
59 if err != nil {
60 t.Fatal(err)
62 input, err := Placeholder(g, "input", v.DataType())
63 if err != nil {
64 t.Fatal(err)
66 if _, err := Neg(g, "neg", input); err != nil {
67 t.Fatal(err)
72 if _, err := g.WriteTo(buf); err != nil {
73 t.Fatal(err)
[all …]
Dexample_inception_inference_test.go75 modelfile, labelsfile, err := modelFiles(*modeldir)
76 if err != nil {
77 log.Fatal(err)
79 model, err := ioutil.ReadFile(modelfile)
80 if err != nil {
81 log.Fatal(err)
86 if err := graph.Import(model, ""); err != nil {
87 log.Fatal(err)
91 session, err := tf.NewSession(graph, nil)
92 if err != nil {
[all …]
Dsession_test.go27 inp, err := Placeholder(g, "p1", dt)
28 if err != nil {
29 t.Fatalf("Placeholder() for %v: %v", dt, err)
31 out, err := Neg(g, "neg1", inp)
32 if err != nil {
33 t.Fatalf("Neg() for %v: %v", dt, err)
50 t1, err := NewTensor(test.input)
51 if err != nil {
52 t.Fatal(err)
55 s, err := NewSession(graph, &SessionOptions{})
[all …]
Dtensor_handle_test.go27 tensor, err := NewTensor(vals)
28 if err != nil {
29 t.Fatal(err)
31 if _, err = NewTensorHandle(tensor); err != nil {
32 t.Fatal(err)
38 tensor, err := NewTensor(vals)
39 if err != nil {
40 t.Fatal(err)
42 th, err := NewTensorHandle(tensor)
43 if err != nil {
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dpinning.c13 int err; in get_map_id() local
21 err = bpf_obj_get_info_by_fd(bpf_map__fd(map), in get_map_id()
23 CHECK(err, "get map info", "err %d errno %d", err, errno); in get_map_id()
40 int err; in test_pinning() local
47 err = libbpf_get_error(obj); in test_pinning()
48 if (CHECK(err != -EINVAL, "invalid open", "err %d errno %d\n", err, errno)) { in test_pinning()
55 err = libbpf_get_error(obj); in test_pinning()
56 if (CHECK(err, "default open", "err %d errno %d\n", err, errno)) { in test_pinning()
61 err = bpf_object__load(obj); in test_pinning()
62 if (CHECK(err, "default load", "err %d errno %d\n", err, errno)) in test_pinning()
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dmake_tables.go26 if err := writeP256X86_64Table("p256-x86_64-table.h"); err != nil {
27 fmt.Fprintf(os.Stderr, "Error writing p256-x86_64-table.h: %s\n", err)
31 if err := writeP256Table("p256_table.h"); err != nil {
32 fmt.Fprintf(os.Stderr, "Error writing p256_table.h: %s\n", err)
45 f, err := os.Create(path)
46 if err != nil {
47 return err
76 if _, err := f.WriteString(fileHeader); err != nil {
77 return err
79 if err := writeTables(f, curve, tables, true, 4, writeBNMont); err != nil {
[all …]
/external/libcap/go/
Dcompare-cap.go27 if err := want.SetFlag(cap.Permitted, true, cap.SETFCAP, cap.DAC_OVERRIDE); err != nil {
28 log.Fatalf("failed to explore desired file capability: %v", err)
30 if err := want.SetFlag(cap.Effective, true, cap.SETFCAP, cap.DAC_OVERRIDE); err != nil {
31 log.Fatalf("failed to raise the effective bits: %v", err)
34 if perm, err := saved.GetFlag(cap.Permitted, cap.SETFCAP); err != nil {
35 log.Fatalf("failed to read capability: %v", err)
41 if err := saved.ClearFlag(cap.Effective); err != nil {
42 log.Fatalf("failed to drop effective: %v", err)
44 if err := saved.SetProc(); err != nil {
45 log.Fatalf("failed to limit capabilities: %v", err)
[all …]
/external/openscreen/third_party/abseil/src/absl/flags/
Dmarshalling_test.cc30 std::string err; in TEST() local
34 EXPECT_TRUE(absl::ParseFlag("True", &value, &err)); in TEST()
36 EXPECT_TRUE(absl::ParseFlag("true", &value, &err)); in TEST()
38 EXPECT_TRUE(absl::ParseFlag("TRUE", &value, &err)); in TEST()
41 EXPECT_TRUE(absl::ParseFlag("Yes", &value, &err)); in TEST()
43 EXPECT_TRUE(absl::ParseFlag("yes", &value, &err)); in TEST()
45 EXPECT_TRUE(absl::ParseFlag("YES", &value, &err)); in TEST()
48 EXPECT_TRUE(absl::ParseFlag("t", &value, &err)); in TEST()
50 EXPECT_TRUE(absl::ParseFlag("T", &value, &err)); in TEST()
53 EXPECT_TRUE(absl::ParseFlag("y", &value, &err)); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/flags/
Dmarshalling_test.cc30 std::string err; in TEST() local
34 EXPECT_TRUE(absl::ParseFlag("True", &value, &err)); in TEST()
36 EXPECT_TRUE(absl::ParseFlag("true", &value, &err)); in TEST()
38 EXPECT_TRUE(absl::ParseFlag("TRUE", &value, &err)); in TEST()
41 EXPECT_TRUE(absl::ParseFlag("Yes", &value, &err)); in TEST()
43 EXPECT_TRUE(absl::ParseFlag("yes", &value, &err)); in TEST()
45 EXPECT_TRUE(absl::ParseFlag("YES", &value, &err)); in TEST()
48 EXPECT_TRUE(absl::ParseFlag("t", &value, &err)); in TEST()
50 EXPECT_TRUE(absl::ParseFlag("T", &value, &err)); in TEST()
53 EXPECT_TRUE(absl::ParseFlag("y", &value, &err)); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/
Dmarshalling_test.cc30 std::string err; in TEST() local
34 EXPECT_TRUE(absl::ParseFlag("True", &value, &err)); in TEST()
36 EXPECT_TRUE(absl::ParseFlag("true", &value, &err)); in TEST()
38 EXPECT_TRUE(absl::ParseFlag("TRUE", &value, &err)); in TEST()
41 EXPECT_TRUE(absl::ParseFlag("Yes", &value, &err)); in TEST()
43 EXPECT_TRUE(absl::ParseFlag("yes", &value, &err)); in TEST()
45 EXPECT_TRUE(absl::ParseFlag("YES", &value, &err)); in TEST()
48 EXPECT_TRUE(absl::ParseFlag("t", &value, &err)); in TEST()
50 EXPECT_TRUE(absl::ParseFlag("T", &value, &err)); in TEST()
53 EXPECT_TRUE(absl::ParseFlag("y", &value, &err)); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/flags/
Dmarshalling_test.cc30 std::string err; in TEST() local
34 EXPECT_TRUE(absl::ParseFlag("True", &value, &err)); in TEST()
36 EXPECT_TRUE(absl::ParseFlag("true", &value, &err)); in TEST()
38 EXPECT_TRUE(absl::ParseFlag("TRUE", &value, &err)); in TEST()
41 EXPECT_TRUE(absl::ParseFlag("Yes", &value, &err)); in TEST()
43 EXPECT_TRUE(absl::ParseFlag("yes", &value, &err)); in TEST()
45 EXPECT_TRUE(absl::ParseFlag("YES", &value, &err)); in TEST()
48 EXPECT_TRUE(absl::ParseFlag("t", &value, &err)); in TEST()
50 EXPECT_TRUE(absl::ParseFlag("T", &value, &err)); in TEST()
53 EXPECT_TRUE(absl::ParseFlag("y", &value, &err)); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/flags/
Dmarshalling_test.cc30 std::string err; in TEST() local
34 EXPECT_TRUE(absl::ParseFlag("True", &value, &err)); in TEST()
36 EXPECT_TRUE(absl::ParseFlag("true", &value, &err)); in TEST()
38 EXPECT_TRUE(absl::ParseFlag("TRUE", &value, &err)); in TEST()
41 EXPECT_TRUE(absl::ParseFlag("Yes", &value, &err)); in TEST()
43 EXPECT_TRUE(absl::ParseFlag("yes", &value, &err)); in TEST()
45 EXPECT_TRUE(absl::ParseFlag("YES", &value, &err)); in TEST()
48 EXPECT_TRUE(absl::ParseFlag("t", &value, &err)); in TEST()
50 EXPECT_TRUE(absl::ParseFlag("T", &value, &err)); in TEST()
53 EXPECT_TRUE(absl::ParseFlag("y", &value, &err)); in TEST()
[all …]
/external/abseil-cpp/absl/flags/
Dmarshalling_test.cc30 std::string err; in TEST() local
34 EXPECT_TRUE(absl::ParseFlag("True", &value, &err)); in TEST()
36 EXPECT_TRUE(absl::ParseFlag("true", &value, &err)); in TEST()
38 EXPECT_TRUE(absl::ParseFlag("TRUE", &value, &err)); in TEST()
41 EXPECT_TRUE(absl::ParseFlag("Yes", &value, &err)); in TEST()
43 EXPECT_TRUE(absl::ParseFlag("yes", &value, &err)); in TEST()
45 EXPECT_TRUE(absl::ParseFlag("YES", &value, &err)); in TEST()
48 EXPECT_TRUE(absl::ParseFlag("t", &value, &err)); in TEST()
50 EXPECT_TRUE(absl::ParseFlag("T", &value, &err)); in TEST()
53 EXPECT_TRUE(absl::ParseFlag("y", &value, &err)); in TEST()
[all …]
/external/libnl/tests/
Dtest-create-geneve.c14 int err; in main() local
17 if ((err = nl_connect(sk, NETLINK_ROUTE)) < 0) { in main()
18 nl_perror(err, "Unable to connect socket"); in main()
19 return err; in main()
26 if ((err = rtnl_link_geneve_set_id(link, 123)) < 0) { in main()
27 nl_perror(err, "Unable to set GENEVE ID"); in main()
28 return err; in main()
32 if ((err = nl_addr_parse("2001:0db8:0:f101::1/64", AF_INET6, &addr)) < 0) { in main()
33 nl_perror(err, "Unable to parse IPv6 address"); in main()
34 return err; in main()
[all …]
/external/libjpeg-turbo/
Djerror.c72 (*cinfo->err->output_message) (cinfo); in error_exit()
102 (*cinfo->err->format_message) (cinfo, buffer); in output_message()
129 struct jpeg_error_mgr *err = cinfo->err; in emit_message() local
136 if (err->num_warnings == 0 || err->trace_level >= 3) in emit_message()
137 (*err->output_message) (cinfo); in emit_message()
139 err->num_warnings++; in emit_message()
142 if (err->trace_level >= msg_level) in emit_message()
143 (*err->output_message) (cinfo); in emit_message()
158 struct jpeg_error_mgr *err = cinfo->err; in format_message() local
159 int msg_code = err->msg_code; in format_message()
[all …]

12345678910>>...226