PostgreSQL Source Code git master
stem_ISO_8859_2_hungarian.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct SN_envhungarian_ISO_8859_2_create_env (void)
 
void hungarian_ISO_8859_2_close_env (struct SN_env *z)
 
int hungarian_ISO_8859_2_stem (struct SN_env *z)
 

Function Documentation

◆ hungarian_ISO_8859_2_close_env()

void hungarian_ISO_8859_2_close_env ( struct SN_env z)

Definition at line 861 of file stem_ISO_8859_2_hungarian.c.

861 {
862 SN_delete_env(z);
863}
void SN_delete_env(struct SN_env *z)
Definition: api.c:18

References SN_delete_env().

◆ hungarian_ISO_8859_2_create_env()

struct SN_env * hungarian_ISO_8859_2_create_env ( void  )

Definition at line 853 of file stem_ISO_8859_2_hungarian.c.

853 {
854 struct SN_env * z = SN_new_env(sizeof(SN_local));
855 if (z) {
856 ((SN_local *)z)->i_p1 = 0;
857 }
858 return z;
859}
struct SN_env * SN_new_env(int alloc_size)
Definition: api.c:5
Definition: api.h:15

References SN_new_env().

◆ hungarian_ISO_8859_2_stem()

int hungarian_ISO_8859_2_stem ( struct SN_env z)

Definition at line 767 of file stem_ISO_8859_2_hungarian.c.

767 {
768 {
769 int v_1 = z->c;
770 {
771 int ret = r_mark_regions(z);
772 if (ret < 0) return ret;
773 }
774 z->c = v_1;
775 }
776 z->lb = z->c; z->c = z->l;
777 {
778 int v_2 = z->l - z->c;
779 {
780 int ret = r_instrum(z);
781 if (ret < 0) return ret;
782 }
783 z->c = z->l - v_2;
784 }
785 {
786 int v_3 = z->l - z->c;
787 {
788 int ret = r_case(z);
789 if (ret < 0) return ret;
790 }
791 z->c = z->l - v_3;
792 }
793 {
794 int v_4 = z->l - z->c;
795 {
796 int ret = r_case_special(z);
797 if (ret < 0) return ret;
798 }
799 z->c = z->l - v_4;
800 }
801 {
802 int v_5 = z->l - z->c;
803 {
804 int ret = r_case_other(z);
805 if (ret < 0) return ret;
806 }
807 z->c = z->l - v_5;
808 }
809 {
810 int v_6 = z->l - z->c;
811 {
812 int ret = r_factive(z);
813 if (ret < 0) return ret;
814 }
815 z->c = z->l - v_6;
816 }
817 {
818 int v_7 = z->l - z->c;
819 {
820 int ret = r_owned(z);
821 if (ret < 0) return ret;
822 }
823 z->c = z->l - v_7;
824 }
825 {
826 int v_8 = z->l - z->c;
827 {
828 int ret = r_sing_owner(z);
829 if (ret < 0) return ret;
830 }
831 z->c = z->l - v_8;
832 }
833 {
834 int v_9 = z->l - z->c;
835 {
836 int ret = r_plur_owner(z);
837 if (ret < 0) return ret;
838 }
839 z->c = z->l - v_9;
840 }
841 {
842 int v_10 = z->l - z->c;
843 {
844 int ret = r_plural(z);
845 if (ret < 0) return ret;
846 }
847 z->c = z->l - v_10;
848 }
849 z->c = z->lb;
850 return 1;
851}
static int r_case(struct SN_env *z)
static int r_factive(struct SN_env *z)
static int r_instrum(struct SN_env *z)
static int r_plur_owner(struct SN_env *z)
static int r_owned(struct SN_env *z)
static int r_case_other(struct SN_env *z)
static int r_plural(struct SN_env *z)
static int r_sing_owner(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
static int r_case_special(struct SN_env *z)
int lb
Definition: api.h:17
int c
Definition: api.h:17
int l
Definition: api.h:17

References SN_env::c, SN_env::l, SN_env::lb, r_case(), r_case_other(), r_case_special(), r_factive(), r_instrum(), r_mark_regions(), r_owned(), r_plur_owner(), r_plural(), and r_sing_owner().