Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtestidna.cpp462 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0; in testAPI() local
486 …ES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
488 + prettify(UnicodeString(expected,expectedLen)) in testAPI()
516 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
520 … " with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))+ in testAPI()
551 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
578 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
605 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
607 …rminated source with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))); in testAPI()
634 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
[all …]
Dutxttest.cpp596 int64_t expectedLen = cpMap[cpCount].nativeIdx; in TestAccessNoClone() local
598 TEST_ASSERT(expectedLen == utlen); in TestAccessNoClone()
804 expectedLen = us.length(); in TestAccessNoClone()
807 TEST_ASSERT(len == expectedLen); in TestAccessNoClone()
818 TEST_ASSERT(len == expectedLen); in TestAccessNoClone()
/external/skia/tests/
DPoint3Test.cpp81 SkScalar x, SkScalar y, SkScalar z, SkScalar expectedLen) { in test_length() argument
88 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLen)); in test_length()
92 SkScalar x, SkScalar y, SkScalar z, SkScalar expectedLen) { in test_normalize() argument
98 if (0 == expectedLen) { in test_normalize()
/external/skqp/tests/
DPoint3Test.cpp81 SkScalar x, SkScalar y, SkScalar z, SkScalar expectedLen) { in test_length() argument
88 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLen)); in test_length()
92 SkScalar x, SkScalar y, SkScalar z, SkScalar expectedLen) { in test_normalize() argument
98 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 || (int32_t)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.c2522 int expectedLen; in TestSearchForNull() local
2539 expectedLen = 4; in TestSearchForNull()
2583 if (len != expectedLen) { in TestSearchForNull()
2585 expectedLen, len); in TestSearchForNull()
2614 int32_t expectedLen = 3; in TestStrengthIdentical() local
2639 if(len != expectedLen) { in TestStrengthIdentical()
2640 log_err("Expected search result length: %d; Got instead: %d\n", expectedLen, len); in TestStrengthIdentical()
Dcloctst.c789 int32_t expectedLen=u_strlen(expected); in TestDisplayNames() local
791 if(len!=expectedLen) { in TestDisplayNames()
793 locale, displayLocale, len, expectedLen); in TestDisplayNames()
794 } else if(preflightLen!=expectedLen) { in TestDisplayNames()
796 locale, displayLocale, preflightLen, expectedLen); in TestDisplayNames()
820 if(len!=expectedLen) { in TestDisplayNames()
821 … log_err("with buffer of length %d, expected length %d but got %d", i, expectedLen, len); in TestDisplayNames()
Dcreststn.c628 int32_t expectedLen; in TestNewTypes() local
652 expectedLen = u_unescape(pattern,expectedEscaped,patternLen); in TestNewTypes()
653 if(got==NULL || u_strncmp(expectedEscaped,got,expectedLen)!=0 || expectedLen != len){ in TestNewTypes()
657 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/libxml2/
Dxmlschemastypes.c5205 unsigned long *expectedLen) in xmlSchemaValidateListSimpleTypeFacet() argument
5215 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5216 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5221 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5222 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5227 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5228 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
Dtestapi.c36130 unsigned long * expectedLen; /* the resulting expected number of list items */ in test_xmlSchemaValidateListSimpleTypeFacet() local
36141 expectedLen = gen_unsigned_long_ptr(n_expectedLen, 3); in test_xmlSchemaValidateListSimpleTypeFacet()
36143 …_val = xmlSchemaValidateListSimpleTypeFacet(facet, (const xmlChar *)value, actualLen, expectedLen); in test_xmlSchemaValidateListSimpleTypeFacet()
36149 des_unsigned_long_ptr(n_expectedLen, expectedLen, 3); in test_xmlSchemaValidateListSimpleTypeFacet()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java1704 int expectedLen = expectedAcit.getEndIndex() - indexExp; in TestFormatToCharacterIterator() local
1705 if (end - index != expectedLen) { in TestFormatToCharacterIterator()
1706 …("FAIL: Length of the result attributed string is " + (end - index) + " expected: " + expectedLen); in TestFormatToCharacterIterator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1701 int expectedLen = expectedAcit.getEndIndex() - indexExp; in TestFormatToCharacterIterator() local
1702 if (end - index != expectedLen) { in TestFormatToCharacterIterator()
1703 …("FAIL: Length of the result attributed string is " + (end - index) + " expected: " + expectedLen); in TestFormatToCharacterIterator()
/external/expat/tests/
Druntests.c6404 const int expectedLen; member
6414 if (data[i].expectedLen == len in checking_default_handler()