• Home
  • Raw
  • Download

Lines Matching refs:subChars

260     if (cnv->subChars == (uint8_t *)cnv->subUChars) {  in ucnv_safeClone()
261 localConverter->subChars = (uint8_t *)localConverter->subUChars; in ucnv_safeClone()
263 … localConverter->subChars = (uint8_t *)uprv_malloc(UCNV_ERROR_BUFFER_LENGTH * U_SIZEOF_UCHAR); in ucnv_safeClone()
264 if (localConverter->subChars == NULL) { in ucnv_safeClone()
269 … uprv_memcpy(localConverter->subChars, cnv->subChars, UCNV_ERROR_BUFFER_LENGTH * U_SIZEOF_UCHAR); in ucnv_safeClone()
279 …if (allocatedConverter != NULL && allocatedConverter->subChars != (uint8_t *)allocatedConverter->s… in ucnv_safeClone()
280 uprv_free(allocatedConverter->subChars); in ucnv_safeClone()
374 if (converter->subChars != (uint8_t *)converter->subUChars) { in ucnv_close()
375 uprv_free(converter->subChars); in ucnv_close()
437 … uprv_memcpy (mySubChar, converter->subChars, converter->subCharLen); /*fills in the subchars */ in ucnv_getSubstChars()
458 uprv_memcpy (converter->subChars, mySubChar, len); /*copies the subchars */ in ucnv_setSubstChars()
480 uint8_t *subChars; in ucnv_setSubstString() local
500 subChars = (uint8_t *)chars; in ucnv_setSubstString()
517 subChars = (uint8_t *)s; in ucnv_setSubstString()
530 if (cnv->subChars == (uint8_t *)cnv->subUChars) { in ucnv_setSubstString()
532 cnv->subChars = (uint8_t *)uprv_malloc(UCNV_ERROR_BUFFER_LENGTH * U_SIZEOF_UCHAR); in ucnv_setSubstString()
533 if (cnv->subChars == NULL) { in ucnv_setSubstString()
534 cnv->subChars = (uint8_t *)cnv->subUChars; in ucnv_setSubstString()
538 uprv_memset(cnv->subChars, 0, UCNV_ERROR_BUFFER_LENGTH * U_SIZEOF_UCHAR); in ucnv_setSubstString()
546 uprv_memcpy(cnv->subChars, subChars, length8); in ucnv_setSubstString()
547 if (subChars == (uint8_t *)chars) { in ucnv_setSubstString()