Lines Matching refs:buffer
102 // buffer
119 // checking normalization buffer
124 // both are in the normalization buffer
129 // not in the same position in the normalization buffer
217 UChar *buffer = NULL;
220 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR);
222 if (buffer == NULL) {
226 *buffer = 0;
229 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length);
231 if (buffer == NULL) {
236 Using this constructor will prevent buffer from being removed when
241 u_memcpy(buffer, string.getBuffer(), length);
250 uprv_init_collIterate(m_data_->iteratordata_.coll, buffer, length,
296 Using this constructor will prevent buffer from being removed when
312 /* Test for buffer overflows */
352 UChar *buffer;
354 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length);
356 if (buffer == NULL) {
361 Using this constructor will prevent buffer from being removed when
364 UnicodeString string(buffer, length, length);
367 u_memcpy(buffer, temp, length);
370 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR);
372 if (buffer == NULL) {
376 *buffer = 0;
378 m_data_ = ucol_openElements(order->ucollator, buffer, length, &status);
380 /* Test for buffer overflows */
401 // the normalization buffer
424 /* handle writable buffer here */
444 /* CE buffer */