PostgreSQL Source Code git master
stem_UTF_8_greek.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_envgreek_UTF_8_create_env (void)
 
void greek_UTF_8_close_env (struct SN_env *z)
 
int greek_UTF_8_stem (struct SN_env *z)
 

Function Documentation

◆ greek_UTF_8_close_env()

void greek_UTF_8_close_env ( struct SN_env z)

Definition at line 3738 of file stem_UTF_8_greek.c.

3738 {
3739 SN_delete_env(z);
3740}
void SN_delete_env(struct SN_env *z)
Definition: api.c:18

References SN_delete_env().

◆ greek_UTF_8_create_env()

struct SN_env * greek_UTF_8_create_env ( void  )

Definition at line 3730 of file stem_UTF_8_greek.c.

3730 {
3731 struct SN_env * z = SN_new_env(sizeof(SN_local));
3732 if (z) {
3733 ((SN_local *)z)->b_test1 = 0;
3734 }
3735 return z;
3736}
struct SN_env * SN_new_env(int alloc_size)
Definition: api.c:5
Definition: api.h:15

References SN_new_env().

◆ greek_UTF_8_stem()

int greek_UTF_8_stem ( struct SN_env z)

Definition at line 3455 of file stem_UTF_8_greek.c.

3455 {
3456 z->lb = z->c; z->c = z->l;
3457 {
3458 int v_1 = z->l - z->c;
3459 {
3460 int ret = r_tolower(z);
3461 if (ret < 0) return ret;
3462 }
3463 z->c = z->l - v_1;
3464 }
3465 {
3466 int ret = r_has_min_length(z);
3467 if (ret <= 0) return ret;
3468 }
3469 ((SN_local *)z)->b_test1 = 1;
3470 {
3471 int v_2 = z->l - z->c;
3472 {
3473 int ret = r_step_1(z);
3474 if (ret < 0) return ret;
3475 }
3476 z->c = z->l - v_2;
3477 }
3478 {
3479 int v_3 = z->l - z->c;
3480 {
3481 int ret = r_step_s1(z);
3482 if (ret < 0) return ret;
3483 }
3484 z->c = z->l - v_3;
3485 }
3486 {
3487 int v_4 = z->l - z->c;
3488 {
3489 int ret = r_step_s2(z);
3490 if (ret < 0) return ret;
3491 }
3492 z->c = z->l - v_4;
3493 }
3494 {
3495 int v_5 = z->l - z->c;
3496 {
3497 int ret = r_step_s3(z);
3498 if (ret < 0) return ret;
3499 }
3500 z->c = z->l - v_5;
3501 }
3502 {
3503 int v_6 = z->l - z->c;
3504 {
3505 int ret = r_step_s4(z);
3506 if (ret < 0) return ret;
3507 }
3508 z->c = z->l - v_6;
3509 }
3510 {
3511 int v_7 = z->l - z->c;
3512 {
3513 int ret = r_step_s5(z);
3514 if (ret < 0) return ret;
3515 }
3516 z->c = z->l - v_7;
3517 }
3518 {
3519 int v_8 = z->l - z->c;
3520 {
3521 int ret = r_step_s6(z);
3522 if (ret < 0) return ret;
3523 }
3524 z->c = z->l - v_8;
3525 }
3526 {
3527 int v_9 = z->l - z->c;
3528 {
3529 int ret = r_step_s7(z);
3530 if (ret < 0) return ret;
3531 }
3532 z->c = z->l - v_9;
3533 }
3534 {
3535 int v_10 = z->l - z->c;
3536 {
3537 int ret = r_step_s8(z);
3538 if (ret < 0) return ret;
3539 }
3540 z->c = z->l - v_10;
3541 }
3542 {
3543 int v_11 = z->l - z->c;
3544 {
3545 int ret = r_step_s9(z);
3546 if (ret < 0) return ret;
3547 }
3548 z->c = z->l - v_11;
3549 }
3550 {
3551 int v_12 = z->l - z->c;
3552 {
3553 int ret = r_step_s10(z);
3554 if (ret < 0) return ret;
3555 }
3556 z->c = z->l - v_12;
3557 }
3558 {
3559 int v_13 = z->l - z->c;
3560 {
3561 int ret = r_step_2a(z);
3562 if (ret < 0) return ret;
3563 }
3564 z->c = z->l - v_13;
3565 }
3566 {
3567 int v_14 = z->l - z->c;
3568 {
3569 int ret = r_step_2b(z);
3570 if (ret < 0) return ret;
3571 }
3572 z->c = z->l - v_14;
3573 }
3574 {
3575 int v_15 = z->l - z->c;
3576 {
3577 int ret = r_step_2c(z);
3578 if (ret < 0) return ret;
3579 }
3580 z->c = z->l - v_15;
3581 }
3582 {
3583 int v_16 = z->l - z->c;
3584 {
3585 int ret = r_step_2d(z);
3586 if (ret < 0) return ret;
3587 }
3588 z->c = z->l - v_16;
3589 }
3590 {
3591 int v_17 = z->l - z->c;
3592 {
3593 int ret = r_step_3(z);
3594 if (ret < 0) return ret;
3595 }
3596 z->c = z->l - v_17;
3597 }
3598 {
3599 int v_18 = z->l - z->c;
3600 {
3601 int ret = r_step_4(z);
3602 if (ret < 0) return ret;
3603 }
3604 z->c = z->l - v_18;
3605 }
3606 {
3607 int v_19 = z->l - z->c;
3608 {
3609 int ret = r_step_5a(z);
3610 if (ret < 0) return ret;
3611 }
3612 z->c = z->l - v_19;
3613 }
3614 {
3615 int v_20 = z->l - z->c;
3616 {
3617 int ret = r_step_5b(z);
3618 if (ret < 0) return ret;
3619 }
3620 z->c = z->l - v_20;
3621 }
3622 {
3623 int v_21 = z->l - z->c;
3624 {
3625 int ret = r_step_5c(z);
3626 if (ret < 0) return ret;
3627 }
3628 z->c = z->l - v_21;
3629 }
3630 {
3631 int v_22 = z->l - z->c;
3632 {
3633 int ret = r_step_5d(z);
3634 if (ret < 0) return ret;
3635 }
3636 z->c = z->l - v_22;
3637 }
3638 {
3639 int v_23 = z->l - z->c;
3640 {
3641 int ret = r_step_5e(z);
3642 if (ret < 0) return ret;
3643 }
3644 z->c = z->l - v_23;
3645 }
3646 {
3647 int v_24 = z->l - z->c;
3648 {
3649 int ret = r_step_5f(z);
3650 if (ret < 0) return ret;
3651 }
3652 z->c = z->l - v_24;
3653 }
3654 {
3655 int v_25 = z->l - z->c;
3656 {
3657 int ret = r_step_5g(z);
3658 if (ret < 0) return ret;
3659 }
3660 z->c = z->l - v_25;
3661 }
3662 {
3663 int v_26 = z->l - z->c;
3664 {
3665 int ret = r_step_5h(z);
3666 if (ret < 0) return ret;
3667 }
3668 z->c = z->l - v_26;
3669 }
3670 {
3671 int v_27 = z->l - z->c;
3672 {
3673 int ret = r_step_5j(z);
3674 if (ret < 0) return ret;
3675 }
3676 z->c = z->l - v_27;
3677 }
3678 {
3679 int v_28 = z->l - z->c;
3680 {
3681 int ret = r_step_5i(z);
3682 if (ret < 0) return ret;
3683 }
3684 z->c = z->l - v_28;
3685 }
3686 {
3687 int v_29 = z->l - z->c;
3688 {
3689 int ret = r_step_5k(z);
3690 if (ret < 0) return ret;
3691 }
3692 z->c = z->l - v_29;
3693 }
3694 {
3695 int v_30 = z->l - z->c;
3696 {
3697 int ret = r_step_5l(z);
3698 if (ret < 0) return ret;
3699 }
3700 z->c = z->l - v_30;
3701 }
3702 {
3703 int v_31 = z->l - z->c;
3704 {
3705 int ret = r_step_5m(z);
3706 if (ret < 0) return ret;
3707 }
3708 z->c = z->l - v_31;
3709 }
3710 {
3711 int v_32 = z->l - z->c;
3712 {
3713 int ret = r_step_6(z);
3714 if (ret < 0) return ret;
3715 }
3716 z->c = z->l - v_32;
3717 }
3718 {
3719 int v_33 = z->l - z->c;
3720 {
3721 int ret = r_step_7(z);
3722 if (ret < 0) return ret;
3723 }
3724 z->c = z->l - v_33;
3725 }
3726 z->c = z->lb;
3727 return 1;
3728}
static int r_step_5a(struct SN_env *z)
static int r_step_1(struct SN_env *z)
static int r_step_s4(struct SN_env *z)
static int r_step_5i(struct SN_env *z)
static int r_has_min_length(struct SN_env *z)
static int r_step_s9(struct SN_env *z)
static int r_step_5c(struct SN_env *z)
static int r_step_s6(struct SN_env *z)
static int r_step_s7(struct SN_env *z)
static int r_step_2c(struct SN_env *z)
static int r_step_2d(struct SN_env *z)
static int r_step_4(struct SN_env *z)
static int r_step_5f(struct SN_env *z)
static int r_step_5l(struct SN_env *z)
static int r_step_s2(struct SN_env *z)
static int r_step_s3(struct SN_env *z)
static int r_step_5e(struct SN_env *z)
static int r_step_2a(struct SN_env *z)
static int r_step_s10(struct SN_env *z)
static int r_step_5m(struct SN_env *z)
static int r_step_5k(struct SN_env *z)
static int r_step_5b(struct SN_env *z)
static int r_step_5j(struct SN_env *z)
static int r_step_5h(struct SN_env *z)
static int r_step_3(struct SN_env *z)
static int r_step_s1(struct SN_env *z)
static int r_step_5g(struct SN_env *z)
static int r_step_5d(struct SN_env *z)
static int r_step_s8(struct SN_env *z)
static int r_step_6(struct SN_env *z)
static int r_step_2b(struct SN_env *z)
static int r_tolower(struct SN_env *z)
static int r_step_7(struct SN_env *z)
static int r_step_s5(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_has_min_length(), r_step_1(), r_step_2a(), r_step_2b(), r_step_2c(), r_step_2d(), r_step_3(), r_step_4(), r_step_5a(), r_step_5b(), r_step_5c(), r_step_5d(), r_step_5e(), r_step_5f(), r_step_5g(), r_step_5h(), r_step_5i(), r_step_5j(), r_step_5k(), r_step_5l(), r_step_5m(), r_step_6(), r_step_7(), r_step_s1(), r_step_s10(), r_step_s2(), r_step_s3(), r_step_s4(), r_step_s5(), r_step_s6(), r_step_s7(), r_step_s8(), r_step_s9(), and r_tolower().