Lines Matching refs:Any

65 bool checkOutArgs(const Sequence<Any> & outArgs,
66 const Sequence<sal_Int16> & indices, const Sequence<Any> & values);
72 bool equalSequences(const Any& orig, const Any& returned);
80 void printSequence( Sequence<Any>& val);
115 Sequence<Any> seqOut; in doParameterTest()
117 Any arArgs[2]; in doParameterTest()
118 Any arValue[2]; in doParameterTest()
119 Any arArgs1[4]; in doParameterTest()
126 NamedArgument argOut1(OUString(L"val1"), Any()); in doParameterTest()
127 NamedArgument argOut2(OUString(L"val2"), Any()); in doParameterTest()
128 Sequence<Any> seqNoArgs; in doParameterTest()
131 Sequence<Any> seqPositional0(arArgs, 2); in doParameterTest()
136 Sequence<Any> seqNamed(arArgs, 2); in doParameterTest()
139 Sequence<Any> seqNamed2(arArgs, 2); in doParameterTest()
142 Sequence<Any> seqNamed3(arArgs, 2); in doParameterTest()
145 Sequence<Any> seqNamed4(arArgs, 2); in doParameterTest()
148 Sequence<Any> seqNamed5(arArgs, 1); in doParameterTest()
150 Sequence<Any> seqNamed6(arArgs, 1); in doParameterTest()
154 Sequence<Any> seqPositional(arArgs, 2); in doParameterTest()
156 Sequence<Any> seqPositional2(arArgs, 1); in doParameterTest()
158 arArgs[0] <<= Any(); in doParameterTest()
159 arArgs[1] <<= Any(); in doParameterTest()
160 Sequence<Any> seqPositional3(arArgs, 2); in doParameterTest()
164 Sequence<Any> seqOutOpt1(arArgs, 2); in doParameterTest()
168 Sequence<Any> seqOutOpt2(arArgs, 2); in doParameterTest()
172 Sequence<Any> seqOutOpt3(arArgs, 2); in doParameterTest()
178 Sequence<Any> seqMix0(arArgs1, 4); in doParameterTest()
184 Sequence<Any> seqMix(arArgs1, 4); in doParameterTest()
186 arArgs1[0] <<= Any(); in doParameterTest()
189 Sequence<Any> seqMix2(arArgs1, 3); in doParameterTest()
195 Sequence<Any> seqMixOut(arArgs1, 4); in doParameterTest()
198 arArgs1[1] <<= Any(); in doParameterTest()
200 Sequence<Any> seqMix2Out(arArgs1, 3); in doParameterTest()
357 Sequence<Any> seqOut; in doPropertyTest()
359 Any inBool, outBool; in doPropertyTest()
360 Any inByte, outByte; in doPropertyTest()
361 Any inShort, outShort; in doPropertyTest()
362 Any inLong, outLong; in doPropertyTest()
363 Any inString, outString; in doPropertyTest()
364 Any inFloat, outFloat; in doPropertyTest()
365 Any inDouble, outDouble; in doPropertyTest()
366 Any inVariant, outVariant; in doPropertyTest()
367 Any inObject, outObject; in doPropertyTest()
368 Any inUnknown, outUnknown; in doPropertyTest()
369 Any inCY, outCY; in doPropertyTest()
370 Any inDate, outDate; in doPropertyTest()
371 Any inDecimal, outDecimal; in doPropertyTest()
372 Any inSCode, outSCode; in doPropertyTest()
373 Any inrefLong, outrefLong; in doPropertyTest()
374 Any inrefVariant, outrefVariant; in doPropertyTest()
375 Any inrefDecimal, outrefDecimal; in doPropertyTest()
376 Any inParamsLong, outParamsLong; in doPropertyTest()
467 Sequence<Any> seqOut; in doPropertyWithArgumentTest()
469 Any arMultiArgs[3]; in doPropertyWithArgumentTest()
473 Sequence<Any> seqMultiArgPut0(arMultiArgs, 3); in doPropertyWithArgumentTest()
478 Sequence<Any> seqMultiArgPut1(arMultiArgs, 3); in doPropertyWithArgumentTest()
482 Sequence<Any> seqMultiArgPut2(arMultiArgs, 2); in doPropertyWithArgumentTest()
486 Sequence<Any> seqMultiArgPut3(arMultiArgs, 2); in doPropertyWithArgumentTest()
490 Sequence<Any> seqMultiArgPut4(arMultiArgs, 2); in doPropertyWithArgumentTest()
494 Sequence<Any> seqMultiArgGet0(arMultiArgs, 2); in doPropertyWithArgumentTest()
498 Sequence<Any> seqMultiArgGet1(arMultiArgs, 2); in doPropertyWithArgumentTest()
499 Sequence<Any> seqMultiArgGet2(arMultiArgs, 1); in doPropertyWithArgumentTest()
504 Sequence<Any> seqMultiArgPut5(arMultiArgs, 2); in doPropertyWithArgumentTest()
508 Sequence<Any> seqMultiArgPut6(arMultiArgs, 2); in doPropertyWithArgumentTest()
510 arMultiArgs[0] <<= Any(); in doPropertyWithArgumentTest()
511 arMultiArgs[1] <<= Any(); in doPropertyWithArgumentTest()
512 Sequence<Any> seqMultiVoid(arMultiArgs, 2); in doPropertyWithArgumentTest()
516 Sequence<Any> seqMultiVoid2(arMultiArgs, 2); in doPropertyWithArgumentTest()
529 Any anyRet = inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgGet0, in doPropertyWithArgumentTest()
533 || ! checkOutArgs(seqOut, seqIndices, Sequence<Any>(seqMultiArgPut1.getArray(), 2))) in doPropertyWithArgumentTest()
553 || ! checkOutArgs(seqOut, seqIndices, Sequence<Any>(arMultiArgs, 2))) in doPropertyWithArgumentTest()
573 || ! checkOutArgs(seqOut, seqIndices, Sequence<Any>(arMultiArgs, 2))) in doPropertyWithArgumentTest()
635 Sequence<Any> seqOut; in doSimpleTest()
637 Any inBool, outBool; in doSimpleTest()
638 Any inByte, outByte; in doSimpleTest()
639 Any inShort, outShort; in doSimpleTest()
640 Any inLong, outLong; in doSimpleTest()
641 Any inString, outString; in doSimpleTest()
642 Any inFloat, outFloat; in doSimpleTest()
643 Any inDouble, outDouble; in doSimpleTest()
644 Any inVariant, outVariant; in doSimpleTest()
645 Any inObject, outObject; in doSimpleTest()
646 Any inUnknown, outUnknown; in doSimpleTest()
647 Any inCY, outCY; in doSimpleTest()
648 Any inDate, outDate; in doSimpleTest()
649 Any inDecimal, outDecimal; in doSimpleTest()
650 Any inSCode, outSCode; in doSimpleTest()
651 Any inrefLong, outrefLong; in doSimpleTest()
652 Any inrefVariant, outrefVariant; in doSimpleTest()
653 Any inrefDecimal, outrefDecimal; in doSimpleTest()
661 inv->invoke(OUString(L"inBool"), Sequence< Any > ( &inBool, 1), seqIndices, seqOut); in doSimpleTest()
664 inv->invoke(OUString(L"outBool"), Sequence< Any > ( & outBool, 1), seqIndices, seqOut); in doSimpleTest()
668 inv->invoke(OUString(L"inByte"), Sequence< Any > ( & inByte, 1), seqIndices, seqOut); in doSimpleTest()
671 inv->invoke(OUString(L"outByte"), Sequence< Any > ( & outByte, 1), seqIndices, seqOut); in doSimpleTest()
675 inv->invoke(OUString(L"inShort"), Sequence< Any > ( & inShort, 1), seqIndices, seqOut); in doSimpleTest()
678 inv->invoke(OUString(L"outShort"), Sequence< Any > ( & outShort, 1), seqIndices, seqOut); in doSimpleTest()
682 inv->invoke(OUString(L"inLong"), Sequence< Any > ( & inLong, 1), seqIndices, seqOut); in doSimpleTest()
685 inv->invoke(OUString(L"outLong"), Sequence< Any > ( & outLong, 1 ), seqIndices, seqOut); in doSimpleTest()
689 inv->invoke(OUString(L"inString"), Sequence< Any > ( & inString, 1), seqIndices, seqOut); in doSimpleTest()
692 inv->invoke(OUString(L"outString"), Sequence< Any > ( & outString, 1 ), seqIndices, seqOut); in doSimpleTest()
696 inv->invoke(OUString(L"inFloat"), Sequence< Any > ( & inFloat, 1), seqIndices, seqOut); in doSimpleTest()
699 inv->invoke(OUString(L"outFloat"), Sequence< Any > ( & outFloat, 1 ), seqIndices, seqOut); in doSimpleTest()
703 inv->invoke(OUString(L"inDouble"), Sequence< Any > ( & inDouble, 1), seqIndices, seqOut); in doSimpleTest()
706 inv->invoke(OUString(L"outDouble"), Sequence< Any > ( & outDouble, 1 ), seqIndices, seqOut); in doSimpleTest()
710 inv->invoke(OUString(L"inVariant"), Sequence< Any > ( & inVariant, 1), seqIndices, seqOut); in doSimpleTest()
713 inv->invoke(OUString(L"outVariant"), Sequence< Any > (&outVariant, 1), seqIndices, seqOut); in doSimpleTest()
717 inv->invoke(OUString(L"inObject"), Sequence< Any > ( & inObject, 1), seqIndices, seqOut); in doSimpleTest()
720 inv->invoke(OUString(L"outObject"), Sequence< Any > (& outObject, 1), seqIndices, seqOut); in doSimpleTest()
724 inv->invoke(OUString(L"inUnknown"), Sequence< Any > ( & inUnknown, 1), seqIndices, seqOut); in doSimpleTest()
727 inv->invoke(OUString(L"outUnknown"), Sequence< Any > (& outUnknown, 1), seqIndices, seqOut); in doSimpleTest()
732 inv->invoke(OUString(L"inCurrency"), Sequence<Any>( & inCY, 1), seqIndices, seqOut); in doSimpleTest()
735 inv->invoke(OUString(L"outCurrency"), Sequence< Any > (& outCY, 1), seqIndices, seqOut); in doSimpleTest()
740 inv->invoke(OUString(L"inDate"), Sequence<Any>( & inDate, 1), seqIndices, seqOut); in doSimpleTest()
743 inv->invoke(OUString(L"outDate"), Sequence< Any > (& outDate, 1), seqIndices, seqOut); in doSimpleTest()
748 inv->invoke(OUString(L"inDecimal"), Sequence<Any>( & inDecimal, 1), seqIndices, seqOut); in doSimpleTest()
751 inv->invoke(OUString(L"outDecimal"), Sequence< Any > (& outDecimal, 1), seqIndices, seqOut); in doSimpleTest()
756 inv->invoke(OUString(L"inSCode"), Sequence<Any>( & inSCode, 1), seqIndices, seqOut); in doSimpleTest()
759 inv->invoke(OUString(L"outSCode"), Sequence< Any > (& outSCode, 1), seqIndices, seqOut); in doSimpleTest()
771 outBool = Any(); in doSimpleTest()
774 inv->invoke(OUString(L"inoutBool"), Sequence< Any > ( & inBool, 1), seqIndices, seqOut); in doSimpleTest()
777 outByte = Any(); in doSimpleTest()
780 inv->invoke(OUString(L"inoutByte"), Sequence< Any > ( & inByte, 1), seqIndices, seqOut); in doSimpleTest()
783 outShort = Any(); in doSimpleTest()
786 inv->invoke(OUString(L"inoutShort"), Sequence< Any > ( & inShort, 1), seqIndices, seqOut); in doSimpleTest()
789 outLong = Any(); in doSimpleTest()
792 inv->invoke(OUString(L"inoutLong"), Sequence< Any > ( & inLong, 1), seqIndices, seqOut); in doSimpleTest()
795 outString = Any(); in doSimpleTest()
798 inv->invoke(OUString(L"inoutString"), Sequence< Any > ( & inString, 1), seqIndices, seqOut); in doSimpleTest()
801 outFloat = Any(); in doSimpleTest()
804 inv->invoke(OUString(L"inoutFloat"), Sequence< Any > ( & inFloat, 1), seqIndices, seqOut); in doSimpleTest()
807 outDouble = Any(); in doSimpleTest()
810 inv->invoke(OUString(L"inoutDouble"), Sequence< Any > ( &inDouble, 1), seqIndices, seqOut); in doSimpleTest()
813 outVariant = Any(); in doSimpleTest()
816 inv->invoke(OUString(L"inoutVariant"), Sequence< Any > ( & inVariant, 1), seqIndices, seqOut); in doSimpleTest()
819 outObject = Any(); in doSimpleTest()
822 inv->invoke(OUString(L"inoutObject"), Sequence< Any > ( & inObject, 1), seqIndices, seqOut); in doSimpleTest()
825 outCY = Any(); in doSimpleTest()
828 inv->invoke(OUString(L"inoutCurrency"), Sequence< Any > ( & inCY, 1), seqIndices, seqOut); in doSimpleTest()
831 outDate = Any(); in doSimpleTest()
834 inv->invoke(OUString(L"inoutDate"), Sequence< Any > ( & inDate, 1), seqIndices, seqOut); in doSimpleTest()
837 outDecimal = Any(); in doSimpleTest()
840 inv->invoke(OUString(L"inoutDecimal"), Sequence< Any > (& inDecimal, 1), seqIndices, seqOut); in doSimpleTest()
843 outSCode = Any(); in doSimpleTest()
846 inv->invoke(OUString(L"inoutSCode"), Sequence< Any > (& inSCode, 1), seqIndices, seqOut); in doSimpleTest()
860 inv->invoke(OUString(L"inrefLong"), Sequence<Any>( & inrefLong, 1), seqIndices, seqOut); in doSimpleTest()
863 inv->invoke(OUString(L"outLong"), Sequence< Any > (& outrefLong, 1), seqIndices, seqOut); in doSimpleTest()
867 inv->invoke(OUString(L"inrefVariant"), Sequence< Any > ( & inrefVariant, 1), seqIndices, seqOut); in doSimpleTest()
870 inv->invoke(OUString(L"outVariant"), Sequence< Any > (&outrefVariant, 1), seqIndices, seqOut); in doSimpleTest()
875 inv->invoke(OUString(L"inrefDecimal"), Sequence< Any > ( & inrefDecimal, 1), seqIndices, seqOut); in doSimpleTest()
878 inv->invoke(OUString(L"outDecimal"), Sequence< Any > (&outrefDecimal, 1), seqIndices, seqOut); in doSimpleTest()
892 Any param[3]; in doSimpleTest()
896 inv->invoke(OUString(L"mixed1"), Sequence< Any >(param, 3), seqIndices, seqOut); in doSimpleTest()
908 Sequence<Any> seqOut; in doSimpleSequenceTest()
909 Any voidAny; in doSimpleSequenceTest()
910 Any inArAny; in doSimpleSequenceTest()
911 Any outArray; in doSimpleSequenceTest()
912 Any inArBool, outArBool; in doSimpleSequenceTest()
913 Any inArByte, outArByte; in doSimpleSequenceTest()
914 Any inArShort, outArShort; in doSimpleSequenceTest()
915 Any inArLong, outArLong; in doSimpleSequenceTest()
916 Any inArString, outArString; in doSimpleSequenceTest()
917 Any inArFloat, outArFloat; in doSimpleSequenceTest()
918 Any inArDouble, outArDouble; in doSimpleSequenceTest()
919 Any inArObject, outArObject; in doSimpleSequenceTest()
920 Any outVariant; in doSimpleSequenceTest()
927 Any arAnyStrTmp[3]; in doSimpleSequenceTest()
931 Sequence<Any> seq_1( arAnyStrTmp, 3); in doSimpleSequenceTest()
937 inv->invoke(OUString(L"inArray"), Sequence< Any > ( & inArAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
940 inv->invoke(OUString(L"outArray"), Sequence<Any>( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
946 inv->invoke(OUString(L"inArray"), Sequence< Any >( & inArString, 1), seqIndices, seqOut); in doSimpleSequenceTest()
947 inv->invoke(OUString(L"outArray"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
953 inv->invoke(OUString(L"inSequenceByte"),Sequence<Any>( & inArByte, 1), seqIndices, seqOut); in doSimpleSequenceTest()
956 inv->invoke(OUString(L"outSequenceByte"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
962 inv->invoke(OUString(L"inSequenceShort"),Sequence< Any >( & inArShort, 1), seqIndices, seqOut); in doSimpleSequenceTest()
965 inv->invoke(OUString(L"outSequenceShort"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
971 inv->invoke(OUString(L"inSequenceLong"),Sequence< Any > ( & inArLong, 1), seqIndices, seqOut); in doSimpleSequenceTest()
974 inv->invoke(OUString(L"outSequenceLong"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
977 inv->invoke(OUString(L"inSequenceLong"),Sequence< Any > ( & inArLong, 1), seqIndices, seqOut); in doSimpleSequenceTest()
980 inv->invoke(OUString(L"outSequenceLong"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
983 …inv->invoke( OUString(L"inSequenceString"),Sequence< Any > ( & inArString, 1), seqIndices, seqOut)… in doSimpleSequenceTest()
986 inv->invoke(OUString(L"outSequenceString"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
992 inv->invoke( OUString(L"inSequenceFloat"),Sequence< Any > ( & inArFloat, 1), seqIndices, seqOut); in doSimpleSequenceTest()
995 inv->invoke(OUString(L"outSequenceFloat"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1001 inv->invoke(OUString(L"inSequenceDouble"),Sequence< Any >( & inArDouble, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1004 inv->invoke(OUString(L"outSequenceDouble"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1011 inv->invoke(OUString(L"inSequenceObject"),Sequence< Any >( & inArObject, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1014 inv->invoke(OUString(L"outSequenceObject"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1028 inv->invoke(OUString(L"inoutArray"), Sequence< Any >( & inArString, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1029 inv->invoke(OUString(L"inoutArray"), Sequence< Any >( & inArString, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1032 inv->invoke(OUString(L"inoutSequenceByte"), Sequence<Any>( & inArByte, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1033 inv->invoke(OUString(L"inoutSequenceByte"), Sequence<Any>( & inArByte, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1036 inv->invoke(OUString(L"inoutSequenceShort"), Sequence<Any>( & inArShort, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1037 inv->invoke(OUString(L"inoutSequenceShort"), Sequence<Any>( & inArShort, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1040 inv->invoke(OUString(L"inoutSequenceLong"), Sequence<Any>( & inArLong, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1041 inv->invoke(OUString(L"inoutSequenceLong"), Sequence< Any >( & inArLong, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1044 …inv->invoke(OUString(L"inoutSequenceString"), Sequence<Any>( & inArString, 1), seqIndices, seqOut)… in doSimpleSequenceTest()
1045 inv->invoke(OUString(L"inoutSequenceString"), Sequence<Any>( & inArString, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1048 inv->invoke(OUString(L"inoutSequenceFloat"), Sequence<Any>( & inArFloat, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1049 inv->invoke(OUString(L"inoutSequenceFloat"), Sequence<Any>( & inArFloat, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1052 …inv->invoke(OUString(L"inoutSequenceDouble"), Sequence<Any>( & inArDouble, 1), seqIndices, seqOut)… in doSimpleSequenceTest()
1053 inv->invoke(OUString(L"inoutSequenceDouble"), Sequence<Any>( & inArDouble, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1056 …inv->invoke(OUString(L"inoutSequenceObject"), Sequence<Any>( & inArObject, 1), seqIndices, seqOut)… in doSimpleSequenceTest()
1057 inv->invoke(OUString(L"inoutSequenceObject"), Sequence<Any>( & inArObject, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1080 Sequence<Any> seqOut; in doTest()
1082 Any aAny; in doTest()
1083 Any anyOut; in doTest()
1085 Any seqAny; in doTest()
1140 inv->invoke( OUString(L"inMulDimArrayLong"),Sequence< Any > ( &seqAny, 1), seqIndices, seqOut); in doTest()
1143 inv->invoke( OUString(L"inMulDimArrayVariant"),Sequence< Any > ( &seqAny, 1), seqIndices, seqOut); in doTest()
1171 inv->invoke( OUString(L"inMulDimArrayLong2"),Sequence< Any > ( &seqAny, 1), seqIndices, seqOut); in doTest()
1199 inv->invoke( OUString(L"inMulDimArrayByte2"),Sequence< Any > ( &seqAny, 1), seqIndices, seqOut); in doTest()
1218 aAny= invMfc->invoke( OUString(L"inShort"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1222 aAny=invMfc->invoke( OUString(L"inLong"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1227 aAny=invMfc->invoke( OUString(L"inString"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1231 aAny=invMfc->invoke( OUString(L"inFloat"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1234 aAny=invMfc->invoke( OUString(L"inDouble"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1237 aAny=invMfc->invoke( OUString(L"inVariant"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1247 Any anyVal4; in doTest()
1251 aAny=invMfc->invoke( OUString(L"inObject"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1258 aAny= invMfc->invoke( OUString(L"outShort"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1264 aAny= invMfc->invoke( OUString(L"outLong"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1270 aAny= invMfc->invoke( OUString(L"outString"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1276 aAny= invMfc->invoke( OUString(L"outFloat"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1282 aAny= invMfc->invoke( OUString(L"outDouble"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1289 aAny= invMfc->invoke( OUString(L"outVariant"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()
1295 aAny= invMfc->invoke( OUString(L"outObject"), Sequence< Any > ( &aAny, 1), seqIndices, seqOut); in doTest()