Home
last modified time | relevance | path

Searched refs:ResourceItem (Results 1 – 14 of 14) sorted by relevance

/haiku/src/kits/storage/
H A DResourceItem.cpp21 ResourceItem::ResourceItem() in ResourceItem() function in BPrivate::Storage::ResourceItem
35 ResourceItem::~ResourceItem() in ~ResourceItem()
41 ResourceItem::WriteAt(off_t pos, const void *buffer, size_t size) in WriteAt()
51 ResourceItem::SetSize(off_t size) in SetSize()
61 ResourceItem::SetLocation(int32 offset, size_t initialSize) in SetLocation()
69 ResourceItem::SetIdentity(type_code type, int32 id, const char *name) in SetIdentity()
78 ResourceItem::SetOffset(int32 offset) in SetOffset()
85 ResourceItem::Offset() const in Offset()
92 ResourceItem::InitialSize() const in InitialSize()
99 ResourceItem::DataSize() const in DataSize()
[all …]
H A DResourcesContainer.cpp36 ResourcesContainer::AddResource(ResourceItem *item, int32 index, in AddResource()
54 ResourceItem*
57 ResourceItem* item = (ResourceItem*)fResources.RemoveItem(index); in RemoveResource()
65 ResourcesContainer::RemoveResource(ResourceItem *item) in RemoveResource()
74 for (int32 i = 0; ResourceItem *item = ResourceAt(i); i++) in MakeEmpty()
87 ResourceItem *item = container.ResourceAt(i); in AssimilateResources()
103 ResourcesContainer::IndexOf(ResourceItem *item) const in IndexOf()
130 ResourceItem *item = ResourceAt(i); in IndexOf()
144 ResourceItem *item = ResourceAt(i); in IndexOf()
162 ResourceItem *item = ResourceAt(i); in IndexOfType()
[all …]
H A DResources.cpp269 ResourceItem* resource = NULL; in LoadResource()
295 ResourceItem* resource = NULL; in LoadResource()
327 ResourceItem *resource = fContainer->ResourceAt(i); in PreloadResourceType()
425 ResourceItem* item = new(nothrow) ResourceItem; in AddResource()
470 ResourceItem* item = NULL; in GetResourceInfo()
492 ResourceItem* item = NULL; in GetResourceInfo()
514 ResourceItem* item = NULL; in GetResourceInfo()
532 ResourceItem* item = NULL; in GetResourceInfo()
550 ResourceItem* item = NULL; in GetResourceInfo()
577 ResourceItem* item in RemoveResource()
[all …]
H A DResourceFile.cpp311 ResourceFile::ReadResource(ResourceItem& resource, bool force) in ReadResource()
352 if (ResourceItem* resource = container.ResourceAt(i)) in ReadResources()
897 ResourceItem* item = new(std::nothrow) ResourceItem; in _ReadIndexEntry()
1000 if (ResourceItem* item = parseInfo.container->RemoveResource(i)) in _ReadInfoTable()
1080 if (ResourceItem* item = parseInfo.container->ResourceAt(index - 1)) in _ReadResourceInfo()
1119 ResourceItem* item = container.ResourceAt(i); in _WriteResources()
1131 ResourceItem* item = container.ResourceAt(i); in _WriteResources()
1189 ResourceItem* item = container.ResourceAt(i); in _WriteResources()
1208 ResourceItem* item = container.ResourceAt(i); in _WriteResources()
1237 ResourceItem* item = container.ResourceAt(i); in _WriteResources()
H A DJamfile49 ResourceItem.cpp
/haiku/src/tools/restest/
H A DResourceItem.cpp11 ResourceItem::ResourceItem() in ResourceItem() function in ResourceItem
22 ResourceItem::~ResourceItem() in ~ResourceItem()
29 ResourceItem::SetLocation(roff_t offset, roff_t size) in SetLocation()
37 ResourceItem::SetIdentity(type_code type, int32 id, const char* name) in SetIdentity()
46 ResourceItem::SetOffset(roff_t offset) in SetOffset()
52 ResourceItem::roff_t
53 ResourceItem::GetOffset() const in GetOffset()
60 ResourceItem::SetSize(roff_t size) in SetSize()
69 ResourceItem::roff_t
70 ResourceItem::GetSize() const in GetSize()
[all …]
H A DResourceFile.h12 class ResourceItem; variable
26 bool AddItem(ResourceItem* item, int32 index = -1);
27 ResourceItem* RemoveItem(int32 index);
28 bool RemoveItem(ResourceItem* item);
29 int32 IndexOf(ResourceItem* item) const;
30 ResourceItem* ItemAt(int32 index) const;
68 ResourceItem* fInfoTableItem;
H A DResourceItem.h11 class ResourceItem {
16 ResourceItem();
17 virtual ~ResourceItem();
H A DResourceFile.cpp224 for (int32 i = 0; ResourceItem* item = ItemAt(i); i++) in Unset()
248 ResourceFile::AddItem(ResourceItem* item, int32 index) in AddItem()
260 ResourceItem*
263 return (ResourceItem*)fItems.RemoveItem(index); in RemoveItem()
268 ResourceFile::RemoveItem(ResourceItem* item) in RemoveItem()
275 ResourceFile::IndexOf(ResourceItem* item) const in IndexOf()
281 ResourceItem*
284 return (ResourceItem*)fItems.ItemAt(index); in ItemAt()
313 ResourceItem* item = ItemAt(i); in GetResourcesSize()
321 ResourceItem* item = ItemAt(i); in GetResourcesSize()
[all …]
/haiku/headers/private/storage/
H A DResourcesContainer.h18 class ResourceItem; variable
48 bool AddResource(ResourceItem *item, int32 index = -1,
51 ResourceItem *RemoveResource(int32 index);
52 bool RemoveResource(ResourceItem *item);
58 int32 IndexOf(ResourceItem *item) const;
63 ResourceItem *ResourceAt(int32 index) const;
H A DResourceItem.h42 class ResourceItem : public BMallocIO {
44 ResourceItem();
45 virtual ~ResourceItem();
H A DResourceFile.h30 class ResourceItem; variable
67 status_t ReadResource(ResourceItem& resource,
/haiku/src/build/libbe/storage/
H A DJamfile29 ResourceItem.cpp
/haiku/docs/user/storage/
H A DResources.dox32 ResourceFile. The former manages a collections of ResourceItem objects's