Searched refs:charLen (Results 1 - 5 of 5) sorted by relevance
/haiku/src/kits/interface/textview_support/ |
H A D | WidthBuffer.cpp | 52 \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 D | UndoBuffer.cpp | 334 int32 charLen = UTF8PreviousCharLen(text + start, text); local 343 char* buffer = (char*)malloc(fTextLength + charLen); 344 memcpy(buffer + charLen, fTextData, fTextLength); 346 fTypedStart = start - charLen; 348 for (int32 x = 0; x < charLen; x++) 353 fTextLength += charLen; 354 fTypedEnd -= charLen; 366 int32 charLen = UTF8NextCharLen(fTextView->Text() + start); local 373 fTextLength = charLen; 377 for (int32 x = 0; x < charLen; [all...] |
H A D | TextGapBuffer.cpp | 170 uint32 charLen = UTF8CountBytes(B_UTF8_BULLET, 1); 171 uint32 newSize = numChars * charLen; 181 memcpy(scratchPtr, B_UTF8_BULLET, charLen); 182 scratchPtr += charLen;
|
/haiku/src/apps/icon-o-matic/import_export/styled_text/ |
H A D | StyledTextImporter.cpp | 309 int charLen; local 310 for (charLen = 1; str.ByteAt(i + charLen) & 0x80; charLen++); 338 charWidth = font.StringWidth(str.String() + i, charLen); 339 //printf("StringWidth( %d) = %f\n", charLen, charWidth); 340 BString glyphName(str.String() + i, charLen);
|
/haiku/src/apps/terminal/ |
H A D | BasicTerminalBuffer.cpp | 550 int32 charLen = UTF8Char::ByteCount(*_pattern); local 551 if (charLen > 0) { 552 pattern[patternLen].SetTo(_pattern, charLen); 555 if (!caseSensitive && charLen == 1) 559 _pattern += charLen;
|
Completed in 52 milliseconds