Searched refs:strSize (Results 1 – 2 of 2) sorted by relevance
65 uint32_t strSize = (uint32_t)strlen(txt_testCasePatterns[i]) + 1; in InitStrings() local66 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()67 u_uastrncpy(testCasePatterns[i], txt_testCasePatterns[i], strSize); in InitStrings()70 uint32_t strSize = (uint32_t)strlen(txt_testResultStrings[i]) + 1; in InitStrings() local71 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()72 u_uastrncpy(testResultStrings[i], txt_testResultStrings[i], strSize); in InitStrings()
949 int strSize; in TestOpenVsOpenRules() local1006 strSize = (rand()%40) + 1; in TestOpenVsOpenRules()1008 for(z = 0; z < strSize; z++){ in TestOpenVsOpenRules()1018 str[2%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()1019 str[3%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()1020 str[5%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()1021 str[10%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()1022 str[13%strSize] = uset_charAt(eSet, rand()%eSize); in TestOpenVsOpenRules()1025 str[strSize-1] = '\0'; in TestOpenVsOpenRules()