/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | transfer_buffer.h | 22 #include "src/format.h" 34 TransferBuffer(Device* device, uint32_t size_in_bytes, Format* format);
|
H A D | vertex_buffer.h | 26 #include "src/format.h" 47 Format* format,
|
/third_party/skia/third_party/externals/libpng/contrib/examples/ |
H A D | pngtopng.c | 10 * Read a PNG and write it out in a fixed format, using the 'simplified API' 44 /* Change this to try different formats! If you set a colormap format in main() 47 image.format = PNG_FORMAT_RGBA; in main()
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | compactdecimalformat.h | 44 * 'Hits: 1,200,000,000'. The format will be appropriate for the given language, 110 using DecimalFormat::format; 141 * This method will fail if this format is not a currency format,
|
/third_party/skia/src/sfnt/ |
H A D | SkOTTable_post.h | 32 } format; variable
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | NativeSwapChainImplD3D12.h | 38 DawnSwapChainError Configure(WGPUTextureFormat format,
|
/third_party/skia/third_party/externals/dawn/src/include/dawn/ |
H A D | dawn_wsi.h | 43 WGPUTextureFormat format,
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_error_resync_test.cc | 36 EXPECT_EQ(expected, diag::Formatter(formatter_style).format(diagnostics)); \
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
H A D | test_helper.h | 49 << formatter.format(program->Diagnostics()); in Build()
|
/third_party/skia/tools/malisc/ |
H A D | malisc.py | 43 print('{0},{1},{2},{3},{4},{5},{6}'.format(
|
/third_party/python/PC/layout/support/ |
H A D | nuspec.py | 30 NUSPEC_DATA["PYTHON_VERSION"] = "{}.{}{}{}".format(
|
/third_party/protobuf/php/src/Google/Protobuf/ |
H A D | Timestamp.php | 51 * In JSON format, the Timestamp type is encoded as a string in the 52 * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the 53 * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" 63 * In JavaScript, one can convert a Date object to this format using the 66 * to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) 67 * with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one 69 * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime-- 70 * ) to obtain a formatter capable of generating timestamps in this format. 186 $this->nanos = 1000 * $datetime->format('u');
|
/third_party/rust/crates/memchr/ |
H A D | build.rs | 77 is_env_set(&format!("CARGO_FEATURE_{}", name)) in is_feature_set()
|
/third_party/selinux/libsepol/src/ |
H A D | debug.h | 62 __attribute__ ((format(printf, 3, 4)))
|
/third_party/vk-gl-cts/scripts/opengl/ |
H A D | gen_null_render_context.py | 65 return template.format(
|
/third_party/vk-gl-cts/framework/platform/android/ |
H A D | tcuAndroidWindow.hpp | 68 void setBuffersGeometry (int width, int height, int32_t format);
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_opcodes.py | 183 res += 'instr->sel[{0}] = SubdwordSel(op{0}.op.bytes(), 0, false);'.format(i) 192 def __init__(self, name, opcode_gfx7, opcode_gfx9, opcode_gfx10, format, input_mod, output_mod, is_atomic, cls): 207 assert isinstance(format, Format) 218 self.format = format 224 op_dtype_sizes = {'{}{}'.format(prefix, size) : size for prefix in 'biuf' for size in [64, 32, 24, 16]} 251 def opcode(name, opcode_gfx7 = -1, opcode_gfx9 = -1, opcode_gfx10 = -1, format = Format.PSEUDO, cls = InstrClass.Other, input_mod = False, output_mod = False, is_atomic = False): 253 opcodes[name] = Opcode(name, opcode_gfx7, opcode_gfx9, opcode_gfx10, format, input_mod, output_mod, is_atomic, cls) 262 opcode("exp", 0, 0, 0, format = Format.EXP, cls = InstrClass.Export) 280 opcode("p_reduce", format [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | BindGroupValidationTests.cpp | 25 wgpu::TextureFormat format, in CreateTexture() 33 descriptor.format = format; in CreateTexture() 61 externalTextureDesc.format = kDefaultTextureFormat; 236 viewDesc.format = kDefaultTextureFormat; in TEST_F() 314 externalDesc.format = kDefaultTextureFormat; in TEST_F() 362 errorExternalDesciptor.format = wgpu::TextureFormat::R8Uint; in TEST_F() 420 descriptor.format = wgpu::TextureFormat::RGBA8Uint; in TEST_F() 429 descriptor.format = wgpu::TextureFormat::RGBA8Unorm; in TEST_F() 442 auto DoTest = [this](bool success, wgpu::TextureFormat format, in TEST_F() 24 CreateTexture(wgpu::TextureUsage usage, wgpu::TextureFormat format, uint32_t layerCount) CreateTexture() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_builtin.py | 1870 # Test the basic machinery of the format() builtin. Don't test 1872 self.assertEqual(format(3, ''), '3') 1895 self.assertEqual(format(A(3), 'spec'), '3spec') 1896 self.assertEqual(format(DerivedFromA(4), 'spec'), '4spec') 1897 self.assertEqual(format(DerivedFromSimple(5), 'abc'), '5abc') 1898 self.assertEqual(format(DerivedFromSimple2(10), 'abcdef'), 1905 # format(x, '') == str(x) 1906 # format(x) == str(x) 1907 self.assertEqual(format(value, ""), str(value)) 1908 self.assertEqual(format(valu [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | ituh263dec.c | 1090 int format, width, height, i, ret; in ff_h263_decode_picture_header() local 1131 format = get_bits(&s->gb, 3); in ff_h263_decode_picture_header() 1139 if (format != 7 && format != 6) { in ff_h263_decode_picture_header() 1142 width = ff_h263_format[format][0]; in ff_h263_decode_picture_header() 1143 height = ff_h263_format[format][1]; in ff_h263_decode_picture_header() 1175 format = get_bits(&s->gb, 3); in ff_h263_decode_picture_header() 1176 ff_dlog(s->avctx, "ufep=1, format: %d\n", format); in ff_h263_decode_picture_header() 1225 if (format in ff_h263_decode_picture_header() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_hw.c | 109 snd_pcm_format_t format; member 349 if (hw->format != SND_PCM_FORMAT_UNKNOWN) { in snd_pcm_hw_hw_refine() 350 err = _snd_pcm_hw_params_set_format(params, hw->format); in snd_pcm_hw_hw_refine() 397 snd_pcm_format_t format = snd_mask_min(m); in hw_params_call() local 398 int width = snd_pcm_format_width(format); in hw_params_call() 1703 hw->format = SND_PCM_FORMAT_UNKNOWN; in snd_pcm_hw_open_fd() 1848 [format STR] # Restrict only to the given format 1887 snd_pcm_format_t format = SND_PCM_FORMAT_UNKNOWN; in _snd_pcm_hw_open() local 1998 if (strcmp(id, "format") in _snd_pcm_hw_open() [all...] |
H A D | pcm_share.c | 78 snd_pcm_format_t format; member 328 snd_pcm_areas_silence(pcm->running_areas, offset, pcm->channels, frames, pcm->format); in _snd_pcm_share_missing() 499 if (slave->format != SND_PCM_FORMAT_UNKNOWN) { in snd_pcm_share_hw_refine_cprepare() 500 err = _snd_pcm_hw_params_set_format(params, slave->format); in snd_pcm_share_hw_refine_cprepare() 631 err = _snd_pcm_hw_params_set_format(params, spcm->format); in snd_pcm_share_hw_params() 670 snd_pcm_areas_silence(slave->pcm->running_areas, 0, slave->pcm->channels, slave->pcm->buffer_size, slave->pcm->format); in snd_pcm_share_hw_params() 921 snd_pcm_areas_silence(pcm->running_areas, 0, pcm->channels, pcm->buffer_size, pcm->format); in snd_pcm_share_reset() 967 pcm->format); in snd_pcm_share_start() 1148 pcm->format); in _snd_pcm_share_stop() 1153 pcm->buffer_size, pcm->format); in _snd_pcm_share_stop() [all...] |
/third_party/backends/frontend/ |
H A D | tstbackend.c | 102 static int check(enum message_level, int condition, const char *format, ...) __attribute__ ((format (printf, 3, 4))); 104 static int check(enum message_level level, int condition, const char *format, ...) in check() argument 114 va_start(args, format); in check() 115 vsprintf(str, format, args); in check() 221 check(FATAL, ((p.format == SANE_FRAME_GRAY) || in test_parameters() 222 (p.format == SANE_FRAME_RGB) || in test_parameters() 223 (p.format == SANE_FRAME_RED) || in test_parameters() 224 (p.format == SANE_FRAME_GREEN) || in test_parameters() 225 (p.format in test_parameters() [all...] |
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_encode.c | 27 #include "util/format/u_format.h" 303 enum virgl_formats pipe_to_virgl_format(enum pipe_format format) in pipe_to_virgl_format() argument 305 enum virgl_formats vformat = virgl_formats_conv_table[format]; in pipe_to_virgl_format() 306 if (format != PIPE_FORMAT_NONE && !vformat) in pipe_to_virgl_format() 307 debug_printf("VIRGL: pipe format %s not in the format table\n", util_format_name(format)); in pipe_to_virgl_format() 641 const struct util_format_description *desc = util_format_description(res->b.format); in virgl_encode_clear_texture() 649 * the memory and applying the correct format to the clear call. in virgl_encode_clear_texture() 808 virgl_encoder_write_dword(ctx->cbuf, pipe_to_virgl_format(templat->format)); in virgl_encoder_create_surface_common() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | pack.c | 59 #include "util/format/u_format.h" 1199 * need a copy of the data in a standard format. 1204 GLenum format, GLenum type, const GLvoid *pixels, in _mesa_unpack_image() 1223 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type); in _mesa_unpack_image() 1224 GLint components = _mesa_components_in_format(format); in _mesa_unpack_image() 1231 return NULL; /* bad format or type. generate error later */ in _mesa_unpack_image() 1253 width, height, format, type, img, row, 0); in _mesa_unpack_image() 1370 assert(!"Unsupported format"); in _mesa_pack_luminance_from_rgba_float() 1637 _mesa_unpack_ubyte_rgba_row(mesa_format format, uint32_t n, in _mesa_unpack_ubyte_rgba_row() argument 1641 util_format_unpack_description((enum pipe_format)format); in _mesa_unpack_ubyte_rgba_row() 1202 _mesa_unpack_image( GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack ) _mesa_unpack_image() argument 1709 _mesa_unpack_uint_24_8_depth_stencil_row(mesa_format format, uint32_t n, const void *src, uint32_t *dst) _mesa_unpack_uint_24_8_depth_stencil_row() argument 1783 _mesa_unpack_float_32_uint_24_8_depth_stencil_row(mesa_format format, uint32_t n, const void *src, uint32_t *dst) _mesa_unpack_float_32_uint_24_8_depth_stencil_row() argument [all...] |