Searched refs:copyStr (Results 1 – 4 of 4) sorted by relevance
1581 char *copyStr = (char *)uprv_malloc(len+1); in utf8TextClone() local1582 if (copyStr == NULL) { in utf8TextClone()1585 uprv_memcpy(copyStr, src->context, len+1); in utf8TextClone()1586 dest->context = copyStr; in utf8TextClone()2363 UChar *copyStr = (UChar *)uprv_malloc((len+1) * sizeof(UChar)); in ucstrTextClone() local2364 if (copyStr == NULL) { in ucstrTextClone()2369 copyStr[i] = srcStr[i]; in ucstrTextClone()2371 copyStr[len] = 0; in ucstrTextClone()2372 dest->context = copyStr; in ucstrTextClone()
1579 char *copyStr = (char *)uprv_malloc(len+1); in utf8TextClone() local1580 if (copyStr == NULL) { in utf8TextClone()1583 uprv_memcpy(copyStr, src->context, len+1); in utf8TextClone()1584 dest->context = copyStr; in utf8TextClone()2361 UChar *copyStr = (UChar *)uprv_malloc((len+1) * sizeof(UChar)); in ucstrTextClone() local2362 if (copyStr == NULL) { in ucstrTextClone()2367 copyStr[i] = srcStr[i]; in ucstrTextClone()2369 copyStr[len] = 0; in ucstrTextClone()2370 dest->context = copyStr; in ucstrTextClone()