Lines Matching full:chstr
480 CharString chStr(longStr, errorCode);
481 if (0 != strcmp(longStr, chStr.data()) || (int32_t)strlen(longStr) != chStr.length()) {
486 copy.copyFrom(chStr, errorCode);
490 StringPiece sp(chStr.toStringPiece());
492 chStr.append(sp, errorCode).append(chStr, errorCode);
497 if (0 != strcmp(expected, chStr.data()) || (int32_t)strlen(expected) != chStr.length()) {
500 chStr.clear().append("abc", errorCode).append("defghij", 3, errorCode);
501 if (0 != strcmp("abcdef", chStr.data()) || 6 != chStr.length()) {
504 chStr.appendInvariantChars(UNICODE_STRING_SIMPLE(
509 if (0 != strcmp(expected, chStr.data()) || (int32_t)strlen(expected) != chStr.length()) {
513 char *buffer = chStr.getAppendBuffer(5, 10, appendCapacity, errorCode);
518 chStr.append(buffer, 5, errorCode);
519 chStr.truncate(chStr.length()-3);
521 if (0 != strcmp(expected, chStr.data()) || (int32_t)strlen(expected) != chStr.length()) {