/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | TGParser.cpp | 310 if (Lex.getCode() != tgtok::Id) in ParseObjectName() 325 if (Lex.getCode() != tgtok::Id) { in ParseClassID() 344 if (Lex.getCode() != tgtok::Id) { in ParseMultiClassID() 358 if (Lex.getCode() != tgtok::Id) { in ParseDefmID() 392 if (Lex.getCode() != tgtok::less) in ParseSubClassReference() 396 if (Lex.getCode() == tgtok::greater) { in ParseSubClassReference() 408 if (Lex.getCode() != tgtok::greater) { in ParseSubClassReference() 434 if (Lex.getCode() != tgtok::less) in ParseSubMultiClassReference() 438 if (Lex.getCode() == tgtok::greater) { in ParseSubMultiClassReference() 450 if (Lex.getCode() != tgtok::greater) { in ParseSubMultiClassReference() [all …]
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 378 switch (Lex.getCode()) { in ParseObjectName() 413 if (Lex.getCode() != tgtok::Id) { in ParseClassID() 432 if (Lex.getCode() != tgtok::Id) { in ParseMultiClassID() 465 if (Lex.getCode() != tgtok::less) { in ParseSubClassReference() 471 if (Lex.getCode() == tgtok::greater) { in ParseSubClassReference() 483 if (Lex.getCode() != tgtok::greater) { in ParseSubClassReference() 510 if (Lex.getCode() != tgtok::less) { in ParseSubMultiClassReference() 516 if (Lex.getCode() == tgtok::greater) { in ParseSubMultiClassReference() 528 if (Lex.getCode() != tgtok::greater) { in ParseSubMultiClassReference() 544 if (Lex.getCode() != tgtok::IntVal) { in ParseRangePiece() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | TGParser.cpp | 496 switch (Lex.getCode()) { in ParseObjectName() 534 if (Lex.getCode() != tgtok::Id) { in ParseClassID() 553 if (Lex.getCode() != tgtok::Id) { in ParseMultiClassID() 586 if (Lex.getCode() != tgtok::less) { in ParseSubClassReference() 592 if (Lex.getCode() == tgtok::greater) { in ParseSubClassReference() 604 if (Lex.getCode() != tgtok::greater) { in ParseSubClassReference() 631 if (Lex.getCode() != tgtok::less) { in ParseSubMultiClassReference() 637 if (Lex.getCode() == tgtok::greater) { in ParseSubMultiClassReference() 649 if (Lex.getCode() != tgtok::greater) { in ParseSubMultiClassReference() 665 if (Lex.getCode() != tgtok::IntVal) { in ParseRangePiece() [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | GrpcUtilTest.java | 68 assertSame(Status.Code.CANCELLED, Http2Error.CANCEL.status().getCode()); in http2ErrorStatus() 73 assertSame(Status.Code.INTERNAL, Http2Error.statusForCode(-1).getCode()); in http2ErrorStatusForCode() 76 assertSame(Status.Code.INTERNAL, Http2Error.statusForCode(0xD + 1).getCode()); in http2ErrorStatusForCode() 206 assertEquals(Status.Code.INTERNAL, GrpcUtil.httpStatusToGrpcStatus(400).getCode()); in httpStatusToGrpcStatus_checkAgainstSpec() 207 assertEquals(Status.Code.UNAUTHENTICATED, GrpcUtil.httpStatusToGrpcStatus(401).getCode()); in httpStatusToGrpcStatus_checkAgainstSpec() 208 assertEquals(Status.Code.PERMISSION_DENIED, GrpcUtil.httpStatusToGrpcStatus(403).getCode()); in httpStatusToGrpcStatus_checkAgainstSpec() 209 assertEquals(Status.Code.UNIMPLEMENTED, GrpcUtil.httpStatusToGrpcStatus(404).getCode()); in httpStatusToGrpcStatus_checkAgainstSpec() 210 assertEquals(Status.Code.UNAVAILABLE, GrpcUtil.httpStatusToGrpcStatus(429).getCode()); in httpStatusToGrpcStatus_checkAgainstSpec() 211 assertEquals(Status.Code.UNAVAILABLE, GrpcUtil.httpStatusToGrpcStatus(502).getCode()); in httpStatusToGrpcStatus_checkAgainstSpec() 212 assertEquals(Status.Code.UNAVAILABLE, GrpcUtil.httpStatusToGrpcStatus(503).getCode()); in httpStatusToGrpcStatus_checkAgainstSpec() [all …]
|
D | Http2ClientStreamTransportStateTest.java | 113 assertEquals(Code.INTERNAL, statusCaptor.getValue().getCode()); in transportHeadersReceived_noHttpStatus() 128 assertEquals(Code.UNKNOWN, statusCaptor.getValue().getCode()); in transportHeadersReceived_wrongContentType_200() 144 assertEquals(Code.UNAUTHENTICATED, statusCaptor.getValue().getCode()); in transportHeadersReceived_wrongContentType_401() 186 assertEquals(Code.INTERNAL, statusCaptor.getValue().getCode()); in transportHeadersReceived_twice() 206 assertEquals(Code.UNKNOWN, statusCaptor.getValue().getCode()); in transportHeadersReceived_unknownAndTwiceLogsSecondHeaders() 218 assertEquals(Code.INTERNAL, statusCaptor.getValue().getCode()); in transportDataReceived_noHeaderReceived() 295 assertEquals(Code.UNAUTHENTICATED, statusCaptor.getValue().getCode()); in transportTrailersReceived_missingStatusUsesHttpStatus() 311 assertEquals(Code.INTERNAL, statusCaptor.getValue().getCode()); in transportTrailersReceived_missingHttpStatus() 325 assertEquals(Code.INTERNAL, statusCaptor.getValue().getCode()); in transportTrailersReceived_missingStatusAndMissingHttpStatus() 343 assertEquals(Code.UNKNOWN, statusCaptor.getValue().getCode()); in transportTrailersReceived_missingStatusAfterHeadersIgnoresHttpStatus()
|
D | AbstractClientStreamTest.java | 247 assertEquals(Status.INTERNAL.getCode(), Status.fromThrowable(t).getCode()); in inboundHeadersReceived_failsOnUnrecognizedContentEncoding() 269 assertEquals(Status.INTERNAL.getCode(), Status.fromThrowable(t).getCode()); in inboundHeadersReceived_disallowsContentAndMessageEncoding() 313 assertEquals(Status.INTERNAL.getCode(), Status.fromThrowable(t).getCode()); in inboundHeadersReceived_failsOnUnrecognizedMessageEncoding() 336 assertSame(Status.Code.INTERNAL, statusCaptor.getValue().getCode()); in rstStreamClosesStream() 353 assertSame(Status.Code.INTERNAL, statusCaptor.getValue().getCode()); in trailerOkWithTruncatedMessage() 371 assertSame(Status.Code.DATA_LOSS, statusCaptor.getValue().getCode()); in trailerNotOkWithTruncatedMessage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | DataDrivenUScriptTest.java | 68 int[] code = UScript.getCode(testLocaleName); in TestLocaleGetCode() 82 code = UScript.getCode(esperanto); in TestLocaleGetCode() 94 new int[] { UScript.CYRILLIC }, UScript.getCode(new ULocale("tg"))); in TestLocaleGetCode() 96 new int[] { UScript.DEVANAGARI }, UScript.getCode(new ULocale("xsr"))); in TestLocaleGetCode() 100 … new int[] { UScript.KATAKANA, UScript.HIRAGANA, UScript.HAN }, UScript.getCode(ULocale.JAPANESE)); in TestLocaleGetCode() 102 UScript.getCode(ULocale.KOREAN)); in TestLocaleGetCode() 103 …assertEqualScripts("zh script: Hani", new int[] { UScript.HAN }, UScript.getCode(ULocale.CHINESE)); in TestLocaleGetCode() 105 UScript.getCode(ULocale.TRADITIONAL_CHINESE)); in TestLocaleGetCode() 107 UScript.getCode(ULocale.TAIWAN)); in TestLocaleGetCode() 110 …assertEqualScripts("ro-RO script: Latn", new int[] { UScript.LATIN }, UScript.getCode("ro-RO")); /… in TestLocaleGetCode() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | DataDrivenUScriptTest.java | 71 int[] code = UScript.getCode(testLocaleName); in TestLocaleGetCode() 85 code = UScript.getCode(esperanto); in TestLocaleGetCode() 97 new int[] { UScript.CYRILLIC }, UScript.getCode(new ULocale("tg"))); in TestLocaleGetCode() 99 new int[] { UScript.DEVANAGARI }, UScript.getCode(new ULocale("xsr"))); in TestLocaleGetCode() 103 … new int[] { UScript.KATAKANA, UScript.HIRAGANA, UScript.HAN }, UScript.getCode(ULocale.JAPANESE)); in TestLocaleGetCode() 105 UScript.getCode(ULocale.KOREAN)); in TestLocaleGetCode() 106 …assertEqualScripts("zh script: Hani", new int[] { UScript.HAN }, UScript.getCode(ULocale.CHINESE)); in TestLocaleGetCode() 108 UScript.getCode(ULocale.TRADITIONAL_CHINESE)); in TestLocaleGetCode() 110 UScript.getCode(ULocale.TAIWAN)); in TestLocaleGetCode() 113 …assertEqualScripts("ro-RO script: Latn", new int[] { UScript.LATIN }, UScript.getCode("ro-RO")); /… in TestLocaleGetCode() [all …]
|
/external/grpc-grpc-java/protobuf/src/test/java/io/grpc/protobuf/ |
D | StatusProtoTest.java | 49 assertEquals(STATUS_PROTO.getCode(), sre.getStatus().getCode().value()); in toStatusRuntimeException() 59 assertEquals(STATUS_PROTO.getCode(), sre.getStatus().getCode().value()); in toStatusRuntimeExceptionWithMetadata_shouldIncludeMetadata() 91 assertEquals(STATUS_PROTO.getCode(), se.getStatus().getCode().value()); in toStatusException() 101 assertEquals(STATUS_PROTO.getCode(), se.getStatus().getCode().value()); in toStatusExceptionWithMetadata_shouldIncludeMetadata()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | PkWareExtraHeaderTest.java | 32 int code = EncryptionAlgorithm.AES256.getCode(); in testEncryptionAlgorithm() 34 assertEquals(code,e.getCode()); in testEncryptionAlgorithm() 40 int code = HashAlgorithm.SHA256.getCode(); in testHashAlgorithm() 42 assertEquals(code,e.getCode()); in testHashAlgorithm()
|
D | ZipArchiveInputStreamTest.java | 140 assertEquals("method", ZipMethod.UNSHRINKING.getCode(), entry.getMethod()); in testUnshrinkEntry() 151 assertEquals("method", ZipMethod.UNSHRINKING.getCode(), entry.getMethod()); in testUnshrinkEntry() 233 assertEquals(ZipMethod.ENHANCED_DEFLATED.getCode(), e.getMethod()); in readDeflate64CompressedStreamWithDataDescriptor() 334 e.setMethod(ZipMethod.DEFLATED.getCode()); in properlyMarksEntriesAsUnreadableIfUncompressedSizeIsUnknown() 336 e.setMethod(ZipMethod.ENHANCED_DEFLATED.getCode()); in properlyMarksEntriesAsUnreadableIfUncompressedSizeIsUnknown() 338 e.setMethod(ZipMethod.BZIP2.getCode()); in properlyMarksEntriesAsUnreadableIfUncompressedSizeIsUnknown()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OkHttpClientTransportTest.java | 264 assertEquals(Code.RESOURCE_EXHAUSTED, listener.status.getCode()); in maxMessageSizeShouldBeEnforced() 292 assertEquals(Status.UNAVAILABLE.getCode(), listener1.status.getCode()); in nextFrameThrowIoException() 294 assertEquals(Status.UNAVAILABLE.getCode(), listener2.status.getCode()); in nextFrameThrowIoException() 320 assertEquals(Status.UNAVAILABLE.getCode(), listener.status.getCode()); in nextFrameThrowsError() 337 assertEquals(Status.UNAVAILABLE.getCode(), listener.status.getCode()); in nextFrameReturnFalse() 412 assertEquals(Status.INTERNAL.getCode(), listener.status.getCode()); in invalidInboundHeadersCancelStream() 432 assertEquals(Status.INTERNAL.getCode(), listener.status.getCode()); in invalidInboundTrailersPropagateToMetadata() 449 assertEquals(Status.Code.OK, listener.status.getCode()); in readStatus() 465 assertThat(listener.status.getCode()).isEqualTo(Code.INTERNAL); in receiveReset() 479 assertEquals(OkHttpClientTransport.toGrpcStatus(ErrorCode.CANCEL).getCode(), in cancelStream() [all …]
|
/external/grpc-grpc-java/protobuf/src/main/java/io/grpc/protobuf/ |
D | StatusProto.java | 107 Status status = Status.fromCodeValue(statusProto.getCode()); in toStatus() 108 checkArgument(status.getCode().value() == statusProto.getCode(), "invalid status code"); in toStatus() 162 status.getCode().value() == statusProto.getCode(), in fromStatusAndTrailers()
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugAbbrev.cpp | 34 FirstAbbrCode = AbbrDecl.getCode(); in extract() 36 if (PrevAbbrCode + 1 != AbbrDecl.getCode()) { in extract() 41 PrevAbbrCode = AbbrDecl.getCode(); in extract() 57 if (Decl.getCode() == AbbrCode) in getAbbreviationDeclaration()
|
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
D | DWARFDebugAbbrev.cpp | 25 IdxOffset = abbrevDeclaration.getCode(); in extract() 27 if (prevAbbrAode + 1 != abbrevDeclaration.getCode()) in extract() 30 prevAbbrAode = abbrevDeclaration.getCode(); in extract() 47 if (pos->getCode() == abbrCode) in getAbbreviationDeclaration()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | PKWareExtraHeader.java | 221 cte.put(method.getCode(), method); in method.getCode() 238 public int getCode() { in getCode() method in PKWareExtraHeader.EncryptionAlgorithm 276 cte.put(method.getCode(), method); in method.getCode() 293 public int getCode() { in getCode() method in PKWareExtraHeader.HashAlgorithm
|
D | ZipUtil.java | 332 || entry.getMethod() == ZipMethod.UNSHRINKING.getCode() in supportsMethodOf() 333 || entry.getMethod() == ZipMethod.IMPLODING.getCode() in supportsMethodOf() 335 || entry.getMethod() == ZipMethod.ENHANCED_DEFLATED.getCode() in supportsMethodOf() 336 || entry.getMethod() == ZipMethod.BZIP2.getCode(); in supportsMethodOf()
|
D | ZipMethod.java | 185 cte.put(method.getCode(), method); in method.getCode() 208 public int getCode() { in getCode() method in ZipMethod
|
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/ |
D | CronetClientStreamTest.java | 366 .processTrailers(trailers(Status.PERMISSION_DENIED.getCode().value())); in streamSucceededWithGrpcError() 375 assertEquals(Status.PERMISSION_DENIED.getCode(), status.getCode()); in streamSucceededWithGrpcError() 399 assertEquals(Status.UNAVAILABLE.getCode(), status.getCode()); in streamFailed() 427 assertEquals(Status.UNAVAILABLE.getCode(), status.getCode()); in streamFailedAfterResponseHeaderReceived() 459 assertEquals(Status.UNAVAILABLE.getCode(), status.getCode()); in streamFailedAfterTrailerReceived() 492 assertEquals(Status.OK.getCode(), status.getCode()); in streamFailedAfterTrailerAndEndOfStreamReceived() 512 assertEquals(Status.DEADLINE_EXCEEDED.getCode(), status.getCode()); in cancelStream() 531 .processTrailers(trailers(Status.UNAUTHENTICATED.getCode().value())); in reportTrailersWhenTrailersReceivedBeforeReadClosed() 541 assertEquals(Status.UNAUTHENTICATED.getCode(), status.getCode()); in reportTrailersWhenTrailersReceivedBeforeReadClosed() 565 .processTrailers(trailers(Status.UNAUTHENTICATED.getCode().value())); in reportTrailersWhenTrailersReceivedAfterReadClosed() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugAbbrev.cpp | 38 FirstAbbrCode = AbbrDecl.getCode(); in extract() 40 if (PrevAbbrCode + 1 != AbbrDecl.getCode()) { in extract() 45 PrevAbbrCode = AbbrDecl.getCode(); in extract() 61 if (Decl.getCode() == AbbrCode) in getAbbreviationDeclaration()
|
/external/opencensus-java/contrib/grpc_util/src/test/java/io/opencensus/contrib/grpc/util/ |
D | StatusConverterTest.java | 45 .isEqualTo(grpcStatus.getCode().toString()); in convertFromGrpcStatus() 55 .isEqualTo(grpcStatus.getCode().toString()); in convertFromGrpcStatus() 76 assertThat(grpcStatus.getCode().toString()) in convertToGrpcStatus() 87 assertThat(grpcStatus.getCode().toString()) in convertToGrpcStatus()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/errorhandling/ |
D | ErrorHandlingClient.java | 86 Verify.verify(status.getCode() == Status.Code.INTERNAL); in blockingCall() 104 Verify.verify(status.getCode() == Status.Code.INTERNAL); in futureCallDirect() 128 Verify.verify(status.getCode() == Status.Code.INTERNAL); in futureCallCallback() 155 Verify.verify(status.getCode() == Status.Code.INTERNAL); in asyncCall() 188 Verify.verify(status.getCode() == Status.Code.INTERNAL); in advancedAsyncCall()
|
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/ |
D | AbstractInteropTest.java | 438 assertEquals(Status.INVALID_ARGUMENT.getCode(), e.getStatus().getCode()); in clientCompressedUnary() 612 assertEquals(Status.INVALID_ARGUMENT.getCode(), Status.fromThrowable(e).getCode()); in clientCompressedStreaming() 764 Status.fromThrowable(responseObserver.getError()).getCode()); in cancelAfterBegin() 775 Status.CANCELLED.getCode()); in cancelAfterBegin() 803 Status.fromThrowable(responseObserver.getError()).getCode()); in cancelAfterFirstResponse() 1091 assertEquals(Status.DEADLINE_EXCEEDED.getCode(), ex.getStatus().getCode()); in deadlineExceeded() 1128 assertEquals(Status.DEADLINE_EXCEEDED.getCode(), in deadlineExceededServerStreaming() 1129 Status.fromThrowable(recorder.getError()).getCode()); in deadlineExceededServerStreaming() 1154 assertEquals(Status.Code.DEADLINE_EXCEEDED, ex.getStatus().getCode()); in deadlineInPast() 1166 Status.DEADLINE_EXCEEDED.getCode()); in deadlineInPast() [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ContextsTest.java | 199 assertEquals(Status.Code.DEADLINE_EXCEEDED, status.getCode()); in statusFromCancelled_returnStatusAsSetOnCtx() 210 assertEquals(Status.Code.CANCELLED, status.getCode()); in statusFromCancelled_shouldReturnStatusWithCauseAttached() 227 assertEquals(Status.Code.DEADLINE_EXCEEDED, status.getCode()); in statusFromCancelled_TimeoutExceptionShouldMapToDeadlineExceeded() 238 assertEquals(Status.Code.CANCELLED, status.getCode()); in statusFromCancelled_returnCancelledIfCauseIsNull() 251 assertEquals(Status.Code.UNKNOWN, status.getCode()); in statusFromCancelled_StatusUnknownShouldWork()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
D | Method.java | 115 public final Code getCode() { in getCode() method in Method 143 final Code code = getCode(); in getLocalVariableTable() 155 final Code code = getCode(); in getLineNumberTable()
|