Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtestidna.cpp458 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0; in testAPI() local
478 …ES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
480 + prettify(UnicodeString(expected,expectedLen)) in testAPI()
508 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
512 … " with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))+ in testAPI()
543 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
570 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
597 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
599 …rminated source with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))); in testAPI()
626 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
[all …]
Dutxttest.cpp591 int64_t expectedLen = cpMap[cpCount].nativeIdx; in TestAccessNoClone() local
593 TEST_ASSERT(expectedLen == utlen); in TestAccessNoClone()
799 expectedLen = us.length(); in TestAccessNoClone()
802 TEST_ASSERT(len == expectedLen); in TestAccessNoClone()
813 TEST_ASSERT(len == expectedLen); in TestAccessNoClone()
/external/chromium_org/third_party/icu/source/test/intltest/
Dtestidna.cpp458 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0; in testAPI() local
478 …ES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
480 + prettify(UnicodeString(expected,expectedLen)) in testAPI()
508 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
512 … " with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))+ in testAPI()
543 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
570 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
597 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
599 …rminated source with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))); in testAPI()
626 …status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ in testAPI()
[all …]
Dutxttest.cpp589 int64_t expectedLen = cpMap[cpCount].nativeIdx; in TestAccessNoClone() local
591 TEST_ASSERT(expectedLen == utlen); in TestAccessNoClone()
797 expectedLen = us.length(); in TestAccessNoClone()
800 TEST_ASSERT(len == expectedLen); in TestAccessNoClone()
811 TEST_ASSERT(len == expectedLen); in TestAccessNoClone()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcurrtest.c113 int32_t expectedLen = 3, len; in checkItemCount() local
122 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()
Dcloctst.c741 int32_t expectedLen=u_strlen(expected); in TestDisplayNames() local
743 if(len!=expectedLen) { in TestDisplayNames()
745 locale, displayLocale, len, expectedLen); in TestDisplayNames()
746 } else if(preflightLen!=expectedLen) { in TestDisplayNames()
748 locale, displayLocale, preflightLen, expectedLen); in TestDisplayNames()
772 if(len!=expectedLen) { in TestDisplayNames()
773 … log_err("with buffer of length %d, expected length %d but got %d", i, expectedLen, len); in TestDisplayNames()
Dusrchtst.c2518 int expectedLen; in TestSearchForNull() local
2535 expectedLen = 4; in TestSearchForNull()
2579 if (len != expectedLen) { in TestSearchForNull()
2581 expectedLen, len); in TestSearchForNull()
2610 int32_t expectedLen = 3; in TestStrengthIdentical() local
2635 if(len != expectedLen) { in TestStrengthIdentical()
2636 log_err("Expected search result length: %d; Got instead: %d\n", expectedLen, len); in TestStrengthIdentical()
Dcreststn.c597 int32_t expectedLen; in TestNewTypes() local
621 expectedLen = u_unescape(pattern,expectedEscaped,patternLen); in TestNewTypes()
622 if(got==NULL || u_strncmp(expectedEscaped,got,expectedLen)!=0 || expectedLen != len){ in TestNewTypes()
626 for(i=0;i<expectedLen;i++){ in TestNewTypes()
/external/icu/icu4c/source/test/cintltst/
Dcurrtest.c113 int32_t expectedLen = 3, len; in checkItemCount() local
122 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.c2518 int expectedLen; in TestSearchForNull() local
2535 expectedLen = 4; in TestSearchForNull()
2579 if (len != expectedLen) { in TestSearchForNull()
2581 expectedLen, len); in TestSearchForNull()
2610 int32_t expectedLen = 3; in TestStrengthIdentical() local
2635 if(len != expectedLen) { in TestStrengthIdentical()
2636 log_err("Expected search result length: %d; Got instead: %d\n", expectedLen, len); in TestStrengthIdentical()
Dcloctst.c741 int32_t expectedLen=u_strlen(expected); in TestDisplayNames() local
743 if(len!=expectedLen) { in TestDisplayNames()
745 locale, displayLocale, len, expectedLen); in TestDisplayNames()
746 } else if(preflightLen!=expectedLen) { in TestDisplayNames()
748 locale, displayLocale, preflightLen, expectedLen); in TestDisplayNames()
772 if(len!=expectedLen) { in TestDisplayNames()
773 … log_err("with buffer of length %d, expected length %d but got %d", i, expectedLen, len); in TestDisplayNames()
Dcreststn.c599 int32_t expectedLen; in TestNewTypes() local
623 expectedLen = u_unescape(pattern,expectedEscaped,patternLen); in TestNewTypes()
624 if(got==NULL || u_strncmp(expectedEscaped,got,expectedLen)!=0 || expectedLen != len){ in TestNewTypes()
628 for(i=0;i<expectedLen;i++){ in TestNewTypes()
/external/chromium_org/third_party/libxml/src/include/libxml/
Dxmlschemastypes.h81 unsigned long *expectedLen);
/external/libxml2/include/libxml/
Dxmlschemastypes.h81 unsigned long *expectedLen);
/external/chromium_org/third_party/libxml/src/
Dxmlschemastypes.c5065 unsigned long *expectedLen) in xmlSchemaValidateListSimpleTypeFacet() argument
5075 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5076 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5081 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5082 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5087 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5088 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
Dtestapi.c35632 unsigned long * expectedLen; /* the resulting expected number of list items */ in test_xmlSchemaValidateListSimpleTypeFacet() local
35643 expectedLen = gen_unsigned_long_ptr(n_expectedLen, 3); in test_xmlSchemaValidateListSimpleTypeFacet()
35645 …_val = xmlSchemaValidateListSimpleTypeFacet(facet, (const xmlChar *)value, actualLen, expectedLen); in test_xmlSchemaValidateListSimpleTypeFacet()
35651 des_unsigned_long_ptr(n_expectedLen, expectedLen, 3); in test_xmlSchemaValidateListSimpleTypeFacet()
/external/libxml2/
Dxmlschemastypes.c5072 unsigned long *expectedLen) in xmlSchemaValidateListSimpleTypeFacet() argument
5082 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5083 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5088 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5089 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()
5094 if (expectedLen != NULL) in xmlSchemaValidateListSimpleTypeFacet()
5095 *expectedLen = facet->val->value.decimal.lo; in xmlSchemaValidateListSimpleTypeFacet()