Lines Matching refs:obj
104 php_com_dotnet_object *obj; in php_com_variant_from_zval() local
119 obj = CDNO_FETCH(z); in php_com_variant_from_zval()
120 if (V_VT(&obj->v) == VT_DISPATCH) { in php_com_variant_from_zval()
123 if (V_DISPATCH(&obj->v)) { in php_com_variant_from_zval()
124 IDispatch_AddRef(V_DISPATCH(&obj->v)); in php_com_variant_from_zval()
126 V_DISPATCH(v) = V_DISPATCH(&obj->v); in php_com_variant_from_zval()
130 V_VARIANTREF(v) = &obj->v; in php_com_variant_from_zval()
405 php_com_dotnet_object *obj; in PHP_FUNCTION() local
414 obj = CDNO_FETCH(object); in PHP_FUNCTION()
424 obj->code_page = codepage; in PHP_FUNCTION()
428 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page TSRMLS_CC); in PHP_FUNCTION()
432 if ((ZEND_NUM_ARGS() >= 2) && (vt != V_VT(&obj->v))) { in PHP_FUNCTION()
439 if ((vt & VT_ARRAY) && (V_VT(&obj->v) & VT_ARRAY)) { in PHP_FUNCTION()
449 res = VariantChangeType(&obj->v, &obj->v, 0, (VARTYPE)vt); in PHP_FUNCTION()
464 if (V_VT(&obj->v) != VT_DISPATCH && obj->typeinfo) { in PHP_FUNCTION()
465 ITypeInfo_Release(obj->typeinfo); in PHP_FUNCTION()
466 obj->typeinfo = NULL; in PHP_FUNCTION()
476 php_com_dotnet_object *obj; in PHP_FUNCTION() local
483 obj = CDNO_FETCH(zobj); in PHP_FUNCTION()
486 if (obj->typeinfo) { in PHP_FUNCTION()
487 ITypeInfo_Release(obj->typeinfo); in PHP_FUNCTION()
488 obj->typeinfo = NULL; in PHP_FUNCTION()
490 if (obj->sink_dispatch) { in PHP_FUNCTION()
491 php_com_object_enable_event_sink(obj, FALSE TSRMLS_CC); in PHP_FUNCTION()
492 IDispatch_Release(obj->sink_dispatch); in PHP_FUNCTION()
493 obj->sink_dispatch = NULL; in PHP_FUNCTION()
496 VariantClear(&obj->v); in PHP_FUNCTION()
498 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page TSRMLS_CC); in PHP_FUNCTION()
500 obj->modified = 1; in PHP_FUNCTION()
520 php_com_dotnet_object *obj; in variant_binary_operation() local
531 obj = CDNO_FETCH(zleft); in variant_binary_operation()
532 vleft = &obj->v; in variant_binary_operation()
533 obj = CDNO_FETCH(zright); in variant_binary_operation()
534 vright = &obj->v; in variant_binary_operation()
538 obj = CDNO_FETCH(zleft); in variant_binary_operation()
539 vleft = &obj->v; in variant_binary_operation()
544 obj = CDNO_FETCH(zright); in variant_binary_operation()
545 vright = &obj->v; in variant_binary_operation()
728 php_com_dotnet_object *obj; in variant_unary_operation() local
737 obj = CDNO_FETCH(zleft); in variant_unary_operation()
738 vleft = &obj->v; in variant_unary_operation()
826 php_com_dotnet_object *obj; in PHP_FUNCTION() local
835 obj = CDNO_FETCH(zleft); in PHP_FUNCTION()
836 vleft = &obj->v; in PHP_FUNCTION()
861 php_com_dotnet_object *obj; in PHP_FUNCTION() local
874 obj = CDNO_FETCH(zleft); in PHP_FUNCTION()
875 vleft = &obj->v; in PHP_FUNCTION()
876 obj = CDNO_FETCH(zright); in PHP_FUNCTION()
877 vright = &obj->v; in PHP_FUNCTION()
881 obj = CDNO_FETCH(zleft); in PHP_FUNCTION()
882 vleft = &obj->v; in PHP_FUNCTION()
888 obj = CDNO_FETCH(zright); in PHP_FUNCTION()
889 vright = &obj->v; in PHP_FUNCTION()
918 php_com_dotnet_object *obj; in PHP_FUNCTION() local
926 obj = CDNO_FETCH(zleft); in PHP_FUNCTION()
928 if (SUCCEEDED(VariantChangeType(&vres, &obj->v, 0, VT_DATE))) { in PHP_FUNCTION()
998 php_com_dotnet_object *obj; in PHP_FUNCTION() local
1004 obj = CDNO_FETCH(zobj); in PHP_FUNCTION()
1006 RETURN_LONG(V_VT(&obj->v)); in PHP_FUNCTION()
1015 php_com_dotnet_object *obj; in PHP_FUNCTION() local
1023 obj = CDNO_FETCH(zobj); in PHP_FUNCTION()
1025 res = VariantChangeType(&obj->v, &obj->v, 0, (VARTYPE)vt); in PHP_FUNCTION()
1028 if (vt != VT_DISPATCH && obj->typeinfo) { in PHP_FUNCTION()
1029 ITypeInfo_Release(obj->typeinfo); in PHP_FUNCTION()
1030 obj->typeinfo = NULL; in PHP_FUNCTION()
1050 php_com_dotnet_object *obj; in PHP_FUNCTION() local
1059 obj = CDNO_FETCH(zobj); in PHP_FUNCTION()
1062 res = VariantChangeType(&vres, &obj->v, 0, (VARTYPE)vt); in PHP_FUNCTION()
1065 php_com_wrap_variant(return_value, &vres, obj->code_page TSRMLS_CC); in PHP_FUNCTION()