Home
last modified time | relevance | path

Searched refs:expectedLen (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtestidna.cpp461 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0; in testAPI() local
481 …ES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
483 + prettify(UnicodeString(expected,expectedLen)) in testAPI()
511 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
515 … " with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))+ in testAPI()
546 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
573 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
600 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
602 …rminated source with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))); in testAPI()
629 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
[all …]
Dutxttest.cpp599 int64_t expectedLen = cpMap[cpCount].nativeIdx; in TestAccessNoClone() local
601 TEST_ASSERT(expectedLen == utlen); in TestAccessNoClone()
807 expectedLen = us.length(); in TestAccessNoClone()
810 TEST_ASSERT(len == expectedLen); in TestAccessNoClone()
821 TEST_ASSERT(len == expectedLen); in TestAccessNoClone()
/external/skia/tests/
DPoint3Test.cpp80 SkScalar x, SkScalar y, SkScalar z, SkScalar expectedLen) { in test_length() argument
87 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLen)); in test_length()
91 SkScalar x, SkScalar y, SkScalar z, SkScalar expectedLen) { in test_normalize() argument
97 if (0 == expectedLen) { in test_normalize()
/external/icu/icu4c/source/test/cintltst/
Dcurrtest.c116 int32_t expectedLen = 3, len; in checkItemCount() local
125 if (str == NULL || len != expectedLen || strlen(str) != expectedLen) { in checkItemCount()
Didnatest.c81 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0; in testAPI() local
102 …ES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
124 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
148 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
170 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
191 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
214 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
Dusrchtst.c2520 int expectedLen; in TestSearchForNull() local
2537 expectedLen = 4; in TestSearchForNull()
2581 if (len != expectedLen) { in TestSearchForNull()
2583 expectedLen, len); in TestSearchForNull()
2612 int32_t expectedLen = 3; in TestStrengthIdentical() local
2637 if(len != expectedLen) { in TestStrengthIdentical()
2638 log_err("Expected search result length: %d; Got instead: %d\n", expectedLen, len); in TestStrengthIdentical()
Dcloctst.c752 int32_t expectedLen=u_strlen(expected); in TestDisplayNames() local
754 if(len!=expectedLen) { in TestDisplayNames()
756 locale, displayLocale, len, expectedLen); in TestDisplayNames()
757 } else if(preflightLen!=expectedLen) { in TestDisplayNames()
759 locale, displayLocale, preflightLen, expectedLen); in TestDisplayNames()
783 if(len!=expectedLen) { in TestDisplayNames()
784 … log_err("with buffer of length %d, expected length %d but got %d", i, expectedLen, len); in TestDisplayNames()
Dcreststn.c598 int32_t expectedLen; in TestNewTypes() local
622 expectedLen = u_unescape(pattern,expectedEscaped,patternLen); in TestNewTypes()
623 if(got==NULL || u_strncmp(expectedEscaped,got,expectedLen)!=0 || expectedLen != len){ in TestNewTypes()
627 for(i=0;i<expectedLen;i++){ in TestNewTypes()
/external/libxml2/include/libxml/
Dxmlschemastypes.h81 unsigned long *expectedLen);
/external/libxml2/os400/libxmlrpg/
Dxmlschemastypes.rpgle120 d expectedLen * value unsigned long *
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1693 int expectedLen = expectedAcit.getEndIndex() - indexExp; in TestFormatToCharacterIterator() local
1694 if (end - index != expectedLen) { in TestFormatToCharacterIterator()
1695 …("FAIL: Length of the result attributed string is " + (end - index) + " expected: " + expectedLen); in TestFormatToCharacterIterator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java1694 int expectedLen = expectedAcit.getEndIndex() - indexExp; in TestFormatToCharacterIterator() local
1695 if (end - index != expectedLen) { in TestFormatToCharacterIterator()
1696 …("FAIL: Length of the result attributed string is " + (end - index) + " expected: " + expectedLen); in TestFormatToCharacterIterator()
/external/libxml2/
Dxmlschemastypes.c5091 unsigned long *expectedLen) in xmlSchemaValidateListSimpleTypeFacet() argument
5101 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5102 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5107 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5108 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5113 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5114 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
Dtestapi.c36139 unsigned long * expectedLen; /* the resulting expected number of list items */ in test_xmlSchemaValidateListSimpleTypeFacet() local
36150 expectedLen = gen_unsigned_long_ptr(n_expectedLen, 3); in test_xmlSchemaValidateListSimpleTypeFacet()
36152 …_val = xmlSchemaValidateListSimpleTypeFacet(facet, (const xmlChar *)value, actualLen, expectedLen); in test_xmlSchemaValidateListSimpleTypeFacet()
36158 des_unsigned_long_ptr(n_expectedLen, expectedLen, 3); in test_xmlSchemaValidateListSimpleTypeFacet()