Home
last modified time | relevance | path

Searched refs:exp_buf (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/bsd/ntp/dist/tests/libntp/
H A Dmsyslog.c38 char exp_buf[512]; in test_msnprintf() local
43 exp_cnt = snprintf(exp_buf, sizeof(exp_buf), FMT_PREFIX "%s", in test_msnprintf()
49 TEST_ASSERT_EQUAL_STRING(exp_buf, act_buf); in test_msnprintf()
55 char exp_buf[32]; in test_msnprintfLiteralPercentm() local
60 exp_cnt = snprintf(exp_buf, sizeof(exp_buf), "%%m"); in test_msnprintfLiteralPercentm()
65 TEST_ASSERT_EQUAL_STRING(exp_buf, act_buf); in test_msnprintfLiteralPercentm()
70 char exp_buf[32]; in test_msnprintfBackslashLiteralPercentm() local
75 exp_cnt = snprintf(exp_buf, sizeof(exp_buf), "\%%m"); in test_msnprintfBackslashLiteralPercentm()
80 TEST_ASSERT_EQUAL_STRING(exp_buf, act_buf); in test_msnprintfBackslashLiteralPercentm()
85 char exp_buf[32]; in test_msnprintfBackslashPercent() local
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/postconf/
H A Dpostconf_builtin.c257 VSTRING *exp_buf; in pcf_mynetworks() local
266 exp_buf = vstring_alloc(100); in pcf_mynetworks()
271 junk = pcf_expand_parameter_value(exp_buf, pcf_cmd_mode, in pcf_mynetworks()
279 junk = pcf_expand_parameter_value(exp_buf, pcf_cmd_mode, in pcf_mynetworks()
287 junk = pcf_expand_parameter_value(exp_buf, pcf_cmd_mode, in pcf_mynetworks()
293 vstring_free(exp_buf); in pcf_mynetworks()
H A Dpostconf_main.c142 static VSTRING *exp_buf = 0; in pcf_print_parameter() local
145 if (exp_buf == 0) in pcf_print_parameter()
146 exp_buf = vstring_alloc(100); in pcf_print_parameter()
162 value = pcf_expand_parameter_value(exp_buf, mode, value, in pcf_print_parameter()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/format/internal/
H A Dfloats.d613 char[T.max_10_exp.stringof.length + 2] exp_buf;
1051 size_t exp_pos = exp_buf.length;
1055 exp_buf[--exp_pos] = '0' + final_exp%10;
1058 if (exp_buf.length - exp_pos == 1)
1059 exp_buf[--exp_pos] = '0';
1060 exp_buf[--exp_pos] = neg ? '-' : '+';
1061 exp_buf[--exp_pos] = is_upper ? 'E' : 'e';
1070 exp_buf[exp_pos .. $], f, PrecisionType.allDigits);
1073 exp_buf[exp_pos .. $], f, PrecisionType.fractionalDigits);
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dreal.cc1890 char exp_buf[16]; in real_to_hexadecimal() local
1924 sprintf (exp_buf, "p%+d", exp); in real_to_hexadecimal()
1925 max_digits = buf_size - strlen (exp_buf) - r->sign - 4 - 1; in real_to_hexadecimal()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dreal.c1890 char exp_buf[16]; in real_to_hexadecimal() local
1924 sprintf (exp_buf, "p%+d", exp); in real_to_hexadecimal()
1925 max_digits = buf_size - strlen (exp_buf) - r->sign - 4 - 1; in real_to_hexadecimal()