Home
last modified time | relevance | path

Searched refs:strSize (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dcmsgtst.c63 uint32_t strSize = (uint32_t)strlen(txt_testCasePatterns[i]) + 1; in InitStrings() local
64 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
65 u_uastrncpy(testCasePatterns[i], txt_testCasePatterns[i], strSize); in InitStrings()
68 uint32_t strSize = (uint32_t)strlen(txt_testResultStrings[i]) + 1; in InitStrings() local
69 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
70 u_uastrncpy(testResultStrings[i], txt_testResultStrings[i], strSize); in InitStrings()
Dcapitst.c947 int strSize; in TestOpenVsOpenRules() local
1004 strSize = (rand()%40) + 1; in TestOpenVsOpenRules()
1006 for(z = 0; z < strSize; z++){ in TestOpenVsOpenRules()
1016 str[2%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()
1017 str[3%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()
1018 str[5%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()
1019 str[10%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()
1020 str[13%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()
1023 str[strSize-1] = '\0'; in TestOpenVsOpenRules()