Home | History | Annotate | Download | only in ustring

Lines Matching defs:writeable

414 static UChar writeable[]={
443 one+=UnicodeString(writeable, UPRV_LENGTHOF(writeable));
466 one.setTo(FALSE, writeable, UPRV_LENGTHOF(writeable));
470 printUnicodeString("fastCopyFrom(readonly alias of \"writeable\" array): ", two);
478 // * UnicodeString using writeable-alias to a non-const UChar array
479 UnicodeString four(writeable, UPRV_LENGTHOF(writeable), UPRV_LENGTHOF(writeable));
480 printUnicodeString("writeable-alias string: ", four);
484 printf("writeable-alias backing buffer[%d]=0x%lx "
485 "after modification\n", i, writeable[i]);
492 printf("writeable-alias backing buffer[%d]=0x%lx after "
493 "modification of string copy\n", i, writeable[i]);
495 // setTo() writeable alias, capacity==length
496 one.setTo(writeable, UPRV_LENGTHOF(writeable), UPRV_LENGTHOF(writeable));
506 one.charAt(1), writeable[1]);
510 if(one.length()<UPRV_LENGTHOF(writeable)) {
513 i=UPRV_LENGTHOF(writeable);
515 one.extract(0, i, writeable);
516 for(i=0; i<UPRV_LENGTHOF(writeable); ++i) {
517 printf("writeable-alias backing buffer[%d]=0x%lx after re-extract\n",
518 i, writeable[i]);