Searched refs:strSize (Results 1 – 2 of 2) sorted by relevance
63 uint32_t strSize = (uint32_t)strlen(txt_testCasePatterns[i]) + 1; in InitStrings() local64 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() local69 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()70 u_uastrncpy(testResultStrings[i], txt_testResultStrings[i], strSize); in InitStrings()
947 int strSize; in TestOpenVsOpenRules() local1004 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()