Lines Matching refs:vt
96 static void php_com_variant_from_zval_ex(VARIANT *v, zval *z, int codepage, VARTYPE vt) in php_com_variant_from_zval_ex() argument
149 if (vt == VT_ERROR) { in php_com_variant_from_zval_ex()
437 /* VARTYPE == unsigned short */ zend_long vt = VT_EMPTY; in PHP_METHOD() local
450 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_METHOD()
462 php_com_variant_from_zval_ex(&obj->v, zvalue, obj->code_page, vt); in PHP_METHOD()
466 if ((ZEND_NUM_ARGS() >= 2) && (vt != V_VT(&obj->v))) { in PHP_METHOD()
473 if ((vt & VT_ARRAY) && (V_VT(&obj->v) & VT_ARRAY)) { in PHP_METHOD()
474 zend_long orig_vt = vt; in PHP_METHOD()
476 vt &= ~VT_ARRAY; in PHP_METHOD()
477 if (vt) { in PHP_METHOD()
478 vt = orig_vt; in PHP_METHOD()
482 if (vt) { in PHP_METHOD()
483 res = VariantChangeType(&obj->v, &obj->v, 0, (VARTYPE)vt); in PHP_METHOD()
1032 /* VARTYPE == unsigned short */ zend_long vt; in PHP_FUNCTION() local
1037 "Ol", &zobj, php_com_variant_class_entry, &vt)) { in PHP_FUNCTION()
1047 res = VariantChangeType(&obj->v, V_VT(&obj->v) != VT_ERROR ? &obj->v : &vtmp, 0, (VARTYPE)vt); in PHP_FUNCTION()
1050 if (vt != VT_DISPATCH && obj->typeinfo) { in PHP_FUNCTION()
1072 /* VARTYPE == unsigned short */ zend_long vt; in PHP_FUNCTION() local
1077 "Ol", &zobj, php_com_variant_class_entry, &vt)) { in PHP_FUNCTION()
1087 res = VariantChangeType(&vres, V_VT(&vres) == VT_EMPTY ? &obj->v : &vres, 0, (VARTYPE)vt); in PHP_FUNCTION()