Searched refs:fm (Results 1 - 20 of 20) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw32shm.c262 PRFileMap *fm; local
265 fm = PR_CreateFileMap( (PRFileDesc*)-1, size, prot );
266 if ( NULL == fm ) {
273 ** Make fm->md.hFileMap inheritable. We can't use
278 if (DuplicateHandle(GetCurrentProcess(), fm->md.hFileMap,
285 PR_CloseFileMap( fm );
286 fm = NULL;
289 CloseHandle(fm->md.hFileMap);
290 fm->md.hFileMap = hFileMap;
293 return(fm);
300 _md_ExportFileMapAsString( PRFileMap *fm, PRSize bufSize, char *buf ) argument
331 PRFileMap *fm = NULL; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/memory/
H A Dprshma.c58 extern PRStatus _PR_MD_EXPORT_FILE_MAP_AS_STRING(PRFileMap *fm, PRSize bufSize, char *buf) argument
93 PRFileMap *fm,
111 PRFileMap *fm = NULL; local
113 return( fm );
122 PRFileMap *fm,
127 return( _PR_MD_EXPORT_FILE_MAP_AS_STRING( fm, bufSize, buf ));
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Danonfm.c102 PRFileMap *fm; local
120 fm = PR_ImportFileMapFromString( fmString );
121 if ( NULL == fm ) {
128 ("ClientOne(): PR_ImportFileMapFromString(): fm: %p", fm ));
130 addr = PR_MemMap( fm, LL_ZERO, fmSize );
148 rc = PR_CloseFileMap( fm );
174 PRFileMap *fm; local
187 fm = PR_OpenAnonFileMap( dirName, fmSize, fmProt );
188 if ( NULL == fm ) {
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprshma.h81 ** fm = PR_OpenAnonFileMap(dirName, size, FilemapProt);
82 ** addr = PR_MemMap(fm);
84 ** PR_ProcessAttrSetInheritableFileMap( attr, fm, shmname );
89 ** PR_CloseFileMap(fm);
94 ** fm = PR_GetInheritedFileMap( shmname );
95 ** addr = PR_MemMap(fm);
98 ** PR_CloseFileMap(fm);
104 ** fm = PR_OpenAnonFileMap(dirName, size, FilemapProt);
105 ** fmstring = PR_ExportFileMapAsString( fm );
106 ** addr = PR_MemMap(fm);
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/
H A DUIGChooserItem.cpp377 QFontMetrics fm(font, pPaintDevice);
378 point += QPoint(0, fm.ascent());
395 QFontMetrics fm(font, pPaintDevice);
396 return QSize(fm.width(strText), fm.height());
403 QFontMetrics fm(font, pPaintDevice);
406 return fm.width(strString);
417 QFontMetrics fm(font, pPaintDevice);
418 if (fm.width(strText) <= iWidth)
423 int iEllipsisWidth = fm
[all...]
H A DUIGChooserItemMachine.cpp322 QFontMetrics fm(m_nameFont, pPaintDevice);
323 int iMinimumNameWidth = fm.width(compressText(m_nameFont, pPaintDevice, m_strName, textWidth(m_nameFont, pPaintDevice, 15)));
341 QFontMetrics fm(m_snapshotNameFont, model()->paintDevice());
342 int iBracketWidth = fm.width("()"); /* bracket width */
343 int iActualTextWidth = fm.width(m_strSnapshotName); /* snapshot-name width */
344 int iMinimumTextWidth = fm.width("..."); /* ellipsis width */
H A DUIGChooserItemGroup.cpp585 QFontMetrics fm(m_nameFont, pPaintDevice);
588 int iMinimumNameWidth = fm.width(strCompressedName);
589 int iMinimumNameHeight = fm.height();
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/graphics/
H A DUIGraphicsTextPane.cpp114 QFontMetrics fm(font(), m_pPaintDevice);
128 iMaximumLeftColumnWidth = qMax(iMaximumLeftColumnWidth, fm.width(strLeftLine));
129 iMaximumRightColumnWidth = qMax(iMaximumRightColumnWidth, fm.width(strRightLine));
362 QFontMetrics fm(font, pPaintDevice);
363 int iLeading = fm.leading();
439 QFontMetrics fm(pTextLayout->font(), pPaintDevice);
463 fm.width(strLayoutText[iTextPosition]) + 1, fm.height());
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Duxshm.c499 PRFileMap *fm = NULL; local
585 fm = PR_CreateFileMap( fd, size64, prot );
586 if ( NULL == fm ) {
592 fm->md.isAnonFM = PR_TRUE; /* set fd close */
595 ("_md_OpenAnonFileMap(): PR_CreateFileMap(): fm: %p", fm ));
598 return(fm);
607 PRFileMap *fm,
613 PRIntn prot = (PRIntn)fm->prot;
616 fm
606 _md_ExportFileMapAsString( PRFileMap *fm, PRSize bufSize, char *buf ) argument
630 PRFileMap *fm = NULL; /* default return value */ local
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/
H A DUIPopupPaneTextPane.cpp174 QFontMetrics fm(m_pLabel->font(), m_pLabel);
175 m_collapsedSizeHint = QSize(m_iDesiredLabelWidth, fm.height());
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/
H A DUIGDetailsItem.cpp159 QFontMetrics fm(font, pPaintDevice);
160 point += QPoint(0, fm.ascent());
H A DUIGDetailsElement.cpp243 QFontMetrics fm(m_nameFont, model()->paintDevice());
244 m_nameSize = QSize(fm.width(m_strName), fm.height());
/vbox/src/VBox/Frontends/VirtualBox/src/extensions/
H A DQILabel.cpp310 QFontMetrics fm = fontMetrics(); local
326 int flatWidth = fm.width (flatStr);
328 QString newStr = fm.elidedText (elideStr, toTextElideMode (elideModeStr), width() - (2 * HOR_PADDING) - flatWidth);
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/
H A DUIMachineSettingsSF.cpp105 QFontMetrics fm = treeWidget()->fontMetrics();
106 int oldSize = fm.width (oneString);
107 int indentSize = fm.width (" ... ");
120 textWidth = fm.width (oneString);
160 int newSize = fm.width (oneString);
165 setSizeHint (aColumn, QSize (fm.width (QString (" %1 ").arg (getText (aColumn))), 100));
H A DUIMachineSettingsStorage.cpp1050 QFontMetrics fm (data (aIndex, Qt::FontRole).value <QFont>());
1051 int minimumHeight = qMax (fm.height(), data (aIndex, R_IconSize).toInt());
1123 QFontMetrics fm (data (aIndex, Qt::FontRole).value <QFont>());
1126 sizeHint.height() / 2 + fm.ascent() / 2 - 1 /* base line */);
1830 QFontMetrics fm (font);
1831 while ((shortText.size() > 1) && (fm.width (shortText) + fm.width ("...") > textWidth))
/vbox/src/VBox/Frontends/VirtualBox/src/platform/darwin/
H A DVBoxUtils-darwin.cpp262 QFontMetrics fm(qApp->font());
263 QRect tbRect = fm.boundingRect(aText);
264 const int h = qMax(aPixmap.height(), fm.ascent() + 1);
/vbox/src/VBox/Frontends/VirtualBox/src/
H A DUIVMInfoDialog.cpp857 QFontMetrics fm = QApplication::fontMetrics(); local
879 .arg(fm.width(QString(" %1").arg(m_units[key].mid(1, m_units[key].length() - 2))))) :
/vbox/src/VBox/Frontends/VirtualBox/src/extradata/
H A DUIExtraDataManager.cpp210 const QFontMetrics &fm = option.fontMetrics; local
220 qMax(fm.width(index.data(Field_Name).toString()),
221 fm.width(index.data(Field_ID).toString())) +
226 fm.height() + m_iSpacing + fm.height()) +
240 const QFontMetrics &fm = option.fontMetrics; local
282 QPoint(0, fm.ascent());
292 QPoint(0, fm.height());
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/private/
H A Dprimpl.h2053 PRFileMap *fm,
/vbox/src/VBox/Main/webservice/jaxlibs/
H A Djaxb-xjc.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/com. ...

Completed in 2065 milliseconds