Lines Matching refs:v
36 VARIANT v; /* cached element */ member
51 VariantClear(&I->v); in com_iter_dtor()
92 VariantClear(&I->v); in com_iter_move_forwards()
101 if (SUCCEEDED(IEnumVARIANT_Next(I->ev, 1, &I->v, &n_fetched)) && n_fetched > 0) { in com_iter_move_forwards()
115 if (php_com_safearray_get_elem(&I->safe_array, &I->v, (LONG)I->key) == 0) { in com_iter_move_forwards()
122 php_com_zval_from_variant(&ptr, &I->v, I->code_page); in com_iter_move_forwards()
143 VARIANT v; in php_com_iter_get() local
153 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get()
154 php_error_docref(NULL, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v)); in php_com_iter_get()
159 VariantInit(&v); in php_com_iter_get()
168 VariantInit(&I->v); in php_com_iter_get()
170 if (V_ISARRAY(&obj->v)) { in php_com_iter_get()
174 dims = SafeArrayGetDim(V_ARRAY(&obj->v)); in php_com_iter_get()
184 VariantCopy(&I->safe_array, &obj->v); in php_com_iter_get()
191 if (php_com_safearray_get_elem(&I->safe_array, &I->v, bound)) { in php_com_iter_get()
194 php_com_zval_from_variant(&ptr, &I->v, I->code_page); in php_com_iter_get()
202 if (FAILED(IDispatch_Invoke(V_DISPATCH(&obj->v), DISPID_NEWENUM, in php_com_iter_get()
204 &dp, &v, NULL, NULL))) { in php_com_iter_get()
209 if (V_VT(&v) == VT_UNKNOWN) { in php_com_iter_get()
210 IUnknown_QueryInterface(V_UNKNOWN(&v), &IID_IEnumVARIANT, (void**)&iev); in php_com_iter_get()
211 } else if (V_VT(&v) == VT_DISPATCH) { in php_com_iter_get()
212 IDispatch_QueryInterface(V_DISPATCH(&v), &IID_IEnumVARIANT, (void**)&iev); in php_com_iter_get()
215 VariantClear(&v); in php_com_iter_get()
224 if (SUCCEEDED(IEnumVARIANT_Next(I->ev, 1, &I->v, &n_fetched)) && n_fetched > 0) { in php_com_iter_get()
228 php_com_zval_from_variant(&ptr, &I->v, I->code_page); in php_com_iter_get()
241 VariantClear(&I->v); in php_com_iter_get()