Searched refs:textLength (Results 1 - 12 of 12) sorted by relevance

/haiku/src/kits/translation/
H A DTranslationUtils.cpp476 int32 textLength = fromView->TextLength();
477 if (textLength < 0)
484 text_run_array *runArray = fromView->RunArray(0, textLength,
532 txt_header.header.data_size = textLength;
550 stl_header.apply_length = textLength;
573 amountWritten = intoStream->Write(pTextData, textLength);
574 if (amountWritten != textLength)
624 int32 textLength = view->TextLength();
625 if (textLength < 0)
629 if (text == NULL && textLength !
[all...]
/haiku/src/kits/interface/textview_support/
H A DUndoBuffer.h62 const char* text, int32 textLength,
93 char const* text, int32 textLength,
/haiku/src/bin/
H A Dclipboard.cpp319 ssize_t textLength; local
321 &textLength);
323 if (textBuffer != NULL && textLength > 0) {
324 BString textString(textBuffer, textLength);
/haiku/src/apps/diskprobe/
H A DFindWindow.cpp72 status_t _GetDataFromHex(const char* text, size_t textLength,
111 int32 textLength = TextLength(); local
112 char* insert = (char*)malloc(textLength * 2);
118 for (int32 i = 0; i < textLength; i++) {
137 DeleteText(0, textLength);
373 FindTextView::_GetDataFromHex(const char* text, size_t textLength, uint8** _data, argument
376 uint8* data = (uint8*)malloc(textLength);
383 for (uint32 i = 0; i < textLength; i++) {
/haiku/src/kits/interface/
H A DAboutWindow.cpp573 int32 textLength = infoView->TextLength(); local
576 if (textLength > 0) {
578 textLength += 2;
596 infoView->SetFontAndColor(textLength, textLength + strlen(header),
H A DTextView.cpp1607 const int32 textLength = fText->Length(); local
1613 endOffset = textLength;
1618 else if (startOffset > textLength)
1619 startOffset = textLength;
1623 else if (endOffset > textLength)
1624 endOffset = textLength;
1829 const int32 textLength = fText->Length(); local
1833 return textLength;
1849 return textLength;
1896 if (offset != textLength
2449 const int32 textLength = fText->Length(); local
3867 int32 textLength = fText->Length(); local
4377 const int32 textLength = fText->Length(); local
[all...]
/haiku/src/apps/haikudepot/textview/
H A DTextDocument.cpp255 int32 textLength = 0; local
261 textLength += paragraphLength;
262 if (textLength > textOffset
263 || (i == count - 1 && textLength == textOffset)) {
312 int32 textLength = 0; local
316 textLength += paragraph.Length();
318 return textLength;
H A DTextEditor.cpp426 int32 textLength = fDocument->Length(); local
427 if (offset > textLength)
428 offset = textLength;
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp206 ssize_t textLength; local
211 B_MIME_TYPE, (const void **)&text, &textLength) == B_OK) {
217 BString str(text, textLength);
/haiku/src/apps/mail/
H A DContent.cpp2031 int32 textLength = TextLength();
2094 SetFontAndColor(0, textLength, &fFont);
2096 SetFontAndColor(0, textLength, be_fixed_font);
2106 char *content = (char *)malloc(textLength + numLines * 72);
2193 SetFontAndColor(0, textLength, &fFont);
2867 int32 start, end, textLength;
2869 textLength = TextLength();
2876 for (end = offset + length; end < textLength
3024 int32 textLength = TextLength();
3033 CheckSpelling(0, textLength);
[all...]
/haiku/src/apps/bootmanager/
H A DLegacyBootMenu.cpp588 int32 textLength = strlen(text); local
590 int32 biosTextLength = textLength;
598 if (convert_from_utf8(B_MS_DOS_CONVERSION, text, &textLength,
/haiku/src/kits/tracker/
H A DPoseView.cpp4759 ssize_t textLength; local
4762 (const void**)&text, &textLength) != B_OK) {
4776 || file.Write(text, (size_t)textLength) < 0
4777 || file.SetSize(textLength) != B_OK) {

Completed in 122 milliseconds