Home | History | Annotate | Download | only in i18n

Lines Matching defs:string

71 * Get the ordering priority of the next character in the string.
73 * occured or if the end of string has been reached
100 // and we only compare the string not the contents of the normalization
102 int thislength = (int)(m_data_->iteratordata_.endp - m_data_->iteratordata_.string);
103 int thatlength = (int)(that.m_data_->iteratordata_.endp - that.m_data_->iteratordata_.string);
109 if (uprv_memcmp(m_data_->iteratordata_.string,
110 that.m_data_->iteratordata_.string,
142 * Get the ordering priority of the previous collation element in the string.
145 * occured or if the start of string has been reached.
153 * Resets the cursor to the beginning of the string.
167 * Sets the source to the new source string.
177 UChar *string = NULL;
178 if (m_data_->isWritable && m_data_->iteratordata_.string != NULL) {
179 uprv_free((UChar *)m_data_->iteratordata_.string);
183 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length);
185 if (string == NULL) {
189 u_memcpy(string, source.getBuffer(), length);
192 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR);
194 if (string == NULL) {
198 *string = 0;
202 uprv_init_collIterate(m_data_->iteratordata_.coll, string, length,
236 string gets removed
238 UnicodeString string;
239 source.getText(string);
240 u_memcpy(buffer, string.getBuffer(), length);
243 if (m_data_->isWritable && m_data_->iteratordata_.string != NULL) {
244 uprv_free((UChar *)m_data_->iteratordata_.string);
285 UChar *string = NULL;
288 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length);
290 if (string == NULL) {
296 string gets removed
298 u_memcpy(string, sourceText.getBuffer(), length);
301 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR);
303 if (string == NULL) {
307 *string = 0;
309 m_data_ = ucol_openElements(order->ucollator, string, length, &status);
361 string gets removed
363 UnicodeString string(buffer, length, length);
364 ((CharacterIterator &)sourceText).getText(string);
365 const UChar *temp = string.getBuffer();
401 length = (int)(othercoliter->endp - othercoliter->string);
406 /* create a duplicate of string */
408 coliter->string = (UChar *)uprv_malloc(length * U_SIZEOF_UCHAR);
409 if(coliter->string != NULL) {
410 uprv_memcpy((UChar *)coliter->string, othercoliter->string,
417 coliter->string = NULL;
420 /* start and end of string */
421 coliter->endp = coliter->string + length;
431 if (othercoliter->pos >= othercoliter->string &&
434 coliter->pos = coliter->string +
435 (othercoliter->pos - othercoliter->string);
465 coliter->fcdPosition = coliter->string +
467 - othercoliter->string);