PostgreSQL Source Code git master
stem_ISO_8859_1_basque.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_envbasque_ISO_8859_1_create_env (void)
 
void basque_ISO_8859_1_close_env (struct SN_env *z)
 
int basque_ISO_8859_1_stem (struct SN_env *z)
 

Function Documentation

◆ basque_ISO_8859_1_close_env()

void basque_ISO_8859_1_close_env ( struct SN_env z)

Definition at line 1185 of file stem_ISO_8859_1_basque.c.

1185{ SN_close_env(z, 0); }
void SN_close_env(struct SN_env *z, int S_size)
Definition: api.c:34

References SN_close_env().

◆ basque_ISO_8859_1_create_env()

struct SN_env * basque_ISO_8859_1_create_env ( void  )

Definition at line 1183 of file stem_ISO_8859_1_basque.c.

1183{ return SN_create_env(0, 3); }
struct SN_env * SN_create_env(int S_size, int I_size)
Definition: api.c:3

References SN_create_env().

◆ basque_ISO_8859_1_stem()

int basque_ISO_8859_1_stem ( struct SN_env z)

Definition at line 1144 of file stem_ISO_8859_1_basque.c.

1144 {
1145
1146 { int ret = r_mark_regions(z);
1147 if (ret < 0) return ret;
1148 }
1149 z->lb = z->c; z->c = z->l;
1150
1151 while(1) {
1152 int m1 = z->l - z->c; (void)m1;
1153 { int ret = r_aditzak(z);
1154 if (ret == 0) goto lab0;
1155 if (ret < 0) return ret;
1156 }
1157 continue;
1158 lab0:
1159 z->c = z->l - m1;
1160 break;
1161 }
1162 while(1) {
1163 int m2 = z->l - z->c; (void)m2;
1164 { int ret = r_izenak(z);
1165 if (ret == 0) goto lab1;
1166 if (ret < 0) return ret;
1167 }
1168 continue;
1169 lab1:
1170 z->c = z->l - m2;
1171 break;
1172 }
1173 { int m3 = z->l - z->c; (void)m3;
1174 { int ret = r_adjetiboak(z);
1175 if (ret < 0) return ret;
1176 }
1177 z->c = z->l - m3;
1178 }
1179 z->c = z->lb;
1180 return 1;
1181}
static int r_aditzak(struct SN_env *z)
static int r_adjetiboak(struct SN_env *z)
static int r_izenak(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
int lb
Definition: api.h:16
int c
Definition: api.h:16
int l
Definition: api.h:16

References SN_env::c, SN_env::l, SN_env::lb, r_aditzak(), r_adjetiboak(), r_izenak(), and r_mark_regions().