Home
last modified time | relevance | path

Searched defs:promise (Results 1 – 25 of 44) sorted by relevance

12

/external/libchrome/base/android/junit/src/org/chromium/base/
DPromiseTest.java42 Promise<Integer> promise = new Promise<Integer>(); in callback() local
56 Promise<Integer> promise = new Promise<Integer>(); in multipleCallbacks() local
77 Promise<Integer> promise = Promise.fulfilled(new Integer(0)); in callbackOnFulfilled() local
88 Promise<Integer> promise = new Promise<Integer>(); in promiseChaining() local
116 Promise<Integer> promise = new Promise<Integer>(); in promiseChainingAsyncFunctions() local
147 Promise<Integer> promise = new Promise<Integer>(); in rejectPromiseNoCallbacks() local
162 Promise<Integer> promise = new Promise<Integer>(); in rejectPromiseNoHandler() local
178 Promise<Integer> promise = new Promise<Integer>(); in rejectPromiseHandled() local
195 Promise<Integer> promise = new Promise<Integer>(); in rejectionInformation() local
213 Promise<Integer> promise = new Promise<Integer>(); in rejectionChaining() local
[all …]
/external/cronet/base/android/junit/src/org/chromium/base/
DPromiseTest.java46 Promise<Integer> promise = new Promise<>(); in callback() local
60 Promise<Integer> promise = new Promise<>(); in multipleCallbacks() local
78 Promise<Integer> promise = Promise.fulfilled(0); in callbackOnFulfilled() local
89 Promise<Integer> promise = new Promise<>(); in promiseChaining() local
104 Promise<Integer> promise = new Promise<>(); in promiseChainingAsyncFunctions() local
125 Promise<Integer> promise = new Promise<>(); in rejectPromiseNoCallbacks() local
140 Promise<Integer> promise = new Promise<>(); in rejectPromiseNoHandler() local
156 Promise<Integer> promise = new Promise<>(); in rejectPromiseHandled() local
172 Promise<Integer> promise = new Promise<>(); in rejectionInformation() local
190 Promise<Integer> promise = new Promise<>(); in rejectionChaining() local
[all …]
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DWriteQueue.java81 ChannelPromise promise = channel.newPromise(); in enqueue() local
143 public final void promise(ChannelPromise promise) { in promise() argument
148 public final ChannelPromise promise() { in promise() method in WriteQueue.RunnableCommand
160 private ChannelPromise promise; field in WriteQueue.AbstractQueuedCommand
163 public final void promise(ChannelPromise promise) { in promise() method in WriteQueue.AbstractQueuedCommand
168 public final ChannelPromise promise() { in promise() method in WriteQueue.AbstractQueuedCommand
185 ChannelPromise promise(); in promise() method
190 void promise(ChannelPromise promise); in promise() argument
DSendGrpcFrameCommand.java32 private ChannelPromise promise; field in SendGrpcFrameCommand
110 public ChannelPromise promise() { in promise() method in SendGrpcFrameCommand
115 public void promise(ChannelPromise promise) { in promise() method in SendGrpcFrameCommand
DNettyClientHandler.java297 public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) in write()
300 createStream((CreateStreamCommand) msg, promise); in write() local
383 public void close(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception { in close()
485 private void createStream(CreateStreamCommand command, final ChannelPromise promise) in createStream()
562 ChannelPromise promise) { in cancelStream()
575 ChannelPromise promise) { in sendGrpcFrame()
586 ChannelPromise promise) { in sendPingFrame()
640 ChannelPromise promise) throws Exception { in gracefulClose()
649 ChannelPromise promise) throws Exception { in forcefulClose()
DNettyServerHandler.java570 public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) in write()
600 private void closeStreamWhenDone(ChannelPromise promise, int streamId) throws Http2Exception { in closeStreamWhenDone()
614 ChannelPromise promise) throws Http2Exception { in sendGrpcFrame()
626 ChannelPromise promise) throws Http2Exception { in sendResponseHeaders()
642 ChannelPromise promise) { in cancelStream()
650 ChannelPromise promise) throws Exception { in forcefulClose()
931 int padding, boolean endStream, ChannelPromise promise) { in writeData()
938 int padding, boolean endStream, ChannelPromise promise) { in writeHeaders()
946 ChannelPromise promise) { in writeHeaders()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/test/
DPromiseTest.kt13 val promise = Promise<String> { resolve, _ -> in <lambda>() constant
23 val promise = Promise<String> { _, reject -> in <lambda>() constant
44 val promise = deferred.asPromise() in <lambda>() constant
54 val promise = deferred.asPromise() in <lambda>() constant
72 val promise = deferred.asPromise() in <lambda>() constant
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DTsiFrameHandler.java82 public void write(ChannelHandlerContext ctx, Object message, ChannelPromise promise) in write()
112 public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) { in bind()
121 ChannelPromise promise) { in connect()
126 public void disconnect(ChannelHandlerContext ctx, ChannelPromise promise) { in disconnect()
131 public void close(ChannelHandlerContext ctx, ChannelPromise promise) { in close()
136 public void deregister(ChannelHandlerContext ctx, ChannelPromise promise) { in deregister()
DProtectedPromise.java53 void addUnprotectedPromise(ChannelPromise promise) { in addUnprotectedPromise()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DPromise.kt25 public fun <T> CoroutineScope.promise( in <lambda>() method
36 val promise = Promise<T> { resolve, reject -> in <lambda>() constant
/external/cronet/base/android/java/src/org/chromium/base/
DPromise.java144 final Promise<RT> promise = new Promise<>(); in then() local
173 final Promise<RT> promise = new Promise<>(); in then() local
270 Promise<T> promise = new Promise<>(); in fulfilled() local
279 Promise<T> promise = new Promise<>(); in rejected() local
/external/libchrome/base/android/java/src/org/chromium/base/
DPromise.java153 final Promise<R> promise = new Promise<>(); in then() local
182 final Promise<R> promise = new Promise<>(); in then() local
279 Promise<T> promise = new Promise<>(); in fulfilled() local
/external/skia/src/text/gpu/
DGlyphVector.cpp40 SkStrikePromise&& promise, SkSpan<SkPackedGlyphID> glyphs, SubRunAllocator* alloc) { in Make()
49 std::optional<SkStrikePromise> promise = in MakeFromBuffer() local
/external/skia/tests/
DGrGlyphVectorTest.cpp56 SkStrikePromise promise{strikeSpec.findOrCreateStrike()}; in DEF_TEST() local
86 SkStrikePromise promise{sk_sp<SkStrike>(strike)}; in DEF_TEST() local
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/src/
Dapply-shim-utils.js34 const promise = Promise.resolve(); constant
/external/perfetto/ui/src/common/
Dplugins.ts127 for (const promise of context.findPotentialTracks(engine)) { constant
/external/perfetto/ui/src/controller/
Dftrace_controller.ts64 const promise = this.lookupFtraceEvents(offset, count); constant
Dtrack_controller.ts251 let promise = Promise.resolve(); variable
/external/perfetto/ui/src/frontend/
Dmodal.ts293 const promise = defer<void>(); constant
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DWriteQueueTest.java59 public ChannelPromise promise; field in WriteQueueTest
DNettyStreamTestBase.java76 protected ChannelPromise promise; field in NettyStreamTestBase
/external/libcxx/src/
Dfuture.cpp200 promise<void>::promise() in promise() function in promise
/external/swiftshader/src/Reactor/
DLLVMReactor.hpp107 llvm::Value *promise = nullptr; member
/external/cronet/buildtools/third_party/libc++/trunk/src/
Dfuture.cpp191 promise<void>::promise() in promise() function in promise
/external/cronet/net/third_party/quiche/src/quiche/http2/test_tools/
Dhttp2_frame_decoder_listener_test_util.cc103 const Http2FrameHeader& header, const Http2PushPromiseFields& promise, in OnPushPromiseStart()
351 const Http2FrameHeader& header, const Http2PushPromiseFields& promise, in OnPushPromiseStart()

12