Home
last modified time | relevance | path

Searched refs:InternalStatus (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DHttp2ClientStreamTransportState.java22 import io.grpc.InternalStatus;
185 Status status = trailers.get(InternalStatus.CODE_KEY); in statusFromTrailers()
187 return status.withDescription(trailers.get(InternalStatus.MESSAGE_KEY)); in statusFromTrailers()
245 metadata.discardAll(InternalStatus.CODE_KEY); in stripTransportDetails()
246 metadata.discardAll(InternalStatus.MESSAGE_KEY); in stripTransportDetails()
DAbstractServerStream.java22 import io.grpc.InternalStatus;
142 trailers.discardAll(InternalStatus.CODE_KEY); in addStatusToTrailers()
143 trailers.discardAll(InternalStatus.MESSAGE_KEY); in addStatusToTrailers()
144 trailers.put(InternalStatus.CODE_KEY, status); in addStatusToTrailers()
146 trailers.put(InternalStatus.MESSAGE_KEY, status.getDescription()); in addStatusToTrailers()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalStatus.java23 public final class InternalStatus { class
24 private InternalStatus() {} in InternalStatus() method in InternalStatus
/external/libcxxabi/src/
Dcxa_demangle.cpp347 int InternalStatus = demangle_success; in __cxa_demangle() local
354 InternalStatus = demangle_invalid_mangled_name; in __cxa_demangle()
356 InternalStatus = demangle_memory_alloc_failure; in __cxa_demangle()
367 *Status = InternalStatus; in __cxa_demangle()
368 return InternalStatus == demangle_success ? Buf : nullptr; in __cxa_demangle()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAbstractServerStreamTest.java31 import io.grpc.InternalStatus;
321 trailers.put(InternalStatus.CODE_KEY, Status.OK); in close_sendTrailersClearsReservedFields()
322 trailers.put(InternalStatus.MESSAGE_KEY, "Everything's super."); in close_sendTrailersClearsReservedFields()
329 Status.Code.INTERNAL, metadataCaptor.getValue().get(InternalStatus.CODE_KEY).getCode()); in close_sendTrailersClearsReservedFields()
330 assertEquals("bad", metadataCaptor.getValue().get(InternalStatus.MESSAGE_KEY)); in close_sendTrailersClearsReservedFields()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerHandlerTest.java55 import io.grpc.InternalStatus;
422 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.INTERNAL.value())) in headersWithInvalidContentTypeShouldFail()
423 .set(InternalStatus.MESSAGE_KEY.name(), "Content-Type 'application/bad' is not supported") in headersWithInvalidContentTypeShouldFail()
441 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.INTERNAL.value())) in headersWithInvalidMethodShouldFail()
442 .set(InternalStatus.MESSAGE_KEY.name(), "Method 'FAKE' is not supported") in headersWithInvalidMethodShouldFail()
459 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.UNIMPLEMENTED.value())) in headersWithMissingPathShouldFail()
460 .set(InternalStatus.MESSAGE_KEY.name(), "Expected path but is missing") in headersWithMissingPathShouldFail()
478 .set(InternalStatus.CODE_KEY.name(), String.valueOf(Code.UNIMPLEMENTED.value())) in headersWithInvalidPathShouldFail()
479 .set(InternalStatus.MESSAGE_KEY.name(), "Expected path to start with /: foo/bar") in headersWithInvalidPathShouldFail()
DNettyClientStreamTest.java46 import io.grpc.InternalStatus;
543 trailers.put(InternalStatus.CODE_KEY, status); in grpcResponseTrailers()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerHandler.java36 import io.grpc.InternalStatus;
669 metadata.put(InternalStatus.CODE_KEY, statusCode.toStatus()); in respondWithHttpError()
670 metadata.put(InternalStatus.MESSAGE_KEY, msg); in respondWithHttpError()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DItaniumDemangle.cpp4963 int InternalStatus = demangle_success; in itaniumDemangle() local
4970 InternalStatus = demangle_invalid_mangled_name; in itaniumDemangle()
4972 InternalStatus = demangle_memory_alloc_failure; in itaniumDemangle()
4983 *Status = InternalStatus; in itaniumDemangle()
4984 return InternalStatus == demangle_success ? Buf : nullptr; in itaniumDemangle()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientTransportTest.java62 import io.grpc.InternalStatus;
1857 new Header(InternalStatus.CODE_KEY.name(), "0"), in grpcResponseTrailers()
/external/grpc-grpc-java/core/
Dgrpc-core-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...