Searched refs:archive (Results 1 - 25 of 315) sorted by relevance

1234567891011>>

/haiku/src/tests/kits/support/barchivable/
H A DLocalTestObject.cpp26 TIOTest::TIOTest(BMessage *archive) argument
28 data = archive->FindInt32("TIOTest::data");
31 status_t TIOTest::Archive(BMessage *archive, bool deep) argument
33 status_t err = archive->AddString("class", "TIOTest");
35 err = archive->AddInt32("TIOTest::data", data);
40 TIOTest* TIOTest::Instantiate(BMessage *archive) argument
42 if (validate_instantiation(archive, "TIOTest"))
43 return new TIOTest(archive);
H A DLocalTestObject.h30 TIOTest(BMessage* archive);
31 status_t Archive(BMessage* archive, bool deep = true);
32 static TIOTest* Instantiate(BMessage* archive);
/haiku/src/tests/kits/support/barchivable/remoteobjectdef/
H A DRemoteTestObject.cpp28 TRemoteTestObject::TRemoteTestObject(BMessage *archive) argument
30 data = archive->FindInt32("TRemoteTestObject::data");
33 status_t TRemoteTestObject::Archive(BMessage *archive, bool deep) argument
35 status_t err = archive->AddString("class", "TRemoteTestObject");
38 err = archive->AddInt32("TRemoteTestObject::data", data);
43 TRemoteTestObject* TRemoteTestObject::Instantiate(BMessage *archive) argument
45 if (validate_instantiation(archive, "TRemoteTestObject"))
46 return new TRemoteTestObject(archive);
H A DRemoteTestObject.h31 TRemoteTestObject(BMessage* archive);
32 status_t Archive(BMessage* archive, bool deep = true);
33 static TRemoteTestObject* Instantiate(BMessage* archive);
/haiku/build/scripts/
H A Dbuild_archive5 echo "Usage: $0 <archive> <scripts> ..."
8 # get the archive name
9 archive=$1
24 outputDir=$tmpDir/archive
56 echo "Preparing contents of archive $archive ..."
62 # get an absolute path for the archive
64 cd $(dirname $archive)
65 archive=$(pwd)/$(basename $archive)
[all...]
/haiku/src/kits/network/libnetapi/
H A DUrlResult.cpp22 BUrlResult::BUrlResult(BMessage* archive) argument
24 BArchivable(archive)
26 fContentType = archive->FindString("ContentType");
27 fLength = archive->FindInt32("Length");
37 BUrlResult::Archive(BMessage* archive, bool deep) const argument
39 status_t result = BArchivable::Archive(archive, deep);
44 archive->AddString("ContentType", fContentType);
45 archive->AddInt32("Length", fLength);
80 BUrlResult::Instantiate(BMessage* archive) argument
82 if (!validate_instantiation(archive, "BUrlResul
[all...]
H A DHttpResult.cpp27 BHttpResult::BHttpResult(BMessage* archive) argument
29 BUrlResult(archive),
30 fUrl(archive->FindString("http:url")),
32 fStatusCode(archive->FindInt32("http:statusCode"))
34 fStatusString = archive->FindString("http:statusString");
37 archive->FindMessage("http:headers", &headers);
163 BHttpResult::Instantiate(BMessage* archive) argument
165 if (!validate_instantiation(archive, "BHttpResult"))
168 return new BHttpResult(archive);
/haiku/src/apps/deskcalc/
H A DCalcOptions.cpp32 CalcOptions::LoadSettings(const BMessage* archive) argument
37 if (archive->FindBool("auto num lock", &option) == B_OK)
40 if (archive->FindBool("audio feedback", &option) == B_OK)
43 if (archive->FindBool("degree mode", &option) == B_OK)
46 if (archive->FindUInt8("keypad mode", &keypad_mode_option) == B_OK)
52 CalcOptions::SaveSettings(BMessage* archive) const
54 status_t ret = archive->AddBool("auto num lock", auto_num_lock);
57 ret = archive->AddBool("audio feedback", audio_feedback);
60 ret = archive->AddBool("degree mode", degree_mode);
63 ret = archive
[all...]
H A DCalcOptions.h34 void LoadSettings(const BMessage* archive);
35 status_t SaveSettings(BMessage* archive) const;
/haiku/src/kits/debugger/util/
H A DArchivingUtils.cpp19 BMessage archive;
20 status_t error = object->Archive(&archive, true);
24 return parentArchive.AddMessage(fieldName, &archive);
32 BMessage archive; local
33 if (parentArchive.FindMessage(fieldName, index, &archive) != B_OK)
36 return instantiate_object(&archive);
H A DArchivingUtils.h18 static ObjectType* Unarchive(const BMessage& archive);
27 static ObjectType* UnarchiveChild(const BMessage& archive,
49 ArchivingUtils::Unarchive(const BMessage& archive) argument
52 const_cast<BMessage*>(&archive)));
58 ArchivingUtils::UnarchiveChild(const BMessage& archive, const char* fieldName, argument
61 return CastOrDelete<ObjectType>(UnarchiveChild(archive, fieldName, index));
/haiku/headers/private/binary_compatibility/
H A DSupport.h13 const BMessage* archive; member in struct:perform_data_all_unarchived
19 BMessage* archive; member in struct:perform_data_all_archived
/haiku/src/apps/cortex/Persistence/
H A DIStateArchivable.h54 const BMessage* archive) =0;
57 BMessage* archive) const =0;
/haiku/src/kits/debugger/ids/
H A DFunctionID.cpp19 FunctionID::FunctionID(const BMessage& archive) argument
21 BArchivable(const_cast<BMessage*>(&archive))
23 archive.FindString("FunctionID::path", &fPath);
24 archive.FindString("FunctionID::functionName", &fFunctionName);
42 FunctionID::Archive(BMessage* archive, bool deep) const argument
44 status_t error = BArchivable::Archive(archive, deep);
48 error = archive->AddString("FunctionID::path", fPath);
50 error = archive->AddString("FunctionID::functionName", fFunctionName);
73 SourceFunctionID::SourceFunctionID(const BMessage& archive) argument
75 FunctionID(archive)
94 Instantiate(BMessage* archive) argument
125 ImageFunctionID(const BMessage& archive) argument
146 Instantiate(BMessage* archive) argument
[all...]
/haiku/src/libs/alm/
H A DTab.cpp61 TabBase::TabBase(BMessage* archive) argument
63 BArchivable(BUnarchiver::PrepareArchive(archive)),
66 BUnarchiver(archive).Finish(B_OK);
115 XTab::XTab(BMessage* archive) argument
118 TabBase(BUnarchiver::PrepareArchive(archive))
120 BUnarchiver(archive).Finish(B_OK);
136 XTab::Instantiate(BMessage* archive) argument
138 if (validate_instantiation(archive, "BALM::XTab"))
139 return new XTab(archive);
152 YTab::YTab(BMessage* archive) argument
173 Instantiate(BMessage* archive) argument
[all...]
/haiku/src/kits/debugger/settings/
H A DBreakpointSetting.cpp76 BreakpointSetting::SetTo(const BMessage& archive) argument
80 fFunctionID = ArchivingUtils::UnarchiveChild<FunctionID>(archive,
85 archive.FindString("sourceFile", &fSourceFile);
88 if (archive.FindInt32("line", &line) != B_OK)
92 if (archive.FindInt32("column", &column) != B_OK)
97 if (archive.FindUInt64("relativeAddress", &fRelativeAddress) != B_OK)
100 if (archive.FindBool("enabled", &fEnabled) != B_OK)
103 if (archive.FindBool("hidden", &fHidden) != B_OK)
106 if (archive.FindString("condition", &fConditionExpression) != B_OK)
114 BreakpointSetting::WriteTo(BMessage& archive) cons
[all...]
/haiku/src/kits/package/
H A DActivationTransaction.cpp32 BActivationTransaction::BActivationTransaction(BMessage* archive, argument
43 if ((error = archive->FindInt32("location", &location)) == B_OK
44 && (error = archive->FindInt64("change count", &fChangeCount)) == B_OK
45 && (error = archive->FindString("transaction",
47 && (error = _ExtractStringList(archive, "activate",
49 && (error = _ExtractStringList(archive, "deactivate",
187 BActivationTransaction::Archive(BMessage* archive, bool deep) const argument
189 status_t error = BArchivable::Archive(archive, deep);
193 if ((error = archive->AddInt32("location", fLocation)) != B_OK
194 || (error = archive
209 Instantiate(BMessage* archive) argument
218 _ExtractStringList(BMessage* archive, const char* field, BStringList& _list) argument
[all...]
/haiku/src/kits/support/
H A DArchivingManagers.h49 BMessage* archive = const_cast<BMessage*>(constArchive);
52 BMessage::Private(archive).ArchivingPointer());
57 SetManagerPointer(BMessage* archive, BManagerBase* manager) argument
59 BMessage::Private(archive).SetArchivingPointer(manager);
64 MarkArchive(BMessage* archive) argument
66 BManagerBase* manager = ManagerPointer(archive);
70 SetManagerPointer(archive, this);
75 UnmarkArchive(BMessage* archive) argument
77 BManagerBase* manager = ManagerPointer(archive);
79 SetManagerPointer(archive, NUL
[all...]
/haiku/src/servers/bluetooth/
H A DDeskbarReplicant.h21 DeskbarReplicant(BMessage* archive);
24 static DeskbarReplicant* Instantiate(BMessage* archive);
25 virtual status_t Archive(BMessage* archive, bool deep = true) const;
/haiku/src/kits/app/
H A DNotification.cpp58 BNotification::BNotification(BMessage* archive) argument
60 BArchivable(archive),
67 if (archive->FindString("_appname", &appName) == B_OK)
71 if (archive->FindString("_signature", &signature) == B_OK)
75 if (archive->FindInt32("_type", &type) == B_OK)
81 if (archive->FindString("_group", &group) == B_OK)
85 if (archive->FindString("_title", &title) == B_OK)
89 if (archive->FindString("_content", &content) == B_OK)
93 if (archive->FindString("_messageID", &messageID) == B_OK)
98 && archive
163 Instantiate(BMessage* archive) argument
180 Archive(BMessage* archive, bool deep) const argument
[all...]
/haiku/headers/private/debugger/settings/
H A DTeamUiSettingsFactory.h19 virtual status_t Create(const BMessage& archive,
H A DTeamUiSettings.h28 virtual status_t SetTo(const BMessage& archive) = 0;
29 virtual status_t WriteTo(BMessage& archive) const = 0;
/haiku/src/kits/interface/
H A DToolTip.cpp22 BToolTip::BToolTip(BMessage* archive) argument
27 if (archive->FindBool("sticky", &sticky) == B_OK)
40 BToolTip::Archive(BMessage* archive, bool deep) const argument
42 status_t status = BArchivable::Archive(archive, deep);
45 status = archive->AddBool("sticky", fIsSticky);
157 BTextToolTip::BTextToolTip(BMessage* archive) argument
170 BTextToolTip::Instantiate(BMessage* archive) argument
172 if (!validate_instantiation(archive, "BTextToolTip"))
175 return new(std::nothrow) BTextToolTip(archive);
180 BTextToolTip::Archive(BMessage* archive, boo argument
[all...]
/haiku/src/apps/debugger/user_interface/gui/settings/
H A DGuiTeamUiSettings.cpp52 GuiTeamUiSettings::SetTo(const BMessage& archive) argument
54 status_t error = archive.FindString("ID", &fID);
58 error = archive.FindMessage("values", &fValues);
65 GuiTeamUiSettings::WriteTo(BMessage& archive) const
67 archive.MakeEmpty();
68 status_t error = archive.AddString("ID", fID);
72 error = archive.AddInt32("type", Type());
76 error = archive.AddMessage("values", &fValues);
/haiku/src/apps/icon-o-matic/generic/property/
H A DProperty.cpp37 Property::Property(BMessage* archive) argument
41 if (!archive)
44 if (archive->FindInt32("id", (int32*)&fIdentifier) < B_OK)
46 if (archive->FindBool("editable", &fEditable) < B_OK)
113 IntProperty::IntProperty(BMessage* archive) argument
114 : Property(archive),
119 if (!archive)
122 if (archive->FindInt32("value", &fValue) < B_OK)
124 if (archive->FindInt32("min", &fMin) < B_OK)
126 if (archive
157 Instantiate(BMessage* archive) argument
248 FloatProperty(BMessage* archive) argument
292 Instantiate(BMessage* archive) argument
377 UInt8Property(BMessage* archive) argument
411 Instantiate(BMessage* archive) argument
491 BoolProperty(BMessage* archive) argument
525 Instantiate(BMessage* archive) argument
616 StringProperty(BMessage* archive) argument
650 Instantiate(BMessage* archive) argument
[all...]

Completed in 152 milliseconds

1234567891011>>