Lines Matching refs:op1
45 ZEND_API zend_ast* zend_ast_create_binary(uint kind, zend_ast *op0, zend_ast *op1) in zend_ast_create_binary() argument
51 (&ast->u.child)[1] = op1; in zend_ast_create_binary()
55 ZEND_API zend_ast* zend_ast_create_ternary(uint kind, zend_ast *op0, zend_ast *op1, zend_ast *op2) in zend_ast_create_ternary() argument
61 (&ast->u.child)[1] = op1; in zend_ast_create_ternary()
107 zval op1, op2; in zend_ast_evaluate() local
111 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
113 add_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
114 zval_dtor(&op1); in zend_ast_evaluate()
118 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
120 sub_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
121 zval_dtor(&op1); in zend_ast_evaluate()
125 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
127 mul_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
128 zval_dtor(&op1); in zend_ast_evaluate()
132 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
134 pow_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
135 zval_dtor(&op1); in zend_ast_evaluate()
139 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
141 div_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
142 zval_dtor(&op1); in zend_ast_evaluate()
146 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
148 mod_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
149 zval_dtor(&op1); in zend_ast_evaluate()
153 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
155 shift_left_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
156 zval_dtor(&op1); in zend_ast_evaluate()
160 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
162 shift_right_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
163 zval_dtor(&op1); in zend_ast_evaluate()
167 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
169 concat_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
170 zval_dtor(&op1); in zend_ast_evaluate()
174 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
176 bitwise_or_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
177 zval_dtor(&op1); in zend_ast_evaluate()
181 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
183 bitwise_and_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
184 zval_dtor(&op1); in zend_ast_evaluate()
188 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
190 bitwise_xor_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
191 zval_dtor(&op1); in zend_ast_evaluate()
195 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
196 bitwise_not_function(result, &op1 TSRMLS_CC); in zend_ast_evaluate()
197 zval_dtor(&op1); in zend_ast_evaluate()
200 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
201 boolean_not_function(result, &op1 TSRMLS_CC); in zend_ast_evaluate()
202 zval_dtor(&op1); in zend_ast_evaluate()
205 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
207 boolean_xor_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
208 zval_dtor(&op1); in zend_ast_evaluate()
212 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
214 is_identical_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
215 zval_dtor(&op1); in zend_ast_evaluate()
219 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
221 is_not_identical_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
222 zval_dtor(&op1); in zend_ast_evaluate()
226 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
228 is_equal_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
229 zval_dtor(&op1); in zend_ast_evaluate()
233 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
235 is_not_equal_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
236 zval_dtor(&op1); in zend_ast_evaluate()
240 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
242 is_smaller_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
243 zval_dtor(&op1); in zend_ast_evaluate()
247 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
249 is_smaller_or_equal_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
250 zval_dtor(&op1); in zend_ast_evaluate()
270 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
271 if (zend_is_true(&op1)) { in zend_ast_evaluate()
278 zval_dtor(&op1); in zend_ast_evaluate()
281 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
282 if (zend_is_true(&op1)) { in zend_ast_evaluate()
289 zval_dtor(&op1); in zend_ast_evaluate()
292 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
293 if (zend_is_true(&op1)) { in zend_ast_evaluate()
295 *result = op1; in zend_ast_evaluate()
298 zval_dtor(&op1); in zend_ast_evaluate()
302 zval_dtor(&op1); in zend_ast_evaluate()
306 ZVAL_LONG(&op1, 0); in zend_ast_evaluate()
308 add_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
312 ZVAL_LONG(&op1, 0); in zend_ast_evaluate()
314 sub_function(result, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
327 zend_ast_evaluate(&op1, (&ast->u.child)[i], scope TSRMLS_CC); in zend_ast_evaluate()
330 zend_do_add_static_array_element(result, has_key?&op1:NULL, expr); in zend_ast_evaluate()
335 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
339 zend_fetch_dimension_by_zval(&tmp, &op1, &op2 TSRMLS_CC); in zend_ast_evaluate()
342 zval_dtor(&op1); in zend_ast_evaluate()