Lines Matching refs:def_state
901 int def_state = OUTSIDE; in apply_hunk() local
912 if (def_state == OUTSIDE) { in apply_hunk()
914 def_state = IN_IFNDEF; in apply_hunk()
915 } else if (def_state == IN_IFDEF) { in apply_hunk()
917 def_state = IN_ELSE; in apply_hunk()
928 if (def_state == IN_IFNDEF) { in apply_hunk()
930 def_state = IN_ELSE; in apply_hunk()
931 } else if (def_state == OUTSIDE) { in apply_hunk()
933 def_state = IN_IFDEF; in apply_hunk()
951 def_state = IN_IFNDEF; in apply_hunk()
962 def_state = IN_ELSE; in apply_hunk()
973 if (do_defines && def_state != OUTSIDE) { in apply_hunk()
975 def_state = OUTSIDE; in apply_hunk()
982 if (def_state == OUTSIDE) { in apply_hunk()
984 def_state = IN_IFDEF; in apply_hunk()
985 } else if (def_state == IN_IFNDEF) { in apply_hunk()
987 def_state = IN_ELSE; in apply_hunk()
995 if (do_defines && def_state != OUTSIDE) { in apply_hunk()