Lines Matching refs:v
36 VARIANT v; /* cached element */ member
51 VariantClear(&I->v); in com_iter_dtor()
96 VariantClear(&I->v); in com_iter_move_forwards()
105 if (SUCCEEDED(IEnumVARIANT_Next(I->ev, 1, &I->v, &n_fetched)) && n_fetched > 0) { in com_iter_move_forwards()
119 if (php_com_safearray_get_elem(&I->safe_array, &I->v, (LONG)I->key TSRMLS_CC) == 0) { in com_iter_move_forwards()
126 php_com_zval_from_variant(ptr, &I->v, I->code_page TSRMLS_CC); in com_iter_move_forwards()
148 VARIANT v; in php_com_iter_get() local
158 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get()
159 …_error_docref(NULL TSRMLS_CC, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v)); in php_com_iter_get()
164 VariantInit(&v); in php_com_iter_get()
172 VariantInit(&I->v); in php_com_iter_get()
174 if (V_ISARRAY(&obj->v)) { in php_com_iter_get()
178 dims = SafeArrayGetDim(V_ARRAY(&obj->v)); in php_com_iter_get()
188 VariantCopy(&I->safe_array, &obj->v); in php_com_iter_get()
195 if (php_com_safearray_get_elem(&I->safe_array, &I->v, bound TSRMLS_CC)) { in php_com_iter_get()
198 php_com_zval_from_variant(ptr, &I->v, I->code_page TSRMLS_CC); in php_com_iter_get()
206 if (FAILED(IDispatch_Invoke(V_DISPATCH(&obj->v), DISPID_NEWENUM, in php_com_iter_get()
208 &dp, &v, NULL, NULL))) { in php_com_iter_get()
213 if (V_VT(&v) == VT_UNKNOWN) { in php_com_iter_get()
214 IUnknown_QueryInterface(V_UNKNOWN(&v), &IID_IEnumVARIANT, (void**)&iev); in php_com_iter_get()
215 } else if (V_VT(&v) == VT_DISPATCH) { in php_com_iter_get()
216 IDispatch_QueryInterface(V_DISPATCH(&v), &IID_IEnumVARIANT, (void**)&iev); in php_com_iter_get()
219 VariantClear(&v); in php_com_iter_get()
228 if (SUCCEEDED(IEnumVARIANT_Next(I->ev, 1, &I->v, &n_fetched)) && n_fetched > 0) { in php_com_iter_get()
232 php_com_zval_from_variant(ptr, &I->v, I->code_page TSRMLS_CC); in php_com_iter_get()
245 VariantClear(&I->v); in php_com_iter_get()