Home
last modified time | relevance | path

Searched refs:expectedLen (Results 1 – 21 of 21) 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/flutter/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.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.c790 int32_t expectedLen=u_strlen(expected); in TestDisplayNames() local
792 if(len!=expectedLen) { in TestDisplayNames()
794 locale, displayLocale, len, expectedLen); in TestDisplayNames()
795 } else if(preflightLen!=expectedLen) { in TestDisplayNames()
797 locale, displayLocale, preflightLen, expectedLen); in TestDisplayNames()
821 if(len!=expectedLen) { in TestDisplayNames()
822 … 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()
/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/gettext/gnulib-local/lib/libxml/
Dxmlschemastypes.in.h109 unsigned long *expectedLen);
Dxmlschemastypes.c5120 unsigned long *expectedLen) in xmlSchemaValidateListSimpleTypeFacet() argument
5130 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5131 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5136 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5137 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5142 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5143 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
/third_party/libxml2/include/libxml/
Dxmlschemastypes.h81 unsigned long *expectedLen);
/third_party/libxml2/os400/libxmlrpg/
Dxmlschemastypes.rpgle120 d expectedLen * value unsigned long *
/third_party/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.c36132 unsigned long * expectedLen; /* the resulting expected number of list items */ in test_xmlSchemaValidateListSimpleTypeFacet() local
36143 expectedLen = gen_unsigned_long_ptr(n_expectedLen, 3); in test_xmlSchemaValidateListSimpleTypeFacet()
36145 …_val = xmlSchemaValidateListSimpleTypeFacet(facet, (const xmlChar *)value, actualLen, expectedLen); in test_xmlSchemaValidateListSimpleTypeFacet()
36151 des_unsigned_long_ptr(n_expectedLen, expectedLen, 3); in test_xmlSchemaValidateListSimpleTypeFacet()
/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.c6408 const int expectedLen; member
6418 if (data[i].expectedLen == len in checking_default_handler()
/third_party/expat/tests/
Druntests.c6587 const int expectedLen; member
6597 if (data[i].expectedLen == len in checking_default_handler()