| /trunk/test/testcommon/source/org/openoffice/test/vcl/client/ |
| H A D | CommandCaller.java | 213 int nParams = PARAM_NONE; in writeParams() local 228 if ((nParams & PARAM_USHORT_1) == 0) { in writeParams() 229 nParams |= PARAM_USHORT_1; in writeParams() 231 } else if ((nParams & PARAM_USHORT_2) == 0) { in writeParams() 232 nParams |= PARAM_USHORT_2; in writeParams() 234 } else if ((nParams & PARAM_USHORT_3) == 0) { in writeParams() 235 nParams |= PARAM_USHORT_3; in writeParams() 237 } else if ((nParams & PARAM_USHORT_4) == 0) { in writeParams() 238 nParams |= PARAM_USHORT_4; in writeParams() 245 nParams |= PARAM_ULONG_1; in writeParams() [all …]
|
| /trunk/main/automation/source/server/ |
| H A D | statemnt.cxx | 129 , nParams(0) in StatementFlow() 140 , nParams(0) in StatementFlow() 150 pCmdIn->Read( nParams ); in StatementFlow() 152 if( nParams & PARAM_USHORT_1 ) pCmdIn->Read( nSNr1 ); in StatementFlow() 153 if( nParams & PARAM_ULONG_1 ) pCmdIn->Read( nLNr1 ); in StatementFlow() 154 if( nParams & PARAM_STR_1 ) pCmdIn->Read( aString1 ); in StatementFlow() 155 if( nParams & PARAM_BOOL_1 ) pCmdIn->Read( bBool1 ); // should never occur!! in StatementFlow() 161 …if( nParams & PARAM_USHORT_1 ) {m_pDbgWin->AddText( " n1:" );m_pDbgWin->AddText( String::CreateFr… in StatementFlow() 162 …if( nParams & PARAM_ULONG_1 ) {m_pDbgWin->AddText( " l1:" );m_pDbgWin->AddText( String::CreateFr… in StatementFlow() 163 if( nParams & PARAM_STR_1 ) {m_pDbgWin->AddText( " s1:" );m_pDbgWin->AddText( aString1 );} in StatementFlow() [all …]
|
| /trunk/main/stoc/source/corereflection/ |
| H A D | criface.cxx | 517 sal_Int32 nParams = getMethodTypeDescr()->nParams; in getParameterTypes() local 519 new Sequence< Reference< XIdlClass > >( nParams ); in getParameterTypes() 526 while (nParams--) in getParameterTypes() 527 pParamTypes[nParams] = pRefl->forType( pTypelibParams[nParams].pTypeRef ); in getParameterTypes() 543 sal_Int32 nParams = getMethodTypeDescr()->nParams; in getParameterInfos() local 544 Sequence< ParamInfo > * pTempParamInfos = new Sequence< ParamInfo >( nParams ); in getParameterInfos() 554 while (nParams--) in getParameterInfos() 556 const typelib_MethodParameter & rParam = pTypelibParams[nParams]; in getParameterInfos() 557 ParamInfo & rInfo = pParamInfos[nParams]; in getParameterInfos() 563 rInfo.aType = pParamTypes[nParams]; in getParameterInfos() [all …]
|
| /trunk/main/cli_ure/source/uno_bridge/ |
| H A D | cli_uno.cxx | 50 sal_Int32 nParams, typelib_MethodParameter const * pParams, in call_uno() argument 78 (nParams * sizeof (void *)) + return_size + (nParams * sizeof (largest)) ); in call_uno() 83 if ( !(member_td->eTypeClass == typelib_TypeClass_INTERFACE_ATTRIBUTE && nParams == 1)) in call_uno() 84 uno_ret = (mem + (nParams * sizeof (void *))); in call_uno() 85 largest * uno_args_mem = (largest *)(mem + (nParams * sizeof (void *)) + return_size); in call_uno() 87 OSL_ASSERT( (0 == nParams) || (nParams == args->get_Length()) ); in call_uno() 88 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in call_uno() 134 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in call_uno() 149 for ( sal_Int32 n = nPos; n < nParams; ++n ) in call_uno() 189 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in call_uno() [all …]
|
| /trunk/main/cppu/source/helper/purpenv/ |
| H A D | helper_purpenv_Proxy.cxx | 134 sal_Int32 nParams = 0; in s_Proxy_dispatch() local 147 nParams = 0; in s_Proxy_dispatch() 156 nParams = 1; in s_Proxy_dispatch() 165 nParams = method_td->nParams; in s_Proxy_dispatch() 176 nParams, in s_Proxy_dispatch() 400 sal_Int32 nParams, in dispatch() argument 412 nParams, in dispatch() 418 void ** args = (void **) alloca( sizeof (void *) * nParams ); in dispatch() 432 for (sal_Int32 nPos = 0; nPos < nParams; ++ nPos) in dispatch() 460 for (sal_Int32 nPos = 0; nPos < nParams; ++ nPos) in dispatch() [all …]
|
| /trunk/main/ucb/source/ucp/inc/ |
| H A D | urihelper.hxx | 60 sal_Int32 nParams = ( nFragment == -1 ) in encodeURI() local 63 if ( nParams != -1 ) in encodeURI() 65 ? rURI.copy( nParams + 1 ) in encodeURI() 66 : rURI.copy( nParams + 1, nFragment - nParams - 1 ); in encodeURI() 68 aURI = ( nParams != -1 ) in encodeURI() 69 ? rURI.copy( 0, nParams ) in encodeURI()
|
| /trunk/main/bridges/source/jni_uno/ |
| H A D | jni_java2uno.cxx | 176 sal_Int32 nParams, typelib_MethodParameter const * pParams, in call_uno() argument 203 (nParams * sizeof (void *)) + in call_uno() 204 return_size + (nParams * sizeof (largest)) ); in call_uno() 206 void * uno_ret = return_size == 0 ? 0 : (mem + (nParams * sizeof (void *))); in call_uno() 208 (mem + (nParams * sizeof (void *)) + return_size); in call_uno() 210 OSL_ASSERT( (0 == nParams) || (nParams == jni->GetArrayLength( jo_args )) ); in call_uno() 211 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in call_uno() 276 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in call_uno() 297 for ( sal_Int32 n = nPos; n < nParams; ++n ) in call_uno() 362 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in call_uno() [all …]
|
| /trunk/main/bridges/source/cpp_uno/mingw_intel/ |
| H A D | uno2cpp.cxx | 164 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 170 (char *)malloc( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); in cpp_call() 172 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); in cpp_call() 217 void ** pCppArgs = (void **)malloc( 3 * sizeof(void *) * nParams ); in cpp_call() 219 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 222 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 224 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 228 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 477 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/msvc_win64_x86-64/ |
| H A D | cpp2uno.cxx | 63 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp2uno_call() argument 96 void ** pUnoArgs = (void **)alloca( 4 * sizeof(void *) * nParams ); in cpp2uno_call() 97 void ** pCppArgs = pUnoArgs + nParams; in cpp2uno_call() 99 sal_Int32 * pTempIndizes = (sal_Int32 *)(pUnoArgs + (2 * nParams)); in cpp2uno_call() 101 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pUnoArgs + (3 * nParams)); in cpp2uno_call() 105 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() 324 pMethodTD->nParams, in cpp_vtable_call() 501 typelib_MethodParameter *pParams, sal_Int32 nParams, in findFirst4Win64ArgumentTypes() argument 519 for (int param = 0; param < nParams; param++) in findFirst4Win64ArgumentTypes() 577 findFirst4Win64ArgumentTypes(pMethodTD->pParams, pMethodTD->nParams, in addLocalFunctions()
|
| H A D | uno2cpp.cxx | 57 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 61 sal_uInt64 *pStack = (sal_uInt64 *)alloca( (nParams + 3) * sizeof(sal_uInt64) ); in cpp_call() 89 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 91 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 93 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 97 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 346 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/cc50_solaris_intel/ |
| H A D | uno2cpp.cxx | 62 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 66 char * pCppStack = (char *)alloca( ((nParams+3) * sizeof(sal_Int64)) ); in cpp_call() 104 …void ** pCppArgs = (void **)(nParams > nMaxParams ? rtl_allocateMemory( 3 * sizeof(void *) * nPar… in cpp_call() 106 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 108 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 116 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 395 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/gcc3_linux_powerpc/ |
| H A D | uno2cpp.cxx | 331 sal_Int32 nParams, typelib_MethodParameter * pParams, argument 336 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); 340 char * pParamType = (char *) alloca(nParams+2); 375 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); 377 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); 379 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); 383 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) 649 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams,
|
| /trunk/main/bridges/source/cpp_uno/gcc3_linux_mips/ |
| H A D | uno2cpp.cxx | 244 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 249 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); in cpp_call() 253 char * pParamType = (char *) alloca(nParams+2); in cpp_call() 292 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 294 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 296 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 300 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 574 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/gcc3_freebsd_powerpc/ |
| H A D | uno2cpp.cxx | 331 sal_Int32 nParams, typelib_MethodParameter * pParams, argument 336 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); 340 char * pParamType = (char *) alloca(nParams+2); 375 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); 377 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); 379 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); 383 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) 649 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams,
|
| /trunk/main/bridges/source/cpp_uno/gcc3_linux_s390/ |
| H A D | uno2cpp.cxx | 286 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 291 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); in cpp_call() 295 char * pParamType = (char *) alloca(nParams+2); in cpp_call() 330 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 332 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 334 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 338 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 611 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/cc50_solaris_sparc/ |
| H A D | uno2cpp.cxx | 60 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 67 char * pCppStack = (char *)alloca( ((nParams+3) * sizeof(sal_Int64)) ); in cpp_call() 101 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 103 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 105 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 109 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 373 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/gcc3_solaris_intel/ |
| H A D | uno2cpp.cxx | 146 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 151 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); in cpp_call() 187 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 189 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 191 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 195 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 419 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/gcc3_linux_intel/ |
| H A D | uno2cpp.cxx | 157 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 162 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); in cpp_call() 198 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 200 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 202 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 206 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 432 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/gcc3_netbsd_intel/ |
| H A D | uno2cpp.cxx | 143 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 148 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); in cpp_call() 180 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 182 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 184 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 188 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 409 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in cppu_unoInterfaceProxy_dispatch()
|
| /trunk/main/sc/source/core/tool/ |
| H A D | parclass.cxx | 485 sal_uInt8 nParams = GetMinimumParameters( eOp); in GenerateDocumentation() local 525 aToken.SetByte( nParams); in GenerateDocumentation() 529 if ( nParams != aToken.GetByte() ) in GenerateDocumentation() 531 aToken.GetByte(), nParams); in GenerateDocumentation() 532 aToken.SetByte( nParams); in GenerateDocumentation() 533 if ( nParams != aToken.GetParamCount() ) in GenerateDocumentation() 535 aToken.GetParamCount(), nParams); in GenerateDocumentation() 536 for ( sal_uInt16 j=0; j < nParams; ++j ) in GenerateDocumentation() 567 if ( nParams ) in GenerateDocumentation()
|
| /trunk/main/bridges/source/cpp_uno/gcc3_os2_intel/ |
| H A D | uno2cpp.cxx | 155 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 160 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); in cpp_call() 196 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 198 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 200 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 204 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 428 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/gcc3_freebsd_intel/ |
| H A D | uno2cpp.cxx | 165 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 170 (char *)alloca( sizeof(sal_Int32) + ((nParams+2) * sizeof(sal_Int64)) ); in cpp_call() 206 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 208 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 210 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 214 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 463 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/gcc3_solaris_sparc/ |
| H A D | uno2cpp.cxx | 278 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 283 (char *)alloca( (nParams+2) * sizeof(sal_Int64) ); in cpp_call() 318 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 320 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 322 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 326 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 572 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/gcc3_linux_sparc/ |
| H A D | uno2cpp.cxx | 283 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp_call() argument 288 (char *)alloca( (nParams+2) * sizeof(sal_Int64) ); in cpp_call() 323 void ** pCppArgs = (void **)alloca( 3 * sizeof(void *) * nParams ); in cpp_call() 325 sal_Int32 * pTempIndizes = (sal_Int32 *)(pCppArgs + nParams); in cpp_call() 327 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams)); in cpp_call() 331 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() 577 ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams, in unoInterfaceProxyDispatch()
|
| /trunk/main/bridges/source/cpp_uno/msvc_win32_intel/ |
| H A D | cpp2uno.cxx | 50 sal_Int32 nParams, typelib_MethodParameter * pParams, in cpp2uno_call() argument 88 void ** pUnoArgs = (void **)alloca( 4 * sizeof(void *) * nParams ); in cpp2uno_call() 89 void ** pCppArgs = pUnoArgs + nParams; in cpp2uno_call() 91 sal_Int32 * pTempIndizes = (sal_Int32 *)(pUnoArgs + (2 * nParams)); in cpp2uno_call() 93 …b_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pUnoArgs + (3 * nParams)); in cpp2uno_call() 97 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() 340 ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->nParams, in cpp_mediate()
|