Home
last modified time | relevance | path

Searched refs:lconv (Results 1 – 25 of 3693) sorted by relevance

12345678910>>...148

/dports/devel/tinygo/tinygo-0.14.1/lib/picolibc/newlib/libc/locale/
H A Dlocaleconv.c4 struct lconv *
7 struct lconv *lconv = &locale->lconv; in __localeconv_l() local
9 return lconv; in __localeconv_l()
17 lconv->grouping = (char *) n->grouping; in __localeconv_l()
26 lconv->frac_digits = m->frac_digits[0]; in __localeconv_l()
27 lconv->p_cs_precedes = m->p_cs_precedes[0]; in __localeconv_l()
29 lconv->n_cs_precedes = m->n_cs_precedes[0]; in __localeconv_l()
31 lconv->p_sign_posn = m->p_sign_posn[0]; in __localeconv_l()
32 lconv->n_sign_posn = m->n_sign_posn[0]; in __localeconv_l()
49 return lconv; in __localeconv_l()
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/std/features/
H A Dlocales3 mem lconv.credit_sign locale.h
4 mem lconv.currency_symbol locale.h
5 mem lconv.debit_sign locale.h
6 mem lconv.frac_digits locale.h
7 mem lconv.int_curr_symbol locale.h
8 mem lconv.int_frac_digits locale.h
11 mem lconv.mon_grouping locale.h
13 mem lconv.n_cs_precedes locale.h
15 mem lconv.n_sign_posn locale.h
19 mem lconv.p_sign_posn locale.h
[all …]
/dports/shells/ksh93/ast-93u/src/cmd/std/features/
H A Dlocales3 mem lconv.credit_sign locale.h
4 mem lconv.currency_symbol locale.h
5 mem lconv.debit_sign locale.h
6 mem lconv.frac_digits locale.h
7 mem lconv.int_curr_symbol locale.h
8 mem lconv.int_frac_digits locale.h
11 mem lconv.mon_grouping locale.h
13 mem lconv.n_cs_precedes locale.h
15 mem lconv.n_sign_posn locale.h
19 mem lconv.p_sign_posn locale.h
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/std/features/
H A Dlocales3 mem lconv.credit_sign locale.h
4 mem lconv.currency_symbol locale.h
5 mem lconv.debit_sign locale.h
6 mem lconv.frac_digits locale.h
7 mem lconv.int_curr_symbol locale.h
8 mem lconv.int_frac_digits locale.h
11 mem lconv.mon_grouping locale.h
13 mem lconv.n_cs_precedes locale.h
15 mem lconv.n_sign_posn locale.h
19 mem lconv.p_sign_posn locale.h
[all …]
/dports/converters/p5-Convert-Binary-C/Convert-Binary-C-0.84/tests/include/pdclib/functions/locale/
H A Dsetlocale.c180 free( _PDCLIB_lc_numeric_monetary.lconv->mon_decimal_point ); in setlocale()
185 _PDCLIB_lc_numeric_monetary.lconv->mon_grouping = monetary->mon_grouping; in setlocale()
186 _PDCLIB_lc_numeric_monetary.lconv->positive_sign = monetary->positive_sign; in setlocale()
187 _PDCLIB_lc_numeric_monetary.lconv->negative_sign = monetary->negative_sign; in setlocale()
190 _PDCLIB_lc_numeric_monetary.lconv->frac_digits = monetary->frac_digits; in setlocale()
195 _PDCLIB_lc_numeric_monetary.lconv->p_sign_posn = monetary->p_sign_posn; in setlocale()
196 _PDCLIB_lc_numeric_monetary.lconv->n_sign_posn = monetary->n_sign_posn; in setlocale()
214 free( _PDCLIB_lc_numeric_monetary.lconv->decimal_point ); in setlocale()
217 _PDCLIB_lc_numeric_monetary.lconv->decimal_point = numeric->decimal_point; in setlocale()
218 _PDCLIB_lc_numeric_monetary.lconv->thousands_sep = numeric->thousands_sep; in setlocale()
[all …]
H A Dlocaleconv.c11 struct lconv * localeconv( void ) in localeconv()
13 return _PDCLIB_lc_numeric_monetary.lconv; in localeconv()
24 struct lconv * lconv; in main() local
25 TESTCASE( ( lconv = localeconv() ) != NULL ); in main()
26 TESTCASE( strcmp( lconv->decimal_point, "." ) == 0 ); in main()
27 TESTCASE( strcmp( lconv->thousands_sep, "" ) == 0 ); in main()
28 TESTCASE( strcmp( lconv->grouping, "" ) == 0 ); in main()
/dports/lang/smalltalk/smalltalk-3.2.5/packages/i18n/
H A Di18n.c148 struct lconv *lconv; in loadLocale() local
187 lconv = localeconv (); in loadLocale()
206 grouping = *lconv->grouping == CHAR_MAX ? "" : lconv->grouping; in loadLocale()
214 grouping = *lconv->mon_grouping == CHAR_MAX ? "" : lconv->mon_grouping; in loadLocale()
227 if (*lconv->negative_sign || *lconv->positive_sign) in loadLocale()
233 vmProxy->intToOOP (lconv->frac_digits < CHAR_MAX ? in loadLocale()
234 lconv->frac_digits : 0); in loadLocale()
237 vmProxy->intToOOP (lconv->p_sign_posn < CHAR_MAX ? in loadLocale()
238 lconv->p_sign_posn : 4); in loadLocale()
242 lconv->n_sign_posn : 4); in loadLocale()
[all …]
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/locale/
H A Dlocale.c202 struct lconv lconv = variable
971 struct lconv *
981 lconv.grouping = (char *) n->grouping;
995 lconv.frac_digits = m->frac_digits[0];
996 lconv.p_cs_precedes = m->p_cs_precedes[0];
998 lconv.n_cs_precedes = m->n_cs_precedes[0];
1000 lconv.p_sign_posn = m->p_sign_posn[0];
1001 lconv.n_sign_posn = m->n_sign_posn[0];
1014 lconv.int_n_sign_posn = m->n_sign_posn[0];
1020 return (struct lconv *) &lconv;
[all …]
/dports/databases/postgresql-orafce/orafce-VERSION_3_13_4/
H A Dconvert.c54 struct lconv *lconv = PGLC_localeconv(); in orafce_to_char_float4() local
60 *p = lconv->decimal_point[0]; in orafce_to_char_float4()
70 struct lconv *lconv = PGLC_localeconv(); in orafce_to_char_float8() local
76 *p = lconv->decimal_point[0]; in orafce_to_char_float8()
86 struct lconv *lconv = PGLC_localeconv(); in orafce_to_char_numeric() local
95 *p = lconv->decimal_point[0]; in orafce_to_char_numeric()
105 if (*p == '0' || *p == lconv->decimal_point[0]) in orafce_to_char_numeric()
155 struct lconv *lconv = PGLC_localeconv(); in orafce_to_number() local
162 if (*p == lconv->decimal_point[0] && lconv->decimal_point[0]) in orafce_to_number()
164 else if (*p == lconv->thousands_sep[0] && lconv->thousands_sep[0]) in orafce_to_number()
/dports/net/pjsip/pjproject-2.11.1/pjmedia/src/pjmedia/
H A Dconverter_libyuv.c408 for (;i<lconv->act_num-1;++i) { in set_destination_buffer()
498 lconv->act); in factory_create_converter()
500 if (!lconv->act_num) { in factory_create_converter()
504 if (!check_converter_act(lconv->act, lconv->act_num, in factory_create_converter()
513 *p_cv = &lconv->base; in factory_create_converter()
534 lconv->act[lconv->act_num-1].dst_fmt_info.apply_param.buffer = in libyuv_conv_convert()
537 for (;i<lconv->act_num;++i) { in libyuv_conv_convert()
550 switch (lconv->act[i].act_type) { in libyuv_conv_convert()
654 fmt_info *dst_info = &lconv->act[lconv->act_num-1].dst_fmt_info; in libyuv_conv_convert2()
699 if (i == lconv->act_num-1) { in libyuv_conv_convert2()
[all …]
/dports/lang/php73/php-7.3.33/ext/standard/tests/strings/
H A Dbug65769.phpt19 $lconv = localeconv();
22 $lconv['decimal_point'],
23 $lconv['thousands_sep'],
24 $lconv['int_curr_symbol'],
25 $lconv['currency_symbol'],
26 $lconv['mon_decimal_point'],
27 $lconv['mon_thousands_sep']
30 var_dump(in_array($lconv['mon_thousands_sep'], ['.', '�']));
/dports/www/mod_php81/php-8.1.1/ext/standard/tests/strings/
H A Dbug65769.phpt19 $lconv = localeconv();
22 $lconv['decimal_point'],
23 $lconv['thousands_sep'],
24 $lconv['int_curr_symbol'],
25 $lconv['currency_symbol'],
26 $lconv['mon_decimal_point'],
27 $lconv['mon_thousands_sep']
30 var_dump(in_array($lconv['mon_thousands_sep'], ['.', '�']));
/dports/lang/php80/php-8.0.15/ext/standard/tests/strings/
H A Dbug65769.phpt19 $lconv = localeconv();
22 $lconv['decimal_point'],
23 $lconv['thousands_sep'],
24 $lconv['int_curr_symbol'],
25 $lconv['currency_symbol'],
26 $lconv['mon_decimal_point'],
27 $lconv['mon_thousands_sep']
30 var_dump(in_array($lconv['mon_thousands_sep'], ['.', '�']));
/dports/lang/php74/php-7.4.27/ext/standard/tests/strings/
H A Dbug65769.phpt19 $lconv = localeconv();
22 $lconv['decimal_point'],
23 $lconv['thousands_sep'],
24 $lconv['int_curr_symbol'],
25 $lconv['currency_symbol'],
26 $lconv['mon_decimal_point'],
27 $lconv['mon_thousands_sep']
30 var_dump(in_array($lconv['mon_thousands_sep'], ['.', '�']));
/dports/lang/php81/php-8.1.1/ext/standard/tests/strings/
H A Dbug65769.phpt19 $lconv = localeconv();
22 $lconv['decimal_point'],
23 $lconv['thousands_sep'],
24 $lconv['int_curr_symbol'],
25 $lconv['currency_symbol'],
26 $lconv['mon_decimal_point'],
27 $lconv['mon_thousands_sep']
30 var_dump(in_array($lconv['mon_thousands_sep'], ['.', '�']));
/dports/www/mod_php80/php-8.0.15/ext/standard/tests/strings/
H A Dbug65769.phpt19 $lconv = localeconv();
22 $lconv['decimal_point'],
23 $lconv['thousands_sep'],
24 $lconv['int_curr_symbol'],
25 $lconv['currency_symbol'],
26 $lconv['mon_decimal_point'],
27 $lconv['mon_thousands_sep']
30 var_dump(in_array($lconv['mon_thousands_sep'], ['.', '�']));
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/strings/
H A Dbug65769.phpt19 $lconv = localeconv();
22 $lconv['decimal_point'],
23 $lconv['thousands_sep'],
24 $lconv['int_curr_symbol'],
25 $lconv['currency_symbol'],
26 $lconv['mon_decimal_point'],
27 $lconv['mon_thousands_sep']
30 var_dump(in_array($lconv['mon_thousands_sep'], ['.', '�']));
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/strings/
H A Dbug65769.phpt19 $lconv = localeconv();
22 $lconv['decimal_point'],
23 $lconv['thousands_sep'],
24 $lconv['int_curr_symbol'],
25 $lconv['currency_symbol'],
26 $lconv['mon_decimal_point'],
27 $lconv['mon_thousands_sep']
30 var_dump(in_array($lconv['mon_thousands_sep'], ['.', '�']));
/dports/devel/ocaml-camomile-examples/examples/recode/
H A Drecode.ml6 let src, dst, srcenc, dstenc, lconv =
11 let lconv = ref None in
25 "--lf", Arg.Unit (fun () -> lconv := Some `LF),
27 "--cr", Arg.Unit (fun () -> lconv := Some `CR),
29 "--crlf", Arg.Unit (fun () -> lconv := Some `CRLF),
31 "--nel", Arg.Unit (fun () -> lconv := Some `NEL),
33 "--ls", Arg.Unit (fun () -> lconv := Some `LS),
35 "--ps", Arg.Unit (fun () -> lconv := Some `PS),
46 (src, dst, srcenc, dstenc, !lconv)
53 match lconv with
[all …]
/dports/devel/tokei/tokei-12.1.2/cargo-crates/num-format-0.4.0/src/system_locale/
H A Dunix.rs74 let lconv = get_lconv(new, encoding)?; in new() localVariable
89 dec: lconv.dec, in new()
90 grp: lconv.grp, in new()
92 min: lconv.min, in new()
95 plus: lconv.plus, in new()
96 sep: lconv.sep, in new()
157 pub(crate) fn new(lconv: &libc::lconv, encoding: Encoding) -> Result<Lconv, Error> { in new() argument
159 let s = StaticCString::new(lconv.decimal_point, encoding, "lconv.decimal_point")? in new()
167 let s = StaticCString::new(lconv.negative_sign, encoding, "lconv.negative_sign")? in new()
173 let s = StaticCString::new(lconv.positive_sign, encoding, "lconv.positive_sign")? in new()
[all …]
/dports/devel/gitui/gitui-0.10.1/cargo-crates/num-format-0.4.0/src/system_locale/
H A Dunix.rs74 let lconv = get_lconv(new, encoding)?; in new() localVariable
89 dec: lconv.dec, in new()
90 grp: lconv.grp, in new()
92 min: lconv.min, in new()
95 plus: lconv.plus, in new()
96 sep: lconv.sep, in new()
157 pub(crate) fn new(lconv: &libc::lconv, encoding: Encoding) -> Result<Lconv, Error> { in new() argument
159 let s = StaticCString::new(lconv.decimal_point, encoding, "lconv.decimal_point")? in new()
167 let s = StaticCString::new(lconv.negative_sign, encoding, "lconv.negative_sign")? in new()
173 let s = StaticCString::new(lconv.positive_sign, encoding, "lconv.positive_sign")? in new()
[all …]
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/num-format-0.4.0/src/system_locale/
H A Dunix.rs74 let lconv = get_lconv(new, encoding)?; in new() localVariable
89 dec: lconv.dec, in new()
90 grp: lconv.grp, in new()
92 min: lconv.min, in new()
95 plus: lconv.plus, in new()
96 sep: lconv.sep, in new()
157 pub(crate) fn new(lconv: &libc::lconv, encoding: Encoding) -> Result<Lconv, Error> { in new() argument
159 let s = StaticCString::new(lconv.decimal_point, encoding, "lconv.decimal_point")? in new()
167 let s = StaticCString::new(lconv.negative_sign, encoding, "lconv.negative_sign")? in new()
173 let s = StaticCString::new(lconv.positive_sign, encoding, "lconv.positive_sign")? in new()
[all …]
/dports/www/zola/zola-0.15.2/cargo-crates/num-format-0.4.0/src/system_locale/
H A Dunix.rs74 let lconv = get_lconv(new, encoding)?; in new() localVariable
89 dec: lconv.dec, in new()
90 grp: lconv.grp, in new()
92 min: lconv.min, in new()
95 plus: lconv.plus, in new()
96 sep: lconv.sep, in new()
157 pub(crate) fn new(lconv: &libc::lconv, encoding: Encoding) -> Result<Lconv, Error> { in new() argument
159 let s = StaticCString::new(lconv.decimal_point, encoding, "lconv.decimal_point")? in new()
167 let s = StaticCString::new(lconv.negative_sign, encoding, "lconv.negative_sign")? in new()
173 let s = StaticCString::new(lconv.positive_sign, encoding, "lconv.positive_sign")? in new()
[all …]
/dports/benchmarks/inferno/inferno-0.10.9/cargo-crates/num-format-0.4.0/src/system_locale/
H A Dunix.rs74 let lconv = get_lconv(new, encoding)?; in new() localVariable
89 dec: lconv.dec, in new()
90 grp: lconv.grp, in new()
92 min: lconv.min, in new()
95 plus: lconv.plus, in new()
96 sep: lconv.sep, in new()
157 pub(crate) fn new(lconv: &libc::lconv, encoding: Encoding) -> Result<Lconv, Error> { in new() argument
159 let s = StaticCString::new(lconv.decimal_point, encoding, "lconv.decimal_point")? in new()
167 let s = StaticCString::new(lconv.negative_sign, encoding, "lconv.negative_sign")? in new()
173 let s = StaticCString::new(lconv.positive_sign, encoding, "lconv.positive_sign")? in new()
[all …]
/dports/lang/clisp/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/i18n/
H A Dconfigure.in15 AC_CHECK_MEMBERS([struct lconv.int_p_cs_precedes,
16 struct lconv.int_n_cs_precedes, struct lconv.int_p_sep_by_space,
17 struct lconv.int_n_sep_by_space, struct lconv.int_p_sign_posn,
18 struct lconv.int_n_sign_posn],,,[#include <locale.h>])

12345678910>>...148