Searched refs:charLen (Results 1 - 5 of 5) sorted by relevance

/haiku-fatelf/src/kits/interface/textview_support/
H A DWidthBuffer.cpp52 \param charLen the length of the character to examine.
56 CharToCode(const char* text, const int32 charLen) argument
60 for (int32 c = 0; c < charLen; c++) {
115 for (int32 charLen = 0; length > 0;
116 sourceText += charLen, length -= charLen) {
117 charLen = UTF8NextCharLen(sourceText, length);
120 if (charLen <= 0)
124 const uint32 value = CharToCode(sourceText, charLen);
134 textLen += charLen;
305 const int32 charLen = UTF8NextCharLen(text); local
[all...]
H A DUndoBuffer.cpp335 int32 charLen = UTF8PreviousCharLen(text + start, text); local
344 char* buffer = (char*)malloc(fTextLength + charLen);
345 memcpy(buffer + charLen, fTextData, fTextLength);
347 fTypedStart = start - charLen;
349 for (int32 x = 0; x < charLen; x++)
354 fTextLength += charLen;
355 fTypedEnd -= charLen;
367 int32 charLen = UTF8NextCharLen(fTextView->Text() + start); local
374 fTextLength = charLen;
378 for (int32 x = 0; x < charLen;
[all...]
H A DTextGapBuffer.cpp168 uint32 charLen = UTF8CountBytes(B_UTF8_BULLET, 1); local
169 uint32 newSize = numChars * charLen;
179 memcpy(scratchPtr, B_UTF8_BULLET, charLen);
180 scratchPtr += charLen;
/haiku-fatelf/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp291 int charLen; local
292 for (charLen = 1; str.ByteAt(i + charLen) & 0x80; charLen++);
320 charWidth = font.StringWidth(str.String() + i, charLen);
321 //printf("StringWidth( %d) = %f\n", charLen, charWidth);
322 BString glyphName(str.String() + i, charLen);
/haiku-fatelf/src/apps/terminal/
H A DBasicTerminalBuffer.cpp497 int32 charLen = UTF8Char::ByteCount(*_pattern); local
498 if (charLen > 0) {
499 pattern[patternLen].SetTo(_pattern, charLen);
502 if (!caseSensitive && charLen == 1)
506 _pattern += charLen;

Completed in 95 milliseconds