• Home
  • Raw
  • Download

Lines Matching refs:dst

79 ustr_cpy(struct UString *dst,  in ustr_cpy()  argument
83 if(U_FAILURE(*status) || dst == src) in ustr_cpy()
86 if(dst->fCapacity < src->fLength) { in ustr_cpy()
87 ustr_resize(dst, ALLOCATION(src->fLength), status); in ustr_cpy()
91 if(src->fChars == NULL || dst->fChars == NULL){ in ustr_cpy()
94 uprv_memcpy(dst->fChars, src->fChars, sizeof(UChar) * src->fLength); in ustr_cpy()
95 dst->fLength = src->fLength; in ustr_cpy()
96 dst->fChars[dst->fLength] = 0x0000; in ustr_cpy()
118 ustr_cat(struct UString *dst, in ustr_cat() argument
122 ustr_ncat(dst, src, src->fLength, status); in ustr_cat()
126 ustr_ncat(struct UString *dst, in ustr_ncat() argument
131 if(U_FAILURE(*status) || dst == src) in ustr_ncat()
134 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat()
135 ustr_resize(dst, ALLOCATION(dst->fLength + n), status); in ustr_ncat()
140 uprv_memcpy(dst->fChars + dst->fLength, src->fChars, in ustr_ncat()
142 dst->fLength += src->fLength; in ustr_ncat()
143 dst->fChars[dst->fLength] = 0x0000; in ustr_ncat()
147 ustr_ucat(struct UString *dst, in ustr_ucat() argument
154 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat()
155 ustr_resize(dst, ALLOCATION(dst->fLength + 1), status); in ustr_ucat()
160 uprv_memcpy(dst->fChars + dst->fLength, &c, in ustr_ucat()
162 dst->fLength += 1; in ustr_ucat()
163 dst->fChars[dst->fLength] = 0x0000; in ustr_ucat()
166 ustr_u32cat(struct UString *dst, UChar32 c, UErrorCode *status){ in ustr_u32cat() argument
172 ustr_ucat(dst, U16_LEAD(c), status); in ustr_u32cat()
173 ustr_ucat(dst, U16_TRAIL(c), status); in ustr_u32cat()
175 ustr_ucat(dst, (UChar) c, status); in ustr_u32cat()
179 ustr_uscat(struct UString *dst, in ustr_uscat() argument
186 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat()
187 ustr_resize(dst, ALLOCATION(dst->fLength + len), status); in ustr_uscat()
192 uprv_memcpy(dst->fChars + dst->fLength, src, in ustr_uscat()
194 dst->fLength += len; in ustr_uscat()
195 dst->fChars[dst->fLength] = 0x0000; in ustr_uscat()