Lines Matching refs:aPath

889     ::osl::LongPathBuffer< sal_Unicode > aPath( MAX_LONG_PATH );  in osl_getProfileName()
973 if ( ::sal::static_int_cast< sal_uInt32 >( strHome->length ) >= aPath.getBufSizeInSymbols()) in osl_getProfileName()
976 copy_ustr_n( aPath, strHome->buffer, strHome->length+1); in osl_getProfileName()
984 if (nLen + nPathLen >= aPath.getBufSizeInSymbols()) in osl_getProfileName()
987 copy_ustr_n(aPath + nPathLen, pPath, nLen+1); in osl_getProfileName()
1005 if ( ::sal::static_int_cast< sal_uInt32 >( strConfig->length ) >= aPath.getBufSizeInSymbols()) in osl_getProfileName()
1008 copy_ustr_n( aPath, strConfig->buffer, strConfig->length+1 ); in osl_getProfileName()
1016 if (nLen + nPathLen >= aPath.getBufSizeInSymbols()) in osl_getProfileName()
1019 copy_ustr_n(aPath + nPathLen, pPath, nLen+1); in osl_getProfileName()
1029 …toryW(::osl::mingw_reinterpret_cast<LPWSTR>(aPath), aPath.getBufSizeInSymbols())) == 0) || (nPathL… in osl_getProfileName()
1037 if (nLen + nPathLen >= aPath.getBufSizeInSymbols()) in osl_getProfileName()
1040 copy_ustr_n(aPath + nPathLen, pPath, nLen+1); in osl_getProfileName()
1049 if (! lookupProfile(pPath + RTL_CONSTASCII_LENGTH(STR_INI_METAINS), aFile, aPath)) in osl_getProfileName()
1052 nPathLen = rtl_ustr_getLength(aPath); in osl_getProfileName()
1055 else if( ::sal::static_int_cast< sal_uInt32 >( nLen ) < aPath.getBufSizeInSymbols()) in osl_getProfileName()
1057 copy_ustr_n(aPath, pPath, nLen+1); in osl_getProfileName()
1058 nPathLen = rtl_ustr_getLength(aPath); in osl_getProfileName()
1072 if ( ::sal::static_int_cast< sal_uInt32 >( strConfigDir->length ) >= aPath.getBufSizeInSymbols() ) in osl_getProfileName()
1075 copy_ustr_n(aPath, strConfigDir->buffer, strConfigDir->length+1); in osl_getProfileName()
1079 if (nPathLen && (aPath[nPathLen - 1] != L'/') && (aPath[nPathLen - 1] != L'\\')) in osl_getProfileName()
1081 aPath[nPathLen++] = L'\\'; in osl_getProfileName()
1082 aPath[nPathLen] = 0; in osl_getProfileName()
1085 if (nPathLen + nFileLen >= aPath.getBufSizeInSymbols()) in osl_getProfileName()
1089 copy_ustr_n(aPath + nPathLen, aFile, nFileLen+1); in osl_getProfileName()
1093 rtl_uString_newFromStr_WithLength(&strTmp, aPath, nPathLen); in osl_getProfileName()
2302 ::osl::LongPathBuffer< sal_Unicode > aPath( MAX_LONG_PATH ); in lookupProfile()
2303 aPath[0] = 0; in lookupProfile()
2442 copy_ustr_n(aPath, pCommandArg + nStart + 1, dwPathLen); in lookupProfile()
2443 aPath[dwPathLen] = 0; in lookupProfile()
2446 if ((aPath[dwPathLen - 1] != L'/') && (aPath[dwPathLen - 1] != L'\\')) in lookupProfile()
2448 copy_ustr_n(aPath + dwPathLen++, L"/", 2); in lookupProfile()
2453 copy_ustr_n(aPath + dwPathLen, strPath, rtl_ustr_getLength(strPath)+1); in lookupProfile()
2461 …if ((n = WideCharToMultiByte(CP_ACP,0, ::osl::mingw_reinterpret_cast<LPCWSTR>(aPath), -1, aTmpPath… in lookupProfile()
2466 …ideChar( CP_ACP, 0, SVERSION_USER, -1, reinterpret_cast<LPWSTR>(aPath + dwPathLen), aPath.getBufSi… in lookupProfile()
2506 copy_ustr_n(aPath, strExecutable->buffer, nPos); in lookupProfile()
2507 aPath[nPos] = 0; in lookupProfile()
2513 copy_ustr_n(aPath, strExecutable->buffer, nPos); in lookupProfile()
2515 aPath[dwPathLen] = 0; in lookupProfile()
2531 nPos = rtl_ustr_lastIndexOfChar(aPath, L'\\'); in lookupProfile()
2533 copy_ustr_n(aPath + dwPathLen++, L"\\", 2); in lookupProfile()
2537 copy_ustr_n(aPath + dwPathLen, strPath, rtl_ustr_getLength(strPath)+1); in lookupProfile()
2544 …WideCharToMultiByte(CP_ACP,0, ::osl::mingw_reinterpret_cast<LPCWSTR>(aPath), -1, aTmpPath, aTmpPat… in lookupProfile()
2568 …ideChar( CP_ACP, 0, SVERSION_USER, -1, reinterpret_cast<LPWSTR>(aPath + nPos + 1), aPath.getBufSiz… in lookupProfile()
2573 copy_ustr_n(aPath + nPos + 1, strPath, rtl_ustr_getLength(strPath)+1); in lookupProfile()
2582 if ((aPath[dwPathLen - 1] != L'/') && (aPath[dwPathLen - 1] != L'\\')) in lookupProfile()
2584 aPath[dwPathLen++] = L'\\'; in lookupProfile()
2585 aPath[dwPathLen] = 0; in lookupProfile()
2588 copy_ustr_n(aPath + dwPathLen, strFile, rtl_ustr_getLength(strFile)+1); in lookupProfile()
2593 …WideCharToMultiByte(CP_ACP,0, ::osl::mingw_reinterpret_cast<LPCWSTR>(aPath), -1, aTmpPath, aTmpPat… in lookupProfile()
2644 …CP_ACP, 0, Buffer, -1, ::osl::mingw_reinterpret_cast<LPWSTR>(aPath), aPath.getBufSizeInSymbols() ); in lookupProfile()
2648 if ((aPath[dwPathLen - 1] != L'/') in lookupProfile()
2649 && (aPath[dwPathLen - 1] != L'\\')) in lookupProfile()
2651 copy_ustr_n(aPath + dwPathLen++, L"\\", 2); in lookupProfile()
2656 … copy_ustr_n(aPath + dwPathLen, strPath, rtl_ustr_getLength(strPath)+1); in lookupProfile()
2665 … CP_ACP,0, ::osl::mingw_reinterpret_cast<LPCWSTR>(aPath), -1, aTmpPath, in lookupProfile()
2674 reinterpret_cast<LPWSTR>(aPath + dwPathLen), in lookupProfile()
2675 aPath.getBufSizeInSymbols() - dwPathLen ); in lookupProfile()
2691 aPath[dwPathLen] = 0; in lookupProfile()
2695 copy_ustr_n(strProfile, aPath, dwPathLen+1); in lookupProfile()