ReactOS 0.4.16-dev-88-ga65b6ae
|
#include <wchar.h>
#include "wine/debug.h"
#include "winbase.h"
#include "winuser.h"
#include "winnt.h"
#include "variant.h"
#include "resource.h"
Go to the source code of this file.
Classes | |
struct | DECIMAL_internal |
union | R4_FIELDS |
union | R8_FIELDS |
struct | tagDATEPARSE |
Typedefs | |
typedef struct DECIMAL_internal | VARIANT_DI |
typedef struct tagDATEPARSE | DATEPARSE |
Variables | |
HMODULE hProxyDll | DECLSPEC_HIDDEN |
static const WCHAR | szFloatFormatW [] = { '%','.','7','G','\0' } |
static const WCHAR | szDoubleFormatW [] = { '%','.','1','5','G','\0' } |
static const int | CY_Divisors [5] |
#define CY_HALF (CY_MULTIPLIER/2) /* 0.5 */ |
#define CY_HALF_F (CY_MULTIPLIER_F/2.0) |
#define TIMEFLAG | ( | i | ) | ((dp.dwFlags[i] & DP_TIMESEP) << i) |
typedef struct tagDATEPARSE DATEPARSE |
typedef struct DECIMAL_internal VARIANT_DI |
Definition at line 255 of file vartype.c.
Referenced by VarCyAdd(), VarCyMul(), VarCyMulI4(), VarCyMulI8(), VarCyRound(), VarCySub(), and VarR8FromCy().
BOOL get_date_format | ( | LCID | lcid, |
DWORD | flags, | ||
const SYSTEMTIME * | st, | ||
const WCHAR * | fmt, | ||
WCHAR * | date, | ||
int | date_len | ||
) |
Definition at line 6668 of file vartype.c.
Referenced by VarBstrFromDate(), and VARIANT_FormatDate().
Definition at line 6648 of file vartype.c.
Referenced by get_date_format().
HRESULT WINAPI VarBoolFromCy | ( | CY | cyIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6048 of file vartype.c.
Referenced by test_VarBoolFromCy(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromDate | ( | DATE | dateIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6030 of file vartype.c.
Referenced by test_VarBoolFromDate(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromDec | ( | DECIMAL * | pDecIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6278 of file vartype.c.
Referenced by test_VarBoolFromDec(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromDisp | ( | IDispatch * | pdispIn, |
LCID | lcid, | ||
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6206 of file vartype.c.
Referenced by VARIANT_Coerce().
HRESULT WINAPI VarBoolFromI1 | ( | signed char | cIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6223 of file vartype.c.
Referenced by test_VarBoolFromI1(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromI2 | ( | SHORT | sIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 5958 of file vartype.c.
Referenced by test_VarBoolFromI2(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromI4 | ( | LONG | lIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 5976 of file vartype.c.
Referenced by test_VarBoolFromI4(), test_VarBoolFromUI4(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromI8 | ( | LONG64 | llIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6302 of file vartype.c.
Referenced by test_VarBoolFromI8(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromR4 | ( | FLOAT | fltIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 5994 of file vartype.c.
Referenced by test_VarBoolFromR4(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromR8 | ( | double | dblIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6012 of file vartype.c.
Referenced by test_VarBoolFromR8(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromStr | ( | OLECHAR * | strIn, |
LCID | lcid, | ||
ULONG | dwFlags, | ||
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6114 of file vartype.c.
Referenced by test_VarBoolFromStr(), VarAnd(), VARIANT_Coerce(), VarImp(), VarNot(), and VarOr().
HRESULT WINAPI VarBoolFromUI1 | ( | BYTE | bIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 5940 of file vartype.c.
Referenced by test_VarBoolFromUI1(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromUI2 | ( | USHORT | usIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6241 of file vartype.c.
Referenced by test_VarBoolFromUI2(), and VARIANT_Coerce().
HRESULT WINAPI VarBoolFromUI4 | ( | ULONG | ulIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6259 of file vartype.c.
Referenced by VARIANT_Coerce().
HRESULT WINAPI VarBoolFromUI8 | ( | ULONG64 | ullIn, |
VARIANT_BOOL * | pBoolOut | ||
) |
Definition at line 6320 of file vartype.c.
Referenced by test_VarBoolFromUI8(), and VARIANT_Coerce().
Definition at line 7107 of file vartype.c.
Referenced by test_VarBstrCat(), VarAdd(), and VarCat().
Definition at line 7158 of file vartype.c.
Referenced by START_TEST(), and VarCmp().
Definition at line 6852 of file vartype.c.
Referenced by init(), VARIANT_Coerce(), and VARIANT_FormatNumber().
Definition at line 6608 of file vartype.c.
Referenced by _BSTR_CY(), and VARIANT_Coerce().
Definition at line 6778 of file vartype.c.
Referenced by _BSTR_DATE(), VARIANT_Coerce(), and VARIANT_FormatDate().
Definition at line 6991 of file vartype.c.
Referenced by _BSTR_DEC(), and VARIANT_Coerce().
Definition at line 6921 of file vartype.c.
Referenced by VARIANT_Coerce().
Definition at line 6417 of file vartype.c.
Referenced by VARIANT_Coerce().
Definition at line 6445 of file vartype.c.
Referenced by test_VarBstrFromI4(), var2str(), and VARIANT_Coerce().
Definition at line 7038 of file vartype.c.
Referenced by VARIANT_Coerce().
Definition at line 6566 of file vartype.c.
Referenced by test_VarBstrFromR4(), var2str(), and VARIANT_Coerce().
Definition at line 6587 of file vartype.c.
Referenced by Global_InvokeEx(), var2str(), and VARIANT_Coerce().
Definition at line 6396 of file vartype.c.
Referenced by VARIANT_Coerce().
Definition at line 6949 of file vartype.c.
Referenced by VARIANT_Coerce().
Definition at line 6970 of file vartype.c.
Referenced by VARIANT_Coerce().
Definition at line 7066 of file vartype.c.
Referenced by VARIANT_Coerce().
Definition at line 4012 of file vartype.c.
Referenced by VarCmp(), and VarCyCmpR8().
HRESULT WINAPI VarCyFromBool | ( | VARIANT_BOOL | boolIn, |
CY * | pCyOut | ||
) |
Definition at line 3620 of file vartype.c.
Referenced by test_VarCyFromBool(), and VARIANT_Coerce().
Definition at line 3553 of file vartype.c.
Referenced by test_VarCyFromDate(), and VARIANT_Coerce().
Definition at line 3704 of file vartype.c.
Referenced by test_VarCyFromDec(), and VARIANT_Coerce().
Definition at line 3641 of file vartype.c.
Referenced by test_VarCyFromI1(), and VARIANT_Coerce().
Definition at line 3441 of file vartype.c.
Referenced by test_VarCyFromI2(), and VARIANT_Coerce().
Definition at line 3462 of file vartype.c.
Referenced by test_VarAdd(), test_VarCyFromI4(), test_VarDiv(), test_VarIdiv(), test_VarImp(), test_VarMul(), test_VarPow(), test_VarSub(), and VARIANT_Coerce().
Definition at line 3742 of file vartype.c.
Referenced by test_VarCyFromI8(), and VARIANT_Coerce().
Definition at line 3483 of file vartype.c.
Referenced by test_VarCyFromR4(), and VARIANT_Coerce().
Definition at line 3503 of file vartype.c.
Referenced by test_VarCyFromDate(), test_VarCyFromR8(), VarCyAdd(), VarCyCmpR8(), VarCyFromDate(), VarCyFromDec(), VarCyFromR4(), VarCyMul(), VarCyMulI4(), VarCyMulI8(), VarCySub(), VARIANT_Coerce(), and VarNumFromParseNum().
Definition at line 3575 of file vartype.c.
Referenced by VARIANT_Coerce().
Definition at line 3420 of file vartype.c.
Referenced by test_VarCyFromUI1(), and VARIANT_Coerce().
Definition at line 3662 of file vartype.c.
Referenced by test_VarCyFromUI2(), and VARIANT_Coerce().
Definition at line 3683 of file vartype.c.
Referenced by test_VarCyFromUI4(), and VARIANT_Coerce().
Definition at line 3764 of file vartype.c.
Referenced by test_VarCyFromUI8(), and VARIANT_Coerce().
Definition at line 3951 of file vartype.c.
Referenced by test_VarCyNeg(), and VarNeg().
Definition at line 3854 of file vartype.c.
Referenced by test_VarCySub(), VarCyCmp(), and VarSub().
HRESULT WINAPI VarDateFromBool | ( | VARIANT_BOOL | boolIn, |
DATE * | pdateOut | ||
) |
Definition at line 7332 of file vartype.c.
Referenced by test_VarDateFromBool(), and VARIANT_Coerce().
Definition at line 7349 of file vartype.c.
Referenced by test_VarDateFromCy(), and VARIANT_Coerce().
Definition at line 8005 of file vartype.c.
Referenced by test_VarDateFromDec(), and VARIANT_Coerce().
Definition at line 7954 of file vartype.c.
Referenced by test_VarDateFromI1(), and VARIANT_Coerce().
Definition at line 7241 of file vartype.c.
Referenced by test_VarDateFromI2(), and VARIANT_Coerce().
Definition at line 7258 of file vartype.c.
Referenced by test_VarDateFromI4(), and VARIANT_Coerce().
Definition at line 8023 of file vartype.c.
Referenced by test_VarDateFromI8(), and VARIANT_Coerce().
Definition at line 7275 of file vartype.c.
Referenced by test_VarDateFromR4(), and VARIANT_Coerce().
Definition at line 7292 of file vartype.c.
Referenced by test_VarDateFromR8(), VarDateFromI4(), VarDateFromUI4(), and VARIANT_Coerce().
Definition at line 7595 of file vartype.c.
Referenced by test_VarDateFromStr(), and VARIANT_Coerce().
Definition at line 7224 of file vartype.c.
Referenced by test_VarDateFromUI1(), and VARIANT_Coerce().
Definition at line 7971 of file vartype.c.
Referenced by test_VarDateFromUI2(), and VARIANT_Coerce().
Definition at line 7988 of file vartype.c.
Referenced by test_VarDateFromUI4(), and VARIANT_Coerce().
Definition at line 8043 of file vartype.c.
Referenced by test_VarDateFromUI8(), and VARIANT_Coerce().
Definition at line 5698 of file vartype.c.
Referenced by test_VarDecAbs().
Definition at line 4588 of file vartype.c.
Referenced by test_VarDecAdd(), VarAdd(), and VarDecSub().
Definition at line 5866 of file vartype.c.
Referenced by test_VarDecCmp(), VarCmp(), and VarDecCmpR8().
Definition at line 5912 of file vartype.c.
Referenced by test_VarDecCmpR8().
Definition at line 5601 of file vartype.c.
Referenced by test_VarDecDiv(), and VarDiv().
Definition at line 5722 of file vartype.c.
Referenced by VarDecInt(), and VarFix().
HRESULT WINAPI VarDecFromBool | ( | VARIANT_BOOL | bIn, |
DECIMAL * | pDecOut | ||
) |
Definition at line 4239 of file vartype.c.
Referenced by test_VarDecFromCy(), and VARIANT_Coerce().
Definition at line 4222 of file vartype.c.
Referenced by test_VarDecFromDate(), and VARIANT_Coerce().
Definition at line 4341 of file vartype.c.
Referenced by test_VarDecFromI1(), and VARIANT_Coerce().
Definition at line 4114 of file vartype.c.
Referenced by test_VarDecFromI2(), and VARIANT_Coerce().
Definition at line 4131 of file vartype.c.
Referenced by test_marshal_VARIANT(), test_VarDecFromI4(), test_VarMod(), VarDecFromI1(), VarDecFromI2(), and VARIANT_Coerce().
Definition at line 4396 of file vartype.c.
Referenced by test_VarDecFromI8(), VarDecFix(), VarDecInt(), and VARIANT_Coerce().
Definition at line 4178 of file vartype.c.
Referenced by test_VarDecFromR4(), and VARIANT_Coerce().
Definition at line 4200 of file vartype.c.
Referenced by test_VarAdd(), test_VarCat(), test_VarDecFromR8(), test_VarDiv(), test_VarIdiv(), test_VarImp(), test_VarMul(), test_VarPow(), test_VarSub(), VarDecCmpR8(), VarDecFromDate(), VARIANT_Coerce(), and VarRound().
Definition at line 4273 of file vartype.c.
Referenced by test_VarDecFromStr(), and VARIANT_Coerce().
Definition at line 4097 of file vartype.c.
Referenced by test_VarDecFromUI1(), and VARIANT_Coerce().
Definition at line 4358 of file vartype.c.
Referenced by test_VarDecFromUI2(), and VARIANT_Coerce().
Definition at line 4375 of file vartype.c.
Referenced by test_VarDecFromUI4(), VarDecFromUI1(), VarDecFromUI2(), and VARIANT_Coerce().
Definition at line 4429 of file vartype.c.
Referenced by test_VarDecFromUI8(), and VARIANT_Coerce().
Definition at line 5762 of file vartype.c.
Referenced by VarInt().
Definition at line 5622 of file vartype.c.
Referenced by test_VarDecMul(), VarDecRound(), VARIANT_DecScale(), and VarMul().
Definition at line 5794 of file vartype.c.
Referenced by test_VarDecNeg(), VarDecSub(), and VarNeg().
Definition at line 5815 of file vartype.c.
Referenced by test_VarDecRound(), and VarCyFromDec().
Definition at line 5677 of file vartype.c.
Referenced by test_VarDecSub(), VarDecCmp(), and VarSub().
HRESULT WINAPI VarI1FromBool | ( | VARIANT_BOOL | boolIn, |
signed char * | pcOut | ||
) |
Definition at line 465 of file vartype.c.
Referenced by test_VarI1FromBool(), and VARIANT_Coerce().
Definition at line 402 of file vartype.c.
Referenced by test_VarI1FromCy(), and VARIANT_Coerce().
Definition at line 383 of file vartype.c.
Referenced by test_VarI1FromDate(), and VARIANT_Coerce().
Definition at line 523 of file vartype.c.
Referenced by test_VarI1FromDec(), and VARIANT_Coerce().
Definition at line 301 of file vartype.c.
Referenced by test_VarI1FromI2(), and VARIANT_Coerce().
Definition at line 320 of file vartype.c.
Referenced by test_VarI1FromI4(), and VARIANT_Coerce().
Definition at line 549 of file vartype.c.
Referenced by test_VarI1FromI8(), and VARIANT_Coerce().
Definition at line 339 of file vartype.c.
Referenced by test_VarI1FromR4(), and VARIANT_Coerce().
Definition at line 361 of file vartype.c.
Referenced by test_VarI1FromR8(), VarI1FromDate(), VarI1FromR4(), and VARIANT_Coerce().
Definition at line 427 of file vartype.c.
Referenced by test_VarI1FromStr(), and VARIANT_Coerce().
Definition at line 282 of file vartype.c.
Referenced by test_VarI1FromUI1().
Definition at line 484 of file vartype.c.
Referenced by test_VarI1FromUI2(), and VARIANT_Coerce().
Definition at line 504 of file vartype.c.
Referenced by test_VarI1FromUI4(), and VARIANT_Coerce().
Definition at line 568 of file vartype.c.
Referenced by test_VarI1FromUI8(), and VARIANT_Coerce().
HRESULT WINAPI VarI2FromBool | ( | VARIANT_BOOL | boolIn, |
SHORT * | psOut | ||
) |
Definition at line 1059 of file vartype.c.
Referenced by test_VarI2FromBool(), and VARIANT_Coerce().
Definition at line 978 of file vartype.c.
Referenced by test_VarI2FromCy(), and VARIANT_Coerce().
Definition at line 999 of file vartype.c.
Referenced by test_VarI2FromDate(), and VARIANT_Coerce().
Definition at line 1131 of file vartype.c.
Referenced by test_VarI2FromDec(), and VARIANT_Coerce().
Definition at line 1076 of file vartype.c.
Referenced by test_VarI2FromI1(), and VARIANT_Coerce().
Definition at line 918 of file vartype.c.
Referenced by test_VarI2FromI4(), and VARIANT_Coerce().
Definition at line 1156 of file vartype.c.
Referenced by test_VarI2FromI8(), and VARIANT_Coerce().
Definition at line 936 of file vartype.c.
Referenced by test_VarI2FromR4(), and VARIANT_Coerce().
Definition at line 957 of file vartype.c.
Referenced by test_VarI2FromR8(), VarI2FromDate(), VarI2FromR4(), and VARIANT_Coerce().
Definition at line 1021 of file vartype.c.
Referenced by test_VarI2FromStr(), and VARIANT_Coerce().
Definition at line 900 of file vartype.c.
Referenced by test_VarI2FromUI1(), and VARIANT_Coerce().
Definition at line 1094 of file vartype.c.
Referenced by test_VarI2FromUI2().
Definition at line 1112 of file vartype.c.
Referenced by test_VarI2FromUI4(), and VARIANT_Coerce().
Definition at line 1174 of file vartype.c.
Referenced by test_VarI2FromUI8(), and VARIANT_Coerce().
HRESULT WINAPI VarI4FromBool | ( | VARIANT_BOOL | boolIn, |
LONG * | piOut | ||
) |
Definition at line 1649 of file vartype.c.
Referenced by test_VarI4FromBool(), and VARIANT_Coerce().
Definition at line 1570 of file vartype.c.
Referenced by test_VarI4FromCy(), VarI1FromCy(), VarI2FromCy(), VARIANT_Coerce(), and VarNot().
Definition at line 1589 of file vartype.c.
Referenced by test_VarI4FromDate(), and VARIANT_Coerce().
Definition at line 1720 of file vartype.c.
Referenced by test_VarI4FromDec(), VARIANT_Coerce(), and VarNot().
Definition at line 1666 of file vartype.c.
Referenced by test_VarI4FromI1(), and VARIANT_Coerce().
Definition at line 1510 of file vartype.c.
Referenced by test_VarI4FromI2(), and VARIANT_Coerce().
Definition at line 1745 of file vartype.c.
Referenced by test_VarI4FromI8(), and VARIANT_Coerce().
Definition at line 1528 of file vartype.c.
Referenced by test_VarI4FromR4(), VARIANT_Coerce(), and VarNot().
Definition at line 1549 of file vartype.c.
Referenced by test_VarI4FromR8(), VarI4FromCy(), VarI4FromDate(), VarI4FromR4(), VARIANT_Coerce(), and VarNot().