Home
last modified time | relevance | path

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

/third_party/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()
/third_party/node/test/async-hooks/
Dtest-signalwrap.js62 const expectedLen = 2 + (!!process.stdout.isTTY || !!process.stderr.isTTY);
63 assert.strictEqual(as.length, expectedLen);
64 signal2 = as[expectedLen - 1]; // Last item in the array.
/third_party/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()
/third_party/icu/icu4c/source/test/cintltst/
Dcurrtest.c146 int32_t expectedLen = 3, len; in checkItemCount() local
155 if (str == NULL || len != expectedLen || (int32_t)strlen(str) != expectedLen) { in checkItemCount()
Didnatest.c82 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0; in testAPI() local
103 …ES_ERROR&& (doCompare==true) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
125 …status) && (doCompare==true) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
149 …status) && (doCompare==true) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
171 …status) && (doCompare==true) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
192 …status) && (doCompare==true) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
215 …status) && (doCompare==true) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
Dusrchtst.c2533 int expectedLen; in TestSearchForNull() local
2550 expectedLen = 4; in TestSearchForNull()
2594 if (len != expectedLen) { in TestSearchForNull()
2596 expectedLen, len); in TestSearchForNull()
2625 int32_t expectedLen = 3; in TestStrengthIdentical() local
2650 if(len != expectedLen) { in TestStrengthIdentical()
2651 log_err("Expected search result length: %d; Got instead: %d\n", expectedLen, len); in TestStrengthIdentical()
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()
Dcloctst.c800 int32_t expectedLen=u_strlen(expected); in TestDisplayNames() local
802 if(len!=expectedLen) { in TestDisplayNames()
804 locale, displayLocale, len, expectedLen); in TestDisplayNames()
805 } else if(preflightLen!=expectedLen) { in TestDisplayNames()
807 locale, displayLocale, preflightLen, expectedLen); in TestDisplayNames()
831 if(len!=expectedLen) { in TestDisplayNames()
832 … log_err("with buffer of length %d, expected length %d but got %d", i, expectedLen, len); in TestDisplayNames()
/third_party/icu/docs/userguide/collation/
Dapi.md392 int32_t expectedLen = 0;
396 expectedLen = ucol_getSortKey(coll, source[i], -1, currBuffer, bufferLen);
397 if (expectedLen > bufferLen) {
399 currBuffer = (char*)malloc(expectedLen);
401 currBuffer = (char*)realloc(currBuffer, expectedLen);
404 bufferLen = ucol_getSortKey(coll, source[i], -1, currBuffer, expectedLen);
509 int32_t length, expectedLen;
528 expectedLen = ucol_getSortKey(coll, s[i], -1,temp2,length );
529 if (expectedLen > length) {
531 temp2 =(char*)malloc(expectedLen);
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/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()
/third_party/skia/third_party/externals/expat/expat/tests/
Druntests.c6480 const int expectedLen; member
6490 if (data[i].expectedLen == len in checking_default_handler()