Lines Matching refs:getBuffer

372 …pareCodePointOrder(u[i+1])>=0 || u[i].compareCodePointOrder(0, INT32_MAX, u[i+1].getBuffer())>=0) {  in TestCompare()
944 test1.startsWith(test3.getBuffer(), test3.length()) || in TestPrefixAndSuffix()
961 if(!test1.endsWith(test3.getBuffer(), test3.length())) { in TestPrefixAndSuffix()
1049 UChar *p=test1.getBuffer(20); in TestMiscellaneous()
1059 test1.getBuffer(10)!=0 || test1.getBuffer()!=0 in TestMiscellaneous()
1081 const UChar *q=test1.getBuffer(), *r=test1.getBuffer(); in TestMiscellaneous()
1090 test1.getBuffer(20)[2]=0; in TestMiscellaneous()
1097 p=test1.getBuffer(256); in TestMiscellaneous()
1453 test3.setTo(FALSE, test1.getBuffer(), -2); in TestBogus()
1460 if(test3.getBuffer()!=0 || test3.getBuffer(20)!=0 || test3.getTerminatedBuffer()!=0) { in TestBogus()
1479 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1485 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1491 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1497 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1538 … if(!test3.isBogus() || test3.setTo(test1.getBuffer(), test1.length()).isBogus() || test3!=test1) { in TestBogus()
1553 …if(!test3.isBogus() || test3.setTo(FALSE, test1.getBuffer(), test1.length()).isBogus() || test3!=t… in TestBogus()
1560 test3.setTo(const_cast<UChar *>(test1.getBuffer()), in TestBogus()
1578 if(test3.remove().isBogus() || test3.getBuffer()==0 || !test3.isEmpty()) { in TestBogus()
1583 if(test3.remove(0, INT32_MAX).isBogus() || test3.getBuffer()==0 || !test3.isEmpty()) { in TestBogus()
1605 if(!test3.isBogus() || test3.getBuffer()!=0) { in TestBogus()
1941 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias()
1946 if(alias.length()!=1 || alias.getBuffer()!=uchars) { in TestReadOnlyAlias()
1963 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias()
1985 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1987 … if(longString.compare(10, INT32_MAX, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+10) { in TestReadOnlyAlias()
1990 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1992 if(longString.compare(0, 27, alias)!=0 || alias.getBuffer()!=longString.getBuffer()) { in TestReadOnlyAlias()
1995 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1997 if(longString.compare(6, 24, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+6) { in TestReadOnlyAlias()
2002 UBool hasRVO= wrapUChars(abc).getBuffer()==abc; in TestReadOnlyAlias()
2006 if(temp!=longString || (hasRVO && temp.getBuffer()!=longString.getBuffer())) { in TestReadOnlyAlias()
2010 if(longString.compare(0, 5, temp)!=0 || (hasRVO && temp.getBuffer()!=longString.getBuffer())) { in TestReadOnlyAlias()
2014 …ngString.compare(17, INT32_MAX, temp)!=0 || (hasRVO && temp.getBuffer()!=longString.getBuffer()+17… in TestReadOnlyAlias()
2022 …ongString.compare(6, INT32_MAX, temp)!=0 || (hasRVO && temp.getBuffer()!=longString.getBuffer()+6)… in TestReadOnlyAlias()
2026 … if(longString.compare(8, 10, temp)!=0 || (hasRVO && temp.getBuffer()!=longString.getBuffer()+8)) { in TestReadOnlyAlias()
2116 const UChar *emptyBuffer=s.getBuffer(); in TestSizeofUnicodeString()
2120 const UChar *fullBuffer=s.getBuffer(); in TestSizeofUnicodeString()
2138 const UChar *p = s2.getBuffer(); in TestMoveSwap()
2140 if(s1.getBuffer() != p || s1.length() != 100 || s2.getBuffer() != abc || s2.length() != 3) { in TestMoveSwap()
2144 if(s2 != UNICODE_STRING_SIMPLE("defg") || s3.getBuffer() != abc || s3.length() != 3) { in TestMoveSwap()
2149 if(s4.getBuffer() != p || s4.length() != 100 || !s1.isBogus()) { in TestMoveSwap()
2159 if(s6.getBuffer() != abc || s6.length() != 3) { in TestMoveSwap()
2164 if(s1.getBuffer() != abc || s1.length() != 3) { in TestMoveSwap()
2168 if(s7.getBuffer() != p || s7.length() != 100 || !s4.isBogus()) { in TestMoveSwap()