Home | History | Annotate | Download | only in ustring

Lines Matching refs:writeable

406 static UChar writeable[]={
435 one+=UnicodeString(writeable, LENGTHOF(writeable));
458 one.setTo(FALSE, writeable, LENGTHOF(writeable));
462 printUnicodeString("fastCopyFrom(readonly alias of \"writeable\" array): ", two);
470 // * UnicodeString using writeable-alias to a non-const UChar array
471 UnicodeString four(writeable, LENGTHOF(writeable), LENGTHOF(writeable));
472 printUnicodeString("writeable-alias string: ", four);
476 printf("writeable-alias backing buffer[%d]=0x%lx "
477 "after modification\n", i, writeable[i]);
484 printf("writeable-alias backing buffer[%d]=0x%lx after "
485 "modification of string copy\n", i, writeable[i]);
487 // setTo() writeable alias, capacity==length
488 one.setTo(writeable, LENGTHOF(writeable), LENGTHOF(writeable));
498 one.charAt(1), writeable[1]);
502 if(one.length()<LENGTHOF(writeable)) {
505 i=LENGTHOF(writeable);
507 one.extract(0, i, writeable);
508 for(i=0; i<LENGTHOF(writeable); ++i) {
509 printf("writeable-alias backing buffer[%d]=0x%lx after re-extract\n",
510 i, writeable[i]);