Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/
Dgen_copy_conversion_table.py90 format_map = {}
94 if texture_format not in format_map:
95 format_map[texture_format] = []
96 format_map[texture_format] += [framebuffer_format]
100 for texture_format, framebuffer_formats in sorted(format_map.items()):
Dgen_format_map.py145 format_map = angle_format.load_json(input_script)
149 for format, type_map in sorted(format_map.items()):
/external/mesa3d/src/gallium/frontends/xa/
Dxa_tracker.c195 memset(xa->format_map, 0, sizeof(xa->format_map)); in xa_tracker_create()
210 if (xa->format_map[stype][0] == 0) in xa_tracker_create()
211 xa->format_map[stype][0] = num_formats; in xa_tracker_create()
212 xa->format_map[stype][1] = num_formats; in xa_tracker_create()
278 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/python/cpython3/Lib/test/
Dtest_unicode.py1259 self.assertEqual(''.format_map({}), '')
1260 self.assertEqual('a'.format_map({}), 'a')
1261 self.assertEqual('ab'.format_map({}), 'ab')
1262 self.assertEqual('a{{'.format_map({}), 'a{')
1263 self.assertEqual('a}}'.format_map({}), 'a}')
1264 self.assertEqual('{{b'.format_map({}), '{b')
1265 self.assertEqual('}}b'.format_map({}), '}b')
1266 self.assertEqual('a{{b'.format_map({}), 'a{b')
1272 self.assertEqual('{hello}'.format_map(Mapping()), 'hello')
1273 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.py199 kwargs_reprs = ['a={a!r}, b={b!r}'.format_map(kwargs),
200 'b={b!r}, a={a!r}'.format_map(kwargs)]
Dtest_io.py4245 """.format_map(locals())
4254 r"daemon threads".format_map(locals()))
/external/vixl/src/aarch64/
Dinstructions-aarch64.h814 VectorFormat GetVectorFormat(const NEONFormatMap* format_map) { in GetVectorFormat() argument
828 VIXL_ASSERT(GetNEONFormat(format_map) < ArrayLength(vform)); in GetVectorFormat()
829 return vform[GetNEONFormat(format_map)]; in GetVectorFormat()
963 NEONFormat GetNEONFormat(const NEONFormatMap* format_map) { in GetNEONFormat() argument
964 return format_map->map[PickBits(format_map->bits)]; in GetNEONFormat()
/external/python/cpython3/PC/layout/support/
Dprops.py98 props = PROPS_TEMPLATE.format_map(d)
Dnuspec.py76 nuspec = NUSPEC_TEMPLATE.format_map(data)
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c186 static const struct format_mapping format_map[] = { variable
1155 for (i = 0; i < ARRAY_SIZE(format_map); i++) { in st_choose_format()
1156 const struct format_mapping *mapping = &format_map[i]; in st_choose_format()
/external/mesa3d/docs/relnotes/
D20.2.2.rst109 - st/mesa: Add missing sentinels in format_map[]
D20.3.0.rst3877 - st/mesa: Add missing sentinels in format_map[\]
/external/python/cpython3/Lib/collections/
D__init__.py1397 def format_map(self, mapping): member in UserString
1398 return self.data.format_map(mapping)
/external/python/cpython3/Tools/clinic/
Dclinic.py1210 s = s.format_map(d)
1361 s = template.format_map(template_dict)
1730 self.filename = args[0].format_map(d)
3970 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.rst453 * There is also a new :meth:`str.format_map` method that extends the
464 >>> 'The {project_name} status is {status} as of {date}'.format_map(d)
471 >>> 'There are {QUANTITY} {Part} in stock'.format_map(lcd)
477 >>> 'Hello {name}, welcome to {location}'.format_map(PlaceholderDict())
D3.5.rst932 :meth:`~str.format_map`, :meth:`~str.isprintable`, and :meth:`~str.maketrans`
/external/python/jinja/
DCHANGES.rst189 - ``SandboxedEnvironment`` securely handles ``str.format_map`` in
/external/python/cpython3/Doc/library/
Dcollections.rst1270 ``format_map``, ``isprintable``, and ``maketrans``.
Dstdtypes.rst1648 .. method:: str.format_map(mapping)
1658 >>> '{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)``.