Lines Matching refs:nNameLen
1374 UINT nNameLen = rName.Len(); in ImplIsFontAvailable() local
1375 if ( nNameLen > (sizeof( aLogFont.lfFaceName )/sizeof( wchar_t ))-1 ) in ImplIsFontAvailable()
1376 nNameLen = (sizeof( aLogFont.lfFaceName )/sizeof( wchar_t ))-1; in ImplIsFontAvailable()
1377 memcpy( aLogFont.lfFaceName, rName.GetBuffer(), nNameLen*sizeof( wchar_t ) ); in ImplIsFontAvailable()
1378 aLogFont.lfFaceName[nNameLen] = 0; in ImplIsFontAvailable()
1400 UINT nNameLen = aName.Len(); in ImplGetLogFontFromFontSelect() local
1401 if ( nNameLen > (sizeof( rLogFont.lfFaceName )/sizeof( wchar_t ))-1 ) in ImplGetLogFontFromFontSelect()
1402 nNameLen = (sizeof( rLogFont.lfFaceName )/sizeof( wchar_t ))-1; in ImplGetLogFontFromFontSelect()
1403 memcpy( rLogFont.lfFaceName, aName.GetBuffer(), nNameLen*sizeof( wchar_t ) ); in ImplGetLogFontFromFontSelect()
1404 rLogFont.lfFaceName[nNameLen] = 0; in ImplGetLogFontFromFontSelect()
1438 if( pFont->mbVertical && nNameLen ) in ImplGetLogFontFromFontSelect()
1453 memcpy( &rLogFont.lfFaceName[0], aName.GetBuffer(), nNameLen*sizeof(wchar_t) ); in ImplGetLogFontFromFontSelect()
1454 if( nNameLen < LF_FACESIZE ) in ImplGetLogFontFromFontSelect()
1455 rLogFont.lfFaceName[nNameLen] = '\0'; in ImplGetLogFontFromFontSelect()
1473 int nNameLen = aName.Len(); in ImplGetLogFontFromFontSelect() local
1474 if( nNameLen > LF_FACESIZE ) in ImplGetLogFontFromFontSelect()
1475 nNameLen = LF_FACESIZE; in ImplGetLogFontFromFontSelect()
1476 memcpy( rLogFont.lfFaceName, aName.GetBuffer(), nNameLen ); in ImplGetLogFontFromFontSelect()
1477 if( nNameLen < LF_FACESIZE ) in ImplGetLogFontFromFontSelect()
1478 rLogFont.lfFaceName[nNameLen] = '\0'; in ImplGetLogFontFromFontSelect()
1512 if( pFont->mbVertical && nNameLen ) in ImplGetLogFontFromFontSelect()
1527 memcpy( rLogFont.lfFaceName, aName.GetBuffer(), nNameLen ); in ImplGetLogFontFromFontSelect()
1528 if( nNameLen < LF_FACESIZE ) in ImplGetLogFontFromFontSelect()
1529 rLogFont.lfFaceName[nNameLen] = '\0'; in ImplGetLogFontFromFontSelect()