Home
last modified time | relevance | path

Searched refs:format (Results 2001 - 2025 of 7721) sorted by relevance

1...<<81828384858687888990>>...309

/commonlibrary/rust/ylong_http/ylong_http_client/tests/common/
H A Dmod.rs234 .url(format!("{}:{}", $host, $port).as_str())
258 .url(format!("{}:{}", $host, $port).as_str())
300 format!("{:?}", request.version()),
308 .expect(format!("Get request header \"{}\" failed", $req_n).as_str())
310 .expect(format!("Convert request header \"{}\" into string failed", $req_n).as_str()),
363 format!("{:?}", request.version()),
371 .expect(format!("Get request header \"{}\" failed", $req_n).as_str())
373 .expect(format!("Convert request header \"{}\" into string failed", $req_n).as_str()),
/third_party/ffmpeg/libavcodec/
H A Dlibjxldec.c96 static enum AVPixelFormat libjxl_get_pix_fmt(void *avctx, const JxlBasicInfo *basic_info, JxlPixelFormat *format) in libjxl_get_pix_fmt() argument
98 format->endianness = JXL_NATIVE_ENDIAN; in libjxl_get_pix_fmt()
99 format->num_channels = basic_info->num_color_channels + (basic_info->alpha_bits > 0); in libjxl_get_pix_fmt()
103 format->data_type = JXL_TYPE_UINT8; in libjxl_get_pix_fmt()
109 format->data_type = JXL_TYPE_FLOAT; in libjxl_get_pix_fmt()
112 format->data_type = JXL_TYPE_UINT16; in libjxl_get_pix_fmt()
119 format->data_type = JXL_TYPE_UINT8; in libjxl_get_pix_fmt()
126 format->data_type = JXL_TYPE_UINT16; in libjxl_get_pix_fmt()
372 av_log(avctx, AV_LOG_ERROR, "Bad libjxl pixel format\n"); in libjxl_decode_frame()
/third_party/ffmpeg/libavdevice/
H A Dlavfi.c326 par->format = av_buffersink_get_format(sink); in lavfi_read_header()
330 av_get_padded_bits_per_pixel(av_pix_fmt_desc_get(par->format)); in lavfi_read_header()
339 par->format = av_buffersink_get_format(sink); in lavfi_read_header()
340 par->codec_id = av_get_pcm_codec(par->format, -1); in lavfi_read_header()
343 "Could not find PCM codec for sample format %s.\n", in lavfi_read_header()
344 av_get_sample_fmt_name(par->format)); in lavfi_read_header()
434 size = av_image_get_buffer_size(frame->format, frame->width, frame->height, 1); in lavfi_read_packet()
439 frame->format, frame->width, frame->height, 1); in lavfi_read_packet()
441 size = frame->nb_samples * av_get_bytes_per_sample(frame->format) * in lavfi_read_packet()
/third_party/ffmpeg/libavfilter/
H A Dvf_yadif_cuda.c59 CUarray_format format, int channels, in call_kernel()
87 .res.pitch2D.format = format, in call_kernel()
140 CUarray_format format; in filter() local
153 av_log(ctx, AV_LOG_ERROR, "Unsupported pixel format: %s\n", y->csp->name); in filter()
159 format = CU_AD_FORMAT_UNSIGNED_INT8; in filter()
163 format = CU_AD_FORMAT_UNSIGNED_INT16; in filter()
166 av_log(ctx, AV_LOG_ERROR, "Unsupported pixel format: %s\n", y->csp->name); in filter()
176 format, channels, in filter()
269 output_frames->format in config_output()
57 call_kernel(AVFilterContext *ctx, CUfunction func, CUdeviceptr prev, CUdeviceptr cur, CUdeviceptr next, CUarray_format format, int channels, int src_width, int src_height, int src_pitch, CUdeviceptr dst, int dst_width, int dst_height, int dst_pitch, int parity, int tff) call_kernel() argument
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_lfloat.c60 int snd_pcm_lfloat_get_s32_index(snd_pcm_format_t format) in snd_pcm_lfloat_get_s32_index() argument
64 switch (format) { in snd_pcm_lfloat_get_s32_index()
77 endian = snd_pcm_format_big_endian(format); in snd_pcm_lfloat_get_s32_index()
79 endian = snd_pcm_format_little_endian(format); in snd_pcm_lfloat_get_s32_index()
84 int snd_pcm_lfloat_put_s32_index(snd_pcm_format_t format) in snd_pcm_lfloat_put_s32_index() argument
86 return snd_pcm_lfloat_get_s32_index(format); in snd_pcm_lfloat_put_s32_index()
282 dst_format = slave->format; in snd_pcm_lfloat_hw_params()
284 src_format = slave->format; in snd_pcm_lfloat_hw_params()
374 * \param sformat Slave (destination) format
427 linear<->float conversion PCM to given slave PCM. The channel count, format an
[all...]
H A Dpcm_linear.c299 snd_pcm_format_t format; in snd_pcm_linear_hw_params() local
307 err = INTERNAL(snd_pcm_hw_params_get_format)(params, &format); in snd_pcm_linear_hw_params()
310 linear->use_getput = (snd_pcm_format_physical_width(format) == 24 || in snd_pcm_linear_hw_params()
312 snd_pcm_format_width(format) == 20 || in snd_pcm_linear_hw_params()
316 linear->get_idx = snd_pcm_linear_get_index(format, SND_PCM_FORMAT_S32); in snd_pcm_linear_hw_params()
320 linear->put_idx = snd_pcm_linear_put_index(SND_PCM_FORMAT_S32, format); in snd_pcm_linear_hw_params()
324 linear->conv_idx = snd_pcm_linear_convert_index(format, in snd_pcm_linear_hw_params()
328 format); in snd_pcm_linear_hw_params()
419 * \param sformat Slave (destination) format
471 slave PCM. The channel count, format an
[all...]
H A Dpcm_rate_linear.c137 /* optimized version for S16 format */
258 /* optimized version for S16 format */
333 rate->get_idx = snd_pcm_linear_get_index(info->in.format, SND_PCM_FORMAT_S16); in linear_init()
334 rate->put_idx = snd_pcm_linear_put_index(SND_PCM_FORMAT_S16, info->out.format); in linear_init()
336 if (info->in.format == info->out.format && info->in.format == SND_PCM_FORMAT_S16) in linear_init()
342 if (info->in.format == info->out.format && info->in.format in linear_init()
[all...]
/third_party/alsa-utils/axfer/test/
H A Dmapper-test.c85 snd_pcm_format_t format; in test_demux() local
93 format = sample_format; in test_demux()
100 err = container_context_pre_process(cntrs + i, &format, in test_demux()
105 assert(format == sample_format); in test_demux()
175 snd_pcm_format_t format; in test_mux() local
183 format = sample_format; in test_mux()
189 err = container_context_pre_process(cntrs + i, &format, in test_mux()
195 assert(format == sample_format); in test_mux()
/third_party/icu/icu4c/source/test/intltest/
H A Dnumfmtdatadriventest.cpp50 format(const DecimalFormat& fmt, const DecimalQuantity& digitList, UnicodeString& appendTo, in format() function
56 return fmt.format(digitList, appendTo, fpos, status); in format()
61 format(const DecimalFormat& fmt, T value, UnicodeString& appendTo, UErrorCode& status) { in format() function
66 return fmt.format(value, appendTo, fpos, status); in format()
242 strToDigitList(tuple.format, digitList, status); in isFormatPass()
245 format(*fmtPtr, digitList, appendTo, status); in isFormatPass()
261 format(*fmtPtr, doubleVal, appendTo, status); in isFormatPass()
276 format(*fmtPtr, intVal, appendTo, status); in isFormatPass()
383 // If this happens, assume that tuple.output is exactly the same format as in isParsePass()
436 // If this happens, assume that tuple.output is exactly the same format a in isParseCurrencyPass()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DBigNumberFormatTest.java9 package com.ibm.icu.dev.test.format;
42 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" in TestExponent()
345 String saw = fmt.format(n); in expect()
399 String s = f.format(a); in Test4161100()
424 String output = fmt.format(bd); in TestBigDecimalJ28()
444 String jdk = jdkFormat.format(bd); in TestBigDecimalRounding()
445 String icu = icuFormat.format(bd); in TestBigDecimalRounding()
453 jdk = jdkFormat.format(d); in TestBigDecimalRounding()
454 icu = icuFormat.format(d); in TestBigDecimalRounding()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DBigNumberFormatTest.java10 package ohos.global.icu.dev.test.format;
45 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" in TestExponent()
348 String saw = fmt.format(n); in expect()
402 String s = f.format(a); in Test4161100()
427 String output = fmt.format(bd); in TestBigDecimalJ28()
447 String jdk = jdkFormat.format(bd); in TestBigDecimalRounding()
448 String icu = icuFormat.format(bd); in TestBigDecimalRounding()
456 jdk = jdkFormat.format(d); in TestBigDecimalRounding()
457 icu = icuFormat.format(d); in TestBigDecimalRounding()
/third_party/libsnd/tests/
H A Dogg_opus_test.c70 sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_OPUS ; in ogg_opus_short_test()
128 sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_OPUS ; in ogg_opus_int_test()
177 sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_OPUS ; in ogg_opus_float_test()
226 sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_OPUS ; in ogg_opus_double_test()
262 ogg_opus_stereo_seek_test (const char * filename, int format) in ogg_opus_stereo_seek_test() argument
282 sfinfo.format = format ; in ogg_opus_stereo_seek_test()
348 sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_OPUS ; in ogg_opus_original_samplerate_test()
/third_party/mbedtls/tests/scripts/
H A Daudit-validity-dates.py39 + "({} is too old)".format(cryptography.__version__))
89 raise ValueError("Unsupported file_type: {}".format(self.data_type))
93 """A parser class to parse crt/crl/csr file or data in PEM/DER format."""
118 # It is in PEM format with target tag
121 # It is in PEM format without target tag
124 # It might be in DER format
130 wrapper.__name__ = "{}.parser[{}]".format(type(self).__name__, tag)
144 """Get the tag from the data in PEM format
194 X.509 data(DER/PEM format) to an X.509 object.
299 result.locations.append("{}#{}".format(filenam
[all...]
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_composite.c136 if ((dst_pic->srf->tex->format == PIPE_FORMAT_L8_UNORM || in blend_for_op()
137 dst_pic->srf->tex->format == PIPE_FORMAT_R8_UNORM)) { in blend_for_op()
299 if (src->tex->format == PIPE_FORMAT_L8_UNORM || in picture_format_fixups()
300 src->tex->format == PIPE_FORMAT_R8_UNORM) in picture_format_fixups()
435 if (ctx->srf->format == PIPE_FORMAT_L8_UNORM || in bind_shaders()
436 ctx->srf->format == PIPE_FORMAT_R8_UNORM) in bind_shaders()
476 src_pic->srf->tex,+ src_pic->srf->tex->format); in bind_samplers()
498 mask_pic->srf->tex->format); in bind_samplers()
/third_party/mesa3d/src/intel/blorp/
H A Dblorp.c100 enum isl_format format, bool is_dest) in brw_blorp_surface_info_init()
110 if (format == ISL_FORMAT_UNSUPPORTED) in brw_blorp_surface_info_init()
111 format = surf->surf->format; in brw_blorp_surface_info_init()
137 .format = format, in brw_blorp_surface_info_init()
437 layer, surf->surf->format, true); in blorp_hiz_op()
516 isl_format_get_depth_format(surf->surf->format, false); in blorp_hiz_op()
96 brw_blorp_surface_info_init(struct blorp_batch *batch, struct brw_blorp_surface_info *info, const struct blorp_surf *surf, unsigned int level, float layer, enum isl_format format, bool is_dest) brw_blorp_surface_info_init() argument
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_screen_cache.c53 if (key->format == SVGA3D_BUFFER) { in svga_surface_size()
60 svga_format_size(key->format, &bw, &bh, &bpb); in svga_surface_size()
187 if (entry->key.format != SVGA3D_BUFFER) { in svga_screen_cache_shrink()
513 if (key->format == SVGA3D_BUFFER) { in svga_screen_surface_create()
555 if (key->format == SVGA3D_BUFFER) in svga_screen_surface_create()
585 key->format, in svga_screen_surface_create()
650 if (entry->key.format == SVGA3D_BUFFER) { in svga_screen_cache_dump()
656 debug_printf(" %p: %u x %u x %u format %u\n", in svga_screen_cache_dump()
661 entry->key.format); in svga_screen_cache_dump()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_image.c25 #include "util/format/u_format.h"
64 template.format = lvp_vk_format_to_pipe_format(pCreateInfo->format); in lvp_image_create()
66 bool is_ds = util_format_is_depth_or_stencil(template.format); in lvp_image_create()
186 view->pformat = lvp_vk_format_to_pipe_format(view->vk.format); in lvp_CreateImageView()
304 template.format = PIPE_FORMAT_R8_UNORM; in lvp_CreateBuffer()
385 view->format = pCreateInfo->format; in lvp_CreateBufferView()
386 view->pformat = lvp_vk_format_to_pipe_format(pCreateInfo->format); in lvp_CreateBufferView()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_nir_lower_ycbcr_textures.c119 &conversion->format->planes[plane]; in create_plane_tex_instr_implicit()
257 const struct anv_format *format = state.conversion->format; in anv_nir_lower_ycbcr_textures_instr() local
259 for (uint32_t p = 0; p < format->n_planes; p++) { in anv_nir_lower_ycbcr_textures_instr()
260 if (!format->planes[p].has_chroma) in anv_nir_lower_ycbcr_textures_instr()
261 y_isl_layout = isl_format_get_layout(format->planes[p].isl_format); in anv_nir_lower_ycbcr_textures_instr()
280 for (uint32_t p = 0; p < format->n_planes; p++) { in anv_nir_lower_ycbcr_textures_instr()
281 const struct anv_format_plane *plane_format = &format->planes[p]; in anv_nir_lower_ycbcr_textures_instr()
/third_party/node/deps/v8/src/base/platform/
H A Dplatform.h186 static PRINTF_FORMAT(1, 2) void Print(const char* format, ...);
187 static PRINTF_FORMAT(1, 0) void VPrint(const char* format, va_list args);
190 static PRINTF_FORMAT(2, 3) void FPrint(FILE* out, const char* format, ...);
191 static PRINTF_FORMAT(2, 0) void VFPrint(FILE* out, const char* format,
197 static PRINTF_FORMAT(1, 2) void PrintError(const char* format, ...);
198 static PRINTF_FORMAT(1, 0) void VPrintError(const char* format, va_list args);
255 const char* format, ...);
257 const char* format, va_list args);
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
H A DFormatSpec.java35 * A specifier for the three types of format available in a formatting rule, "national",
36 * "international" and "carrier specific". Each format is represented by a single string which acts
37 * as a format template, and from which the necessary XML regular expressions can be recovered.
41 * syntax, a national specifier with this format would represent the "pattern" attribute
42 * {@code "(\d{2})(\d{3})(\d{4})"} and the "format" element {@code "$1 $2-$3"}.
50 * any carrier specific format specifier).
53 * syntax can be derived. In a fairly simple example, the format specifiers:
64 * <li>format: {@code "$1 $2-$3"}
71 * <p>If no carrier specific format specifier is present, the extraction of a format rul
[all...]
/third_party/rust/crates/clap/src/builder/
H A Ddebug_asserts.rs43 short_flags.push(Flag::Command(format!("-{s}"), sc.get_name()));
47 short_flags.push(Flag::Command(format!("-{short_alias}"), sc.get_name()));
52 long_flags.push(Flag::Command(format!("--{l}"), sc.get_name()));
56 long_flags.push(Flag::Command(format!("--{long_alias}"), sc.get_name()));
71 short_flags.push(Flag::Arg(format!("-{s}"), arg.get_id().as_str()));
75 short_flags.push(Flag::Arg(format!("-{short_alias}"), arg.get_id().as_str()));
80 long_flags.push(Flag::Arg(format!("--{l}"), arg.get_id().as_str()));
84 long_flags.push(Flag::Arg(format!("--{long_alias}"), arg.get_id().as_str()));
/third_party/pulseaudio/src/pulsecore/
H A Dsample-util.c71 static uint8_t silence_byte(pa_sample_format_t format) { in silence_byte() argument
72 switch (format) { in silence_byte()
100 memset(p, silence_byte(spec->format), length); in pa_silence_memory()
224 if (!(b = cache->blocks[spec->format])) in pa_silence_memchunk_get()
226 switch (spec->format) { in pa_silence_memchunk_get()
275 void pa_sample_clamp(pa_sample_format_t format, void *dst, size_t dstr, const void *src, size_t sstr, unsigned n) { in pa_sample_clamp() argument
281 if (format == PA_SAMPLE_FLOAT32NE) { in pa_sample_clamp()
292 pa_assert(format == PA_SAMPLE_FLOAT32RE); in pa_sample_clamp()
H A Dremap_neon.c400 if (m->format == PA_SAMPLE_S32NE) in init_remap_neon()
417 if (m->format == PA_SAMPLE_S32NE) in init_remap_neon()
433 if (m->format == PA_SAMPLE_S32NE) in init_remap_neon()
445 if (m->format == PA_SAMPLE_S32NE) in init_remap_neon()
456 if (m->format == PA_SAMPLE_S32NE) in init_remap_neon()
464 switch (m->format) { in init_remap_neon()
508 if (m->format == PA_SAMPLE_S32NE) in init_remap_neon()
516 switch (m->format) { in init_remap_neon()
/third_party/python/Lib/
H A Dselectors.py40 "{!r}".format(fileobj)) from None
42 raise ValueError("Invalid file descriptor: {}".format(fd))
74 raise KeyError("{!r} is not registered".format(fileobj)) from None
192 raise KeyError("{!r} is not registered".format(fileobj)) from None
236 raise ValueError("Invalid events: {!r}".format(events))
242 .format(fileobj, key.fd))
251 raise KeyError("{!r} is not registered".format(fileobj)) from None
258 raise KeyError("{!r} is not registered".format(fileobj)) from None
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineStencilExportTests.cpp223 bool isSupportedDepthStencilFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format) in isSupportedDepthStencilFormat() argument
227 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
232 VkImageCreateInfo makeImageCreateInfo (const VkFormat format, const UVec2& size, VkImageUsageFlags usage) in makeImageCreateInfo() argument
240 format, // VkFormat format; in makeImageCreateInfo()
265 colorFormat, // VkFormat format; in makeTestRenderPass()
276 stencilFormat, // VkFormat format; in makeTestRenderPass()
443 tcu::TextureLevel generateReferenceImage (const tcu::TextureFormat format, in generateReferenceImage() argument
449 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage()
601 TCU_THROW(NotSupportedError, "Image format no in checkSupport()
621 const vk::VkFormat format; createStencilExportTests() member
[all...]

Completed in 22 milliseconds

1...<<81828384858687888990>>...309