Searched defs:pItem (Results 1 - 25 of 36) sorted by relevance

12

/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/
H A Dhash.h36 itemPtr pItem; member in struct:_HashIterator
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/
H A Dhash.h36 itemPtr pItem; member in struct:_HashIterator
/vbox/include/iprt/
H A Dqueueatomic.h79 * @param pItem The item to insert.
81 DECLINLINE(void) RTQueueAtomicInsert(PRTQUEUEATOMIC pWorkQueue, PRTQUEUEATOMICITEM pItem) argument
85 pItem->pNext = pNext;
86 while (!ASMAtomicCmpXchgExPtr(&pWorkQueue->pHead, pItem, pNext, &pHeadOld))
89 Assert(pNext != pItem);
90 pItem->pNext = pNext;
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/
H A DUIBootTable.cpp151 UIBootTableItem *pItem = static_cast<UIBootTableItem*>(itemFromIndex(oldIndex)); local
152 insertItem(row, new UIBootTableItem(*pItem));
/vbox/src/VBox/VMM/VMMAll/
H A DPDMAllQueue.cpp62 pNew = pQueue->aFreeItems[i].CTX_SUFF(pItem);
95 * @param pItem The item to insert.
98 VMMDECL(void) PDMQueueInsert(PPDMQUEUE pQueue, PPDMQUEUEITEMCORE pItem) argument
101 Assert(VALID_PTR(pItem));
108 ASMAtomicUoWritePtr((void * volatile *)&pItem->CTX_SUFF(pNext), pvNext);
109 } while (!ASMAtomicCmpXchgPtr(&pQueue->CTX_SUFF(pPending), pItem, pvNext));
115 pItem->CTX_SUFF(pNext) = pNext;
116 } while (!ASMAtomicCmpXchgPtr(&pQueue->CTX_SUFF(pPending), pItem, pNext));
132 * @param pItem The item to insert.
137 VMMDECL(void) PDMQueueInsertEx(PPDMQUEUE pQueue, PPDMQUEUEITEMCORE pItem, uint64_ argument
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/
H A DUIWizardExportAppPageBasic1.cpp69 QListWidgetItem *pItem = new VMListWidgetItem(pixIcon, strName, strUuid, fInSaveState, m_pVMSelector); local
71 pItem->setFlags(0);
72 m_pVMSelector->addItem(pItem);
95 foreach (QListWidgetItem *pItem, m_pVMSelector->selectedItems())
96 machineNames << pItem->text();
106 foreach (QListWidgetItem *pItem, m_pVMSelector->selectedItems())
107 machineIDs << static_cast<VMListWidgetItem*>(pItem)->uuid();
/vbox/src/VBox/Frontends/VirtualBox/src/selector/
H A DUIVMItem.cpp434 bool UIVMItem::isItemEditable(UIVMItem *pItem) argument
436 return pItem->accessible() &&
437 pItem->sessionState() == KSessionState_Unlocked;
441 bool UIVMItem::isItemSaved(UIVMItem *pItem) argument
443 if (pItem->accessible() &&
444 pItem->machineState() == KMachineState_Saved)
450 bool UIVMItem::isItemPoweredOff(UIVMItem *pItem) argument
452 if (pItem->accessible() &&
453 (pItem->machineState() == KMachineState_PoweredOff ||
454 pItem
462 isItemStarted(UIVMItem *pItem) argument
468 isItemRunning(UIVMItem *pItem) argument
479 isItemPaused(UIVMItem *pItem) argument
490 isItemStuck(UIVMItem *pItem) argument
500 UIVMItemMimeData(UIVMItem *pItem) argument
[all...]
H A DUISelectorWindow.cpp159 UIVMItem *pItem = currentItem(); local
162 if (!pItem)
172 UIVMItem *pItem = currentItem(); local
175 if (!pItem)
179 if (pItem->id() == strId)
180 m_pVMDesktop->updateSnapshots(pItem, pItem->machine());
439 UIVMItem *pItem = currentItem(); local
440 AssertMsgReturnVoid(pItem, ("Current item should be selected!\n"));
443 UISafePointerWizard pWizard = new UIWizardCloneVM(this, pItem
457 foreach(UIVMItem *pItem, items) argument
484 itemsToDiscard << pItem; local
493 foreach(UIVMItem *pItem, itemsToDiscard) argument
518 foreach(UIVMItem *pItem, items) argument
579 itemsToReset << pItem; local
588 foreach(UIVMItem *pItem, itemsToReset) argument
612 foreach(UIVMItem *pItem, items) argument
664 itemsToShutdown << pItem; local
673 foreach(UIVMItem *pItem, itemsToShutdown) argument
705 itemsToPowerOff << pItem; local
714 foreach(UIVMItem *pItem, itemsToPowerOff) argument
748 foreach(UIVMItem *pItem, items) argument
766 foreach(UIVMItem *pItem, items) argument
784 foreach(UIVMItem *pItem, items) argument
819 UIVMItem *pItem = currentItem(); local
1554 UIVMItem *pItem = currentItem(); local
1763 foreach(UIVMItem *pItem, items) argument
1837 foreach(UIVMItem *pItem, items) argument
[all...]
H A DVBoxSnapshotsWgt.cpp584 void VBoxSnapshotsWgt::sltItemDoubleClicked(QTreeWidgetItem *pItem) argument
591 SnapshotWgtItem *pValidItem = pItem ? static_cast<SnapshotWgtItem*>(pItem) : 0;
611 SnapshotWgtItem *pItem = mTreeWidget->currentItem() ? static_cast<SnapshotWgtItem*>(mTreeWidget->currentItem()) : 0; local
612 AssertReturn(pItem, (void)0);
614 QString strSnapshotId = pItem->snapshotId();
819 SnapshotWgtItem *pItem = mTreeWidget->currentItem() ? static_cast<SnapshotWgtItem*>(mTreeWidget->currentItem()) : 0; local
820 AssertReturn(pItem, (bool)0);
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/
H A DUIGDetailsGroup.cpp138 void UIGDetailsGroup::addItem(UIGDetailsItem *pItem) argument
140 switch (pItem->type())
142 case UIGDetailsItemType_Set: m_items.append(pItem); break;
147 void UIGDetailsGroup::removeItem(UIGDetailsItem *pItem) argument
149 switch (pItem->type())
151 case UIGDetailsItemType_Set: m_items.removeAt(m_items.indexOf(pItem)); break;
228 foreach (UIGDetailsItem *pItem, items()) argument
231 if (UIGDetailsSet *pSetItem = pItem->toSet())
235 iMinimumWidthHint = qMax(iMinimumWidthHint, pItem->minimumWidthHint());
257 foreach (UIGDetailsItem *pItem, item argument
289 foreach(UIGDetailsItem *pItem, items()) argument
[all...]
H A DUIGDetailsItem.cpp61 UIGDetailsGroup *pItem = qgraphicsitem_cast<UIGDetailsGroup*>(this); local
62 AssertMsg(pItem, ("Trying to cast invalid item type to UIGDetailsGroup!"));
63 return pItem;
68 UIGDetailsSet *pItem = qgraphicsitem_cast<UIGDetailsSet*>(this); local
69 AssertMsg(pItem, ("Trying to cast invalid item type to UIGDetailsSet!"));
70 return pItem;
75 UIGDetailsElement *pItem = qgraphicsitem_cast<UIGDetailsElement*>(this); local
76 AssertMsg(pItem, ("Trying to cast invalid item type to UIGDetailsElement!"));
77 return pItem;
H A DUIGDetailsModel.cpp283 if (QGraphicsItem *pItem = itemAt(pEvent->scenePos()))
284 if (pItem->type() == UIGDetailsItemType_Preview)
312 void UIGDetailsElementAnimationCallback::addNotifier(UIGDetailsItem *pItem) argument
315 connect(pItem, SIGNAL(sigToggleElementFinished()), this, SLOT(sltAnimationFinished()));
317 m_notifiers << pItem; local
323 UIGDetailsItem *pItem = qobject_cast<UIGDetailsItem*>(sender()); local
325 disconnect(pItem, SIGNAL(sigToggleElementFinished()), this, SLOT(sltAnimationFinished()));
327 m_notifiers.removeAll(pItem);
H A DUIGDetailsSet.cpp190 foreach (UIGDetailsItem *pItem, items())
191 pItem->update();
237 void UIGDetailsSet::addItem(UIGDetailsItem *pItem) argument
239 switch (pItem->type())
243 UIGDetailsElement *pElement = pItem->toElement();
246 m_elements.insert(type, pItem);
257 void UIGDetailsSet::removeItem(UIGDetailsItem *pItem) argument
259 switch (pItem->type())
263 UIGDetailsElement *pElement = pItem->toElement();
325 UIGDetailsItem *pItem local
364 foreach(UIGDetailsItem *pItem, items()) argument
424 foreach(UIGDetailsItem *pItem, items()) argument
479 foreach(UIGDetailsItem *pItem, items()) argument
[all...]
/vbox/src/VBox/Devices/Input/
H A DDrvKeyboardQueue.cpp227 PDRVKBDQUEUEITEM pItem = (PDRVKBDQUEUEITEM)PDMQueueAlloc(pDrv->pQueue); local
228 if (pItem)
250 pItem->u32UsageCode = u32Usage;
251 PDMQueueInsert(pDrv->pQueue, &pItem->Core);
322 PDRVKBDQUEUEITEM pItem = (PDRVKBDQUEUEITEM)pItemCore; local
323 int rc = pThis->pUpPort->pfnPutEventHid(pThis->pUpPort, pItem->u32UsageCode);
H A DDrvMouseQueue.cpp131 PDRVMOUSEQUEUEITEM pItem = (PDRVMOUSEQUEUEITEM)PDMQueueAlloc(pDrv->pQueue);
132 if (pItem)
134 RT_ZERO(pItem->u.padding);
135 pItem->enmType = RELATIVE;
136 pItem->u.Relative.dx = dx;
137 pItem->u.Relative.dy = dy;
138 pItem->u.Relative.dz = dz;
139 pItem->u.Relative.dw = dw;
140 pItem->u.Relative.fButtons = fButtons;
141 PDMQueueInsert(pDrv->pQueue, &pItem
234 PDRVMOUSEQUEUEITEM pItem = (PDRVMOUSEQUEUEITEM)pItemCore; local
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/settings/global/
H A DUIGlobalSettingsExtension.cpp361 UIExtensionPackageItem *pItem = static_cast<UIExtensionPackageItem*>(m_pPackagesTree->topLevelItem(i)); local
362 if (!strExtPackName.compare(pItem->name(), Qt::CaseInsensitive))
364 delete pItem;
376 UIExtensionPackageItem *pItem = new UIExtensionPackageItem(m_pPackagesTree, m_cache.m_items.last()); local
377 m_pPackagesTree->setCurrentItem(pItem);
387 UIExtensionPackageItem *pItem = m_pPackagesTree && local
393 if (pItem)
396 QString strSelectedPackageName = pItem->name();
427 delete pItem;
H A DUIGlobalSettingsLanguage.cpp330 QTreeWidgetItem *pItem = itemsList.isEmpty() ? 0 : itemsList[0]; local
331 if (!pItem)
333 /* Add an pItem for an invalid language to represent it in the list: */
334 pItem = new UILanguageItem(m_pLanguageTree, strLangId);
337 Assert(pItem);
338 if (pItem)
339 m_pLanguageTree->setCurrentItem(pItem);
342 m_pLanguageTree->scrollToItem(pItem);
346 void UIGlobalSettingsLanguage::sltLanguageItemPainted(QTreeWidgetItem *pItem, QPainter *pPainter) argument
348 if (pItem
361 sltCurrentLanguageChanged(QTreeWidgetItem *pItem) argument
[all...]
H A DUIGlobalSettingsNetwork.cpp533 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->topLevelItem(iNetworkIndex)); local
534 pItem->uploadNetworkData(data);
543 UIItemNetworkHost *pItem = static_cast<UIItemNetworkHost*>(m_pTreeNetworkHost->topLevelItem(iNetworkIndex)); local
544 pItem->uploadNetworkData(data);
584 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->topLevelItem(iNetworkIndex)); local
585 if (!pItem->validate(message))
593 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->topLevelItem(iItemIndex)); local
594 const QString strItemName(pItem->newName());
621 UIItemNetworkHost *pItem = static_cast<UIItemNetworkHost*>(m_pTreeNetworkHost->topLevelItem(iNetworkIndex)); local
622 if (!pItem
694 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->topLevelItem(iItemIndex)); local
722 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->currentItem()); local
750 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->currentItem()); local
771 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(pChangedItem); local
812 UIItemNetworkHost *pItem = static_cast<UIItemNetworkHost*>(m_pTreeNetworkHost->currentItem()); local
853 UIItemNetworkHost *pItem = static_cast<UIItemNetworkHost*>(m_pTreeNetworkHost->currentItem()); local
874 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->currentItem()); local
883 UIItemNetworkHost *pItem = static_cast<UIItemNetworkHost*>(m_pTreeNetworkHost->currentItem()); local
1028 UIItemNetworkNAT *pItem = new UIItemNetworkNAT; local
1036 removeTreeItemNetworkNAT(UIItemNetworkNAT *pItem) argument
1141 UIItemNetworkHost *pItem = new UIItemNetworkHost; local
1149 removeTreeItemNetworkHost(UIItemNetworkHost *pItem) argument
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DPDMQueue.cpp42 DECLINLINE(void) pdmR3QueueFreeItem(PPDMQUEUE pQueue, PPDMQUEUEITEMCORE pItem);
102 PPDMQUEUEITEMCORE pItem = (PPDMQUEUEITEMCORE)((char *)pQueue + RT_ALIGN_Z(RT_OFFSETOF(PDMQUEUE, aFreeItems[cItems + PDMQUEUE_FREE_SLACK]), 16)); local
103 for (unsigned i = 0; i < cItems; i++, pItem = (PPDMQUEUEITEMCORE)((char *)pItem + cbItem))
105 pQueue->aFreeItems[i].pItemR3 = pItem;
108 pQueue->aFreeItems[i].pItemR0 = MMHyperR3ToR0(pVM, pItem);
109 pQueue->aFreeItems[i].pItemRC = MMHyperR3ToRC(pVM, pItem);
838 * @param pItem The item.
840 DECLINLINE(void) pdmR3QueueFreeItem(PPDMQUEUE pQueue, PPDMQUEUEITEMCORE pItem) argument
847 pQueue->aFreeItems[i].pItemR3 = pItem;
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/
H A DUIGChooserItem.cpp103 UIGChooserItemGroup *pItem = qgraphicsitem_cast<UIGChooserItemGroup*>(this); local
104 AssertMsg(pItem, ("Trying to cast invalid item type to UIGChooserItemGroup!"));
105 return pItem;
110 UIGChooserItemMachine *pItem = qgraphicsitem_cast<UIGChooserItemMachine*>(this); local
111 AssertMsg(pItem, ("Trying to cast invalid item type to UIGChooserItemMachine!"));
112 return pItem;
429 UIGChooserItemMimeData::UIGChooserItemMimeData(UIGChooserItem *pItem) argument
430 : m_pItem(pItem)
H A DUIGChooserItemMachine.cpp156 foreach (UIGChooserItem *pItem, il) argument
159 if (pItem->type() == UIGChooserItemType_Machine)
162 UIGChooserItemMachine *pMachineItem = pItem->toMachineItem();
175 else if (pItem->type() == UIGChooserItemType_Group)
178 enumerateMachineItems(pItem->items(UIGChooserItemType_Machine), ol, iEnumerationFlags);
180 enumerateMachineItems(pItem->items(UIGChooserItemType_Group), ol, iEnumerationFlags);
714 UIGChooserItem *pItem = pCastedMimeData->item(); local
715 UIGChooserItemMachine *pMachineItem = pItem->toMachineItem();
746 UIGChooserItem *pItem = pCastedMime->item(); local
753 new UIGChooserItemMachine(pNewGroupItem, pItem
1163 contains(const QList<UIGChooserItemMachine*> &list, UIGChooserItemMachine *pItem) argument
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/
H A DUIMachineSettingsSystem.cpp168 QListWidgetItem *pItem = new UIBootTableItem(data.m_type); local
169 pItem->setCheckState(data.m_fEnabled ? Qt::Checked : Qt::Unchecked);
170 mTwBootOrder->addItem(pItem);
212 QListWidgetItem *pItem = mTwBootOrder->item(i); local
214 data.m_type = static_cast<UIBootTableItem*>(pItem)->type();
215 data.m_fEnabled = pItem->checkState() == Qt::Checked;
653 QListWidgetItem *pItem = new UIBootTableItem(m_possibleBootItems[i]); local
654 mTwBootOrder->addItem(pItem);
H A DUIMachineSettingsUSB.cpp686 QTreeWidgetItem *pItem = mTwFilters->currentItem(); local
687 Assert(pItem);
688 UIDataSettingsMachineUSBFilter &usbFilterData = m_filters[mTwFilters->indexOfTopLevelItem(pItem)];
726 pItem->setText(0, usbFilterData.m_strName);
727 pItem->setToolTip(0, toolTipFor(usbFilterData));
734 QTreeWidgetItem *pItem = mTwFilters->currentItem(); local
735 Assert(pItem);
738 m_filters.removeAt(mTwFilters->indexOfTopLevelItem(pItem));
739 delete pItem;
820 QTreeWidgetItem *pItem local
[all...]
H A DUIMachineSettingsSF.cpp542 QTreeWidgetItem *pItem = mTwFolders->itemAt(pos); local
543 if (mTwFolders->isEnabled() && pItem && pItem->flags() & Qt::ItemIsSelectable)
/vbox/src/VBox/Main/src-server/
H A DApplianceImplExport.cpp1675 xml::ElementNode *pItem; local
1687 pItem = pelmVirtualHardwareSection->createChild("EthernetPortItem");
1693 pItem = pelmVirtualHardwareSection->createChild("StorageItem");
1696 pItem = NULL;
1701 pItem = pelmVirtualHardwareSection->createChild("Item");
1707 pItem = pelmVirtualHardwareSection->createChild("Item");
1716 //pItem->createChild("rasd:Address")->addContent(Utf8StrFmt("%d", lAddress));
1718 pItemHelper = pItem->createChild(itemElementHelper.append("Address").c_str());
1724 //pItem->createChild("rasd:AddressOnParent")->addContent(Utf8StrFmt("%d", lAddressOnParent));
1726 pItemHelper = pItem
[all...]

Completed in 117 milliseconds

12