/vbox/src/libs/xpcom18a4/xpcom/glue/ |
H A D | nsIInterfaceRequestorUtils.h | 49 CallGetInterface( T* aSource, DestinationType** aDestination ) argument 51 NS_PRECONDITION(aSource, "null parameter"); 54 return aSource->GetInterface(NS_GET_IID(DestinationType), 61 nsGetInterface( nsISupports* aSource, nsresult* error ) argument 62 : mSource(aSource), 77 do_GetInterface( nsISupports* aSource, nsresult* error = 0 ) argument 79 return nsGetInterface(aSource, error);
|
H A D | nsIWeakReferenceUtils.h | 57 CallQueryReferent( T* aSource, DestinationType** aDestination ) argument 59 NS_PRECONDITION(aSource, "null parameter"); 62 return aSource->QueryReferent(NS_GET_IID(DestinationType),
|
H A D | nsISupportsUtils.h | 219 CallQueryInterface( T* aSource, DestinationType** aDestination ) argument 221 NS_PRECONDITION(aSource, "null parameter"); 224 return aSource->QueryInterface(NS_GET_IID(DestinationType),
|
/vbox/src/libs/xpcom18a4/xpcom/string/public/ |
H A D | nsReadableUtils.h | 61 NS_COM void LossyCopyUTF16toASCII( const nsAString& aSource, nsACString& aDest ); 62 NS_COM void CopyASCIItoUTF16( const nsACString& aSource, nsAString& aDest ); 64 NS_COM void LossyCopyUTF16toASCII( const PRUnichar* aSource, nsACString& aDest ); 65 NS_COM void CopyASCIItoUTF16( const char* aSource, nsAString& aDest ); 67 NS_COM void CopyUTF16toUTF8( const nsAString& aSource, nsACString& aDest ); 68 NS_COM void CopyUTF8toUTF16( const nsACString& aSource, nsAString& aDest ); 70 NS_COM void CopyUTF16toUTF8( const PRUnichar* aSource, nsACString& aDest ); 71 NS_COM void CopyUTF8toUTF16( const char* aSource, nsAString& aDest ); 73 NS_COM void LossyAppendUTF16toASCII( const nsAString& aSource, nsACString& aDest ); 74 NS_COM void AppendASCIItoUTF16( const nsACString& aSource, nsAStrin 87 CopyUCS2toASCII( const nsAString& aSource, nsACString& aDest ) argument 90 CopyASCIItoUCS2( const nsACString& aSource, nsAString& aDest ) argument 297 FindInReadable( const nsAString& aPattern, const nsAString& aSource, const nsStringComparator& compare = nsDefaultStringComparator() ) argument 305 FindInReadable( const nsACString& aPattern, const nsACString& aSource, const nsCStringComparator& compare = nsDefaultCStringComparator() ) argument [all...] |
H A D | nsUTF8Utils.h | 444 write( const input_type* aSource, PRUint32 aSourceLength ) argument 446 const input_type* done_writing = aSource + aSourceLength; 447 while ( aSource < done_writing ) 448 *mDestination++ = (output_type)(unsigned_input_type)(*aSource++); // use old-style cast to mimic old |ns[C]String| behavior
|
/vbox/src/VBox/Main/include/ |
H A D | GuestSessionImpl.h | 190 InstallerFile(const Utf8Str &aSource, argument 193 : strSource(aSource), 197 InstallerFile(const Utf8Str &aSource, argument 201 : strSource(aSource), 281 HRESULT copyFrom(const com::Utf8Str &aSource, 285 HRESULT copyTo(const com::Utf8Str &aSource, 309 HRESULT directoryRename(const com::Utf8Str &aSource, 344 HRESULT fileRename(const com::Utf8Str &aSource, 365 HRESULT symlinkCreate(const com::Utf8Str &aSource,
|
/vbox/src/VBox/Main/src-client/ |
H A D | GuestCtrlImpl.cpp | 116 HRESULT Guest::updateGuestAdditions(const com::Utf8Str &aSource, const std::vector<com::Utf8Str> &aArguments, argument 198 aSource, aArgs, fFlags);
|
H A D | GuestSessionImpl.cpp | 2414 HRESULT GuestSession::copyFrom(const com::Utf8Str &aSource, const com::Utf8Str &aDest, argument 2424 if (RT_UNLIKELY((aSource.c_str()) == NULL || *(aSource.c_str()) == '\0')) 2444 aSource, aDest, fFlags); 2445 int rc = i_startTaskAsync(Utf8StrFmt(tr("Copying \"%s\" from guest to \"%s\" on the host"), aSource.c_str(), 2463 HRESULT GuestSession::copyTo(const com::Utf8Str &aSource, const com::Utf8Str &aDest, const std::vector<CopyFileFlag_T> &aFlags, argument 2472 if (RT_UNLIKELY((aSource.c_str()) == NULL || *(aSource.c_str()) == '\0')) 2492 aSource, aDest, fFlags); 2494 int rc = i_startTaskAsync(Utf8StrFmt(tr("Copying \"%s\" from host to \"%s\" on the guest"), aSource 2864 directoryRename(const com::Utf8Str &aSource, const com::Utf8Str &aDest, const std::vector<PathRenameFlag_T> &aFlags) argument 3251 fileRename(const com::Utf8Str &aSource, const com::Utf8Str &aDest, const std::vector<PathRenameFlag_T> &aFlags) argument 3447 symlinkCreate(const com::Utf8Str &aSource, const com::Utf8Str &aTarget, SymlinkType_T aType) argument [all...] |
/vbox/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/ |
H A D | test_main.cpp | 70 CallCMid( nsACString& aResult, const nsACString& aSource, PRUint32 aStartPos, PRUint32 aLengthToCopy ) argument 72 aSource.Mid(aResult, aStartPos, aLengthToCopy);
|
/vbox/src/libs/xpcom18a4/xpcom/string/src/ |
H A D | nsReadableUtils.cpp | 46 LossyCopyUTF16toASCII( const nsAString& aSource, nsACString& aDest ) argument 49 LossyAppendUTF16toASCII(aSource, aDest); 54 CopyASCIItoUTF16( const nsACString& aSource, nsAString& aDest ) argument 57 AppendASCIItoUTF16(aSource, aDest); 62 LossyCopyUTF16toASCII( const PRUnichar* aSource, nsACString& aDest ) argument 65 if (aSource) { 66 LossyAppendUTF16toASCII(nsDependentString(aSource), aDest); 72 CopyASCIItoUTF16( const char* aSource, nsAString& aDest ) argument 75 if (aSource) { 76 AppendASCIItoUTF16(nsDependentCString(aSource), aDes 82 CopyUTF16toUTF8( const nsAString& aSource, nsACString& aDest ) argument 90 CopyUTF8toUTF16( const nsACString& aSource, nsAString& aDest ) argument 98 CopyUTF16toUTF8( const PRUnichar* aSource, nsACString& aDest ) argument 106 CopyUTF8toUTF16( const char* aSource, nsAString& aDest ) argument 114 LossyAppendUTF16toASCII( const nsAString& aSource, nsACString& aDest ) argument 134 AppendASCIItoUTF16( const nsACString& aSource, nsAString& aDest ) argument 154 LossyAppendUTF16toASCII( const PRUnichar* aSource, nsACString& aDest ) argument 163 AppendASCIItoUTF16( const char* aSource, nsAString& aDest ) argument 172 AppendUTF16toUTF8( const nsAString& aSource, nsACString& aDest ) argument 227 AppendUTF8toUTF16( const nsACString& aSource, nsAString& aDest ) argument 281 AppendUTF16toUTF8( const PRUnichar* aSource, nsACString& aDest ) argument 290 AppendUTF8toUTF16( const char* aSource, nsAString& aDest ) argument 308 AllocateStringCopy( const FromStringT& aSource, ToCharT* ) argument 328 ToNewUTF8String( const nsAString& aSource, PRUint32 *aUTF8Count ) argument 391 UTF8ToNewUnicode( const nsACString& aSource, PRUint32 *aUTF16Count ) argument 414 CopyUnicodeTo( const nsAString& aSource, PRUint32 aSrcOffset, PRUnichar* aDest, PRUint32 aLength ) argument 617 write( const char* aSource, PRUint32 aSourceLength ) argument 663 write( const char* aSource, PRUint32 aSourceLength ) argument 687 ToUpperCase( const nsACString& aSource, nsACString& aDest ) argument 705 write( const char* aSource, PRUint32 aSourceLength ) argument 751 write( const char* aSource, PRUint32 aSourceLength ) argument 775 ToLowerCase( const nsACString& aSource, nsACString& aDest ) argument 1019 StringBeginsWith( const nsAString& aSource, const nsAString& aSubstring, const nsStringComparator& aComparator ) argument 1030 StringBeginsWith( const nsACString& aSource, const nsACString& aSubstring, const nsCStringComparator& aComparator ) argument 1041 StringEndsWith( const nsAString& aSource, const nsAString& aSubstring, const nsStringComparator& aComparator ) argument 1053 StringEndsWith( const nsACString& aSource, const nsACString& aSubstring, const nsCStringComparator& aComparator ) argument [all...] |
/vbox/src/VBox/Main/src-all/ |
H A D | EventImpl.cpp | 104 HRESULT VBoxEvent::init(IEventSource *aSource, VBoxEventType_T aType, BOOL aWaitable) argument 108 AssertReturn(aSource != NULL, E_INVALIDARG); 113 m->mSource = aSource; 166 HRESULT VBoxEvent::getSource(ComPtr<IEventSource> &aSource) argument 168 m->mSource.queryInterfaceTo(aSource.asOutParam()); 261 HRESULT VBoxVetoEvent::init(IEventSource *aSource, VBoxEventType_T aType) argument 265 rc = m->mEvent->init(aSource, aType, TRUE); 303 HRESULT VBoxVetoEvent::getSource(ComPtr<IEventSource> &aSource) argument 305 return m->mEvent->COMGETTER(Source)(aSource.asOutParam()); 1290 HRESULT init(IEventSource *aSource) argument [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | SnapshotImpl.cpp | 2519 const ComObjPtr<Medium> &aSource, 2529 mpSource(aSource), 2541 const ComObjPtr<Medium> &aSource, 2553 mpSource(aSource), 3205 * @param aSource Source hard disk for merge (out). 3228 ComObjPtr<Medium> &aSource, 3256 aSource = aHD; 3299 aSource = pChild; 3318 aSource = aHD; 3324 aSource 2518 MediumDeleteRec(const ComObjPtr<Medium> &aHd, const ComObjPtr<Medium> &aSource, const ComObjPtr<Medium> &aTarget, const ComObjPtr<MediumAttachment> &aOnlineMediumAttachment, bool fMergeForward, const ComObjPtr<Medium> &aParentForTarget, MediumLockList *aChildrenToReparent, bool fNeedsOnlineMerge, MediumLockList *aMediumLockList, const ComPtr<IToken> &aHDLockToken) argument 2540 MediumDeleteRec(const ComObjPtr<Medium> &aHd, const ComObjPtr<Medium> &aSource, const ComObjPtr<Medium> &aTarget, const ComObjPtr<MediumAttachment> &aOnlineMediumAttachment, bool fMergeForward, const ComObjPtr<Medium> &aParentForTarget, MediumLockList *aChildrenToReparent, bool fNeedsOnlineMerge, MediumLockList *aMediumLockList, const ComPtr<IToken> &aHDLockToken, const Guid &aMachineId, const Guid &aSnapshotId) argument 3223 i_prepareDeleteSnapshotMedium(const ComObjPtr<Medium> &aHD, const Guid &aMachineId, const Guid &aSnapshotId, bool fOnlineMergePossible, MediumLockList *aVMMALockList, ComObjPtr<Medium> &aSource, ComObjPtr<Medium> &aTarget, bool &aMergeForward, ComObjPtr<Medium> &aParentForTarget, MediumLockList * &aChildrenToReparent, bool &fNeedsOnlineMerge, MediumLockList * &aMediumLockList, ComPtr<IToken> &aHDLockToken) argument 3516 i_cancelDeleteSnapshotMedium(const ComObjPtr<Medium> &aHD, const ComObjPtr<Medium> &aSource, MediumLockList *aChildrenToReparent, bool fNeedsOnlineMerge, MediumLockList *aMediumLockList, const ComPtr<IToken> &aHDLockToken, const Guid &aMachineId, const Guid &aSnapshotId) argument 3612 i_onlineMergeMedium(const ComObjPtr<MediumAttachment> &aMediumAttachment, const ComObjPtr<Medium> &aSource, const ComObjPtr<Medium> &aTarget, bool fMergeForward, const ComObjPtr<Medium> &aParentForTarget, MediumLockList *aChildrenToReparent, MediumLockList *aMediumLockList, ComObjPtr<Progress> &aProgress, bool *pfNeedsMachineSaveSettings) argument [all...] |
H A D | VirtualBoxImpl.cpp | 148 virtual HRESULT prepareEventDesc(IEventSource* aSource, VBoxEventDesc& aEvDesc) = 0; 2654 virtual HRESULT prepareEventDesc(IEventSource* aSource, VBoxEventDesc& aEvDesc) argument 2659 aEvDesc.init(aSource, mWhat, id.raw(), mBool); 2663 aEvDesc.init(aSource, mWhat, id.raw(), mState); 2667 aEvDesc.init(aSource, mWhat, id.raw(), mBool); 2768 virtual HRESULT prepareEventDesc(IEventSource* aSource, VBoxEventDesc& aEvDesc) argument 2770 return aEvDesc.init(aSource, VBoxEventType_OnExtraDataChanged, machineId.raw(), key.raw(), val.raw()); 2800 virtual HRESULT prepareEventDesc(IEventSource* aSource, VBoxEventDesc& aEvDesc) argument 2802 return aEvDesc.init(aSource, VBoxEventType_OnSessionStateChanged, machineId.raw(), sessionState); 2825 virtual HRESULT prepareEventDesc(IEventSource* aSource, VBoxEventDes argument 2883 prepareEventDesc(IEventSource* aSource, VBoxEventDesc& aEvDesc) argument [all...] |