Searched refs:copyStr (Results 1 – 1 of 1) sorted by relevance
1564 char *copyStr = (char *)uprv_malloc(len+1); in utf8TextClone() local1565 if (copyStr == NULL) { in utf8TextClone()1568 uprv_memcpy(copyStr, src->context, len+1); in utf8TextClone()1569 dest->context = copyStr; in utf8TextClone()2343 UChar *copyStr = (UChar *)uprv_malloc((len+1) * sizeof(UChar)); in ucstrTextClone() local2344 if (copyStr == NULL) { in ucstrTextClone()2349 copyStr[i] = srcStr[i]; in ucstrTextClone()2351 copyStr[len] = 0; in ucstrTextClone()2352 dest->context = copyStr; in ucstrTextClone()