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 1181 of file stem_ISO_8859_1_basque.c.

1181 { 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 1179 of file stem_ISO_8859_1_basque.c.

1179 { 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 1140 of file stem_ISO_8859_1_basque.c.

1140  {
1141 
1142  { int ret = r_mark_regions(z);
1143  if (ret < 0) return ret;
1144  }
1145  z->lb = z->c; z->c = z->l;
1146 
1147  while(1) {
1148  int m1 = z->l - z->c; (void)m1;
1149  { int ret = r_aditzak(z);
1150  if (ret == 0) goto lab0;
1151  if (ret < 0) return ret;
1152  }
1153  continue;
1154  lab0:
1155  z->c = z->l - m1;
1156  break;
1157  }
1158  while(1) {
1159  int m2 = z->l - z->c; (void)m2;
1160  { int ret = r_izenak(z);
1161  if (ret == 0) goto lab1;
1162  if (ret < 0) return ret;
1163  }
1164  continue;
1165  lab1:
1166  z->c = z->l - m2;
1167  break;
1168  }
1169  { int m3 = z->l - z->c; (void)m3;
1170  { int ret = r_adjetiboak(z);
1171  if (ret < 0) return ret;
1172  }
1173  z->c = z->l - m3;
1174  }
1175  z->c = z->lb;
1176  return 1;
1177 }
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().