/third_party/python/Lib/test/ |
D | test_pprint.py | 239 self.assertEqual(pprint.pformat(simple), native) 240 self.assertEqual(pprint.pformat(simple, width=1, indent=0) 242 self.assertEqual(pprint.pformat(simple, underscore_numbers=True), native) 267 self.assertEqual(pprint.pformat(cont), expected) 268 self.assertEqual(pprint.pformat(cont, width=1, indent=0), expected) 289 self.assertEqual(pprint.pformat(type(o)), exp) 294 self.assertEqual(pprint.pformat(type(o)), exp) 299 self.assertEqual(pprint.pformat(type(o)), exp) 305 self.assertEqual(pprint.pformat(type(o), indent=4), exp) 314 self.assertEqual(pprint.pformat(o, indent=4, width=42), expected) [all …]
|
D | test_sys_setprofile.py | 96 % (pprint.pformat(expected), pprint.pformat(events)))
|
D | test_htmlparser.py | 97 "\nExpected:\n" + pprint.pformat(expected_events) + 98 "\nReceived:\n" + pprint.pformat(events))
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_formats.c | 39 enum pipe_format pformat, in iris_format_for_usage() argument 42 enum isl_format format = isl_format_for_pipe_format(pformat); in iris_format_for_usage() 50 if (!util_format_is_srgb(pformat)) { in iris_format_for_usage() 51 if (util_format_is_intensity(pformat)) { in iris_format_for_usage() 53 } else if (util_format_is_luminance(pformat)) { in iris_format_for_usage() 55 } else if (util_format_is_luminance_alpha(pformat)) { in iris_format_for_usage() 57 } else if (util_format_is_alpha(pformat)) { in iris_format_for_usage() 63 if (!util_format_has_alpha(pformat) && fmtl->channels.a.type != ISL_VOID) { in iris_format_for_usage() 68 pformat == PIPE_FORMAT_A8_UNORM) { in iris_format_for_usage() 107 enum pipe_format pformat, in iris_is_format_supported() argument [all …]
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_formats.c | 66 enum pipe_format pformat = lvp_vk_format_to_pipe_format(format); in lvp_physical_device_get_format_properties() local 68 if (pformat == PIPE_FORMAT_NONE) { in lvp_physical_device_get_format_properties() 75 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 89 if (util_format_is_compressed(pformat)) { in lvp_physical_device_get_format_properties() 90 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 103 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties() 104 physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 109 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 114 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 123 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_formats.c | 304 get_render_format(enum pipe_format pformat, enum isl_format def_format) in get_render_format() argument 306 switch (pformat) { in get_render_format() 335 enum pipe_format pformat, in crocus_format_for_usage() argument 338 struct crocus_format_info info = { crocus_isl_format_for_pipe_format(pformat), in crocus_format_for_usage() 344 if (pformat == PIPE_FORMAT_A8_UNORM) { in crocus_format_for_usage() 349 info.fmt = get_render_format(pformat, info.fmt); in crocus_format_for_usage() 351 if (pformat == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) in crocus_format_for_usage() 353 if (pformat == PIPE_FORMAT_X32_S8X24_UINT) in crocus_format_for_usage() 355 if (pformat == PIPE_FORMAT_X24S8_UINT) in crocus_format_for_usage() 361 if (util_format_is_snorm(pformat)) { in crocus_format_for_usage() [all …]
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_format.c | 317 d3d12_get_format_info(enum pipe_format resource_format, enum pipe_format pformat, enum pipe_texture… in d3d12_get_format_info() argument 332 if (pformat == PIPE_FORMAT_DXT1_RGB || in d3d12_get_format_info() 333 pformat == PIPE_FORMAT_DXT1_SRGB) in d3d12_get_format_info() 337 *format_desc = util_format_description(pformat); in d3d12_get_format_info() 339 if (!util_format_is_srgb(pformat)) { in d3d12_get_format_info() 340 if (target == PIPE_BUFFER && util_format_is_alpha(pformat)) { in d3d12_get_format_info() 344 if (util_format_get_plane_format(resource_format, plane_slice) == pformat) in d3d12_get_format_info() 348 } else if (pformat == PIPE_FORMAT_A8_UNORM) { in d3d12_get_format_info() 350 } else if (util_format_is_intensity(pformat)) { in d3d12_get_format_info() 352 } else if (util_format_is_luminance(pformat)) { in d3d12_get_format_info() [all …]
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_uvc.c | 1089 const struct fuvc_format_info *pformat = format_info; in frames_descriptors_update() local 1091 while (pformat->frames[nframes].height != 0) in frames_descriptors_update() 1093 switch (pformat->frames[nframes].height) in frames_descriptors_update() 1096 if (pformat->fcc == V4L2_PIX_FMT_YUYV) in frames_descriptors_update() 1102 else if (pformat->fcc == V4L2_PIX_FMT_H264) in frames_descriptors_update() 1116 if (pformat->fcc == V4L2_PIX_FMT_YUYV) in frames_descriptors_update() 1122 else if (pformat->fcc == V4L2_PIX_FMT_H264) in frames_descriptors_update() 1136 if (pformat->fcc == V4L2_PIX_FMT_YUYV) in frames_descriptors_update() 1142 else if (pformat->fcc == V4L2_PIX_FMT_H264) in frames_descriptors_update() 1156 if (pformat->fcc == V4L2_PIX_FMT_YUYV) in frames_descriptors_update() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_format.c | 1234 enum pipe_format pformat = st_choose_matching_format_noverify(st, format, type, swapBytes); in st_choose_matching_format() local 1235 if (pformat != PIPE_FORMAT_NONE && in st_choose_matching_format() 1236 (!bind || screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D, 0, 0, bind))) in st_choose_matching_format() 1237 return pformat; in st_choose_matching_format() 1478 enum pipe_format pformat = st_choose_format(st, in st_QueryInternalFormat() local 1485 if (pformat) in st_QueryInternalFormat() 1491 enum pipe_format pformat = st_mesa_format_to_pipe_format(st, format); in st_QueryInternalFormat() local 1493 params[0] = pformat != PIPE_FORMAT_NONE && in st_QueryInternalFormat() 1494 screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D, in st_QueryInternalFormat() 1506 enum pipe_format pformat = st_mesa_format_to_pipe_format(st, format); in st_QueryInternalFormat() local [all …]
|
D | st_pbo_compute.c | 86 enum pipe_format pformat = st_mesa_format_to_pipe_format(st, mformat); in get_convert_format() local 87 if (!pformat) { in get_convert_format() 91 …pformat = st_pbo_get_dst_format(ctx, PIPE_TEXTURE_2D, src_format, false, format == GL_BGR ? GL_RGB… in get_convert_format() 92 if (!pformat) in get_convert_format() 93 …pformat = get_convert_format(ctx, src_format, format == GL_BGR ? GL_RGB : GL_RGBA, type, need_bgra… in get_convert_format() 94 assert(pformat); in get_convert_format() 97 …pformat = st_pbo_get_dst_format(ctx, PIPE_TEXTURE_2D, src_format, false, format == GL_BGR_INTEGER … in get_convert_format() 98 if (!pformat) in get_convert_format() 99 …pformat = get_convert_format(ctx, src_format, format == GL_BGR_INTEGER ? GL_RGB_INTEGER : GL_RGBA_… in get_convert_format() 100 assert(pformat); in get_convert_format() [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_image.c | 150 enum pipe_format pformat, in get_dimensions() argument 156 *width = iview->u.buf.size / util_format_get_blocksize(pformat); in get_dimensions() 163 if (util_format_get_stride(pformat, *width) > in get_dimensions() 179 if (util_format_get_blocksize(pformat) > in get_dimensions() 302 unsigned pformat = params->format; in sp_tgsi_store() local 314 pformat = spr->base.format; in sp_tgsi_store() 317 pformat, &width, &height, &depth)) in sp_tgsi_store() 320 stride = util_format_get_stride(pformat, width); in sp_tgsi_store() 333 offset = get_image_offset(spr, iview, pformat, r_coord); in sp_tgsi_store() 339 util_format_write_4(pformat, sdata, 0, data_ptr, stride, in sp_tgsi_store()
|
/third_party/mesa3d/src/gallium/winsys/d3d12/wgl/ |
D | d3d12_wgl_framebuffer.cpp | 54 enum pipe_format pformat; member 110 framebuffer->pformat = templ->format; in d3d12_wgl_framebuffer_resize() 194 handle.format = framebuffer->pformat; in d3d12_wgl_framebuffer_get_resource() 202 templ.format = framebuffer->pformat; in d3d12_wgl_framebuffer_get_resource()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_gmem.c | 84 enum pipe_format pformat = psurf->format; in emit_mrt() local 93 pformat = rsc->b.b.format; in emit_mrt() 98 format = fd4_pipe2color(pformat); in emit_mrt() 99 swap = fd4_pipe2swap(pformat); in emit_mrt() 102 srgb = util_format_is_srgb(pformat); in emit_mrt() 104 pformat = util_format_linear(pformat); in emit_mrt() 174 enum pipe_format pformat = psurf->format; in emit_gmem2mem_surf() local 183 pformat = rsc->b.b.format; in emit_gmem2mem_surf() 199 A4XX_RB_COPY_DEST_INFO_FORMAT(fd4_pipe2color(pformat)) | in emit_gmem2mem_surf() 202 A4XX_RB_COPY_DEST_INFO_SWAP(fd4_pipe2swap(pformat))); in emit_gmem2mem_surf()
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | surface.c | 306 enum pipe_format pformat = FormatYCBCRToPipe(source_ycbcr_format); in vlVdpVideoSurfacePutBitsYCbCr() local 327 ((pformat != p_surf->video_buffer->buffer_format))) { in vlVdpVideoSurfacePutBitsYCbCr() 328 enum pipe_format nformat = pformat; in vlVdpVideoSurfacePutBitsYCbCr() 368 if (pformat != p_surf->video_buffer->buffer_format) { in vlVdpVideoSurfacePutBitsYCbCr() 369 if (pformat == PIPE_FORMAT_YV12 && in vlVdpVideoSurfacePutBitsYCbCr()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_blit.c | 226 enum pipe_format pformat; in v3d_tfu() local 243 pformat = pdst->format; in v3d_tfu() 246 case 16: pformat = PIPE_FORMAT_R32G32B32A32_FLOAT; break; in v3d_tfu() 247 case 8: pformat = PIPE_FORMAT_R16G16B16A16_FLOAT; break; in v3d_tfu() 248 case 4: pformat = PIPE_FORMAT_R32_FLOAT; break; in v3d_tfu() 249 case 2: pformat = PIPE_FORMAT_R16_FLOAT; break; in v3d_tfu() 250 case 1: pformat = PIPE_FORMAT_R8_UNORM; break; in v3d_tfu() 255 uint32_t tex_format = v3d_get_tex_format(&screen->devinfo, pformat); in v3d_tfu()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_gmem.c | 67 enum pipe_format pformat = 0; in emit_mrt() local 86 pformat = psurf->format; in emit_mrt() 92 pformat = rsc->b.b.format; in emit_mrt() 96 format = fd3_pipe2color(pformat); in emit_mrt() 98 srgb = util_format_is_srgb(pformat); in emit_mrt() 100 pformat = util_format_linear(pformat); in emit_mrt() 106 swap = rsc->layout.tile_mode ? WZYX : fd3_pipe2swap(pformat); in emit_mrt() 137 fd3_fs_output_format(pformat)))); in emit_mrt()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_gmem.c | 70 enum pipe_format pformat = psurf->format; in emit_mrt() local 74 format = fd5_pipe2color(pformat); in emit_mrt() 75 swap = fd5_pipe2swap(pformat); in emit_mrt() 76 srgb = util_format_is_srgb(pformat); in emit_mrt() 77 sint = util_format_is_pure_sint(pformat); in emit_mrt() 78 uint = util_format_is_pure_uint(pformat); in emit_mrt()
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | utils.py | 177 def pformat(obj, verbose=False): function 185 from pprint import pformat 186 return pformat(obj)
|
/third_party/node/deps/v8/third_party/jinja2/ |
D | utils.py | 168 def pformat(obj, verbose=False): function 177 from pprint import pformat 179 return pformat(obj)
|
/third_party/skia/third_party/externals/jinja2/ |
D | utils.py | 168 def pformat(obj, verbose=False): function 177 from pprint import pformat 179 return pformat(obj)
|
/third_party/jinja2/ |
D | utils.py | 183 def pformat(obj: t.Any) -> str: function 185 from pprint import pformat # type: ignore 187 return pformat(obj)
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_format.h | 127 enum pipe_format pformat,
|
/third_party/python/Lib/ |
D | pprint.py | 57 def pformat(object, indent=1, width=80, depth=None, *, function 62 underscore_numbers=underscore_numbers).pformat(object) 155 def pformat(self, object): member in PrettyPrinter 647 p.pformat(object)
|
/third_party/skia/third_party/externals/angle2/infra/specs/ |
D | generate_test_spec_json.py | 140 'mixin_data': pp.pformat(found_mixins),
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
D | pygenerator.py | 75 pprint.pformat(self.mapDict[baseType])), file=self.outFile)
|