Home
last modified time | relevance | path

Searched refs:pformat (Results 1 – 25 of 2215) sorted by relevance

12345678910>>...89

/dports/sysutils/busybox/busybox-1.26.2/coreutils/
H A Dstat.c254 strcatc(pformat, 's'); in printfs()
255 printf(pformat, msg); in printfs()
271 strcat(pformat, "lu");
274 strcat(pformat, "lx");
288 strcat(pformat, "lu");
301 strcatc(pformat, 'c');
302 printf(pformat, m);
320 strcatc(pformat, 's');
340 strcat(pformat, "lo");
345 strcat(pformat, "lx");
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_pprint.py286 self.assertEqual(pprint.pformat([d, d]),
310 self.assertEqual(pprint.pformat(d),
326 self.assertEqual(pprint.pformat(m), """\
338 self.assertEqual(pprint.pformat(m), """\
861 self.assertEqual(pprint.pformat(d),
891 self.assertEqual(pprint.pformat(d),
903 self.assertEqual(pprint.pformat(d),
931 self.assertEqual(pprint.pformat(d),
943 self.assertEqual(pprint.pformat(d),
959 self.assertEqual(pprint.pformat(d),
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_pprint.py286 self.assertEqual(pprint.pformat([d, d]),
310 self.assertEqual(pprint.pformat(d),
326 self.assertEqual(pprint.pformat(m), """\
338 self.assertEqual(pprint.pformat(m), """\
861 self.assertEqual(pprint.pformat(d),
891 self.assertEqual(pprint.pformat(d),
903 self.assertEqual(pprint.pformat(d),
931 self.assertEqual(pprint.pformat(d),
943 self.assertEqual(pprint.pformat(d),
959 self.assertEqual(pprint.pformat(d),
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_pprint.py286 self.assertEqual(pprint.pformat([d, d]),
310 self.assertEqual(pprint.pformat(d),
326 self.assertEqual(pprint.pformat(m), """\
338 self.assertEqual(pprint.pformat(m), """\
861 self.assertEqual(pprint.pformat(d),
891 self.assertEqual(pprint.pformat(d),
903 self.assertEqual(pprint.pformat(d),
931 self.assertEqual(pprint.pformat(d),
943 self.assertEqual(pprint.pformat(d),
959 self.assertEqual(pprint.pformat(d),
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_pprint.py286 self.assertEqual(pprint.pformat([d, d]),
310 self.assertEqual(pprint.pformat(d),
326 self.assertEqual(pprint.pformat(m), """\
338 self.assertEqual(pprint.pformat(m), """\
861 self.assertEqual(pprint.pformat(d),
891 self.assertEqual(pprint.pformat(d),
903 self.assertEqual(pprint.pformat(d),
931 self.assertEqual(pprint.pformat(d),
943 self.assertEqual(pprint.pformat(d),
959 self.assertEqual(pprint.pformat(d),
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_pprint.py286 self.assertEqual(pprint.pformat([d, d]),
310 self.assertEqual(pprint.pformat(d),
326 self.assertEqual(pprint.pformat(m), """\
338 self.assertEqual(pprint.pformat(m), """\
861 self.assertEqual(pprint.pformat(d),
891 self.assertEqual(pprint.pformat(d),
903 self.assertEqual(pprint.pformat(d),
931 self.assertEqual(pprint.pformat(d),
943 self.assertEqual(pprint.pformat(d),
959 self.assertEqual(pprint.pformat(d),
[all …]
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_pprint.py285 self.assertEqual(pprint.pformat([d, d]),
303 self.assertEqual(pprint.pformat(d),
319 self.assertEqual(pprint.pformat(m), """\
331 self.assertEqual(pprint.pformat(m), """\
854 self.assertEqual(pprint.pformat(d),
884 self.assertEqual(pprint.pformat(d),
896 self.assertEqual(pprint.pformat(d),
924 self.assertEqual(pprint.pformat(d),
936 self.assertEqual(pprint.pformat(d),
952 self.assertEqual(pprint.pformat(d),
[all …]
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_pprint.py286 self.assertEqual(pprint.pformat([d, d]),
310 self.assertEqual(pprint.pformat(d),
351 formatted = pprint.pformat(ns)
356 formatted = pprint.pformat(ns)
920 self.assertEqual(pprint.pformat(d),
950 self.assertEqual(pprint.pformat(d),
962 self.assertEqual(pprint.pformat(d),
990 self.assertEqual(pprint.pformat(d),
1002 self.assertEqual(pprint.pformat(d),
1018 self.assertEqual(pprint.pformat(d),
[all …]
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_pprint.py403 self.assertEqual(pprint.pformat(d),
444 formatted = pprint.pformat(ns)
449 formatted = pprint.pformat(ns)
503 formatted = pprint.pformat(dc)
508 formatted = pprint.pformat(dc)
1074 self.assertEqual(pprint.pformat(d),
1104 self.assertEqual(pprint.pformat(d),
1116 self.assertEqual(pprint.pformat(d),
1144 self.assertEqual(pprint.pformat(d),
1156 self.assertEqual(pprint.pformat(d),
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_pprint.py411 self.assertEqual(pprint.pformat(d),
452 formatted = pprint.pformat(ns)
457 formatted = pprint.pformat(ns)
511 formatted = pprint.pformat(dc)
516 formatted = pprint.pformat(dc)
1082 self.assertEqual(pprint.pformat(d),
1112 self.assertEqual(pprint.pformat(d),
1124 self.assertEqual(pprint.pformat(d),
1152 self.assertEqual(pprint.pformat(d),
1164 self.assertEqual(pprint.pformat(d),
[all …]
/dports/print/min12xxw/min12xxw-0.0.9/
H A Desc-m.c194 pformat = "a4"; break; in dump51()
196 pformat = "b5"; break; in dump51()
198 pformat = "a5"; break; in dump51()
200 pformat = "j-post"; break; in dump51()
204 pformat = "jis y6"; break; in dump51()
206 pformat = "jis y0"; break; in dump51()
212 pformat = "legal"; break; in dump51()
216 pformat = "letter"; break; in dump51()
228 pformat = "env dl"; break; in dump51()
230 pformat = "env c5"; break; in dump51()
[all …]
/dports/devel/py-pysdl2/PySDL2-0.9.9/sdl2/test/
H A Dpixels_test.py248 pixels.SDL_FreeFormat(pformat)
255 pixels.SDL_FreeFormat(pformat)
262 pixels.SDL_FreeFormat(pformat)
339 pixels.SDL_FreeFormat(pformat)
352 pixels.SDL_FreeFormat(pformat)
378 pixels.SDL_FreeFormat(pformat)
406 pixels.SDL_FreeFormat(pformat)
413 pixels.SDL_FreeFormat(pformat)
420 pixels.SDL_FreeFormat(pformat)
427 pixels.SDL_FreeFormat(pformat)
[all …]
/dports/misc/gnuls/coreutils-8.30/src/
H A Dstat.c625 char *dst = pformat + 1; in make_format()
640 printf (pformat, arg); in out_string()
646 return printf (pformat, arg); in out_int()
652 return printf (pformat, arg); in out_uint()
658 printf (pformat, arg); in out_uint_o()
664 printf (pformat, arg); in out_uint_x()
670 return printf (pformat, -0.25); in out_minus_zero()
688 sec_prefix_len = dot - pformat; in out_epoch_sec()
689 pformat[prefix_len] = '\0'; in out_epoch_sec()
736 (dst - pformat in out_epoch_sec()
[all …]
/dports/sysutils/coreutils/coreutils-8.32/src/
H A Dstat.c666 char *dst = pformat + 1; in make_format()
681 printf (pformat, arg); in out_string()
687 return printf (pformat, arg); in out_int()
693 return printf (pformat, arg); in out_uint()
699 printf (pformat, arg); in out_uint_o()
705 printf (pformat, arg); in out_uint_x()
711 return printf (pformat, -0.25); in out_minus_zero()
728 sec_prefix_len = dot - pformat; in out_epoch_sec()
729 pformat[prefix_len] = '\0'; in out_epoch_sec()
776 (dst - pformat in out_epoch_sec()
[all …]
/dports/devel/py-prettyprinter/prettyprinter-0.18.0/tests/
H A Dtest_stdlib_definitions.py19 from prettyprinter import pformat, is_registered
25 assert pformat(value, width=999, sort_dict_keys=True) == expected
34 assert pformat(value, width=999, sort_dict_keys=True) == expected
52 assert pformat(empty, width=999) == 'collections.ChainMap()'
65 assert pformat(value) == expected
76 assert pformat(value, sort_dict_keys=True) == expected
82 assert pformat(value) == expected
95 assert pformat(value) == """\
106 assert pformat(exc) == 'ValueError(1)'
125 assert pformat(path, width=20) == """\
[all …]
H A Dtest_numpy.py4 from prettyprinter import install_extras, pformat
19 inner_printed = pformat(py_val)
27 assert pformat(val) == expected
31 assert pformat(np.bool_(False)) == "numpy.bool_(False)"
32 assert pformat(np.bool_(True)) == "numpy.bool_(True)"
36 assert pformat(np.array([0, 1])) == "numpy.ndarray([0, 1])"
37 assert pformat(np.array([0., 1.])) == "numpy.ndarray([0.0, 1.0])"
39 assert pformat(np.array(["a", "b"])) == "numpy.ndarray(['a', 'b'], dtype='<U1')"
40 assert pformat(np.array([("a", 1)], [("field1", str), ("field2", int)])) \
48 assert pformat(array) == repr(array)
[all …]
/dports/lang/python-legacy/Python-2.7.18/Lib/test/
H A Dtest_pprint.py148 self.assertEqual(pprint.pformat(simple), native)
171 self.assertEqual(pprint.pformat(type(o)), exp)
176 self.assertEqual(pprint.pformat(type(o)), exp)
181 self.assertEqual(pprint.pformat(type(o)), exp)
207 self.assertEqual(pprint.pformat([d, d]),
224 self.assertEqual(DottedPrettyPrinter().pformat(o), exp)
227 self.assertEqual(pprint.pformat(set()), 'set([])')
245 self.assertEqual(pprint.pformat(set3(range(7)), width=20),
249 self.assertEqual(pprint.pformat(frozenset(range(3))),
295 self.assertEqual(pprint.pformat(cube), cube_repr_tgt)
[all …]
/dports/lang/python27/Python-2.7.18/Lib/test/
H A Dtest_pprint.py148 self.assertEqual(pprint.pformat(simple), native)
171 self.assertEqual(pprint.pformat(type(o)), exp)
176 self.assertEqual(pprint.pformat(type(o)), exp)
181 self.assertEqual(pprint.pformat(type(o)), exp)
207 self.assertEqual(pprint.pformat([d, d]),
224 self.assertEqual(DottedPrettyPrinter().pformat(o), exp)
227 self.assertEqual(pprint.pformat(set()), 'set([])')
245 self.assertEqual(pprint.pformat(set3(range(7)), width=20),
249 self.assertEqual(pprint.pformat(frozenset(range(3))),
295 self.assertEqual(pprint.pformat(cube), cube_repr_tgt)
[all …]
/dports/lang/clover/mesa-21.3.6/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c67 if (pformat == PIPE_FORMAT_NONE) { in lvp_physical_device_get_format_properties()
87 if (util_format_is_compressed(pformat)) { in lvp_physical_device_get_format_properties()
101 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties()
120 if (!util_format_is_pure_integer(pformat)) in lvp_physical_device_get_format_properties()
130 if (!util_format_is_snorm(pformat)) in lvp_physical_device_get_format_properties()
139 if (pformat == PIPE_FORMAT_R32_UINT || pformat == PIPE_FORMAT_R32_SINT) { in lvp_physical_device_get_format_properties()
144 if (pformat == PIPE_FORMAT_R11G11B10_FLOAT || pformat == PIPE_FORMAT_R9G9B9E5_FLOAT) in lvp_physical_device_get_format_properties()
149 if (pformat == PIPE_FORMAT_B5G6R5_UNORM) in lvp_physical_device_get_format_properties()
151 if ((pformat != PIPE_FORMAT_R9G9B9E5_FLOAT) && util_format_get_nr_components(pformat) != 3 && in lvp_physical_device_get_format_properties()
152 pformat != PIPE_FORMAT_R10G10B10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_SNORM && in lvp_physical_device_get_format_properties()
[all …]
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c67 if (pformat == PIPE_FORMAT_NONE) { in lvp_physical_device_get_format_properties()
87 if (util_format_is_compressed(pformat)) { in lvp_physical_device_get_format_properties()
101 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties()
120 if (!util_format_is_pure_integer(pformat)) in lvp_physical_device_get_format_properties()
130 if (!util_format_is_snorm(pformat)) in lvp_physical_device_get_format_properties()
139 if (pformat == PIPE_FORMAT_R32_UINT || pformat == PIPE_FORMAT_R32_SINT) { in lvp_physical_device_get_format_properties()
144 if (pformat == PIPE_FORMAT_R11G11B10_FLOAT || pformat == PIPE_FORMAT_R9G9B9E5_FLOAT) in lvp_physical_device_get_format_properties()
149 if (pformat == PIPE_FORMAT_B5G6R5_UNORM) in lvp_physical_device_get_format_properties()
151 if ((pformat != PIPE_FORMAT_R9G9B9E5_FLOAT) && util_format_get_nr_components(pformat) != 3 && in lvp_physical_device_get_format_properties()
152 pformat != PIPE_FORMAT_R10G10B10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_SNORM && in lvp_physical_device_get_format_properties()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c67 if (pformat == PIPE_FORMAT_NONE) { in lvp_physical_device_get_format_properties()
87 if (util_format_is_compressed(pformat)) { in lvp_physical_device_get_format_properties()
101 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties()
120 if (!util_format_is_pure_integer(pformat)) in lvp_physical_device_get_format_properties()
130 if (!util_format_is_snorm(pformat)) in lvp_physical_device_get_format_properties()
139 if (pformat == PIPE_FORMAT_R32_UINT || pformat == PIPE_FORMAT_R32_SINT) { in lvp_physical_device_get_format_properties()
144 if (pformat == PIPE_FORMAT_R11G11B10_FLOAT || pformat == PIPE_FORMAT_R9G9B9E5_FLOAT) in lvp_physical_device_get_format_properties()
149 if (pformat == PIPE_FORMAT_B5G6R5_UNORM) in lvp_physical_device_get_format_properties()
151 if ((pformat != PIPE_FORMAT_R9G9B9E5_FLOAT) && util_format_get_nr_components(pformat) != 3 && in lvp_physical_device_get_format_properties()
152 pformat != PIPE_FORMAT_R10G10B10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_SNORM && in lvp_physical_device_get_format_properties()
[all …]
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c67 if (pformat == PIPE_FORMAT_NONE) { in lvp_physical_device_get_format_properties()
87 if (util_format_is_compressed(pformat)) { in lvp_physical_device_get_format_properties()
101 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties()
120 if (!util_format_is_pure_integer(pformat)) in lvp_physical_device_get_format_properties()
130 if (!util_format_is_snorm(pformat)) in lvp_physical_device_get_format_properties()
139 if (pformat == PIPE_FORMAT_R32_UINT || pformat == PIPE_FORMAT_R32_SINT) { in lvp_physical_device_get_format_properties()
144 if (pformat == PIPE_FORMAT_R11G11B10_FLOAT || pformat == PIPE_FORMAT_R9G9B9E5_FLOAT) in lvp_physical_device_get_format_properties()
149 if (pformat == PIPE_FORMAT_B5G6R5_UNORM) in lvp_physical_device_get_format_properties()
151 if ((pformat != PIPE_FORMAT_R9G9B9E5_FLOAT) && util_format_get_nr_components(pformat) != 3 && in lvp_physical_device_get_format_properties()
152 pformat != PIPE_FORMAT_R10G10B10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_SNORM && in lvp_physical_device_get_format_properties()
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c67 if (pformat == PIPE_FORMAT_NONE) { in lvp_physical_device_get_format_properties()
87 if (util_format_is_compressed(pformat)) { in lvp_physical_device_get_format_properties()
101 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties()
120 if (!util_format_is_pure_integer(pformat)) in lvp_physical_device_get_format_properties()
130 if (!util_format_is_snorm(pformat)) in lvp_physical_device_get_format_properties()
139 if (pformat == PIPE_FORMAT_R32_UINT || pformat == PIPE_FORMAT_R32_SINT) { in lvp_physical_device_get_format_properties()
144 if (pformat == PIPE_FORMAT_R11G11B10_FLOAT || pformat == PIPE_FORMAT_R9G9B9E5_FLOAT) in lvp_physical_device_get_format_properties()
149 if (pformat == PIPE_FORMAT_B5G6R5_UNORM) in lvp_physical_device_get_format_properties()
151 if ((pformat != PIPE_FORMAT_R9G9B9E5_FLOAT) && util_format_get_nr_components(pformat) != 3 && in lvp_physical_device_get_format_properties()
152 pformat != PIPE_FORMAT_R10G10B10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_SNORM && in lvp_physical_device_get_format_properties()
[all …]
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c67 if (pformat == PIPE_FORMAT_NONE) { in lvp_physical_device_get_format_properties()
87 if (util_format_is_compressed(pformat)) { in lvp_physical_device_get_format_properties()
101 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties()
120 if (!util_format_is_pure_integer(pformat)) in lvp_physical_device_get_format_properties()
130 if (!util_format_is_snorm(pformat)) in lvp_physical_device_get_format_properties()
139 if (pformat == PIPE_FORMAT_R32_UINT || pformat == PIPE_FORMAT_R32_SINT) { in lvp_physical_device_get_format_properties()
144 if (pformat == PIPE_FORMAT_R11G11B10_FLOAT || pformat == PIPE_FORMAT_R9G9B9E5_FLOAT) in lvp_physical_device_get_format_properties()
149 if (pformat == PIPE_FORMAT_B5G6R5_UNORM) in lvp_physical_device_get_format_properties()
151 if ((pformat != PIPE_FORMAT_R9G9B9E5_FLOAT) && util_format_get_nr_components(pformat) != 3 && in lvp_physical_device_get_format_properties()
152 pformat != PIPE_FORMAT_R10G10B10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_SNORM && in lvp_physical_device_get_format_properties()
[all …]
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c67 if (pformat == PIPE_FORMAT_NONE) { in lvp_physical_device_get_format_properties()
87 if (util_format_is_compressed(pformat)) { in lvp_physical_device_get_format_properties()
101 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties()
120 if (!util_format_is_pure_integer(pformat)) in lvp_physical_device_get_format_properties()
130 if (!util_format_is_snorm(pformat)) in lvp_physical_device_get_format_properties()
139 if (pformat == PIPE_FORMAT_R32_UINT || pformat == PIPE_FORMAT_R32_SINT) { in lvp_physical_device_get_format_properties()
144 if (pformat == PIPE_FORMAT_R11G11B10_FLOAT || pformat == PIPE_FORMAT_R9G9B9E5_FLOAT) in lvp_physical_device_get_format_properties()
149 if (pformat == PIPE_FORMAT_B5G6R5_UNORM) in lvp_physical_device_get_format_properties()
151 if ((pformat != PIPE_FORMAT_R9G9B9E5_FLOAT) && util_format_get_nr_components(pformat) != 3 && in lvp_physical_device_get_format_properties()
152 pformat != PIPE_FORMAT_R10G10B10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_SNORM && in lvp_physical_device_get_format_properties()
[all …]

12345678910>>...89