Home | History | Annotate | Download | only in ustring

Lines Matching refs:writeable

404 static UChar writeable[]={
433 one+=UnicodeString(writeable, UPRV_LENGTHOF(writeable));
456 one.setTo(FALSE, writeable, UPRV_LENGTHOF(writeable));
460 printUnicodeString("fastCopyFrom(readonly alias of \"writeable\" array): ", two);
468 // * UnicodeString using writeable-alias to a non-const UChar array
469 UnicodeString four(writeable, UPRV_LENGTHOF(writeable), UPRV_LENGTHOF(writeable));
470 printUnicodeString("writeable-alias string: ", four);
474 printf("writeable-alias backing buffer[%d]=0x%lx "
475 "after modification\n", i, writeable[i]);
482 printf("writeable-alias backing buffer[%d]=0x%lx after "
483 "modification of string copy\n", i, writeable[i]);
485 // setTo() writeable alias, capacity==length
486 one.setTo(writeable, UPRV_LENGTHOF(writeable), UPRV_LENGTHOF(writeable));
496 one.charAt(1), writeable[1]);
500 if(one.length()<UPRV_LENGTHOF(writeable)) {
503 i=UPRV_LENGTHOF(writeable);
505 one.extract(0, i, writeable);
506 for(i=0; i<UPRV_LENGTHOF(writeable); ++i) {
507 printf("writeable-alias backing buffer[%d]=0x%lx after re-extract\n",
508 i, writeable[i]);