Home
last modified time | relevance | path

Searched refs:jsonrpc2 (Results 1 – 25 of 27) sorted by relevance

12

/external/angle/third_party/spirv-tools/src/utils/vscode/src/lsp/protocol/
Dprotocol.go32 type canceller struct{ jsonrpc2.EmptyHandler }
44 … (canceller) Request(ctx context.Context, conn *jsonrpc2.Conn, direction jsonrpc2.Direction, r *js…
45 if direction == jsonrpc2.Receive && r.Method == "$/cancelRequest" {
56 func (canceller) Cancel(ctx context.Context, conn *jsonrpc2.Conn, id jsonrpc2.ID, cancelled bool) b…
64 func NewClient(ctx context.Context, stream jsonrpc2.Stream, client Client) (context.Context, *jsonr…
66 conn := jsonrpc2.NewConn(stream)
71 func NewServer(ctx context.Context, stream jsonrpc2.Stream, server Server) (context.Context, *jsonr…
72 conn := jsonrpc2.NewConn(stream)
79 func sendParseError(ctx context.Context, req *jsonrpc2.Request, err error) {
80 if _, ok := err.(*jsonrpc2.Error); !ok {
[all …]
Dlog.go30 stream jsonrpc2.Stream
35 func LoggingStream(str jsonrpc2.Stream, w io.Writer) jsonrpc2.Stream {
56 VersionTag jsonrpc2.VersionTag `json:"jsonrpc"`
57 ID *jsonrpc2.ID `json:"id,omitempty"`
61 Error *jsonrpc2.Error `json:"error,omitempty"`
118 func strID(x *jsonrpc2.ID) string {
Dtsclient.go38 func (h clientHandler) Deliver(ctx context.Context, r *jsonrpc2.Request, delivered bool) bool {
43 r.Reply(ctx, nil, jsonrpc2.NewErrorf(RequestCancelledError, ""))
89 r.Reply(ctx, nil, jsonrpc2.NewErrorf(jsonrpc2.CodeInvalidParams, "Expected no params"))
159 *jsonrpc2.Conn
Dtsserver.go71 func (h serverHandler) Deliver(ctx context.Context, r *jsonrpc2.Request, delivered bool) bool {
76 r.Reply(ctx, nil, jsonrpc2.NewErrorf(RequestCancelledError, ""))
295 r.Reply(ctx, nil, jsonrpc2.NewErrorf(jsonrpc2.CodeInvalidParams, "Expected no params"))
541 *jsonrpc2.Conn
835 ID jsonrpc2.ID `json:"id"`
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dprotocol.go32 type canceller struct{ jsonrpc2.EmptyHandler }
44 … (canceller) Request(ctx context.Context, conn *jsonrpc2.Conn, direction jsonrpc2.Direction, r *js…
45 if direction == jsonrpc2.Receive && r.Method == "$/cancelRequest" {
56 func (canceller) Cancel(ctx context.Context, conn *jsonrpc2.Conn, id jsonrpc2.ID, cancelled bool) b…
64 func NewClient(ctx context.Context, stream jsonrpc2.Stream, client Client) (context.Context, *jsonr…
66 conn := jsonrpc2.NewConn(stream)
71 func NewServer(ctx context.Context, stream jsonrpc2.Stream, server Server) (context.Context, *jsonr…
72 conn := jsonrpc2.NewConn(stream)
79 func sendParseError(ctx context.Context, req *jsonrpc2.Request, err error) {
80 if _, ok := err.(*jsonrpc2.Error); !ok {
[all …]
Dlog.go30 stream jsonrpc2.Stream
35 func LoggingStream(str jsonrpc2.Stream, w io.Writer) jsonrpc2.Stream {
56 VersionTag jsonrpc2.VersionTag `json:"jsonrpc"`
57 ID *jsonrpc2.ID `json:"id,omitempty"`
61 Error *jsonrpc2.Error `json:"error,omitempty"`
118 func strID(x *jsonrpc2.ID) string {
Dtsclient.go38 func (h clientHandler) Deliver(ctx context.Context, r *jsonrpc2.Request, delivered bool) bool {
43 r.Reply(ctx, nil, jsonrpc2.NewErrorf(RequestCancelledError, ""))
89 r.Reply(ctx, nil, jsonrpc2.NewErrorf(jsonrpc2.CodeInvalidParams, "Expected no params"))
159 *jsonrpc2.Conn
Dtsserver.go71 func (h serverHandler) Deliver(ctx context.Context, r *jsonrpc2.Request, delivered bool) bool {
76 r.Reply(ctx, nil, jsonrpc2.NewErrorf(RequestCancelledError, ""))
295 r.Reply(ctx, nil, jsonrpc2.NewErrorf(jsonrpc2.CodeInvalidParams, "Expected no params"))
541 *jsonrpc2.Conn
835 ID jsonrpc2.ID `json:"id"`
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dprotocol.go32 type canceller struct{ jsonrpc2.EmptyHandler }
44 … (canceller) Request(ctx context.Context, conn *jsonrpc2.Conn, direction jsonrpc2.Direction, r *js…
45 if direction == jsonrpc2.Receive && r.Method == "$/cancelRequest" {
56 func (canceller) Cancel(ctx context.Context, conn *jsonrpc2.Conn, id jsonrpc2.ID, cancelled bool) b…
64 func NewClient(ctx context.Context, stream jsonrpc2.Stream, client Client) (context.Context, *jsonr…
66 conn := jsonrpc2.NewConn(stream)
71 func NewServer(ctx context.Context, stream jsonrpc2.Stream, server Server) (context.Context, *jsonr…
72 conn := jsonrpc2.NewConn(stream)
79 func sendParseError(ctx context.Context, req *jsonrpc2.Request, err error) {
80 if _, ok := err.(*jsonrpc2.Error); !ok {
[all …]
Dlog.go30 stream jsonrpc2.Stream
35 func LoggingStream(str jsonrpc2.Stream, w io.Writer) jsonrpc2.Stream {
56 VersionTag jsonrpc2.VersionTag `json:"jsonrpc"`
57 ID *jsonrpc2.ID `json:"id,omitempty"`
61 Error *jsonrpc2.Error `json:"error,omitempty"`
118 func strID(x *jsonrpc2.ID) string {
Dtsclient.go38 func (h clientHandler) Deliver(ctx context.Context, r *jsonrpc2.Request, delivered bool) bool {
43 r.Reply(ctx, nil, jsonrpc2.NewErrorf(RequestCancelledError, ""))
89 r.Reply(ctx, nil, jsonrpc2.NewErrorf(jsonrpc2.CodeInvalidParams, "Expected no params"))
159 *jsonrpc2.Conn
Dtsserver.go71 func (h serverHandler) Deliver(ctx context.Context, r *jsonrpc2.Request, delivered bool) bool {
76 r.Reply(ctx, nil, jsonrpc2.NewErrorf(RequestCancelledError, ""))
295 r.Reply(ctx, nil, jsonrpc2.NewErrorf(jsonrpc2.CodeInvalidParams, "Expected no params"))
541 *jsonrpc2.Conn
835 ID jsonrpc2.ID `json:"id"`
/external/angle/third_party/spirv-tools/src/utils/vscode/src/lsp/jsonrpc2/
Dwire.go15 package jsonrpc2 package
Dhandler.go15 package jsonrpc2 package
Dstream.go15 package jsonrpc2 package
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
Dwire.go15 package jsonrpc2 package
Dhandler.go15 package jsonrpc2 package
Dstream.go15 package jsonrpc2 package
Djsonrpc2.go18 package jsonrpc2 package
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
Dwire.go15 package jsonrpc2 package
Dhandler.go15 package jsonrpc2 package
Dstream.go15 package jsonrpc2 package
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go76 stream := jsonrpc2.NewHeaderStream(rSpy{"IDE", os.Stdin}, wSpy{"LS", os.Stdout})
91 conn *jsonrpc2.Conn
/external/angle/third_party/spirv-tools/src/utils/vscode/src/
Dlangsvr.go76 stream := jsonrpc2.NewHeaderStream(rSpy{"IDE", os.Stdin}, wSpy{"LS", os.Stdout})
91 conn *jsonrpc2.Conn
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go76 stream := jsonrpc2.NewHeaderStream(rSpy{"IDE", os.Stdin}, wSpy{"LS", os.Stdout})
91 conn *jsonrpc2.Conn

12