LibreOffice Module bridges (master) 1
Namespaces | Macros | Functions
gcc3_linux_powerpc64/uno2cpp.cxx File Reference
#include <sal/config.h>
#include <exception>
#include <malloc.h>
#include <typeinfo>
#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/genfunc.hxx>
#include <o3tl/runtimetooustring.hxx>
#include <uno/data.h>
#include "bridge.hxx"
#include "types.hxx"
#include "unointerfaceproxy.hxx"
#include "vtables.hxx"
#include "share.hxx"
#include <stdio.h>
#include <string.h>
Include dependency graph for gcc3_linux_powerpc64/uno2cpp.cxx:

Go to the source code of this file.

Namespaces

namespace  ppc64
 
namespace  bridges
 
namespace  bridges::cpp_uno
 
namespace  bridges::cpp_uno::shared
 

Macros

#define INSERT_FLOAT(pSV, nr, pFPR, nGPR, pDS, bOverflow)
 
#define INSERT_DOUBLE(pSV, nr, pFPR, nGPR, pDS, bOverflow)
 
#define INSERT_INT64(pSV, nr, pGPR, pDS, bOverflow)
 
#define INSERT_INT32(pSV, nr, pGPR, pDS, bOverflow)
 
#define INSERT_INT16(pSV, nr, pGPR, pDS, bOverflow)
 
#define INSERT_INT8(pSV, nr, pGPR, pDS, bOverflow)
 

Functions

bool ppc64::return_in_hidden_param (typelib_TypeDescriptionReference *pTypeRef)
 
void MapReturn (long r3, long r4, double dret, typelib_TypeDescriptionReference *pReturnType, void *pRegisterReturn)
 
void bridges::cpp_uno::shared::unoInterfaceProxyDispatch (uno_Interface *pUnoI, const typelib_TypeDescription *pMemberDescr, void *pReturn, void *pArgs[], uno_Any **ppException)
 

Macro Definition Documentation

◆ INSERT_DOUBLE

#define INSERT_DOUBLE (   pSV,
  nr,
  pFPR,
  nGPR,
  pDS,
  bOverflow 
)
Value:
if ( nGPR < ppc64::MAX_GPR_REGS ) \
++nGPR; \
if ( nr < ppc64::MAX_SSE_REGS ) \
pFPR[nr++] = *reinterpret_cast<double *>( pSV ); \
else \
bOverflow = true; \
if (bOverflow) \
*pDS++ = *reinterpret_cast<sal_uInt64 *>( pSV );

Definition at line 248 of file gcc3_linux_powerpc64/uno2cpp.cxx.

◆ INSERT_FLOAT

#define INSERT_FLOAT (   pSV,
  nr,
  pFPR,
  nGPR,
  pDS,
  bOverflow 
)
Value:
if ( nGPR < ppc64::MAX_GPR_REGS ) \
++nGPR; \
if ( nr < ppc64::MAX_SSE_REGS ) \
pFPR[nr++] = *reinterpret_cast<float *>( pSV ); \
else \
bOverflow = true; \
if (bOverflow) \
*pDS++ = *reinterpret_cast<sal_uInt64 *>( pSV );

Definition at line 238 of file gcc3_linux_powerpc64/uno2cpp.cxx.

◆ INSERT_INT16

#define INSERT_INT16 (   pSV,
  nr,
  pGPR,
  pDS,
  bOverflow 
)
Value:
if ( nr < ppc64::MAX_GPR_REGS ) \
pGPR[nr++] = *reinterpret_cast<sal_uInt16 *>( pSV ); \
else \
bOverflow = true; \
if (bOverflow) \
*pDS++ = *reinterpret_cast<sal_uInt16 *>( pSV );

Definition at line 274 of file gcc3_linux_powerpc64/uno2cpp.cxx.

◆ INSERT_INT32

#define INSERT_INT32 (   pSV,
  nr,
  pGPR,
  pDS,
  bOverflow 
)
Value:
if ( nr < ppc64::MAX_GPR_REGS ) \
pGPR[nr++] = *reinterpret_cast<sal_uInt32 *>( pSV ); \
else \
bOverflow = true; \
if (bOverflow) \
*pDS++ = *reinterpret_cast<sal_uInt32 *>( pSV );

Definition at line 266 of file gcc3_linux_powerpc64/uno2cpp.cxx.

◆ INSERT_INT64

#define INSERT_INT64 (   pSV,
  nr,
  pGPR,
  pDS,
  bOverflow 
)
Value:
if ( nr < ppc64::MAX_GPR_REGS ) \
pGPR[nr++] = *reinterpret_cast<sal_uInt64 *>( pSV ); \
else \
bOverflow = true; \
if (bOverflow) \
*pDS++ = *reinterpret_cast<sal_uInt64 *>( pSV );

Definition at line 258 of file gcc3_linux_powerpc64/uno2cpp.cxx.

◆ INSERT_INT8

#define INSERT_INT8 (   pSV,
  nr,
  pGPR,
  pDS,
  bOverflow 
)
Value:
if ( nr < ppc64::MAX_GPR_REGS ) \
pGPR[nr++] = *reinterpret_cast<sal_uInt8 *>( pSV ); \
else \
bOverflow = true; \
if (bOverflow) \
*pDS++ = *reinterpret_cast<sal_uInt8 *>( pSV );
unsigned char sal_uInt8

Definition at line 282 of file gcc3_linux_powerpc64/uno2cpp.cxx.

Function Documentation

◆ MapReturn()

void MapReturn ( long  r3,
long  r4,
double  dret,
typelib_TypeDescriptionReference *  pReturnType,
void *  pRegisterReturn 
)

Definition at line 95 of file gcc3_linux_powerpc64/uno2cpp.cxx.

References ppc64::return_in_hidden_param().