Lines Matching refs:v
34 VARIANT v; /* cached element */ member
49 VariantClear(&I->v); in com_iter_dtor()
90 VariantClear(&I->v); in com_iter_move_forwards()
99 if (SUCCEEDED(IEnumVARIANT_Next(I->ev, 1, &I->v, &n_fetched)) && n_fetched > 0) { in com_iter_move_forwards()
113 if (php_com_safearray_get_elem(&I->safe_array, &I->v, (LONG)I->key) == 0) { in com_iter_move_forwards()
120 php_com_zval_from_variant(&ptr, &I->v, I->code_page); in com_iter_move_forwards()
141 VARIANT v; in php_com_iter_get() local
152 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get()
153 php_error_docref(NULL, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v)); in php_com_iter_get()
158 VariantInit(&v); in php_com_iter_get()
167 VariantInit(&I->v); in php_com_iter_get()
169 if (V_ISARRAY(&obj->v)) { in php_com_iter_get()
173 dims = SafeArrayGetDim(V_ARRAY(&obj->v)); in php_com_iter_get()
183 VariantCopy(&I->safe_array, &obj->v); in php_com_iter_get()
190 if (I->sa_max >= bound && php_com_safearray_get_elem(&I->safe_array, &I->v, bound)) { in php_com_iter_get()
193 php_com_zval_from_variant(&ptr, &I->v, I->code_page); in php_com_iter_get()
201 if (FAILED(IDispatch_Invoke(V_DISPATCH(&obj->v), DISPID_NEWENUM, in php_com_iter_get()
203 &dp, &v, NULL, NULL))) { in php_com_iter_get()
208 if (V_VT(&v) == VT_UNKNOWN) { in php_com_iter_get()
209 IUnknown_QueryInterface(V_UNKNOWN(&v), &IID_IEnumVARIANT, (void**)&iev); in php_com_iter_get()
210 } else if (V_VT(&v) == VT_DISPATCH) { in php_com_iter_get()
211 IDispatch_QueryInterface(V_DISPATCH(&v), &IID_IEnumVARIANT, (void**)&iev); in php_com_iter_get()
214 VariantClear(&v); in php_com_iter_get()
223 if (SUCCEEDED(IEnumVARIANT_Next(I->ev, 1, &I->v, &n_fetched)) && n_fetched > 0) { in php_com_iter_get()
227 php_com_zval_from_variant(&ptr, &I->v, I->code_page); in php_com_iter_get()
240 VariantClear(&I->v); in php_com_iter_get()