Home
last modified time | relevance | path

Searched refs:format_map (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tracker.c185 memset(xa->format_map, 0, sizeof(xa->format_map)); in xa_tracker_create()
200 if (xa->format_map[stype][0] == 0) in xa_tracker_create()
201 xa->format_map[stype][0] = num_formats; in xa_tracker_create()
202 xa->format_map[stype][1] = num_formats; in xa_tracker_create()
269 for (i = xa->format_map[stype][0]; i <= xa->format_map[stype][1]; ++i) { in xa_get_format_stype_depth()
Dxa_priv.h76 unsigned int format_map[XA_LAST_SURFACE_TYPE][2]; member
/external/v8/src/arm64/
Dinstructions-arm64.cc697 const NEONFormatMap* format_map) { in GetVectorFormat() argument
702 DCHECK_LT(GetNEONFormat(format_map), arraysize(vform)); in GetVectorFormat()
703 return vform[GetNEONFormat(format_map)]; in GetVectorFormat()
714 NEONFormat NEONFormatDecoder::GetNEONFormat(const NEONFormatMap* format_map) { in GetNEONFormat() argument
715 return format_map->map[PickBits(format_map->bits)]; in GetNEONFormat()
Dinstructions-arm64.h667 VectorFormat GetVectorFormat(const NEONFormatMap* format_map);
767 NEONFormat GetNEONFormat(const NEONFormatMap* format_map);
/external/python/cpython3/Lib/test/
Dtest_unicode.py1239 self.assertEqual(''.format_map({}), '')
1240 self.assertEqual('a'.format_map({}), 'a')
1241 self.assertEqual('ab'.format_map({}), 'ab')
1242 self.assertEqual('a{{'.format_map({}), 'a{')
1243 self.assertEqual('a}}'.format_map({}), 'a}')
1244 self.assertEqual('{{b'.format_map({}), '{b')
1245 self.assertEqual('}}b'.format_map({}), '}b')
1246 self.assertEqual('a{{b'.format_map({}), 'a{b')
1252 self.assertEqual('{hello}'.format_map(Mapping()), 'hello')
1253 self.assertEqual('{a} {world}'.format_map(Mapping(a='hello')), 'hello world')
[all …]
Dtest_re.py448 self.assertEqual('a1={a1} b2={b2} c3={c3}'.format_map(m), 'a1=a b2=None c3=None')
466 'a1={a2}'.format_map(m)
472 self.assertEqual('a1={a1} b2={b2} c3={c3}'.format_map(m), 'a1=a b2=None c3=c')
Dtest_functools.py194 kwargs_reprs = ['a={a!r}, b={b!r}'.format_map(kwargs),
195 'b={b!r}, a={a!r}'.format_map(kwargs)]
Dtest_io.py4096 """.format_map(locals())
4104 "daemon threads".format_map(locals()),
/external/vixl/src/aarch64/
Dinstructions-aarch64.h664 VectorFormat GetVectorFormat(const NEONFormatMap* format_map) { in GetVectorFormat() argument
678 VIXL_ASSERT(GetNEONFormat(format_map) < ArrayLength(vform)); in GetVectorFormat()
679 return vform[GetNEONFormat(format_map)]; in GetVectorFormat()
813 NEONFormat GetNEONFormat(const NEONFormatMap* format_map) { in GetNEONFormat() argument
814 return format_map->map[PickBits(format_map->bits)]; in GetNEONFormat()
/external/python/cpython3/PC/layout/support/
Dprops.py109 props = PROPS_TEMPLATE.format_map(PROPS_DATA)
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c1122 static const struct format_mapping format_map[] = { variable
2135 for (i = 0; i < ARRAY_SIZE(format_map); i++) { in st_choose_format()
2136 const struct format_mapping *mapping = &format_map[i]; in st_choose_format()
/external/python/cpython3/Lib/collections/
D__init__.py1224 def format_map(self, mapping): member in UserString
1225 return self.data.format_map(mapping)
/external/python/cpython3/Tools/clinic/
Dclinic.py1094 s = s.format_map(d)
1240 s = template.format_map(template_dict)
1609 self.filename = args[0].format_map(d)
2990 template_dict['self_type_check'] = line.format_map(d)
3315 value = value.format_map({
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b1.rst205 casefold(), format_map(), isprintable(), and maketrans(). Patch by Joe
D3.6.3rc1.rst168 str.format_map() now passes key lookup exceptions through. Previously any
D3.7.0a1.rst307 str.format_map() now passes key lookup exceptions through. Previously any
/external/python/cpython3/Doc/whatsnew/
D3.2.rst451 * There is also a new :meth:`str.format_map` method that extends the
462 >>> 'The {project_name} status is {status} as of {date}'.format_map(d)
469 >>> 'There are {QUANTITY} {Part} in stock'.format_map(lcd)
475 >>> 'Hello {name}, welcome to {location}'.format_map(PlaceholderDict())
D3.5.rst932 :meth:`~str.format_map`, :meth:`~str.isprintable`, and :meth:`~str.maketrans`
/external/python/cpython3/Doc/library/
Dcollections.rst1248 ``format_map``, ``isprintable``, and ``maketrans``.
Dstdtypes.rst1628 .. method:: str.format_map(mapping)
1638 >>> '{name} was born in {country}'.format_map(Default(name='Guido'))
/external/python/cpython3/Misc/
DHISTORY8485 - Issue #12579: str.format_map() now raises a ValueError if used on a
11504 - Issue #6081: Add str.format_map(), similar to ``str.format(**mapping)``.