Lines Matching refs:val
328 {zend_ffi_val val = {.kind = ZEND_FFI_VAL_EMPTY};}
331 constant_expression(&val)
333 {zend_ffi_add_enum_val(enum_dcl, name, name_len, &val, min, max, last);}
461 {zend_ffi_val val;}
477 assignment_expression(&val)
478 {zend_ffi_add_msvc_attribute_value(dcl, name, name_len, &val);}
500 {zend_ffi_val val;}
508 assignment_expression(&val)
509 {zend_ffi_add_attribute_value(dcl, name, name_len, 0, &val);}
512 assignment_expression(&val)
513 {zend_ffi_add_attribute_value(dcl, name, name_len, ++n, &val);}
550 expression(zend_ffi_val *val):
551 assignment_expression(val)
553 assignment_expression(val)
557 assignment_expression(zend_ffi_val *val):
561 conditional_expression(val)
564 constant_expression(zend_ffi_val *val):
565 conditional_expression(val)
568 conditional_expression(zend_ffi_val *val):
570 logical_or_expression(val)
575 {zend_ffi_expr_conditional(val, &op2, &op3);}
579 logical_or_expression(zend_ffi_val *val):
581 logical_and_expression(val)
584 {zend_ffi_expr_bool_or(val, &op2);}
588 logical_and_expression(zend_ffi_val *val):
590 inclusive_or_expression(val)
593 {zend_ffi_expr_bool_and(val, &op2);}
597 inclusive_or_expression(zend_ffi_val *val):
599 exclusive_or_expression(val)
602 {zend_ffi_expr_bw_or(val, &op2);}
606 exclusive_or_expression(zend_ffi_val *val):
608 and_expression(val)
611 {zend_ffi_expr_bw_xor(val, &op2);}
615 and_expression(zend_ffi_val *val):
617 equality_expression(val)
620 {zend_ffi_expr_bw_and(val, &op2);}
624 equality_expression(zend_ffi_val *val):
626 relational_expression(val)
629 {zend_ffi_expr_is_equal(val, &op2);}
632 {zend_ffi_expr_is_not_equal(val, &op2);}
636 relational_expression(zend_ffi_val *val):
638 shift_expression(val)
641 {zend_ffi_expr_is_less(val, &op2);}
644 {zend_ffi_expr_is_greater(val, &op2);}
647 {zend_ffi_expr_is_less_or_equal(val, &op2);}
650 {zend_ffi_expr_is_greater_or_equal(val, &op2);}
654 shift_expression(zend_ffi_val *val):
656 additive_expression(val)
659 {zend_ffi_expr_shift_left(val, &op2);}
662 {zend_ffi_expr_shift_right(val, &op2);}
666 additive_expression(zend_ffi_val *val):
668 multiplicative_expression(val)
671 {zend_ffi_expr_add(val, &op2);}
674 {zend_ffi_expr_sub(val, &op2);}
678 multiplicative_expression(zend_ffi_val *val):
680 cast_expression(val)
683 {zend_ffi_expr_mul(val, &op2);}
686 {zend_ffi_expr_div(val, &op2);}
689 {zend_ffi_expr_mod(val, &op2);}
693 cast_expression(zend_ffi_val *val):
702 unary_expression(val)
703 {if (do_cast) zend_ffi_expr_cast(val, &dcl);}
706 unary_expression(zend_ffi_val *val):
711 {zend_ffi_resolve_const(name, name_len, val);}
726 {zend_ffi_val_error(val);}
728 | OCTNUMBER(val)
729 | DECNUMBER(val)
730 | HEXNUMBER(val)
731 | FLOATNUMBER(val)
732 | STRING(val)
733 | CHARACTER(val)
735 expression(val)
738 unary_expression(val)
739 {zend_ffi_val_error(val);}
741 unary_expression(val)
742 {zend_ffi_val_error(val);}
744 cast_expression(val)
745 {zend_ffi_val_error(val);}
747 cast_expression(val)
748 {zend_ffi_val_error(val);}
750 cast_expression(val)
751 {zend_ffi_expr_plus(val);}
753 cast_expression(val)
754 {zend_ffi_expr_neg(val);}
756 cast_expression(val)
757 {zend_ffi_expr_bw_not(val);}
759 cast_expression(val)
760 {zend_ffi_expr_bool_not(val);}
766 {zend_ffi_expr_sizeof_type(val, &dcl);}
767 | unary_expression(val)
768 {zend_ffi_expr_sizeof_val(val);}
774 {zend_ffi_expr_alignof_type(val, &dcl);}
780 {zend_ffi_expr_alignof_type(val, &dcl);}
781 | unary_expression(val)
782 {zend_ffi_expr_alignof_val(val);}
843 OCTNUMBER(zend_ffi_val *val):
845 {zend_ffi_val_number(val, 8, (const char*)yy_text, yy_pos - yy_text);}
848 DECNUMBER(zend_ffi_val *val):
850 {zend_ffi_val_number(val, 10, (const char*)yy_text, yy_pos - yy_text);}
853 HEXNUMBER(zend_ffi_val *val):
855 {zend_ffi_val_number(val, 16, (const char*)yy_text + 2, yy_pos - yy_text - 2);}
858 FLOATNUMBER(zend_ffi_val *val):
860 {zend_ffi_val_float_number(val, (const char*)yy_text, yy_pos - yy_text);}
863 STRING(zend_ffi_val *val):
865 {zend_ffi_val_string(val, (const char*)yy_text, yy_pos - yy_text);}
868 CHARACTER(zend_ffi_val *val):
870 {zend_ffi_val_character(val, (const char*)yy_text, yy_pos - yy_text);}