/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
D | ThreadTest.java | 43 long expectedCount = 0; in TestThreads() local 47 if (expectedCount == 0) { in TestThreads() 48 expectedCount = thread.count; in TestThreads() 50 if (expectedCount != thread.count) { in TestThreads()
|
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | ThreadTest.java | 40 long expectedCount = 0; in TestThreads() local 44 if (expectedCount == 0) { in TestThreads() 45 expectedCount = thread.count; in TestThreads() 47 if (expectedCount != thread.count) { in TestThreads()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8TestUtil.java | 237 static void testBytes(ByteStringFactory factory, int numBytes, long expectedCount) { 238 testBytes(factory, numBytes, expectedCount, 0, -1); 253 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) { 342 assertEquals(expectedCount, countRoundTripped); 359 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) { 437 assertEquals(expectedCount, countRoundTripped);
|
D | MapForProto2LiteTest.java | 580 private void assertMapCounts(int expectedCount, TestMapOrBuilder testMapOrBuilder) { in assertMapCounts() argument 581 assertEquals(expectedCount, testMapOrBuilder.getInt32ToInt32FieldCount()); in assertMapCounts() 582 assertEquals(expectedCount, testMapOrBuilder.getInt32ToStringFieldCount()); in assertMapCounts() 583 assertEquals(expectedCount, testMapOrBuilder.getInt32ToBytesFieldCount()); in assertMapCounts() 584 assertEquals(expectedCount, testMapOrBuilder.getInt32ToEnumFieldCount()); in assertMapCounts() 585 assertEquals(expectedCount, testMapOrBuilder.getInt32ToMessageFieldCount()); in assertMapCounts() 586 assertEquals(expectedCount, testMapOrBuilder.getStringToInt32FieldCount()); in assertMapCounts()
|
D | MapLiteTest.java | 634 private void assertMapCounts(int expectedCount, TestMapOrBuilder testMapOrBuilder) { in assertMapCounts() argument 635 assertEquals(expectedCount, testMapOrBuilder.getInt32ToInt32FieldCount()); in assertMapCounts() 636 assertEquals(expectedCount, testMapOrBuilder.getInt32ToStringFieldCount()); in assertMapCounts() 637 assertEquals(expectedCount, testMapOrBuilder.getInt32ToBytesFieldCount()); in assertMapCounts() 638 assertEquals(expectedCount, testMapOrBuilder.getInt32ToEnumFieldCount()); in assertMapCounts() 639 assertEquals(expectedCount, testMapOrBuilder.getInt32ToMessageFieldCount()); in assertMapCounts() 640 assertEquals(expectedCount, testMapOrBuilder.getStringToInt32FieldCount()); in assertMapCounts()
|
D | MapForProto2Test.java | 949 private void assertMapCounts(int expectedCount, TestMapOrBuilder testMapOrBuilder) { in assertMapCounts() argument 950 assertEquals(expectedCount, testMapOrBuilder.getInt32ToInt32FieldCount()); in assertMapCounts() 951 assertEquals(expectedCount, testMapOrBuilder.getInt32ToStringFieldCount()); in assertMapCounts() 952 assertEquals(expectedCount, testMapOrBuilder.getInt32ToBytesFieldCount()); in assertMapCounts() 953 assertEquals(expectedCount, testMapOrBuilder.getInt32ToEnumFieldCount()); in assertMapCounts() 954 assertEquals(expectedCount, testMapOrBuilder.getInt32ToMessageFieldCount()); in assertMapCounts() 955 assertEquals(expectedCount, testMapOrBuilder.getStringToInt32FieldCount()); in assertMapCounts()
|
D | MapTest.java | 1077 private void assertMapCounts(int expectedCount, TestMapOrBuilder testMapOrBuilder) { in assertMapCounts() argument 1078 assertEquals(expectedCount, testMapOrBuilder.getInt32ToInt32FieldCount()); in assertMapCounts() 1079 assertEquals(expectedCount, testMapOrBuilder.getInt32ToStringFieldCount()); in assertMapCounts() 1080 assertEquals(expectedCount, testMapOrBuilder.getInt32ToBytesFieldCount()); in assertMapCounts() 1081 assertEquals(expectedCount, testMapOrBuilder.getInt32ToEnumFieldCount()); in assertMapCounts() 1082 assertEquals(expectedCount, testMapOrBuilder.getInt32ToMessageFieldCount()); in assertMapCounts() 1083 assertEquals(expectedCount, testMapOrBuilder.getStringToInt32FieldCount()); in assertMapCounts()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | svccoll.cpp | 488 int32_t expectedCount) { in checkStringEnumeration() argument 490 U_ASSERT(expectedCount >= 0 && expectedCount < 31); // [sic] 31 not 32 in checkStringEnumeration() 503 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration() 532 if (((1<<expectedCount)-1) != seenMask) { in checkStringEnumeration() 533 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration()
|
D | units_test.cpp | 555 int32_t expectedCount; in testComplexUnitsConverter() member 660 assertEquals(msgCount.data(), testCase.expectedCount, measures.length()); in testComplexUnitsConverter() 661 for (int i = 0; i < measures.length() && i < testCase.expectedCount; i++) { in testComplexUnitsConverter() 662 if (i == testCase.expectedCount-1) { in testComplexUnitsConverter() 707 int32_t expectedCount; in testComplexUnitsConverterSorting() member 751 if (actual.length() < testCase.expectedCount) { in testComplexUnitsConverterSorting() 756 for (int i = 0; i < testCase.expectedCount; i++) { in testComplexUnitsConverterSorting()
|
D | svccoll.h | 37 int32_t expectedCount);
|
/third_party/skia/tests/ |
D | TypefaceTest.cpp | 341 auto test = [&](SkTypeface* typeface, const Axis* expected, int expectedCount, in DEF_TEST() 352 REPORTER_ASSERT(reporter, actualCount == expectedCount || in DEF_TEST() 360 REPORTER_ASSERT(reporter, actualCount == expectedCount || in DEF_TEST() 364 std::unique_ptr<bool[]> expectedUsed(new bool[expectedCount]()); in DEF_TEST() 367 for (int expectedIdx = 0; expectedIdx < expectedCount; ++expectedIdx) { in DEF_TEST()
|
D | SkUTFTest.cpp | 62 int expectedCount; in DEF_TEST() member 92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
|
/third_party/flutter/skia/src/core/ |
D | SkImageFilter_Base.h | 306 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument 309 if (!localVar.unflatten(buffer, expectedCount)) { \
|
D | SkImageFilter.cpp | 162 bool SkImageFilter_Base::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument 167 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
|
/third_party/flutter/skia/tests/ |
D | SkUTFTest.cpp | 62 int expectedCount; in DEF_TEST() member 92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
|
D | SkSLInterpreterTest.cpp | 25 void test(skiatest::Reporter* r, const char* src, float* in, int expectedCount, float* expected, in test() argument 42 std::unique_ptr<float[]> out = std::unique_ptr<float[]>(new float[expectedCount]); in test() 44 bool valid = exactCompare ? !memcmp(out.get(), expected, sizeof(float) * expectedCount) in test() 45 : nearly_equal(out.get(), expected, expectedCount); in test() 50 for (int i = 0; i < expectedCount; ++i) { in test() 56 for (int i = 0; i < expectedCount; ++i) { in test()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | D3D11FormatTablesTest.cpp | 142 GLuint expectedCount = (!sampleSuccess || qualityCount == 0) ? 0 : 1; in TEST_P() local 143 EXPECT_EQ(expectedCount, textureInfo.sampleCounts.count(sampleCount)) in TEST_P()
|
/third_party/skia/src/gpu/geometry/ |
D | GrQuadBuffer.h | 225 void validate(const char* entry, int expectedCount) const; 315 void GrQuadBuffer<T>::validate(const char* entry, int expectedCount) const { in validate() argument 321 SkASSERT(expectedCount == fCount); in validate()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | D3D11FormatTablesTest.cpp | 143 GLuint expectedCount = (!sampleSuccess || qualityCount == 0) ? 0 : 1; in TEST_P() local 144 EXPECT_EQ(expectedCount, textureInfo.sampleCounts.count(sampleCount)) in TEST_P()
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrQuadBuffer.h | 223 void validate(const char* entry, int expectedCount) const; 322 void GrQuadBuffer<T>::validate(const char* entry, int expectedCount) const { in validate() argument 328 SkASSERT(expectedCount == fCount); in validate()
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ability/ |
D | dataAbilityOperation.js | 32 expectedCount: "[PC Preview] unknow expectedCount" property
|
/third_party/skia/src/core/ |
D | SkImageFilter_Base.h | 454 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument 457 if (!localVar.unflatten(buffer, expectedCount)) { \
|
D | SkImageFilter.cpp | 172 bool SkImageFilter_Base::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument 177 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fIndirectComputeDispatchTests.cpp | 315 const deUint32 expectedCount = computeInvocationCount(m_workGroupSize, cmd.numWorkGroups); in verifyResultBuffer() local 318 if (numPassed != expectedCount) in verifyResultBuffer() 321 << ": got numPassed = " << numPassed << ", expected " << expectedCount in verifyResultBuffer()
|
/third_party/typescript/src/harness/ |
D | fourslashInterfaceImpl.ts | 166 public typeDefinitionCountIs(expectedCount: number) { 167 this.state.verifyTypeDefinitionsCount(this.negative, expectedCount); 493 public occurrencesAtPositionCount(expectedCount: number) { 494 this.state.verifyOccurrencesAtPositionListCount(expectedCount);
|