/external/tcpdump/ |
D | in_cksum.c | 159 uint32_t shouldbe; in in_cksum_shouldbe() local 195 shouldbe = sum; in in_cksum_shouldbe() 196 shouldbe += ntohs(computed_sum); in in_cksum_shouldbe() 197 shouldbe = (shouldbe & 0xFFFF) + (shouldbe >> 16); in in_cksum_shouldbe() 198 shouldbe = (shouldbe & 0xFFFF) + (shouldbe >> 16); in in_cksum_shouldbe() 199 return shouldbe; in in_cksum_shouldbe()
|
/external/compiler-rt/test/BlocksRuntime/ |
D | byrefcopycopy.c | 21 int shouldbe = 0; in main() local 25 b(); ++shouldbe; in main() 31 ++shouldbe; in main() 37 b(); ++shouldbe; in main() 39 if (var != shouldbe) { in main() 40 printf("Hmm, var is %d but should be %d\n", var, shouldbe); in main()
|
/external/llvm-project/compiler-rt/test/BlocksRuntime/ |
D | byrefcopycopy.c | 20 int shouldbe = 0; in main() local 24 b(); ++shouldbe; in main() 30 ++shouldbe; in main() 36 b(); ++shouldbe; in main() 38 if (var != shouldbe) { in main() 39 printf("Hmm, var is %d but should be %d\n", var, shouldbe); in main()
|
/external/skqp/tests/ |
D | ClipCubicTest.cpp | 88 SkPoint clipped[4], shouldbe[4]; in DEF_TEST() local 99 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol)); in DEF_TEST() 107 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol)); in DEF_TEST() 115 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol)); in DEF_TEST() 133 shouldbe), tol)); in DEF_TEST() 145 shouldbe), tol)); in DEF_TEST() 157 shouldbe), tol)); in DEF_TEST() 169 shouldbe), tol)); in DEF_TEST()
|
/external/skia/tests/ |
D | ClipCubicTest.cpp | 86 SkPoint clipped[4], shouldbe[4]; in DEF_TEST() local 97 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol)); in DEF_TEST() 105 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol)); in DEF_TEST() 113 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol)); in DEF_TEST() 131 shouldbe), tol)); in DEF_TEST() 143 shouldbe), tol)); in DEF_TEST() 155 shouldbe), tol)); in DEF_TEST() 167 shouldbe), tol)); in DEF_TEST()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/ |
D | InstConstraintVisitor.java | 2735 Type shouldbe = t; in visitPUTFIELD() local 2736 if (shouldbe == Type.BOOLEAN || in visitPUTFIELD() 2737 shouldbe == Type.BYTE || in visitPUTFIELD() 2738 shouldbe == Type.CHAR || in visitPUTFIELD() 2739 shouldbe == Type.SHORT) { in visitPUTFIELD() 2740 shouldbe = Type.INT; in visitPUTFIELD() 2754 if (!(rvalue.isAssignmentCompatibleWith(shouldbe))) { in visitPUTFIELD() 2755 …intViolated(o, "The stack top type '"+value+"' is not assignment compatible with '"+shouldbe+"'."); in visitPUTFIELD() 2759 if (shouldbe != value) { in visitPUTFIELD() 2760 …constraintViolated(o, "The stack top type '"+value+"' is not of type '"+shouldbe+"' as expected."); in visitPUTFIELD() [all …]
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/statics/ |
D | Pass2Verifier.java | 364 private void checkIndex(final Node referrer, final int index, final Class<?> shouldbe) { in checkIndex() argument 369 if (! shouldbe.isInstance(c)) { in checkIndex() 372 index+"'. '"+tostring(referrer)+"' expects a '"+shouldbe+"'."); in checkIndex()
|