Lines Matching refs:val
332 {zend_ffi_val val = {.kind = ZEND_FFI_VAL_EMPTY};}
335 constant_expression(&val)
337 {zend_ffi_add_enum_val(enum_dcl, name, name_len, &val, min, max, last);}
465 {zend_ffi_val val;}
481 assignment_expression(&val)
482 {zend_ffi_add_msvc_attribute_value(dcl, name, name_len, &val);}
504 {zend_ffi_val val;}
512 assignment_expression(&val)
513 {zend_ffi_add_attribute_value(dcl, name, name_len, 0, &val);}
516 assignment_expression(&val)
517 {zend_ffi_add_attribute_value(dcl, name, name_len, ++n, &val);}
554 expression(zend_ffi_val *val):
555 assignment_expression(val)
557 assignment_expression(val)
561 assignment_expression(zend_ffi_val *val):
565 conditional_expression(val)
568 constant_expression(zend_ffi_val *val):
569 conditional_expression(val)
572 conditional_expression(zend_ffi_val *val):
574 logical_or_expression(val)
579 {zend_ffi_expr_conditional(val, &op2, &op3);}
583 logical_or_expression(zend_ffi_val *val):
585 logical_and_expression(val)
588 {zend_ffi_expr_bool_or(val, &op2);}
592 logical_and_expression(zend_ffi_val *val):
594 inclusive_or_expression(val)
597 {zend_ffi_expr_bool_and(val, &op2);}
601 inclusive_or_expression(zend_ffi_val *val):
603 exclusive_or_expression(val)
606 {zend_ffi_expr_bw_or(val, &op2);}
610 exclusive_or_expression(zend_ffi_val *val):
612 and_expression(val)
615 {zend_ffi_expr_bw_xor(val, &op2);}
619 and_expression(zend_ffi_val *val):
621 equality_expression(val)
624 {zend_ffi_expr_bw_and(val, &op2);}
628 equality_expression(zend_ffi_val *val):
630 relational_expression(val)
633 {zend_ffi_expr_is_equal(val, &op2);}
636 {zend_ffi_expr_is_not_equal(val, &op2);}
640 relational_expression(zend_ffi_val *val):
642 shift_expression(val)
645 {zend_ffi_expr_is_less(val, &op2);}
648 {zend_ffi_expr_is_greater(val, &op2);}
651 {zend_ffi_expr_is_less_or_equal(val, &op2);}
654 {zend_ffi_expr_is_greater_or_equal(val, &op2);}
658 shift_expression(zend_ffi_val *val):
660 additive_expression(val)
663 {zend_ffi_expr_shift_left(val, &op2);}
666 {zend_ffi_expr_shift_right(val, &op2);}
670 additive_expression(zend_ffi_val *val):
672 multiplicative_expression(val)
675 {zend_ffi_expr_add(val, &op2);}
678 {zend_ffi_expr_sub(val, &op2);}
682 multiplicative_expression(zend_ffi_val *val):
684 cast_expression(val)
687 {zend_ffi_expr_mul(val, &op2);}
690 {zend_ffi_expr_div(val, &op2);}
693 {zend_ffi_expr_mod(val, &op2);}
697 cast_expression(zend_ffi_val *val):
706 unary_expression(val)
707 {if (do_cast) zend_ffi_expr_cast(val, &dcl);}
710 unary_expression(zend_ffi_val *val):
715 {zend_ffi_resolve_const(name, name_len, val);}
730 {zend_ffi_val_error(val);}
732 | OCTNUMBER(val)
733 | DECNUMBER(val)
734 | HEXNUMBER(val)
735 | FLOATNUMBER(val)
736 | STRING(val)
737 | CHARACTER(val)
739 expression(val)
742 unary_expression(val)
743 {zend_ffi_val_error(val);}
745 unary_expression(val)
746 {zend_ffi_val_error(val);}
748 cast_expression(val)
749 {zend_ffi_val_error(val);}
751 cast_expression(val)
752 {zend_ffi_val_error(val);}
754 cast_expression(val)
755 {zend_ffi_expr_plus(val);}
757 cast_expression(val)
758 {zend_ffi_expr_neg(val);}
760 cast_expression(val)
761 {zend_ffi_expr_bw_not(val);}
763 cast_expression(val)
764 {zend_ffi_expr_bool_not(val);}
770 {zend_ffi_expr_sizeof_type(val, &dcl);}
771 | unary_expression(val)
772 {zend_ffi_expr_sizeof_val(val);}
778 {zend_ffi_expr_alignof_type(val, &dcl);}
784 {zend_ffi_expr_alignof_type(val, &dcl);}
785 | unary_expression(val)
786 {zend_ffi_expr_alignof_val(val);}
847 OCTNUMBER(zend_ffi_val *val):
849 {zend_ffi_val_number(val, 8, (const char*)yy_text, yy_pos - yy_text);}
852 DECNUMBER(zend_ffi_val *val):
854 {zend_ffi_val_number(val, 10, (const char*)yy_text, yy_pos - yy_text);}
857 HEXNUMBER(zend_ffi_val *val):
859 {zend_ffi_val_number(val, 16, (const char*)yy_text + 2, yy_pos - yy_text - 2);}
862 FLOATNUMBER(zend_ffi_val *val):
864 {zend_ffi_val_float_number(val, (const char*)yy_text, yy_pos - yy_text);}
867 STRING(zend_ffi_val *val):
869 {zend_ffi_val_string(val, (const char*)yy_text, yy_pos - yy_text);}
872 CHARACTER(zend_ffi_val *val):
874 {zend_ffi_val_character(val, (const char*)yy_text, yy_pos - yy_text);}