Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.105
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
apps /
share /
gettext /
intl /
Delete
Unzip
Name
Size
Permission
Date
Action
COPYING.LIB
25.92
KB
-rw-r--r--
2015-07-29 20:09
Makefile.in
24.53
KB
-rw-r--r--
2015-07-29 20:09
VERSION
42
B
-rw-r--r--
2015-07-29 20:09
bindtextdom.c
8.63
KB
-rw-r--r--
2015-07-29 20:09
config.charset
22.5
KB
-rwxr-xr-x
2015-07-29 20:09
dcgettext.c
1.71
KB
-rw-r--r--
2015-07-29 20:09
dcigettext.c
46.46
KB
-rw-r--r--
2015-07-29 20:09
dcngettext.c
1.74
KB
-rw-r--r--
2015-07-29 20:09
dgettext.c
1.67
KB
-rw-r--r--
2015-07-29 20:09
dngettext.c
1.78
KB
-rw-r--r--
2015-07-29 20:09
eval-plural.h
2.67
KB
-rw-r--r--
2015-07-29 20:09
explodename.c
3.26
KB
-rw-r--r--
2015-07-29 20:09
export.h
157
B
-rw-r--r--
2015-07-29 20:09
finddomain.c
5.86
KB
-rw-r--r--
2015-07-29 20:09
gettext.c
1.78
KB
-rw-r--r--
2015-07-29 20:09
gettextP.h
9.85
KB
-rw-r--r--
2015-07-29 20:09
gmo.h
4.74
KB
-rw-r--r--
2015-07-29 20:09
hash-string.c
1.51
KB
-rw-r--r--
2015-07-29 20:09
hash-string.h
1.28
KB
-rw-r--r--
2015-07-29 20:09
intl-compat.c
3.37
KB
-rw-r--r--
2015-07-29 20:09
intl-exports.c
1.73
KB
-rw-r--r--
2015-07-29 20:09
l10nflist.c
10.64
KB
-rw-r--r--
2015-07-29 20:09
langprefs.c
12.41
KB
-rw-r--r--
2015-07-29 20:09
libgnuintl.in.h
16.4
KB
-rw-r--r--
2015-07-29 20:09
libintl.rc
1.58
KB
-rw-r--r--
2015-07-29 20:09
loadinfo.h
4.99
KB
-rw-r--r--
2015-07-29 20:09
loadmsgcat.c
33.7
KB
-rw-r--r--
2015-07-29 20:09
localcharset.c
20.04
KB
-rw-r--r--
2015-07-29 20:09
localcharset.h
1.31
KB
-rw-r--r--
2015-07-29 20:09
locale.alias
3.01
KB
-rw-r--r--
2015-07-29 20:09
localealias.c
10.39
KB
-rw-r--r--
2015-07-29 20:09
localename.c
84.07
KB
-rw-r--r--
2015-07-29 20:09
lock.c
26.15
KB
-rw-r--r--
2015-07-29 20:09
lock.h
35.46
KB
-rw-r--r--
2015-07-29 20:09
log.c
3.76
KB
-rw-r--r--
2015-07-29 20:09
ngettext.c
1.86
KB
-rw-r--r--
2015-07-29 20:09
os2compat.c
2.77
KB
-rw-r--r--
2015-07-29 20:09
os2compat.h
1.46
KB
-rw-r--r--
2015-07-29 20:09
osdep.c
961
B
-rw-r--r--
2015-07-29 20:09
plural-exp.c
3.96
KB
-rw-r--r--
2015-07-29 20:09
plural-exp.h
4.04
KB
-rw-r--r--
2015-07-29 20:09
plural.c
52.03
KB
-rw-r--r--
2015-07-29 20:09
plural.y
7.34
KB
-rw-r--r--
2015-07-29 20:09
printf-args.c
6.42
KB
-rw-r--r--
2015-07-29 20:09
printf-args.h
3.88
KB
-rw-r--r--
2015-07-29 20:09
printf-parse.c
21.67
KB
-rw-r--r--
2015-07-29 20:09
printf-parse.h
2.53
KB
-rw-r--r--
2015-07-29 20:09
printf.c
10.09
KB
-rw-r--r--
2015-07-29 20:09
ref-add.sin
1.01
KB
-rw-r--r--
2015-07-29 20:09
ref-del.sin
991
B
-rw-r--r--
2015-07-29 20:09
relocatable.c
17.09
KB
-rw-r--r--
2015-07-29 20:09
relocatable.h
3.07
KB
-rw-r--r--
2015-07-29 20:09
setlocale.c
32.33
KB
-rw-r--r--
2015-07-29 20:09
textdomain.c
3.72
KB
-rw-r--r--
2015-07-29 20:09
threadlib.c
1.89
KB
-rw-r--r--
2015-07-29 20:09
tsearch.c
20.97
KB
-rw-r--r--
2015-07-29 20:09
tsearch.h
2.74
KB
-rw-r--r--
2015-07-29 20:09
vasnprintf.c
218.1
KB
-rw-r--r--
2015-07-29 20:09
vasnprintf.h
2.74
KB
-rw-r--r--
2015-07-29 20:09
vasnwprintf.h
1.64
KB
-rw-r--r--
2015-07-29 20:09
verify.h
10.76
KB
-rw-r--r--
2015-07-29 20:09
version.c
930
B
-rw-r--r--
2015-07-29 20:09
wprintf-parse.h
2.58
KB
-rw-r--r--
2015-07-29 20:09
xsize.c
78
B
-rw-r--r--
2015-07-29 20:09
xsize.h
3.57
KB
-rw-r--r--
2015-07-29 20:09
Save
Rename
/* Plural expression evaluation. Copyright (C) 2000-2003, 2007, 2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef STATIC #define STATIC static #endif /* Evaluate the plural expression and return an index value. */ STATIC unsigned long int internal_function plural_eval (const struct expression *pexp, unsigned long int n) { switch (pexp->nargs) { case 0: switch (pexp->operation) { case var: return n; case num: return pexp->val.num; default: break; } /* NOTREACHED */ break; case 1: { /* pexp->operation must be lnot. */ unsigned long int arg = plural_eval (pexp->val.args[0], n); return ! arg; } case 2: { unsigned long int leftarg = plural_eval (pexp->val.args[0], n); if (pexp->operation == lor) return leftarg || plural_eval (pexp->val.args[1], n); else if (pexp->operation == land) return leftarg && plural_eval (pexp->val.args[1], n); else { unsigned long int rightarg = plural_eval (pexp->val.args[1], n); switch (pexp->operation) { case mult: return leftarg * rightarg; case divide: #if !INTDIV0_RAISES_SIGFPE if (rightarg == 0) raise (SIGFPE); #endif return leftarg / rightarg; case module: #if !INTDIV0_RAISES_SIGFPE if (rightarg == 0) raise (SIGFPE); #endif return leftarg % rightarg; case plus: return leftarg + rightarg; case minus: return leftarg - rightarg; case less_than: return leftarg < rightarg; case greater_than: return leftarg > rightarg; case less_or_equal: return leftarg <= rightarg; case greater_or_equal: return leftarg >= rightarg; case equal: return leftarg == rightarg; case not_equal: return leftarg != rightarg; default: break; } } /* NOTREACHED */ break; } case 3: { /* pexp->operation must be qmop. */ unsigned long int boolarg = plural_eval (pexp->val.args[0], n); return plural_eval (pexp->val.args[boolarg ? 1 : 2], n); } } /* NOTREACHED */ return 0; }