Home
last modified time | relevance | path

Searched refs:vformat (Results 1 – 24 of 24) sorted by relevance

/external/fmtlib/include/fmt/
Dlocale.h19 std::basic_string<Char> vformat( in vformat() function
29 inline std::basic_string<Char> vformat( in vformat() function
32 return detail::vformat(loc, to_string_view(format_str), args); in vformat()
38 return detail::vformat(loc, to_string_view(format_str), in format()
Dcolor.h539 inline std::basic_string<Char> vformat( in vformat() function
562 return vformat(ts, to_string_view(format_str), in format()
Dcore.h1953 std::basic_string<Char> vformat(
1957 FMT_API std::string vformat(string_view format_str, format_args args);
2055 FMT_INLINE std::basic_string<Char> vformat(
2058 return detail::vformat(to_string_view(format_str), args);
2076 return detail::vformat(to_string_view(format_str), vargs);
Dformat-inl.h215 format_system_error(buffer, err_code, vformat(format_str, args)); in init()
2745 FMT_FUNC std::string detail::vformat(string_view format_str, format_args args) {
Dformat.h3845 std::basic_string<Char> detail::vformat(
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c66 const struct gl_vertex_format *vformat, in init_velement_64bit() argument
70 const GLubyte nr_components = vformat->Size; in init_velement_64bit()
108 const struct gl_vertex_format *vformat, in init_velement() argument
112 if (!vformat->Doubles) { in init_velement()
114 velements[idx].src_format = vformat->_PipeFormat; in init_velement()
121 init_velement_64bit(vp, velements, vformat, src_offset, instance_divisor, in init_velement()
/external/fmtlib/test/
Dcore-test.cc406 EXPECT_EQ("42 and abc1 and 1.5", fmt::vformat("{} and {} and {}", store)); in TEST()
418 std::string result = fmt::vformat("{} and {} and {}", store); in TEST()
448 std::string result = fmt::vformat("{} and {} and {}", store); in TEST()
455 EXPECT_EQ("42", fmt::vformat("{a1}", store)); in TEST()
464 EXPECT_EQ("1234567890 and X234567890", fmt::vformat("{a1} and {a2}", store)); in TEST()
485 std::string result = fmt::vformat("{a1_} and {} and {} and {}", store); in TEST()
498 std::string result = fmt::vformat("{c1} and {c2} and {c_ref}", store); in TEST()
506 std::string result = fmt::vformat("{}", store); in TEST()
510 result = fmt::vformat("{} and {}", store); in TEST()
515 result = fmt::vformat("{}", store); in TEST()
[all …]
Dlocale-test.cc57 EXPECT_EQ("1~234~567", fmt::vformat(loc, "{:L}", fmt::format_args(as))); in TEST()
84 EXPECT_EQ(L"1~234~567", fmt::vformat(loc, L"{:L}", fmt::wformat_args(as))); in TEST()
Dformat77 string vformat(string_view fmt, format_args args);
78 wstring vformat(wstring_view fmt, wformat_args args);
704 return vformat(fmt, make_format_args(args...));
709 return vformat(fmt, make_wformat_args(args...));
712 string vformat(string_view fmt, format_args args) {
722 wstring vformat(wstring_view fmt, wformat_args args);
Dformat-test.cc1677 std::string result = fmt::vformat( in TEST()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c535 int vformat = VIRGL_FORMAT_R11G11B10_FLOAT; in virgl_is_vertex_format_supported() local
536 int big = vformat / 32; in virgl_is_vertex_format_supported()
537 int small = vformat % 32; in virgl_is_vertex_format_supported()
566 enum virgl_formats vformat = pipe_to_virgl_format(format); in virgl_format_check_bitmask() local
567 int big = vformat / 32; in virgl_format_check_bitmask()
568 int small = vformat % 32; in virgl_format_check_bitmask()
583 vformat = pipe_to_virgl_format(format); in virgl_format_check_bitmask()
584 big = vformat / 32; in virgl_format_check_bitmask()
585 small = vformat % 32; in virgl_format_check_bitmask()
Dvirgl_encode.c265 enum virgl_formats vformat = virgl_formats_conv_table[format]; in pipe_to_virgl_format() local
266 if (format != PIPE_FORMAT_NONE && !vformat) in pipe_to_virgl_format()
268 return vformat; in pipe_to_virgl_format()
/external/mesa3d/src/mesa/main/
Dapi_arrayelt.c66 vertex_format_to_index(const struct gl_vertex_format *vformat) in vertex_format_to_index() argument
68 if (vformat->Doubles) in vertex_format_to_index()
70 else if (vformat->Integer) in vertex_format_to_index()
72 else if (vformat->Normalized) in vertex_format_to_index()
1395 func_nv(const struct gl_vertex_format *vformat) in func_nv() argument
1397 return AttribFuncsNV[vformat->Normalized][vformat->Size-1] in func_nv()
1398 [TYPE_IDX(vformat->Type)]; in func_nv()
1406 func_arb(const struct gl_vertex_format *vformat) in func_arb() argument
1408 return AttribFuncsARB[vertex_format_to_index(vformat)][vformat->Size-1] in func_arb()
1409 [TYPE_IDX(vformat->Type)]; in func_arb()
/external/python/cpython3/Lib/
Dstring.py161 return self.vformat(format_string, args, kwargs)
163 def vformat(self, format_string, args, kwargs): member in Formatter
/external/bcc/src/cc/vendor/
Dtinyformat.hpp841 friend void vformat(std::ostream& out, const char* fmt,
937 inline void vformat(std::ostream& out, const char* fmt, FormatListRef list) in TINYFORMAT_FOREACH_ARGNUM()
949 vformat(out, fmt, makeFormatList(args...)); in format()
981 vformat(out, fmt, makeFormatList()); in format()
1007 vformat(out, fmt, makeFormatList(TINYFORMAT_PASSARGS(n))); \
/external/python/cpython2/Lib/
Dstring.py559 return self.vformat(format_string, args, kwargs)
561 def vformat(self, format_string, args, kwargs): member in Formatter
/external/python/cpython3/Doc/library/
Dstring.rst95 It is just a wrapper that calls :meth:`vformat`.
101 .. method:: vformat(format_string, args, kwargs)
107 syntax. :meth:`vformat` does the work of breaking up the format string
118 by :meth:`vformat` to break the string into either literal text, or
134 :meth:`vformat`. The return value *used_key* has the same meaning as the
145 :meth:`vformat`, and the *kwargs* parameter is set to the dictionary of
166 passed to vformat. The set of unused args can be calculated from these
/external/python/jinja/src/jinja2/
Dsandbox.py367 rv = formatter.vformat(s, args, kwargs)
/external/python/markupsafe/src/markupsafe/
D__init__.py179 return self.__class__(formatter.vformat(self, args, kwargs))
/external/fmtlib/doc/
Dapi.rst49 .. doxygenfunction:: vformat(const S&, basic_format_args<buffer_context<type_identity_t<Char>>>)
359 custom_string vformat(custom_allocator alloc, fmt::string_view format_str,
370 return vformat(alloc, format_str, fmt::make_format_args(args...));
/external/fmtlib/src/
Dos.cc108 detail::format_windows_error(buffer, err_code, vformat(format_str, args)); in init()
/external/libchrome/third_party/jinja2/
Dsandbox.py414 rv = formatter.vformat(s, args, kwargs)
/external/python/cpython2/Doc/library/
Dstring.rst128 It is just a wrapper that calls :meth:`vformat`.
130 .. method:: vformat(format_string, args, kwargs)
136 syntax. :meth:`vformat` does the work of breaking up the format string
147 by :meth:`vformat` to break the string into either literal text, or
163 :meth:`vformat`. The return value *used_key* has the same meaning as the
174 :meth:`vformat`, and the *kwargs* parameter is set to the dictionary of
195 passed to vformat. The set of unused args can be calculated from these
/external/fmtlib/
DChangeLog.rst1413 * Added ``fmt::format`` and ``fmt::vformat`` overloads that take ``text_style``
2081 * Forced linking of inline ``vformat`` functions into the library
2263 std::string vformat(string_view format_str, format_args args);