Lines Matching refs:getBuffer
365 …pareCodePointOrder(u[i+1])>=0 || u[i].compareCodePointOrder(0, INT32_MAX, u[i+1].getBuffer())>=0) { in TestCompare()
937 test1.startsWith(test3.getBuffer(), test3.length()) || in TestPrefixAndSuffix()
954 if(!test1.endsWith(test3.getBuffer(), test3.length())) { in TestPrefixAndSuffix()
1042 UChar *p=test1.getBuffer(20); in TestMiscellaneous()
1052 test1.getBuffer(10)!=0 || test1.getBuffer()!=0 in TestMiscellaneous()
1074 const UChar *q=test1.getBuffer(), *r=test1.getBuffer(); in TestMiscellaneous()
1083 test1.getBuffer(20)[2]=0; in TestMiscellaneous()
1090 p=test1.getBuffer(256); in TestMiscellaneous()
1448 test3.setTo(FALSE, test1.getBuffer(), -2); in TestBogus()
1455 if(test3.getBuffer()!=0 || test3.getBuffer(20)!=0 || test3.getTerminatedBuffer()!=0) { in TestBogus()
1474 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1480 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1486 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1492 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1533 … if(!test3.isBogus() || test3.setTo(test1.getBuffer(), test1.length()).isBogus() || test3!=test1) { in TestBogus()
1548 …if(!test3.isBogus() || test3.setTo(FALSE, test1.getBuffer(), test1.length()).isBogus() || test3!=t… in TestBogus()
1554 …if(!test3.isBogus() || test3.setTo((UChar *)test1.getBuffer(), test1.length(), test1.getCapacity()… in TestBogus()
1570 if(test3.remove().isBogus() || test3.getBuffer()==0 || !test3.isEmpty()) { in TestBogus()
1575 if(test3.remove(0, INT32_MAX).isBogus() || test3.getBuffer()==0 || !test3.isEmpty()) { in TestBogus()
1597 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1937 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias()
1942 if(alias.length()!=1 || alias.getBuffer()!=uchars) { in TestReadOnlyAlias()
1959 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias()
1981 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1983 … if(longString.compare(10, INT32_MAX, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+10) { in TestReadOnlyAlias()
1986 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1988 if(longString.compare(0, 27, alias)!=0 || alias.getBuffer()!=longString.getBuffer()) { in TestReadOnlyAlias()
1991 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1993 if(longString.compare(6, 24, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+6) { in TestReadOnlyAlias()
1998 UBool hasRVO= wrapUChars(abc).getBuffer()==abc; in TestReadOnlyAlias()
2002 if(temp!=longString || (hasRVO && temp.getBuffer()!=longString.getBuffer())) { in TestReadOnlyAlias()
2006 if(longString.compare(0, 5, temp)!=0 || (hasRVO && temp.getBuffer()!=longString.getBuffer())) { in TestReadOnlyAlias()
2010 …ngString.compare(17, INT32_MAX, temp)!=0 || (hasRVO && temp.getBuffer()!=longString.getBuffer()+17… in TestReadOnlyAlias()
2018 …ongString.compare(6, INT32_MAX, temp)!=0 || (hasRVO && temp.getBuffer()!=longString.getBuffer()+6)… in TestReadOnlyAlias()
2022 … if(longString.compare(8, 10, temp)!=0 || (hasRVO && temp.getBuffer()!=longString.getBuffer()+8)) { in TestReadOnlyAlias()
2112 const UChar *emptyBuffer=s.getBuffer(); in TestSizeofUnicodeString()
2116 const UChar *fullBuffer=s.getBuffer(); in TestSizeofUnicodeString()
2134 const UChar *p = s2.getBuffer(); in TestMoveSwap()
2136 if(s1.getBuffer() != p || s1.length() != 100 || s2.getBuffer() != abc || s2.length() != 3) { in TestMoveSwap()
2140 if(s2 != UNICODE_STRING_SIMPLE("defg") || s3.getBuffer() != abc || s3.length() != 3) { in TestMoveSwap()
2145 if(s4.getBuffer() != p || s4.length() != 100 || !s1.isBogus()) { in TestMoveSwap()
2155 if(s6.getBuffer() != abc || s6.length() != 3) { in TestMoveSwap()
2161 if(s1.getBuffer() != abc || s1.length() != 3) { in TestMoveSwap()
2165 if(s7.getBuffer() != p || s7.length() != 100 || !s4.isBogus()) { in TestMoveSwap()