/haiku/src/tests/kits/support/bstring/ |
H A D | StringAccessTest.cpp | 22 // CountChars(), Length(), String() 25 CPPUNIT_ASSERT(string.CountChars() == 10); 30 CPPUNIT_ASSERT(string2.CountChars() == 4); 38 CPPUNIT_ASSERT(string3.CountChars() == 2); 46 CPPUNIT_ASSERT(empty.CountChars() == 0); 53 CPPUNIT_ASSERT(invalid.CountChars() == 31);
|
/haiku/src/apps/haikudepot/util/ |
H A D | ValidationUtils.cpp | 49 for (int32 i = 0; i < string.CountChars(); i++) { 63 for (int32 i = 0; i < string.CountChars(); i++) { 77 for (int32 i = 0; i < string.CountChars(); i++) { 90 && value.CountChars() >= MIN_LENGTH_NICKNAME 91 && value.CountChars() <= MAX_LENGTH_NICKNAME;
|
/haiku/src/apps/haikudepot/textview/ |
H A D | Paragraph.cpp | 140 if (offset - span.CountChars() < 0) 142 offset -= span.CountChars(); 163 span.Insert(span.CountChars(), newSpan.Text()); 175 TextSpan spanAfter = span.SubSpan(offset, span.CountChars() - offset); 198 if (offset - span.CountChars() < 0) 200 offset -= span.CountChars(); 209 int32 removeLength = std::min(span.CountChars() - offset, length); 216 int32 spanLength = fTextSpans[index].CountChars(); 227 span.Insert(span.CountChars(), lastSpan.Text()); 240 if (span.CountChars() > [all...] |
H A D | TextSpan.cpp | 23 fCharCount(text.CountChars()), 78 fCharCount = fText.CountChars(); 117 int32 charCount = fText.CountChars(); 133 int32 charCount = fText.CountChars();
|
H A D | TextSpan.h | 34 inline int32 CountChars() const function in class:TextSpan
|
H A D | TextDocument.cpp | 133 if (!document.IsSet() || document->Length() != text.CountChars()) 174 if (textOffset - span.CountChars() < 0) 176 textOffset -= span.CountChars(); 195 if (textOffset - span.CountChars() < 0) 197 textOffset -= span.CountChars(); 216 if (textOffset - span.CountChars() < 0) 218 textOffset -= span.CountChars(); 440 int32 length = text.CountChars(); 553 int32 spanLength = span.CountChars(); 664 textOffset += span.CountChars(); [all...] |
H A D | MarkupParser.cpp | 135 int32 charCount = text.CountChars();
|
H A D | TextEditor.cpp | 259 _SetCaretOffset(offset + string.CountChars(), true, false, true); 291 _SetCaretOffset(offset + string.CountChars(), true, false, true);
|
/haiku/src/tests/kits/support/ |
H A D | string_utf8_tests.cpp | 12 printf("got: \"%s\" %lu %ld\n", string.String(), string.Length(), string.CountChars()); 18 if (chars != string.CountChars()) {
|
/haiku/src/apps/deskcalc/ |
H A D | ExpressionTextView.cpp | 145 if (fHistoryPos == count && fCurrentValue.CountChars() > 0) { 206 uint decimalSeparatorWidth = decimalSeparator.CountChars(); 211 if (value.CountChars() > 3 && stringWidth > viewWidth) { 221 exponent = value.CountChars() - decimalSeparatorWidth - firstDigit; 266 offset = value.CountChars() - 1; 270 offset = value.CountChars() - 1; 314 offset = value.CountChars(); 329 offset = value.CountChars();
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | PlaylistFileReader.cpp | 86 if (path.FindLast(".m3u") == path.CountChars() - 4 87 || path.FindLast(".m3u8") == path.CountChars() - 5) 89 else if (path.FindLast(".pls") == path.CountChars() - 4)
|
/haiku/src/apps/cortex/InfoView/ |
H A D | InfoView.cpp | 460 numChars[i] = line->CountChars(); 476 while (currentLine && (currentLine->CountChars() > 0)) 479 for (int32 i = 0; i < currentLine->CountChars(); i++) 489 currentLine->CountChars() - i); 497 if (i == currentLine->CountChars() - 1) // the last char in the text 515 currentLine->CountChars() - lastBreak); 539 if (line->CountChars() != numChars[i])
|
/haiku/src/bin/pkgman/ |
H A D | PackageManager.cpp | 238 if (leftStr.CountChars() + rightStr.CountChars() >= width) 242 leftStr.TruncateChars(width - rightStr.CountChars() - 2); 246 int extraSpace = width - leftStr.CountChars() - rightStr.CountChars();
|
/haiku/src/kits/shared/ |
H A D | TextTable.cpp | 71 int32 textWidth = text.CountChars(); 79 int32 textWidth = text.CountChars();
|
/haiku/src/apps/fontdemo/ |
H A D | FontDemoView.cpp | 76 const size_t size = fString.CountChars(); 400 const size_t size = string.CountChars();
|
/haiku/src/kits/interface/ |
H A D | SeparatorView.cpp | 175 } else if (fLabel.CountChars() > 0) { 248 if (fLabel.CountChars() > 0) { 273 } else if (fLabel.CountChars() > 0) {
|
/haiku/src/apps/firstbootprompt/ |
H A D | BootPromptWindow.cpp | 457 bool hasGlyphs[name.CountChars()]; 458 font.GetHasGlyphs(name.String(), name.CountChars(), hasGlyphs); 459 for (int32 i = 0; i < name.CountChars(); ++i) {
|
/haiku/src/add-ons/disk_systems/gpt/ |
H A D | GPTPartitionHandle.cpp | 174 size_t length = name->CountChars();
|
/haiku/src/bin/cddb_lookup/ |
H A D | cddb_server.cpp | 309 newCddbServer.CountChars() - pos + 1); 310 if (portString.CountChars() > 0) {
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | StatusView.cpp | 215 if (details.CountChars() > 0) { 385 if (truncated || details.CountChars() > 0) { 387 if (details.CountChars() > 0) {
|
/haiku/src/apps/installer/ |
H A D | UnzipEngine.cpp | 316 line.CopyInto(itemPath, 13, line.CountChars() - 14);
|
/haiku/src/kits/tracker/ |
H A D | CountView.cpp | 360 fFilterString.TruncateChars(fFilterString.CountChars() - 1);
|
/haiku/src/apps/switcher/ |
H A D | LaunchButton.cpp | 348 if (fDescription.CountChars() > 0) {
|
/haiku/src/servers/app/decorator/ |
H A D | Decorator.h | 241 { return tab->title.CountChars(); }
|
/haiku/src/kits/network/libnetservices/ |
H A D | HttpRequest.cpp | 886 if (statusLine.CountChars() < 12) 987 if (fOptUserAgent.CountChars() > 0) 990 if (fOptReferer.CountChars() > 0)
|