Searched refs:errorString (Results 1 - 21 of 21) sorted by relevance

/haiku/src/preferences/time/
H A Dntp.h13 const char** errorString, int32* errorCode);
H A DTime.cpp107 const char* errorString = NULL; local
109 if (update_time(settings, &errorString, &errorCode) == B_OK) {
114 errorString, strerror(errorCode));
117 errorString);
H A Dntp.cpp116 ntp_update_time(const char* hostname, const char** errorString, argument
125 *errorString = B_TRANSLATE("Could not resolve server address");
146 *errorString = B_TRANSLATE("Could not create socket");
161 *errorString = B_TRANSLATE("Sending request failed");
181 *errorString = B_TRANSLATE("Waiting for answer failed");
192 *errorString = B_TRANSLATE("Message receiving failed");
201 *errorString = B_TRANSLATE("Received invalid time");
H A DNetworkTimeView.cpp404 const char* errorString; local
405 message->FindString("error string", &errorString);
413 errorString, strerror(errorCode));
418 errorString);
590 const char* errorString = NULL; local
593 &errorString, &errorCode);
597 result.AddString("error string", errorString);
622 update_time(const Settings& settings, const char** errorString, argument
631 status = ntp_update_time(server, errorString, errorCode);
642 status = ntp_update_time(server, errorString, errorCod
[all...]
H A DNetworkTimeView.h116 update_time(const Settings& settings, const char** errorString,
/haiku/src/bin/desklink/
H A DMixerControl.cpp53 const char* errorString = NULL; local
127 errorString = volumeWhich ? "Could not find the soundcard"
130 errorString = volumeWhich ? "Soundcard control unknown"
148 errorString = "No parameter web";
152 errorString = volumeWhich ? "No Audio output" : "No Mixer";
155 errorString = "Media services not running";
162 if (errorString) {
163 fprintf(stderr, "MixerControl: %s.\n", errorString);
165 *_error = errorString;
170 return errorString
[all...]
H A DVolumeControl.cpp397 const char* errorString = NULL; local
399 fMixerControl->Connect(fMixerControl->VolumeWhich(), &volume, &errorString);
401 if (errorString != NULL) {
402 SetLabel(errorString);
416 SetEnabled(errorString == NULL);
H A DMediaReplicant.cpp633 const char* errorString = NULL;
635 fMixerControl->Connect(fVolumeWhich, &volume, &errorString);
637 if (errorString != NULL) {
638 SetToolTip(errorString);
/haiku/src/apps/haikudepot/packagemanagement/
H A DUninstallPackageProcess.cpp81 BString errorString;
82 errorString.SetToFormat(
86 AppUtils::NotifySimpleError(B_TRANSLATE("Fatal error"), errorString,
H A DInstallPackageProcess.cpp157 BString errorString;
158 errorString.SetToFormat(
162 AppUtils::NotifySimpleError(B_TRANSLATE("Fatal error"), errorString,
/haiku/src/bin/mail_utils/
H A Dmail2mbox.cpp237 char errorString[2048]; local
238 snprintf(errorString, sizeof(errorString),
240 DisplayErrorMessage(errorString, errno);
/haiku/src/preferences/locale/
H A DFormatSettingsView.cpp382 BString errorString = B_TRANSLATE("ERROR"); local
413 fPositiveNumberExampleView->SetText(errorString);
419 fNegativeNumberExampleView->SetText(errorString);
425 fPositiveMonetaryExampleView->SetText(errorString);
431 fNegativeMonetaryExampleView->SetText(errorString);
/haiku/src/apps/webpositive/
H A DDownloadWindow.cpp271 BString errorString(B_TRANSLATE_COMMENT("The downloads folder could "
274 errorString.ReplaceFirst("%error", strerror(status));
276 "folder"), errorString.String(), B_TRANSLATE("OK"));
/haiku/src/kits/package/hpkg/v1/
H A DPackageReaderImplV1.cpp472 if (const char* errorString = CheckCompression(
475 "attributes section: %s\n", errorString);
486 if (const char* errorString = CheckCompression(fTOCSection)) {
488 "%s\n", errorString);
/haiku/src/apps/mediaconverter/
H A DMediaConverterWindow.cpp481 BString errorString(B_TRANSLATE("Error launching: %strError%"));
482 errorString.ReplaceFirst("%strError%", strerror(status));
484 errorString.String(), B_TRANSLATE("OK"));
1037 BString errorString(B_TRANSLATE("Error writing to location: %strPath%."
1039 errorString.ReplaceFirst("%strPath%", path.Path());
1041 errorString.String(), B_TRANSLATE("OK"));
/haiku/src/kits/tracker/
H A DOpenWithWindow.cpp711 BString errorString(
713 errorString.ReplaceFirst("%appname", pose->TargetModel()->Name());
715 BAlert* alert = new BAlert("", errorString.String(), B_TRANSLATE("OK"),
H A DFSUtils.cpp1919 BString errorString(B_TRANSLATE("Error moving \"%name\""));
1920 errorString.ReplaceFirst("%name", ref.name);
1921 BAlert* alert = new BAlert("", errorString.String(), B_TRANSLATE("OK"),
/haiku/src/apps/codycam/
H A DFtpClient.cpp262 catch(const char* errorString)
/haiku/src/apps/drivesetup/
H A DMainWindow.cpp832 const char* errorString local
835 errorString, strerror(error));
/haiku/src/apps/mail/
H A DMailWindow.cpp2811 char errorString[1500]; local
2812 snprintf(errorString, sizeof(errorString), "Unable to train the message "
2815 BAlert* alert = new BAlert("", errorString, B_TRANSLATE("OK"));
/haiku/src/servers/app/
H A DServerWindow.cpp4356 char errorString[256]; local
4357 snprintf(errorString, sizeof(errorString),
4360 syslog(LOG_ERR, errorString);

Completed in 297 milliseconds