PostgreSQL Source Code git master
stem_ISO_8859_1_dutch_porter.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_envdutch_porter_ISO_8859_1_create_env (void)
 
void dutch_porter_ISO_8859_1_close_env (struct SN_env *z)
 
int dutch_porter_ISO_8859_1_stem (struct SN_env *z)
 

Function Documentation

◆ dutch_porter_ISO_8859_1_close_env()

void dutch_porter_ISO_8859_1_close_env ( struct SN_env z)

Definition at line 662 of file stem_ISO_8859_1_dutch_porter.c.

662 {
663 SN_delete_env(z);
664}
void SN_delete_env(struct SN_env *z)
Definition: api.c:18

References SN_delete_env().

◆ dutch_porter_ISO_8859_1_create_env()

struct SN_env * dutch_porter_ISO_8859_1_create_env ( void  )

Definition at line 652 of file stem_ISO_8859_1_dutch_porter.c.

652 {
653 struct SN_env * z = SN_new_env(sizeof(SN_local));
654 if (z) {
655 ((SN_local *)z)->i_p2 = 0;
656 ((SN_local *)z)->i_p1 = 0;
657 ((SN_local *)z)->b_e_found = 0;
658 }
659 return z;
660}
struct SN_env * SN_new_env(int alloc_size)
Definition: api.c:5
Definition: api.h:15

References SN_new_env().

◆ dutch_porter_ISO_8859_1_stem()

int dutch_porter_ISO_8859_1_stem ( struct SN_env z)

Definition at line 618 of file stem_ISO_8859_1_dutch_porter.c.

618 {
619 {
620 int v_1 = z->c;
621 {
622 int ret = r_prelude(z);
623 if (ret < 0) return ret;
624 }
625 z->c = v_1;
626 }
627 {
628 int v_2 = z->c;
629 {
630 int ret = r_mark_regions(z);
631 if (ret < 0) return ret;
632 }
633 z->c = v_2;
634 }
635 z->lb = z->c; z->c = z->l;
636 {
637 int ret = r_standard_suffix(z);
638 if (ret < 0) return ret;
639 }
640 z->c = z->lb;
641 {
642 int v_3 = z->c;
643 {
644 int ret = r_postlude(z);
645 if (ret < 0) return ret;
646 }
647 z->c = v_3;
648 }
649 return 1;
650}
static int r_standard_suffix(struct SN_env *z)
static int r_postlude(struct SN_env *z)
static int r_prelude(struct SN_env *z)
static int r_mark_regions(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_mark_regions(), r_postlude(), r_prelude(), and r_standard_suffix().