Symbol: CountChars
headers/os/support/String.h
33
int32 CountChars() const;
src/add-ons/disk_systems/gpt/GPTPartitionHandle.cpp
173
size_t length = name->CountChars();
src/apps/cortex/InfoView/InfoView.cpp
460
numChars[i] = line->CountChars();
src/apps/cortex/InfoView/InfoView.cpp
476
while (currentLine && (currentLine->CountChars() > 0))
src/apps/cortex/InfoView/InfoView.cpp
479
for (int32 i = 0; i < currentLine->CountChars(); i++)
src/apps/cortex/InfoView/InfoView.cpp
489
currentLine->CountChars() - i);
src/apps/cortex/InfoView/InfoView.cpp
497
if (i == currentLine->CountChars() - 1) // the last char in the text
src/apps/cortex/InfoView/InfoView.cpp
515
currentLine->CountChars() - lastBreak);
src/apps/cortex/InfoView/InfoView.cpp
539
if (line->CountChars() != numChars[i])
src/apps/cortex/MediaRoutingView/MediaJack.cpp
732
if ((offset > 1) && (offset < m_label.CountChars() - 1))
src/apps/cortex/MediaRoutingView/MediaJack.cpp
736
offset = m_label.CountChars() - 1;
src/apps/cortex/RouteApp/StatusView.cpp
215
if (details.CountChars() > 0) {
src/apps/cortex/RouteApp/StatusView.cpp
385
if (truncated || details.CountChars() > 0) {
src/apps/cortex/RouteApp/StatusView.cpp
387
if (details.CountChars() > 0) {
src/apps/deskcalc/ExpressionTextView.cpp
145
if (fHistoryPos == count && fCurrentValue.CountChars() > 0) {
src/apps/deskcalc/ExpressionTextView.cpp
206
uint decimalSeparatorWidth = decimalSeparator.CountChars();
src/apps/deskcalc/ExpressionTextView.cpp
211
if (value.CountChars() > 3 && stringWidth > viewWidth) {
src/apps/deskcalc/ExpressionTextView.cpp
221
exponent = value.CountChars() - decimalSeparatorWidth - firstDigit;
src/apps/deskcalc/ExpressionTextView.cpp
266
offset = value.CountChars() - 1;
src/apps/deskcalc/ExpressionTextView.cpp
270
offset = value.CountChars() - 1;
src/apps/deskcalc/ExpressionTextView.cpp
314
offset = value.CountChars();
src/apps/deskcalc/ExpressionTextView.cpp
329
offset = value.CountChars();
src/apps/firstbootprompt/BootPromptWindow.cpp
457
bool hasGlyphs[name.CountChars()];
src/apps/firstbootprompt/BootPromptWindow.cpp
458
font.GetHasGlyphs(name.String(), name.CountChars(), hasGlyphs);
src/apps/firstbootprompt/BootPromptWindow.cpp
459
for (int32 i = 0; i < name.CountChars(); ++i) {
src/apps/fontdemo/FontDemoView.cpp
399
const size_t size = string.CountChars();
src/apps/fontdemo/FontDemoView.cpp
78
const size_t size = fString.CountChars();
src/apps/haikudepot/textview/MarkupParser.cpp
136
int32 charCount = text.CountChars();
src/apps/haikudepot/textview/Paragraph.cpp
141
if (offset - span.CountChars() < 0)
src/apps/haikudepot/textview/Paragraph.cpp
143
offset -= span.CountChars();
src/apps/haikudepot/textview/Paragraph.cpp
164
span.Insert(span.CountChars(), newSpan.Text());
src/apps/haikudepot/textview/Paragraph.cpp
176
TextSpan spanAfter = span.SubSpan(offset, span.CountChars() - offset);
src/apps/haikudepot/textview/Paragraph.cpp
199
if (offset - span.CountChars() < 0)
src/apps/haikudepot/textview/Paragraph.cpp
201
offset -= span.CountChars();
src/apps/haikudepot/textview/Paragraph.cpp
210
int32 removeLength = std::min(span.CountChars() - offset, length);
src/apps/haikudepot/textview/Paragraph.cpp
217
int32 spanLength = fTextSpans[index].CountChars();
src/apps/haikudepot/textview/Paragraph.cpp
228
span.Insert(span.CountChars(), lastSpan.Text());
src/apps/haikudepot/textview/Paragraph.cpp
241
if (span.CountChars() > 0 || static_cast<int32>(fTextSpans.size()) == 1) {
src/apps/haikudepot/textview/Paragraph.cpp
281
length += span.CountChars();
src/apps/haikudepot/textview/Paragraph.cpp
300
int endLength = string.CountChars();
src/apps/haikudepot/textview/Paragraph.cpp
342
int32 spanLength = span.CountChars();
src/apps/haikudepot/textview/Paragraph.cpp
383
if (span.CountChars() == 0)
src/apps/haikudepot/textview/ParagraphLayout.cpp
793
int charCount = span.CountChars();
src/apps/haikudepot/textview/ParagraphLayout.cpp
871
spanEnd += span.CountChars();
src/apps/haikudepot/textview/ParagraphLayout.cpp
937
textOffset += span.CountChars();
src/apps/haikudepot/textview/TextDocument.cpp
138
if (document->Length() != text.CountChars())
src/apps/haikudepot/textview/TextDocument.cpp
180
if (textOffset - span.CountChars() < 0)
src/apps/haikudepot/textview/TextDocument.cpp
182
textOffset -= span.CountChars();
src/apps/haikudepot/textview/TextDocument.cpp
201
if (textOffset - span.CountChars() < 0)
src/apps/haikudepot/textview/TextDocument.cpp
203
textOffset -= span.CountChars();
src/apps/haikudepot/textview/TextDocument.cpp
222
if (textOffset - span.CountChars() < 0)
src/apps/haikudepot/textview/TextDocument.cpp
224
textOffset -= span.CountChars();
src/apps/haikudepot/textview/TextDocument.cpp
446
int32 length = text.CountChars();
src/apps/haikudepot/textview/TextDocument.cpp
559
int32 spanLength = span.CountChars();
src/apps/haikudepot/textview/TextDocument.cpp
670
textOffset += span.CountChars();
src/apps/haikudepot/textview/TextEditor.cpp
260
_SetCaretOffset(offset + string.CountChars(), true, false, true);
src/apps/haikudepot/textview/TextEditor.cpp
292
_SetCaretOffset(offset + string.CountChars(), true, false, true);
src/apps/haikudepot/textview/TextSpan.cpp
118
int32 charCount = fText.CountChars();
src/apps/haikudepot/textview/TextSpan.cpp
134
int32 charCount = fText.CountChars();
src/apps/haikudepot/textview/TextSpan.cpp
24
fCharCount(text.CountChars()),
src/apps/haikudepot/textview/TextSpan.cpp
79
fCharCount = fText.CountChars();
src/apps/haikudepot/textview/TextSpan.h
34
inline int32 CountChars() const
src/apps/haikudepot/ui/PackageInfoView.cpp
402
if (publisherName.CountChars() > 45) {
src/apps/haikudepot/util/ValidationUtils.cpp
50
for (int32 i = 0; i < string.CountChars(); i++) {
src/apps/haikudepot/util/ValidationUtils.cpp
64
for (int32 i = 0; i < string.CountChars(); i++) {
src/apps/haikudepot/util/ValidationUtils.cpp
78
for (int32 i = 0; i < string.CountChars(); i++) {
src/apps/haikudepot/util/ValidationUtils.cpp
91
&& value.CountChars() >= MIN_LENGTH_NICKNAME
src/apps/haikudepot/util/ValidationUtils.cpp
92
&& value.CountChars() <= MAX_LENGTH_NICKNAME;
src/apps/icon-o-matic/generic/gui/IconButton.cpp
154
if (fLabel.CountChars() > 0) {
src/apps/icon-o-matic/generic/gui/IconButton.cpp
272
if (fLabel.CountChars() > 0) {
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
297
int32 chars = str.CountChars();
src/apps/installer/UnzipEngine.cpp
316
line.CopyInto(itemPath, 13, line.CountChars() - 14);
src/apps/launchbox/LaunchButton.cpp
394
if (fDescription.CountChars() > 0) {
src/apps/launchbox/MainWindow.cpp
435
&& signature.CountChars() > 0) {
src/apps/mail/Content.cpp
2134
numberOfCharacters = BString(text).CountChars();
src/apps/mediaplayer/playlist/PlaylistFileReader.cpp
86
if (path.FindLast(".m3u") == path.CountChars() - 4
src/apps/mediaplayer/playlist/PlaylistFileReader.cpp
87
|| path.FindLast(".m3u8") == path.CountChars() - 5)
src/apps/mediaplayer/playlist/PlaylistFileReader.cpp
89
else if (path.FindLast(".pls") == path.CountChars() - 4)
src/apps/packageinstaller/PackageView.cpp
99
if (name.CountChars() == 0) {
src/apps/switcher/LaunchButton.cpp
348
if (fDescription.CountChars() > 0) {
src/apps/terminal/TermView.cpp
3034
const int32 numChars = BString(fInline->String()).CountChars();
src/apps/terminal/TermView.cpp
3152
const int32 &limit = string.CountChars();
src/apps/webpositive/BrowserWindow.cpp
2706
for (int32 i = 0; i < url.CountChars(); i++) {
src/bin/cddb_lookup/cddb_server.cpp
309
newCddbServer.CountChars() - pos + 1);
src/bin/cddb_lookup/cddb_server.cpp
310
if (portString.CountChars() > 0) {
src/bin/pkgman/PackageManager.cpp
239
if (leftStr.CountChars() + rightStr.CountChars() >= width)
src/bin/pkgman/PackageManager.cpp
243
leftStr.TruncateChars(width - rightStr.CountChars() - 2);
src/bin/pkgman/PackageManager.cpp
247
int extraSpace = width - leftStr.CountChars() - rightStr.CountChars();
src/kits/interface/Font.cpp
975
int32 numChars = resultArray[i].CountChars();
src/kits/interface/SeparatorView.cpp
175
} else if (fLabel.CountChars() > 0) {
src/kits/interface/SeparatorView.cpp
248
if (fLabel.CountChars() > 0) {
src/kits/interface/SeparatorView.cpp
273
} else if (fLabel.CountChars() > 0) {
src/kits/network/libnetservices/HttpRequest.cpp
886
if (statusLine.CountChars() < 12)
src/kits/network/libnetservices/HttpRequest.cpp
987
if (fOptUserAgent.CountChars() > 0)
src/kits/network/libnetservices/HttpRequest.cpp
990
if (fOptReferer.CountChars() > 0)
src/kits/support/String.cpp
1844
int32 charCount = CountChars();
src/kits/tracker/CountView.cpp
403
fFilterString.TruncateChars(fFilterString.CountChars() - 1);
src/kits/tracker/PoseView.cpp
10511
int32 length = fFilterStrings.LastItem()->CountChars();
src/kits/tracker/PoseView.cpp
6857
lastString->TruncateChars(lastString->CountChars() - 1);
src/kits/tracker/PoseView.cpp
6868
sMatchString.TruncateChars(sMatchString.CountChars() - 1);
src/preferences/backgrounds/BackgroundImage.cpp
570
int extra = fName.CountChars() - kMaxNameChars;
src/preferences/locale/LocaleWindow.cpp
112
int nameLength = name.CountChars();
src/preferences/mail/DNSQuery.cpp
237
diff = outString.CountChars() - 1 - lastDot;
src/preferences/sounds/SoundFilePanel.cpp
155
admitIt = (mask.Compare(type, mask.CountChars()) == 0);
src/servers/app/ServerFont.cpp
1175
int32 numChars = inOut->CountChars();
src/servers/app/decorator/Decorator.h
241
{ return tab->title.CountChars(); }
src/tests/kits/support/StringAccessTest.cpp
60
CPPUNIT_ASSERT_EQUAL(10, string.CountChars());
src/tests/kits/support/StringAccessTest.cpp
67
CPPUNIT_ASSERT_EQUAL(4, string2.CountChars());
src/tests/kits/support/StringAccessTest.cpp
77
CPPUNIT_ASSERT_EQUAL(2, string3.CountChars());
src/tests/kits/support/StringAccessTest.cpp
86
CPPUNIT_ASSERT_EQUAL(0, empty.CountChars());
src/tests/kits/support/StringAccessTest.cpp
93
CPPUNIT_ASSERT_EQUAL(31, invalid.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
103
CPPUNIT_ASSERT_EQUAL(3, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
112
CPPUNIT_ASSERT_EQUAL(5, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
121
CPPUNIT_ASSERT_EQUAL(8, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
36
CPPUNIT_ASSERT_EQUAL(5, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
45
CPPUNIT_ASSERT_EQUAL(5, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
55
CPPUNIT_ASSERT_EQUAL(4, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
58
CPPUNIT_ASSERT_EQUAL(1, ellipsis.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
67
CPPUNIT_ASSERT_EQUAL(1, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
76
CPPUNIT_ASSERT_EQUAL(5, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
85
CPPUNIT_ASSERT_EQUAL(4, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
94
CPPUNIT_ASSERT_EQUAL(6, string.CountChars());
src/tests/servers/app/text_rendering/renderer.cpp
95
int len = kText.CountChars();