Home | History | Annotate | Download | only in ustring

Lines Matching full:alias

442     // * UnicodeString using readonly-alias to a const UChar array
445 printUnicodeString("readonly-alias string: ", three);
455 // setTo() readonly alias
457 // copying the readonly-alias object with fastCopyFrom() (new in ICU 2.4)
458 // will readonly-alias the same buffer
460 printUnicodeString("fastCopyFrom(readonly alias of \"writeable\" array): ", two);
461 printf("verify that a fastCopyFrom(readonly alias) uses the same buffer pointer: %d (should be 1)\n",
465 printf("verify that a regular copy of a readonly alias uses a different buffer pointer: %d (should be 0)\n",
468 // * UnicodeString using writeable-alias to a non-const UChar array
470 printUnicodeString("writeable-alias string: ", four);
474 printf("writeable-alias backing buffer[%d]=0x%lx "
477 // a copy will not alias any more;
482 printf("writeable-alias backing buffer[%d]=0x%lx after "
485 // setTo() writeable alias, capacity==length
507 printf("writeable-alias backing buffer[%d]=0x%lx after re-extract\n",