Lines Matching refs:fLength
37 s->fLength = s->fCapacity = 0; in ustr_init()
46 s->fLength = s->fCapacity = 0; in ustr_initChars()
77 s->fLength = s->fCapacity = 0; in ustr_deinit()
89 if(dst->fCapacity < src->fLength) { in ustr_cpy()
90 ustr_resize(dst, ALLOCATION(src->fLength), status); in ustr_cpy()
97 u_memcpy(dst->fChars, src->fChars, src->fLength); in ustr_cpy()
98 dst->fLength = src->fLength; in ustr_cpy()
99 dst->fChars[dst->fLength] = 0x0000; in ustr_cpy()
116 s->fLength = len; in ustr_setlen()
125 ustr_ncat(dst, src, src->fLength, status); in ustr_cat()
137 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat()
138 ustr_resize(dst, ALLOCATION(dst->fLength + n), status); in ustr_ncat()
143 uprv_memcpy(dst->fChars + dst->fLength, src->fChars, in ustr_ncat()
145 dst->fLength += src->fLength; in ustr_ncat()
146 dst->fChars[dst->fLength] = 0x0000; in ustr_ncat()
157 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat()
158 ustr_resize(dst, ALLOCATION(dst->fLength + 1), status); in ustr_ucat()
163 uprv_memcpy(dst->fChars + dst->fLength, &c, in ustr_ucat()
165 dst->fLength += 1; in ustr_ucat()
166 dst->fChars[dst->fLength] = 0x0000; in ustr_ucat()
189 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat()
190 ustr_resize(dst, ALLOCATION(dst->fLength + len), status); in ustr_uscat()
195 uprv_memcpy(dst->fChars + dst->fLength, src, in ustr_uscat()
197 dst->fLength += len; in ustr_uscat()
198 dst->fChars[dst->fLength] = 0x0000; in ustr_uscat()
214 s->fLength = s->fCapacity = 0; in ustr_resize()