Searched refs:added (Results 1 - 19 of 19) sorted by relevance

/haiku/src/apps/mediaplayer/playlist/
H A DImportPLItemsCommand.cpp60 int32 added = 0; local
63 fNewItems[added] = temp.ItemAtFast(i)->Clone();
64 if (fNewItems[added] == NULL) {
69 added++;
72 fNewCount = added;
/haiku/src/servers/input/
H A DInputServerDevice.cpp173 BMessage added(B_NODE_MONITOR);
174 added.AddInt32("opcode", B_ENTRY_CREATED);
175 added.AddString("path", entryPath.Path());
177 Control(NULL, NULL, B_INPUT_DEVICE_ADDED, &added);
/haiku/src/servers/app/
H A DScreenManager.cpp125 int32 added = 0; local
134 added++;
138 if (added == 0 && target != NULL) {
152 added++;
157 return added > 0 ? B_OK : B_ENTRY_NOT_FOUND;
H A DEventDispatcher.cpp357 if already added.
673 int32 added = 0; local
694 added++;
697 return added != 0;
873 // No tokens were added or the focus shouldn't get a
903 // if tokens were added, we need to explicetly suspend
938 // this is added in the Desktop mouse processing
/haiku/src/apps/deskbar/
H A DBarMenuBar.cpp183 bool added = AddItem(fAppListMenuItem, fBarView->Left() ? 0 : 1); local
185 if (added)
190 return added;
224 bool added = AddItem(fSeparatorItem); local
226 if (added)
231 return added;
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DHub.cpp109 Hub::Changed(change_item **changeList, bool added) argument
111 status_t result = Device::Changed(changeList, added);
112 if (added || result < B_OK)
405 usb_driver_cookie **cookies, bool added, bool recursive)
409 if (added) {
413 supportDescriptorCount, hooks, cookies, added, recursive);
421 supportDescriptorCount, hooks, cookies, added, true) == B_OK)
425 if (!added) {
429 hooks, cookies, added, recursive) == B_OK)
403 ReportDevice(usb_support_descriptor *supportDescriptors, uint32 supportDescriptorCount, const usb_notify_hooks *hooks, usb_driver_cookie **cookies, bool added, bool recursive) argument
H A DStack.cpp240 NotifyDeviceChange(changeItem->device, &rescanList, changeItem->added);
241 if (!changeItem->added) {
333 Stack::NotifyDeviceChange(Device *device, rescan_item **rescanList, bool added) argument
335 TRACE("device %s\n", added ? "added" : "removed");
341 &element->cookies, added, false);
H A Dusb_private.h87 bool added; member in struct:change_item
162 bool added);
550 bool added);
590 bool added, bool recursive);
644 bool added);
673 bool added, bool recursive);
H A DDevice.cpp424 Device::Changed(change_item** changeList, bool added) argument
426 fAvailable = added;
431 changeItem->added = added;
694 usb_driver_cookie** cookies, bool added, bool recursive)
749 if ((added && hooks->device_added == NULL)
750 || (!added && hooks->device_removed == NULL)) {
757 if (added) {
692 ReportDevice(usb_support_descriptor* supportDescriptors, uint32 supportDescriptorCount, const usb_notify_hooks* hooks, usb_driver_cookie** cookies, bool added, bool recursive) argument
/haiku/src/bin/debug/strace/
H A DNetworkTypes.cpp67 int added = 0; local
74 for (int i = 0; i < count && added < 8; i++) {
76 j < (int)(sizeof(unsigned long) * 8) && added < 8; j++) {
78 if (added > 0)
82 added++;
87 if (added >= 8)
195 int added = 0; local
202 for (nfds_t i = 0; i < numfds && added < 8; i++) {
207 if (added > 0)
260 added
[all...]
H A Dstrace.cpp430 int added = 0; local
447 print_to_string(&string, &length, (added > 0 ? ", %s" : "%s"),
449 added++;
/haiku/src/apps/debugger/user_interface/gui/expression_eval_window/
H A DExpressionEvaluationWindow.cpp395 bool added = false; local
397 added = threadMenu->AddItem(item);
399 added = threadMenu->AddItem(item, index);
401 if (!added)
/haiku/src/system/boot/loader/file_systems/fat/
H A DStream.cpp364 bool added; local
365 error = _FindOrCreateCluster(pos, cluster, added);
/haiku/src/system/kernel/debug/
H A Dsystem_profiler.cpp36 // for events. Those events are team, thread, and image changes (added/removed),
463 bool added = _TeamAdded(team); local
468 if (!added)
491 bool added = _ThreadAdded(thread); local
496 if (!added)
/haiku/src/apps/text_search/
H A DGrepWindow.cpp876 bool added; local
877 if (message->FindBool("added", &added) != B_OK)
878 added = false;
883 if (added) {
/haiku/src/kits/interface/
H A DTwoDimensionalLayout.cpp200 void SetHeightForWidthConstraintsAdded(bool added);
928 // added yet.
1353 bool added)
1355 fHeightForWidthConstraintsAdded = added;
1352 SetHeightForWidthConstraintsAdded( bool added) argument
/haiku/src/kits/translation/
H A DTranslatorRoster.cpp366 Note, the order in which these directories are added to actually matters,
377 int32 added = 0; local
393 // added successfully.
399 added += count;
402 if (added == 0)
412 Note, the order in which these directories are added to actually matters,
1032 Directories added to the roster have a certain priority - the first entry
1033 to be added has the highest priority; if a translator with the same name
1315 \param translator the translator to be added to the
/haiku/src/kits/package/hpkg/
H A DPackageWriterImpl.cpp895 // find the closest ancestor of the entry that is in the added entries
896 bool added = false; local
900 added = true;
927 if (added) {
928 // the entry itself or one of its ancestors has been added to the
/haiku/src/system/kernel/
H A Dguarded_heap.cpp433 bool added = guarded_heap_add_area(heap, counter, flags); local
434 if (result == NULL && added)

Completed in 141 milliseconds