/third_party/spirv-tools/utils/vscode/src/lsp/protocol/ |
D | tsserver.go | 82 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 83 sendParseError(ctx, r, err) 86 if err := h.server.DidChangeWorkspaceFolders(ctx, ¶ms); err != nil { 87 log.Printf("%v", err) 92 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 93 sendParseError(ctx, r, err) 96 if err := h.server.Initialized(ctx, ¶ms); err != nil { 97 log.Printf("%v", err) 101 if err := h.server.Exit(ctx); err != nil { 102 log.Printf("%v", err) [all …]
|
D | tsclient.go | 49 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 50 sendParseError(ctx, r, err) 53 if err := h.client.ShowMessage(ctx, ¶ms); err != nil { 54 log.Printf("%v", err) 59 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 60 sendParseError(ctx, r, err) 63 if err := h.client.LogMessage(ctx, ¶ms); err != nil { 64 log.Printf("%v", err) 69 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 70 sendParseError(ctx, r, err) [all …]
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/ |
D | tsserver.go | 82 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 83 sendParseError(ctx, r, err) 86 if err := h.server.DidChangeWorkspaceFolders(ctx, ¶ms); err != nil { 87 log.Printf("%v", err) 92 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 93 sendParseError(ctx, r, err) 96 if err := h.server.Initialized(ctx, ¶ms); err != nil { 97 log.Printf("%v", err) 101 if err := h.server.Exit(ctx); err != nil { 102 log.Printf("%v", err) [all …]
|
D | tsclient.go | 49 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 50 sendParseError(ctx, r, err) 53 if err := h.client.ShowMessage(ctx, ¶ms); err != nil { 54 log.Printf("%v", err) 59 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 60 sendParseError(ctx, r, err) 63 if err := h.client.LogMessage(ctx, ¶ms); err != nil { 64 log.Printf("%v", err) 69 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 70 sendParseError(ctx, r, err) [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
D | tsserver.go | 82 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 83 sendParseError(ctx, r, err) 86 if err := h.server.DidChangeWorkspaceFolders(ctx, ¶ms); err != nil { 87 log.Printf("%v", err) 92 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 93 sendParseError(ctx, r, err) 96 if err := h.server.Initialized(ctx, ¶ms); err != nil { 97 log.Printf("%v", err) 101 if err := h.server.Exit(ctx); err != nil { 102 log.Printf("%v", err) [all …]
|
D | tsclient.go | 49 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 50 sendParseError(ctx, r, err) 53 if err := h.client.ShowMessage(ctx, ¶ms); err != nil { 54 log.Printf("%v", err) 59 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 60 sendParseError(ctx, r, err) 63 if err := h.client.LogMessage(ctx, ¶ms); err != nil { 64 log.Printf("%v", err) 69 if err := json.Unmarshal(*r.Params, ¶ms); err != nil { 70 sendParseError(ctx, r, err) [all …]
|
/third_party/libdrm/tests/tegra/ |
D | vic-blit.c | 41 int err; in clear() local 43 err = drm_tegra_job_new(channel, &job); in clear() 44 if (err < 0) { in clear() 45 fprintf(stderr, "failed to create job: %s\n", strerror(-err)); in clear() 49 err = drm_tegra_job_get_pushbuf(job, &pushbuf); in clear() 50 if (err < 0) { in clear() 51 fprintf(stderr, "failed to create push buffer: %s\n", strerror(-err)); in clear() 55 err = vic_clear(vic, output, 1023, 1023, 0, 0); in clear() 56 if (err < 0) { in clear() 57 fprintf(stderr, "failed to clear surface: %s\n", strerror(-err)); in clear() [all …]
|
D | vic-flip.c | 41 int err; in clear() local 43 err = drm_tegra_job_new(channel, &job); in clear() 44 if (err < 0) { in clear() 45 fprintf(stderr, "failed to create job: %s\n", strerror(-err)); in clear() 49 err = drm_tegra_job_get_pushbuf(job, &pushbuf); in clear() 50 if (err < 0) { in clear() 51 fprintf(stderr, "failed to create push buffer: %s\n", strerror(-err)); in clear() 55 err = drm_tegra_pushbuf_begin(pushbuf, 32, &ptr); in clear() 56 if (err < 0) { in clear() 57 fprintf(stderr, "failed to prepare push buffer: %s\n", strerror(-err)); in clear() [all …]
|
/third_party/alsa-utils/bat/ |
D | alsa.c | 68 fprintf(bat->err, _("Invalid format!\n")); in format_convert() 81 int err; in set_snd_pcm_params() local 85 err = format_convert(bat, &format); in set_snd_pcm_params() 86 if (err != 0) in set_snd_pcm_params() 87 return err; in set_snd_pcm_params() 93 err = snd_pcm_hw_params_any(sndpcm->handle, params); in set_snd_pcm_params() 94 if (err < 0) { in set_snd_pcm_params() 95 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 96 fprintf(bat->err, _("default params: %s: %s(%d)\n"), in set_snd_pcm_params() 97 device_name, snd_strerror(err), err); in set_snd_pcm_params() [all …]
|
/third_party/alsa-lib/src/ |
D | confmisc.c | 121 int err; in snd_config_get_bool() local 123 err = snd_config_get_id(conf, &id); in snd_config_get_bool() 124 if (err < 0) in snd_config_get_bool() 125 return err; in snd_config_get_bool() 126 err = snd_config_get_integer(conf, &v); in snd_config_get_bool() 127 if (err >= 0) { in snd_config_get_bool() 135 err = snd_config_get_string(conf, &str); in snd_config_get_bool() 136 if (err < 0) { in snd_config_get_bool() 140 err = snd_config_get_bool_ascii(str); in snd_config_get_bool() 141 if (err < 0) in snd_config_get_bool() [all …]
|
D | conf.c | 640 int err; in input_stdio_open() local 648 err = -ENOENT; in input_stdio_open() 656 err = snd_input_stdio_open(inputp, full_path, "r"); in input_stdio_open() 657 if (err == 0) in input_stdio_open() 663 return err; in input_stdio_open() 708 int err; in safe_strtod() local 724 err = -errno; in safe_strtod() 734 if (err) in safe_strtod() 735 return err; in safe_strtod() 796 int err = get_delimstring(&str, '>', input); in get_char_skip_comments() local [all …]
|
/third_party/alsa-lib/src/ucm/ |
D | ucm_cond.c | 33 int err; in get_string() local 35 err = snd_config_search(compound, key, &node); in get_string() 36 if (err < 0) in get_string() 37 return err; in get_string() 45 int err; in if_eval_string() local 48 err = get_string(eval, "Empty", &string1); in if_eval_string() 49 if (err < 0 && err != -ENOENT) { in if_eval_string() 55 err = uc_mgr_get_substituted_value(uc_mgr, &s1, string1); in if_eval_string() 56 if (err < 0) in if_eval_string() 57 return err; in if_eval_string() [all …]
|
D | ucm_include.c | 32 int err; in get_string() local 34 err = snd_config_search(compound, key, &node); in get_string() 35 if (err < 0) in get_string() 36 return err; in get_string() 48 int err; in include_eval_one() local 57 err = get_string(inc, "File", &file); in include_eval_one() 58 if (err < 0) { in include_eval_one() 63 err = snd_config_search(inc, "Before", before); in include_eval_one() 64 if (err < 0 && err != -ENOENT) { in include_eval_one() 69 err = snd_config_search(inc, "After", after); in include_eval_one() [all …]
|
D | parser.c | 70 int err; in uc_mgr_config_load_file() local 75 err = uc_mgr_config_load(uc_mgr->conf_format, filename, cfg); in uc_mgr_config_load_file() 76 if (err < 0) { in uc_mgr_config_load_file() 77 uc_error("error: failed to open file %s: %d", filename, err); in uc_mgr_config_load_file() 78 return err; in uc_mgr_config_load_file() 98 int err; in parse_string() local 100 err = snd_config_get_string(n, (const char **)res); in parse_string() 101 if (err < 0) in parse_string() 102 return err; in parse_string() 117 int err; in parse_string_substitute() local [all …]
|
/third_party/alsa-lib/test/ |
D | pcm.c | 101 int err, dir; in set_hwparams() local 104 err = snd_pcm_hw_params_any(handle, params); in set_hwparams() 105 if (err < 0) { in set_hwparams() 106 printf("Broken configuration for playback: no configurations available: %s\n", snd_strerror(err)); in set_hwparams() 107 return err; in set_hwparams() 110 err = snd_pcm_hw_params_set_rate_resample(handle, params, resample); in set_hwparams() 111 if (err < 0) { in set_hwparams() 112 printf("Resampling setup failed for playback: %s\n", snd_strerror(err)); in set_hwparams() 113 return err; in set_hwparams() 116 err = snd_pcm_hw_params_set_access(handle, params, access); in set_hwparams() [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-error-messages.js | 71 const validateError = (err) => { argument 72 assert.strictEqual(nonexistentFile, err.path); 74 err.message, 76 assert.strictEqual(err.errno, UV_ENOENT); 77 assert.strictEqual(err.code, 'ENOENT'); 78 assert.strictEqual(err.syscall, 'stat'); 92 const validateError = (err) => { 93 assert.strictEqual(nonexistentFile, err.path); 95 err.message, 97 assert.strictEqual(err.errno, UV_ENOENT); [all …]
|
/third_party/alsa-utils/alsactl/ |
D | state.c | 55 int err; in snd_config_integer_add() local 57 err = snd_config_imake_integer(&leaf, id, integer); in snd_config_integer_add() 58 if (err < 0) in snd_config_integer_add() 59 return err; in snd_config_integer_add() 60 err = snd_config_add(father, leaf); in snd_config_integer_add() 61 if (err < 0) { in snd_config_integer_add() 63 return err; in snd_config_integer_add() 70 int err; in snd_config_integer64_add() local 72 err = snd_config_imake_integer64(&leaf, id, integer); in snd_config_integer64_add() 73 if (err < 0) in snd_config_integer64_add() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
D | marshalling_test.cc | 30 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 …]
|
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/test/ |
D | resolver.js | 9 resolve('./foo', { basedir: dir }, function (err, res, pkg) { argument 10 if (err) t.fail(err); 15 resolve('./foo.js', { basedir: dir }, function (err, res, pkg) { argument 16 if (err) t.fail(err); 21 resolve('./foo', { basedir: dir, 'package': { main: 'resolver' } }, function (err, res, pkg) { argument 22 if (err) t.fail(err); 27 … resolve('./foo.js', { basedir: dir, 'package': { main: 'resolver' } }, function (err, res, pkg) { argument 28 if (err) t.fail(err); 33 resolve('./foo', { basedir: dir, filename: path.join(dir, 'baz.js') }, function (err, res) { argument 34 if (err) t.fail(err); [all …]
|
/third_party/alsa-utils/axfer/ |
D | xfer-libasound.c | 66 int err; in xfer_libasound_init() local 68 err = snd_output_stdio_attach(&state->log, stderr, 0); in xfer_libasound_init() 69 if (err < 0) in xfer_libasound_init() 70 return err; in xfer_libasound_init() 72 err = snd_pcm_hw_params_malloc(&state->hw_params); in xfer_libasound_init() 73 if (err < 0) in xfer_libasound_init() 74 return err; in xfer_libasound_init() 83 int err = 0; in xfer_libasound_parse_opt() local 86 state->node_literal = arg_duplicate_string(optarg, &err); in xfer_libasound_parse_opt() 92 state->msec_per_period = arg_parse_decimal_num(optarg, &err); in xfer_libasound_parse_opt() [all …]
|
/third_party/ninja/src/ |
D | build_test.cc | 62 string err; in TEST_F() local 63 EXPECT_TRUE(plan_.AddTarget(GetNode("out"), &err)); in TEST_F() 64 ASSERT_EQ("", err); in TEST_F() 74 plan_.EdgeFinished(edge, Plan::kEdgeSucceeded, &err); in TEST_F() 75 ASSERT_EQ("", err); in TEST_F() 82 plan_.EdgeFinished(edge, Plan::kEdgeSucceeded, &err); in TEST_F() 83 ASSERT_EQ("", err); in TEST_F() 99 string err; in TEST_F() local 100 EXPECT_TRUE(plan_.AddTarget(GetNode("out"), &err)); in TEST_F() 101 ASSERT_EQ("", err); in TEST_F() [all …]
|
D | disk_interface_test.cc | 52 string err; in TEST_F() local 53 EXPECT_EQ(0, disk_.Stat("nosuchfile", &err)); in TEST_F() 54 EXPECT_EQ("", err); in TEST_F() 58 EXPECT_EQ(0, disk_.Stat("nosuchdir/nosuchfile", &err)); in TEST_F() 59 EXPECT_EQ("", err); in TEST_F() 64 EXPECT_EQ(0, disk_.Stat("notadir/nosuchfile", &err)); in TEST_F() 65 EXPECT_EQ("", err); in TEST_F() 69 string err; in TEST_F() local 72 EXPECT_EQ(-1, disk_.Stat(bad_path, &err)); in TEST_F() 73 EXPECT_NE("", err); in TEST_F() [all …]
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_simple.c | 57 int err; in set_hw_params() local 62 err = snd_pcm_hw_params_any(pcm, hw_params); in set_hw_params() 63 if (err < 0) in set_hw_params() 64 return err; in set_hw_params() 65 err = snd_pcm_hw_params_set_access(pcm, hw_params, access); in set_hw_params() 66 if (err < 0) in set_hw_params() 67 return err; in set_hw_params() 68 err = snd_pcm_hw_params_set_format(pcm, hw_params, format); in set_hw_params() 69 if (err < 0) in set_hw_params() 70 return err; in set_hw_params() [all …]
|
/third_party/skia/third_party/externals/brotli/go/cbrotli/ |
D | cbrotli_test.go | 20 uncompressed, err := Decode(compressedData) 21 if err != nil { 22 return fmt.Errorf("brotli decompress failed: %v", err) 48 if err := e.Close(); err != nil { 49 t.Errorf("Close()=%v, want nil", err) 52 if _, err := e.Write([]byte("hi")); err == nil { 60 n, err := e.Write([]byte("")) 61 if n != 0 || err != nil { 62 t.Errorf("Write()=%v,%v, want 0, nil", n, err) 64 if err := e.Close(); err != nil { [all …]
|
/third_party/gn/src/gn/ |
D | source_dir_unittest.cc | 13 Err err; in TEST() local 22 EXPECT_TRUE(base.ResolveRelativeFile(Value(nullptr, std::string()), &err, in TEST() 24 EXPECT_TRUE(err.has_error()); in TEST() 27 err = Err(); in TEST() 28 EXPECT_TRUE(base.ResolveRelativeFile(Value(nullptr, "//foo/bar/"), &err, in TEST() 30 EXPECT_TRUE(err.has_error()); in TEST() 32 err = Err(); in TEST() 33 EXPECT_TRUE(base.ResolveRelativeFile(Value(nullptr, "bar/"), &err, in TEST() 35 EXPECT_TRUE(err.has_error()); in TEST() 38 err = Err(); in TEST() [all …]
|