Searched refs:text (Results 1 - 25 of 543) sorted by last modified time

1234567891011>>

/haiku/src/apps/charactermap/
H A DCharacterView.cpp172 CharacterView::UnicodeToUTF8(uint32 c, char* text, size_t textSize) argument
176 text[0] = '\0';
180 char* s = text;
203 CharacterView::UnicodeToUTF8Hex(uint32 c, char* text, size_t textSize) argument
206 snprintf(text, textSize, "\\x00");
215 size += snprintf(text + size, textSize - size, "\\x%02x",
236 char text[17]; local
238 UnicodeToUTF8Hex(character, text, sizeof(text));
240 UnicodeToUTF8(character, text, sizeo
297 PreviewItem(const char* text, float width, float height) argument
369 char text[16]; local
474 char text[17]; local
785 _CopyToClipboard(const char* text) argument
[all...]
/haiku/src/preferences/screen/
H A DScreenWindow.cpp1347 char text[512]; local
1348 snprintf(text, sizeof(text), "%s%s%s %g\"", info.vendor,
1351 fScreenBox->SetLabel(text);
1375 char text[512]; local
1377 text[0] = 0;
1383 length = snprintf(text, sizeof(text),
1393 if (info.serial_number[0] && length < sizeof(text)) {
1395 text[lengt
[all...]
H A DMonitorView.cpp110 char text[64]; local
111 snprintf(text, sizeof(text), B_TRANSLATE("%ld dpi"), (long int)fDPI);
113 float width = StringWidth(text);
120 DrawString(text, BPoint(innerRect.left + (innerRect.Width() - width) / 2,
/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp548 const char* text = textView->Text(); local
550 if (fFullValueText == text) {
566 // update text and width in this widget
567 fFullValueText = text;
1146 // false, even if the attribute text hasn't changed
1342 // the value text
1531 const char* text = textView->Text(); local
1533 if (fFullValueText == text)
1540 // update text and width in this widget
1541 fFullValueText = text;
[all...]
H A DFSUtils.cpp832 BString text; local
834 text = B_TRANSLATE("The entered folder name is too long.");
836 text = B_TRANSLATE("The entered file name is too long.");
838 BAlert* alert = new BAlert("", text, B_TRANSLATE("OK"),
861 BString text(B_TRANSLATE("An item named '%filename%' already exists."));
862 text.ReplaceFirst("%filename%", name);
864 BAlert* alert = new BAlert("", text, B_TRANSLATE("OK"),
H A DFilePanelPriv.cpp592 = dynamic_cast<BTextControl*>(FindView("text view"));
608 // the text field, do not alter focus
748 // add file name text view
754 fTextControl = new BTextControl(rect, "text view",
755 B_TRANSLATE("save text"), "", NULL,
863 // Focus on text control initially, but do not alter focus afterwords
1164 TFilePanel::SetButtonLabel(file_panel_button selector, const char* text) argument
1175 button->SetLabel(text);
1176 float delta = old_width - button->StringWidth(text);
1186 fButtonText = text;
1211 SetSaveText(const char* text) argument
1552 ShowCenteredAlert(const char* text, const char* button1, const char* button2, const char* button3) argument
[all...]
H A DTextWidget.cpp340 // find the text editing view
372 // find the text editing view
380 // subtract out selected text region width
389 // add pasted text width
393 const char* text = NULL; local
396 if (clip->FindData("text/plain", B_MIME_TYPE,
397 (const void**)&text, &length) == B_OK) {
398 textWidth += textView->StringWidth(text);
405 // check if pasted text is too wide
411 // resize text vie
603 BTextView* text = dynamic_cast<BTextView*>( local
[all...]
/haiku/src/apps/softwareupdater/
H A DUpdateManager.cpp145 UpdateManager::FinalUpdate(const char* header, const char* text) argument
147 _FinalUpdate(header, text);
225 BString text("SoftwareUpdater:\n");
226 text.Append(buffer);
227 BAlert* alert = new BAlert("warning", text, B_TRANSLATE("OK"), NULL,
551 UpdateManager::_FinalUpdate(const char* header, const char* text) argument
557 notification.SetContent(text);
561 fStatusWindow->FinalUpdate(header, text);
/haiku/src/apps/mediaplayer/
H A DController.cpp76 HandleError(const char *text, status_t err) argument
79 printf("%s. error 0x%08x (%s)\n",text, (int)err, strerror(err));
581 fVideoView->SetSubTitle(subTitle->text.String());
1305 fVideoView->SetSubTitle(subTitle->text.String());
/haiku/src/apps/installer/
H A DInstallerWindow.cpp199 // In the status view, make sure that we can display 5 lines of text of ~28 characters each
206 // Create a group view with a white background since the logo and status text won't have the
904 InstallerWindow::_SetStatusMessage(const char *text) argument
906 fStatusView->SetText(text);
908 // In case the status message makes the text view higher than the
/haiku/src/apps/activitymonitor/
H A DDataSource.cpp148 DataSource::Print(BString& text, int64 value) const argument
150 text = "";
151 fNumberFormat.Format(text, (int32)value);
294 MemoryDataSource::Print(BString& text, int64 value) const argument
298 text = buffer;
851 CPUFrequencyDataSource::Print(BString& text, int64 value) const argument
855 text.SetToFormat("%s MHz", printedFrequency.String());
999 CPUUsageDataSource::Print(BString& text, int64 value) const argument
1001 text = "";
1003 fNumberFormat.FormatPercent(text, valu
1143 Print(BString& text, int64 value) const argument
1258 Print(BString& text, int64 value) const argument
1366 Print(BString& text, int64 value) const argument
1443 ClipboardSizeDataSource(bool text) argument
[all...]
H A DDataSource.h40 virtual void Print(BString& text, int64 value) const;
75 virtual void Print(BString& text, int64 value) const;
219 virtual void Print(BString& text, int64 value) const;
251 virtual void Print(BString& text, int64 value) const;
277 virtual void Print(BString& text, int64 value) const;
307 virtual void Print(BString& text, int64 value) const;
332 virtual void Print(BString& text, int64 value) const;
352 ClipboardSizeDataSource(bool text);
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp318 const char* text,
323 const char* text, const char* url = NULL);
922 // set text color to black or white depending on desktop background color
964 SysInfoView::_CreateLabel(const char* name, const char* text) argument
966 BStringView* label = new BStringView(name, text);
983 SysInfoView::_CreateSubtext(const char* name, const char* text) argument
985 BStringView* subtext = new BStringView(name, text);
1393 AboutView::AddCopyrightEntry(const char* name, const char* text, argument
1396 AddCopyrightEntry(name, text, StringVector(), StringVector(), url);
1401 AboutView::AddCopyrightEntry(const char* name, const char* text, argument
1590 BString text; local
2216 BString text; local
[all...]
/haiku/src/preferences/appearance/
H A DAPRView.cpp252 const char* text = B_TRANSLATE_NOCOLLECT(description.text); local
253 fAttrList->AddItem(new ColorWhichItem(text, which, ui_color(which)));
/haiku/src/apps/showimage/
H A DShowImageWindow.cpp336 BString text; local
338 text.Truncate(0);
339 format.Format(text, 0, kDelays[i] * 1000000LL);
341 _AddDelayItem(delayMenu, text.String(), kDelays[i] * 1000000LL);
H A DShowImageStatusView.cpp144 ShowImageStatusView::Update(const entry_ref& ref, const BString& text, argument
149 _SetFrameText(text);
169 ShowImageStatusView::_SetFrameText(const BString& text) argument
171 fCellText[kFrameSizeCell] = text;
/haiku/src/kits/package/
H A DPackageInfoParser.h134 BString text; member in struct:BPackageKit::BPackageInfo::Parser::Token
138 const char* text = NULL)
143 if (text != NULL)
144 this->text = text;
146 this->text.SetTo(pos, length);
/haiku/src/system/runtime_loader/
H A Delf.cpp659 elf_region_t& text = callerImage->regions[0]; local
660 if ((addr_t)caller >= text.vmstart
661 && (addr_t)caller < text.vmstart + text.vmsize) {
1016 elf_region_t& text = callerImage->regions[0]; local
1017 if ((addr_t)caller >= text.vmstart
1018 && (addr_t)caller < text.vmstart + text.vmsize) {
/haiku/src/apps/text_search/
H A DGrepWindow.cpp453 B_TRANSLATE("Copy text to clipboard"), new BMessage(MSG_COPY_TEXT), 'B');
755 // the grepping, the text control's text will be replaced
1014 message->GetInfo("text", &type, &count);
1033 while (message->FindString("text", --count, &buf) == B_OK) {
1244 if (message->FindString("text", &buf) == B_OK)
1253 BString text; local
1254 text << B_TRANSLATE("Please select the files you wish to keep searching.");
1255 text << "\n";
1256 text << B_TRANSLAT
[all...]
/haiku/src/apps/terminal/
H A DTermViewStates.cpp666 // When releasing the first mouse button, we copy the selected text to the
823 BString text; local
827 text.Truncate(0);
828 textBuffer->GetStringFromRegion(text, _start, _end);
829 text.Trim();
832 int32 colonIndex = text.FindFirst(':');
834 BString protocol(text, colonIndex);
836 _link = HyperLink(text, HyperLink::TYPE_URL);
865 text.Truncate(0);
866 textBuffer->GetStringFromRegion(text, _star
[all...]
/haiku/src/apps/haikudepot/model/
H A DModel.cpp170 bool _TextContains(BString text, const BString& string) const argument
172 text.ToLower();
173 int32 index = text.FindFirst(string);
/haiku/src/system/kernel/arch/arm64/
H A Darch_asm.S10 .text
/haiku/src/apps/haikudepot/util/
H A DAppUtils.cpp26 AppUtils::NotifySimpleError(const char* title, const char* text, argument
34 if (text != NULL && strlen(text) != 0)
35 message.AddString(KEY_ALERT_TEXT, text);
H A DAppUtils.h17 const char* text,
/haiku/src/apps/haikudepot/server/
H A DWebAppInterface.cpp83 BUrlProtocolDebugMessage type, const char* text)
85 HDTRACE("post-json: %s", text);
442 minimum age) and in the second call, the text of the conditions is returned.
82 DebugMessage(BUrlRequest* caller, BUrlProtocolDebugMessage type, const char* text) argument

Completed in 140 milliseconds

1234567891011>>