/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/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/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/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 …]
|
/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/grpc/tools/http2_interop/ |
D | http2interop.go | 53 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 …]
|
/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/gettext/gettext-runtime/intl/ |
D | lock.c | 266 int err; in glthread_rwlock_init_for_glibc() local 268 err = pthread_rwlockattr_init (&attributes); in glthread_rwlock_init_for_glibc() 269 if (err != 0) in glthread_rwlock_init_for_glibc() 270 return err; in glthread_rwlock_init_for_glibc() 275 err = pthread_rwlockattr_setkind_np (&attributes, in glthread_rwlock_init_for_glibc() 277 if (err == 0) in glthread_rwlock_init_for_glibc() 278 err = pthread_rwlock_init(lock, &attributes); in glthread_rwlock_init_for_glibc() 282 return err; in glthread_rwlock_init_for_glibc() 291 int err; in glthread_rwlock_init_multithreaded() local 293 err = pthread_rwlock_init (&lock->rwlock, NULL); in glthread_rwlock_init_multithreaded() [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/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/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/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/libnl/tests/ |
D | test-create-geneve.c | 14 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 …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jerror.c | 72 (*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 …]
|
/third_party/libjpeg-turbo/ |
D | jerror.c | 72 (*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 …]
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | jerror.c | 72 (*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 …]
|