Lines Matching refs:nItems
251 unsigned long nItems = 0; in WMAdaptor() local
278 &nItems, in WMAdaptor()
281 && nItems) in WMAdaptor()
290 &nItems, in WMAdaptor()
293 && nItems)) in WMAdaptor()
322 &nItems, in WMAdaptor()
358 &nItems, in WMAdaptor()
375 &nItems, in WMAdaptor()
396 &nItems, in WMAdaptor()
437 unsigned long nItems = 0; in NetWMAdaptor() local
455 &nItems, in NetWMAdaptor()
476 &nItems, in NetWMAdaptor()
479 && nItems in NetWMAdaptor()
483 char** pAtomNames = (char**)alloca( sizeof(char*)*nItems ); in NetWMAdaptor()
484 if( XGetAtomNames( m_pDisplay, pAtoms, nItems, pAtomNames ) ) in NetWMAdaptor()
489 for( unsigned int i = 0; i < nItems; i++ ) in NetWMAdaptor()
537 &nItems, in NetWMAdaptor()
556 &nItems, in NetWMAdaptor()
560 && nItems == 4*(unsigned)m_nDesktops in NetWMAdaptor()
589 fprintf( stderr, "%ld workareas for %d desktops !\n", nItems/4, m_nDesktops ); in NetWMAdaptor()
631 unsigned long nItems = 0; in GnomeWMAdaptor() local
649 &nItems, in GnomeWMAdaptor()
654 && nItems != 0 in GnomeWMAdaptor()
670 &nItems, in GnomeWMAdaptor()
675 && nItems != 0 in GnomeWMAdaptor()
711 &nItems, in GnomeWMAdaptor()
732 &nItems, in GnomeWMAdaptor()
739 char** pAtomNames = (char**)alloca( sizeof(char*)*nItems ); in GnomeWMAdaptor()
740 if( XGetAtomNames( m_pDisplay, pAtoms, nItems, pAtomNames ) ) in GnomeWMAdaptor()
745 for( unsigned int i = 0; i < nItems; i++ ) in GnomeWMAdaptor()
799 &nItems, in GnomeWMAdaptor()
836 unsigned long nItems = 0; in getNetWmName() local
852 &nItems, in getNetWmName()
857 && nItems != 0 in getNetWmName()
873 &nItems, in getNetWmName()
878 && nItems != 0 in getNetWmName()
898 &nItems, in getNetWmName()
901 && nItems != 0 in getNetWmName()
906 … m_aWMName = String( (sal_Char*)pProperty, nItems, RTL_TEXTENCODING_UTF8 ); in getNetWmName()
911 … m_aWMName = String( (sal_Char*)pProperty, nItems, RTL_TEXTENCODING_ISO_8859_1 ); in getNetWmName()
937 &nItems, in getNetWmName()
940 && nItems != 0 in getNetWmName()
943 … String aMetaVersion( (sal_Char*)pProperty, nItems, RTL_TEXTENCODING_UTF8 ); in getNetWmName()
1988 unsigned long nItems, nBytesLeft; in handlePropertyNotify() local
2001 &nItems, &nBytesLeft, in handlePropertyNotify()
2005 if( nType == XA_ATOM && nFormat == 32 && nItems > 0 ) in handlePropertyNotify()
2008 for( unsigned long i = 0; i < nItems; i++ ) in handlePropertyNotify()
2020 nOffset += nItems * nFormat / 32; in handlePropertyNotify()
2064 unsigned long nItems = 0; in handlePropertyNotify() local
2075 &nItems, &nBytesLeft, in handlePropertyNotify()
2079 if( nType == XA_CARDINAL && nFormat == 32 && nItems == 1 ) in handlePropertyNotify()
2299 unsigned long nItems = 0; in getCurrentWorkArea() local
2310 &nItems, in getCurrentWorkArea()
2338 unsigned long nItems = 0; in getWindowWorkArea() local
2349 &nItems, in getWindowWorkArea()