Home
last modified time | relevance | path

Searched refs:CancellationToken (Results 1 – 25 of 75) sorted by relevance

123

/third_party/typescript/src/compiler/
DbuilderPublic.ts59 getOptionsDiagnostics(cancellationToken?: CancellationToken): readonly Diagnostic[];
63 getGlobalDiagnostics(cancellationToken?: CancellationToken): readonly Diagnostic[];
71 …getSyntacticDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): readonly …
75 …getDeclarationDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): readonl…
89 …getSemanticDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): readonly D…
101 …le?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDts…
103 … emitBuildInfo(writeFile?: WriteFileCallback, cancellationToken?: CancellationToken): EmitResult;
120 …getSemanticDiagnosticsOfNextAffectedFile(cancellationToken?: CancellationToken, ignoreSourceFile?:…
133 …emitNextAffectedFile(writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnl…
DtsbuildPublic.ts134 build(project?: string, cancellationToken?: CancellationToken): ExitStatus;
136 buildReferences(project: string, cancellationToken?: CancellationToken): ExitStatus;
138 …getNextInvalidatedProject(cancellationToken?: CancellationToken): InvalidatedProject<T> | undefine…
578 …function setupInitialBuild(state: SolutionBuilderState, cancellationToken: CancellationToken | und…
611 …done(cancellationToken?: CancellationToken, writeFile?: WriteFileCallback, customTransformers?: Cu…
631 getOptionsDiagnostics(cancellationToken?: CancellationToken): readonly Diagnostic[];
632 getGlobalDiagnostics(cancellationToken?: CancellationToken): readonly Diagnostic[];
634 …getSyntacticDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): readonly …
636 …getSemanticDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): readonly D…
637 …getSemanticDiagnosticsOfNextAffectedFile(cancellationToken?: CancellationToken, ignoreSourceFile?:…
[all …]
Dbuilder.ts341 …function getNextAffectedFile(state: BuilderProgramState, cancellationToken: CancellationToken | un…
426 …: BuilderProgramState, affectedFile: SourceFile, cancellationToken: CancellationToken | undefined,…
453 …ChangeOf(state: BuilderProgramState, path: Path, cancellationToken: CancellationToken | undefined,…
664 …e: BuilderProgramState, sourceFile: SourceFile, cancellationToken?: CancellationToken): readonly D…
675 …e: BuilderProgramState, sourceFile: SourceFile, cancellationToken?: CancellationToken): readonly D…
945 …function emitBuildInfo(writeFile?: WriteFileCallback, cancellationToken?: CancellationToken): Emit…
959 …NextAffectedFile(writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDts…
1021 …le?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDts…
1081 …function getSemanticDiagnosticsOfNextAffectedFile(cancellationToken?: CancellationToken, ignoreSou…
1126 …getSemanticDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): readonly D…
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DTestGrpc.cs275 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in EmptyCall()
297 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in EmptyCallAsync()
319 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in UnaryCall()
341 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in UnaryCallAsync()
365 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in CacheableUnaryCall()
391 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in CacheableUnaryCallAsync()
416 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in StreamingOutputCall()
439 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in StreamingInputCall()
462 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in FullDuplexCall()
487 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in HalfDuplexCall()
[all …]
DBenchmarkServiceGrpc.cs208 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in UnaryCall()
232 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in UnaryCallAsync()
256 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in StreamingCall()
279 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in StreamingFromClient()
302 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in StreamingFromServer()
325 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in StreamingBothWays()
DWorkerServiceGrpc.cs201 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in RunServer()
231 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in RunClient()
257 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in CoreCount()
279 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in CoreCountAsync()
301 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in QuitWorker()
323 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in QuitWorkerAsync()
DMetricsGrpc.cs152 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in GetAllGauges()
175 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in GetGauge()
197 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in GetGaugeAsync()
DReportQpsScenarioServiceGrpc.cs126 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in ReportScenario()
148 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in ReportScenarioAsync()
/third_party/grpc/src/csharp/Grpc.Core.Api/
DCallOptions.cs33 CancellationToken cancellationToken;
48 …a headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(Cancell… in CallOptions()
85 public CancellationToken CancellationToken property
161 public CallOptions WithCancellationToken(CancellationToken cancellationToken) in WithCancellationToken()
DServerCallContext.cs76 public CancellationToken CancellationToken => CancellationTokenCore; field in Grpc.Core.ServerCallContext
140 protected abstract CancellationToken CancellationTokenCore { get; }
/third_party/grpc/src/csharp/Grpc.Core.Tests/
DCallOptionsTest.cs43 …rt.AreEqual(cancellationToken, options.WithCancellationToken(cancellationToken).CancellationToken); in WithMethods()
49 CancellationToken.None, ContextPropagationOptions.Default); in WithMethods()
61 Assert.AreEqual(CancellationToken.None, options.CancellationToken); in WithMethods()
75 …n1 = new ContextPropagationTokenImpl(CallSafeHandle.NullInstance, deadline, CancellationToken.None, in Normalize()
83 …reEqual(token, new CallOptions(propagationToken: propagationToken2).Normalize().CancellationToken); in Normalize()
DCallCancellationTest.cs99 … context.CancellationToken.Register(() => cancelNotificationReceivedBarrier.SetResult(null)); in ClientStreamingCall_ServerSideReadAfterCancelNotificationReturnsNull()
156 while (!context.CancellationToken.IsCancellationRequested) in ServerStreamingCall_CancelClientSideRead()
/third_party/grpc/src/csharp/Grpc.Examples/
DMathGrpc.cs190 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in Div()
214 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in DivAsync()
239 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in DivMany()
265 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in Fib()
289 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in Sum()
/third_party/grpc/src/csharp/Grpc.Examples.Tests/
DMathClientMockableTest.cs39 …mockClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), null, null, CancellationToken.None)).Returns(… in ClientBaseBlockingUnaryCallCanBeMocked()
60 …mockClient.Setup(m => m.DivAsync(Moq.It.IsAny<DivArgs>(), null, null, CancellationToken.None)).Ret… in ClientBaseAsyncUnaryCallCanBeMocked()
72 mockClient.Setup(m => m.Sum(null, null, CancellationToken.None)).Returns(fakeCall); in ClientBaseClientStreamingCallCanBeMocked()
84 …mockClient.Setup(m => m.Fib(Moq.It.IsAny<FibArgs>(), null, null, CancellationToken.None)).Returns(… in ClientBaseServerStreamingCallCanBeMocked()
97 mockClient.Setup(m => m.DivMany(null, null, CancellationToken.None)).Returns(fakeCall); in ClientBaseDuplexStreamingCallCanBeMocked()
/third_party/grpc/src/csharp/Grpc.HealthCheck.Tests/
DTestServerCallContext.cs28 private readonly CancellationToken _cancellationToken;
30 public TestServerCallContext(CancellationToken cancellationToken) in TestServerCallContext()
40 protected override CancellationToken CancellationTokenCore => _cancellationToken;
/third_party/grpc/src/csharp/Grpc.Core.Testing/
DTestServerCallContext.cs34 …ng method, string host, DateTime deadline, Metadata requestHeaders, CancellationToken cancellation… in Create()
48 private readonly CancellationToken cancellationToken;
58 …ng method, string host, DateTime deadline, Metadata requestHeaders, CancellationToken cancellation… in TestingServerCallContext()
87 protected override CancellationToken CancellationTokenCore => cancellationToken;
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DContextPropagationTokenImpl.cs50 readonly CancellationToken cancellationToken;
53 …tPropagationTokenImpl(CallSafeHandle parentCall, DateTime deadline, CancellationToken cancellation… in ContextPropagationTokenImpl()
86 internal CancellationToken ParentCancellationToken
DDefaultServerCallContext.cs37 private readonly CancellationToken cancellationToken;
49 …Metadata requestHeaders, CancellationToken cancellationToken, IServerResponseStream serverResponse… in DefaultServerCallContext()
82 protected override CancellationToken CancellationTokenCore => cancellationToken;
DServerCallHandler.cs65 … var context = HandlerUtils.NewContext(newRpc, responseStream, asyncCall.CancellationToken); in HandleCall()
123 … var context = HandlerUtils.NewContext(newRpc, responseStream, asyncCall.CancellationToken); in HandleCall()
182 … var context = HandlerUtils.NewContext(newRpc, responseStream, asyncCall.CancellationToken); in HandleCall()
239 … var context = HandlerUtils.NewContext(newRpc, responseStream, asyncCall.CancellationToken); in HandleCall()
322 …xt(ServerRpcNew newRpc, IServerResponseStream serverResponseStream, CancellationToken cancellation… in NewContext()
DAsyncCallServer.cs164 public CancellationToken CancellationToken property in Grpc.Core.Internal.AsyncCallServer
/third_party/grpc/examples/csharp/HelloworldUnity/Assets/Scripts/
DHelloworldGrpc.cs97 …a headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(Cancell… in SayHello()
119 …a headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(Cancell… in SayHelloAsync()
/third_party/grpc/examples/csharp/HelloworldXamarin/HelloworldXamarin/
DHelloworldGrpc.cs97 …a headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(Cancell… in SayHello()
119 …a headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(Cancell… in SayHelloAsync()
/third_party/grpc/src/csharp/Grpc.HealthCheck/
DHealthGrpc.cs162 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in Check()
186 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in CheckAsync()
223 … null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threa… in Watch()
/third_party/grpc/src/csharp/Grpc.Auth/
DGoogleAuthInterceptors.cs52 … await credential.GetAccessTokenForRequestAsync(context.ServiceUrl, CancellationToken.None).Config… in FromCredential()
67 …ential.GetAccessTokenWithHeadersForRequestAsync(context.ServiceUrl, CancellationToken.None).Config… in FromCredential()
/third_party/typescript/src/services/
Dclassifier2020.ts18 …ion getSemanticClassifications(program: Program, cancellationToken: CancellationToken, sourceFile:…
34 …EncodedSemanticClassifications(program: Program, cancellationToken: CancellationToken, sourceFile:…
41 … Program, sourceFile: SourceFile, span: TextSpan, cancellationToken: CancellationToken): number[] {
54 …e: Node, tokenType: number, tokenModifier: number) => void, cancellationToken: CancellationToken) {

123