Searched refs:IndexOf (Results 1 - 25 of 178) sorted by relevance

12345678

/haiku/src/tests/kits/app/blooper/
H A DIndexOfTest.cpp23 IndexOf(BHandler* handler)
26 @results IndexOf() returns B_ERROR
31 CPPUNIT_ASSERT(Looper.IndexOf(NULL) == B_ERROR);
35 IndexOf(BHandler* handler)
38 @results IndexOf() returns B_ERROR
44 CPPUNIT_ASSERT(Looper.IndexOf(&Handler) == B_ERROR);
48 IndexOf(BHandler* handler)
51 @results IndexOf returns 1
58 CPPUNIT_ASSERT(Looper.IndexOf(&Handler) == 1);
62 IndexOf(BHandle
[all...]
/haiku/headers/private/storage/
H A DResourcesContainer.h30 ResourceAt() and MakeEmpty() a bunch of IndexOf() methods are provided
58 int32 IndexOf(ResourceItem *item) const;
59 int32 IndexOf(const void *data) const;
60 int32 IndexOf(type_code type, int32 id) const;
61 int32 IndexOf(type_code type, const char *name) const;
/haiku/src/servers/registrar/
H A DAppInfoList.cpp118 return InfoAt(IndexOf(signature));
130 return InfoAt(IndexOf(team));
147 return InfoAt(IndexOf(ref));
226 // IndexOf
233 AppInfoList::IndexOf(RosterAppInfo *info) const function in class:AppInfoList
235 return fInfos.IndexOf(info);
238 // IndexOf
250 AppInfoList::IndexOf(const char *signature) const function in class:AppInfoList
261 // IndexOf
270 AppInfoList::IndexOf(team_i function in class:AppInfoList
291 AppInfoList::IndexOf(const entry_ref *ref) const function in class:AppInfoList
[all...]
H A DAppInfoList.h67 int32 IndexOf(RosterAppInfo *info) const;
68 int32 IndexOf(const char *signature) const;
69 int32 IndexOf(team_id team) const;
70 int32 IndexOf(const entry_ref *ref) const;
/haiku/src/kits/storage/
H A DResourcesContainer.cpp43 delete RemoveResource(IndexOf(item->Type(), item->ID()));
67 return RemoveResource(IndexOf(item));
101 // IndexOf
103 ResourcesContainer::IndexOf(ResourceItem *item) const function in class:BPrivate::Storage::ResourcesContainer
105 return fResources.IndexOf(item);
108 // IndexOf
110 ResourcesContainer::IndexOf(const void *data) const function in class:BPrivate::Storage::ResourcesContainer
123 // IndexOf
125 ResourcesContainer::IndexOf(type_code type, int32 id) const function in class:BPrivate::Storage::ResourcesContainer
137 // IndexOf
139 ResourcesContainer::IndexOf(type_code type, const char *name) const function in class:BPrivate::Storage::ResourcesContainer
[all...]
H A DResources.cpp271 resource = fContainer->ResourceAt(fContainer->IndexOf(type, id));
297 resource = fContainer->ResourceAt(fContainer->IndexOf(type, name));
452 return (InitCheck() == B_OK && fContainer->IndexOf(type, id) >= 0);
461 return (InitCheck() == B_OK && fContainer->IndexOf(type, name) >= 0);
516 item = fContainer->ResourceAt(fContainer->IndexOf(byType, andID));
534 item = fContainer->ResourceAt(fContainer->IndexOf(byType, andName));
552 item = fContainer->ResourceAt(fContainer->IndexOf(byPointer));
578 = fContainer->RemoveResource(fContainer->IndexOf(resource));
597 = fContainer->RemoveResource(fContainer->IndexOf(type, id));
625 ResourceItem *item = fContainer->ResourceAt(fContainer->IndexOf(typ
[all...]
/haiku/src/apps/icon-o-matic/generic/support/
H A DList.h35 inline int32 IndexOf(T value) const function in class:List
36 { return BList::IndexOf((void*)value); }
/haiku/headers/os/support/
H A DList.h53 int32 IndexOf(void* item) const;
54 int32 IndexOf(const void* item) const;
H A DStringList.h51 int32 IndexOf(const BString& string,
92 return IndexOf(string, ignoreCase) >= 0;
/haiku/src/add-ons/translators/wonderbrush/
H A DCanvas.h39 int32 IndexOf(Layer* layer) const;
H A DCanvas.cpp94 // IndexOf
96 Canvas::IndexOf(Layer* layer) const function in class:Canvas
98 return BList::IndexOf((void*)layer);
/haiku/src/apps/icon-o-matic/
H A DUtil.cpp56 int32 insertIndex = other ? container->IndexOf(other) + 1
/haiku/src/preferences/time/
H A DTimeZoneListView.cpp44 this->ItemAt(this->IndexOf(point)));
/haiku/src/preferences/filetypes/
H A DMimeTypeListView.cpp366 InvalidateItem(IndexOf(last));
377 InvalidateItem(IndexOf(last));
384 InvalidateItem(IndexOf(last));
423 InvalidateItem(IndexOf(superItem));
520 InvalidateItem(IndexOf(item));
590 int32 index = IndexOf(item);
619 if (IndexOf(item) == CurrentSelection())
626 int32 index = IndexOf(item);
633 InvalidateItem(IndexOf(item));
/haiku/headers/os/interface/
H A DShelf.h79 int32 IndexOf(const BView* replicantView) const;
80 int32 IndexOf(const BMessage* archive) const;
81 int32 IndexOf(uint32 id) const;
/haiku/src/apps/mediaplayer/playlist/
H A DMovePLItemsCommand.cpp137 fPlaylist->SetCurrentItemIndex(fPlaylist->IndexOf(current), false);
171 fPlaylist->SetCurrentItemIndex(fPlaylist->IndexOf(current), false);
/haiku/src/libs/icon/shape/
H A DPathContainer.cpp129 // IndexOf
131 PathContainer::IndexOf(VectorPath* path) const function in class:PathContainer
133 return fPaths.IndexOf((void*)path);
H A DShapeContainer.cpp136 // IndexOf
138 ShapeContainer::IndexOf(Shape* shape) const function in class:ShapeContainer
140 return fShapes.IndexOf((void*)shape);
H A DPathContainer.h47 int32 IndexOf(VectorPath* path) const;
H A DShapeContainer.h47 int32 IndexOf(Shape* shape) const;
/haiku/src/libs/icon/style/
H A DStyleContainer.cpp129 // IndexOf
131 StyleContainer::IndexOf(Style* style) const function in class:StyleContainer
133 return fStyles.IndexOf((void*)style);
H A DStyleContainer.h47 int32 IndexOf(Style* style) const;
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DList.h75 int32 IndexOf(const item_t &item) const;
218 int32 index = IndexOf(item);
293 // IndexOf
296 List<ITEM, DEFAULT_ITEM_SUPPLIER>::IndexOf(const item_t &item) const function in class:List
310 return (IndexOf(item) >= 0);
/haiku/src/kits/support/
H A DList.cpp184 int32 index = IndexOf(item);
358 return (IndexOf(item) >= 0);
365 return (IndexOf(item) >= 0);
370 BList::IndexOf(void* item) const function in class:BList
381 BList::IndexOf(const void* item) const function in class:BList
/haiku/src/apps/icon-o-matic/import_export/message/
H A DMessageExporter.cpp162 status_t ret = into->AddInt32("style ref", globalStyles->IndexOf(style));
169 ret = into->AddInt32("path ref", globalPaths->IndexOf(path));

Completed in 368 milliseconds

12345678